/* ── seo-preview.css — Losujeme.cz SEO preview pages ── */

:root {
  --bg: #0d0d12;
  --panel: #15151f;
  --panel-2: #1d1d2b;
  --text: #f5f5ff;
  --muted: #aaaabd;
  --soft: #777892;
  --yellow: #ffd400;
  --yellow-soft: rgba(255, 212, 0, 0.12);
  --yellow-border: rgba(255, 212, 0, 0.35);
  --border: rgba(255,255,255,0.10);
  --shadow: 0 18px 70px rgba(0,0,0,0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 212, 0, 0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(110, 90, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #11111a 0%, #0d0d12 46%, #09090e 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.seo-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 22px 48px;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.seo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.seo-logo:hover {
  text-decoration: none;
  color: var(--text);
}

.seo-logo-badge {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--yellow);
  color: #161616;
  font-size: 1rem;
  box-shadow: 0 0 24px rgba(255, 212, 0, 0.22);
  flex-shrink: 0;
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seo-nav a {
  color: #ddddec;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.seo-nav a:hover {
  color: var(--yellow);
  border-color: var(--yellow-border);
  background: var(--yellow-soft);
  text-decoration: none;
}

.seo-intro-strip {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
}

.seo-hero {
  margin: 22px 0 22px;
}

.seo-kicker {
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 14px;
  max-width: 860px;
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.seo-title-accent {
  color: var(--yellow);
  text-shadow: 0 0 22px rgba(255, 212, 0, 0.35);
}

.seo-lead {
  max-width: 840px;
  margin: 0;
  color: #d6d6e8;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
}

/* ── CTA card ── */
.seo-cta-card {
  margin: 22px 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--yellow-border);
  border-left: 5px solid var(--yellow);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.10), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.seo-cta-card h2 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seo-cta-card p {
  margin: 0 0 14px;
  color: #e7e7f2;
  font-size: 0.92rem;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: #171717;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(255, 212, 0, 0.18);
  transition: opacity 0.15s, transform 0.15s;
}

.seo-button:hover {
  text-decoration: none;
  opacity: 0.92;
  color: #171717;
}

/* ── Section ── */
.seo-section {
  margin: 32px 0;
}

.seo-section h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.seo-section p {
  color: #c8c8d8;
  font-size: 0.92rem;
  margin: 0 0 16px;
}

/* ── Disclaimer ── */
.seo-disclaimer {
  margin: 20px 0;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 0, 0.24);
  border-left: 5px solid var(--yellow);
  background: rgba(255, 212, 0, 0.07);
  color: #eeeef8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.seo-disclaimer strong {
  color: var(--yellow);
}

.seo-disclaimer-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #f0f0ff;
  margin-bottom: 5px;
}

/* ── Metrics ── */
.seo-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.seo-metric-card {
  padding: 18px 16px;
  border-radius: 17px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
}

.seo-metric-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.seo-metric-value {
  margin-top: 8px;
  color: var(--yellow);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.seo-metric-note {
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

.seo-metric-note.is-cold { color: #7ab3ff; }
.seo-metric-note.is-hot  { color: #ff9f40; }

/* ── Table card ── */
.seo-table-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  box-shadow: var(--shadow);
  margin: 16px 0;
}

.seo-table-head {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.seo-table-head h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.seo-table-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.seo-table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

th,
td {
  padding: 11px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

th {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
}

td {
  color: #e8e8f8;
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(255,255,255,0.025);
}

tbody tr.is-highlight {
  background: rgba(100, 160, 255, 0.06);
}

.td-r { text-align: right; }
.td-c { text-align: center; }

.td-rank { color: var(--soft); }
.td-count { font-weight: 700; color: var(--text); }
.td-pct   { color: var(--muted); }

.seo-table-note {
  padding: 11px 20px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Number ball ── */
.seo-number-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: #171717;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.2);
}

.seo-number-ball.cold {
  background: rgba(122, 179, 255, 0.18);
  color: #7ab3ff;
  box-shadow: none;
}

.seo-number-ball.hl {
  background: rgba(100, 160, 255, 0.25);
  color: #88c0ff;
  border: 1px solid rgba(100, 160, 255, 0.35);
  box-shadow: none;
}

.seo-positive { color: #4ade80; font-weight: 700; }
.seo-negative { color: #fb7185; font-weight: 700; }

/* ── Bar ── */
.seo-bar-wrap { min-width: 80px; }
.seo-bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 149, 0, 0.22);
}

/* ── Link / Related grid ── */
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.seo-link-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.seo-link-card:hover {
  border-color: var(--yellow-border);
  background: var(--yellow-soft);
  text-decoration: none;
  color: var(--text);
}

.seo-link-card-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ── FAQ ── */
.seo-faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.seo-faq-item {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
}

.seo-faq-item h3 {
  margin: 0 0 7px;
  color: var(--yellow);
  font-size: 0.95rem;
  font-weight: 800;
}

.seo-faq-item p {
  margin: 0;
  color: #cccce0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Footer ── */
.seo-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--soft);
  font-size: 0.84rem;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.seo-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
}

.seo-footer-links a:hover {
  color: var(--yellow);
}

.seo-footer-note {
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 12px;
}

.seo-footer-copy {
  margin-top: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.15);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .seo-page {
    padding: 14px 14px 36px;
  }

  .seo-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .seo-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    letter-spacing: -0.04em;
  }

  .seo-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .seo-cta-card {
    padding: 14px 16px;
  }

  .seo-metric-value {
    font-size: 1.5rem;
  }

  table {
    min-width: 480px;
  }
}
