/* ==========================================================================
   SkipSeek Live — marketing site styles.
   Single stylesheet shared across all pages. Variables at top so
   palette tweaks happen in one place.
   ========================================================================== */

:root {
  /* Dark theme aligned with skipseek.ai parent brand. */
  --navy: #ffffff;            /* text on dark = effectively white */
  --navy-2: #18181b;
  --blue: #3b82f6;
  --blue-hover: #60a5fa;
  --gold: #d4af37;
  --pink: #ec4899;
  /* SkipSeek Live property accent: Tailwind emerald-500. Vivid
     against the near-black canvas without being fluorescent. */
  --accent: #10b981;
  --accent-hover: #059669;
  --text: #fafafa;
  --text-dim: #a1a1aa;
  --line: #27272a;
  --bg: #070707;              /* near-black, matches skipseek.ai */
  --bg-soft: #0e0e0e;
  --bg-tint: #131a2e;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.5);
  --maxw: 1100px;

  --font-sans: -apple-system, "system-ui", Inter, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-brand: var(--font-sans);
}

/* Google Fonts loaded via <link> in each page's <head> for reliability. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { color: var(--blue-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; }
h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; margin-top: 48px; }
h3 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 16px; }

code {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  color: var(--text);
}

pre {
  background: var(--navy);
  color: #e5e7eb;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
}

pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-nav {
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
}
.site-nav-logo:hover { text-decoration: none; color: var(--text); }
.site-nav-logo img { width: 28px; height: 28px; border-radius: 6px; }
.site-nav-logo svg.brand-mark {
  width: 32px;
  height: auto;       /* preserves 28x20 aspect → ~23px tall */
  fill: var(--accent);
  flex-shrink: 0;
}
.brand-skipseek,
.brand-live {
  font-family: 'Audiowide', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-synthesis: weight;
  -webkit-font-synthesis: weight;
  letter-spacing: 0.08em;
}
.brand-skipseek { color: var(--text); }
.brand-live { color: var(--accent); }
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}
.site-nav-links a:hover { color: var(--blue); text-decoration: none; }

/* ---------- Mobile nav toggle (radio tower) ---------- */
.nav-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.08);
}
.nav-menu-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 720px) {
  .nav-menu-toggle { display: inline-flex; }
  /* Hide the inline link strip; reveal it as a glass dropdown panel. */
  .site-nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 220px;
    padding: 10px;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .site-nav.is-open .site-nav-links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }
  .site-nav-links a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text);
  }
  .site-nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
    text-decoration: none;
  }
  /* In the dropdown, secondary links are visible (more room here). */
  .site-nav-links a.nav-secondary { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

/* Fast-forward chevron mark — replaces "→" in CTAs and link indicators.
   Inherits color via currentColor; sized in em so it scales with text. */
.ff-icon {
  width: 1.2em;
  height: auto;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.08em;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--navy-2); color: var(--text); text-decoration: none; border-color: #3f3f46; }
.btn-pink {
  background: var(--pink);
  color: #fff;
}
.btn-pink:hover { background: #db2777; color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 24px 72px;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 60%), var(--bg);
}
.hero-eyebrow {
  display: inline-block;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.hero h1 { margin: 0 0 18px; }
.hero p.lead {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Product cards (home page) ---------- */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 56px auto;
  max-width: var(--maxw);
  padding: 0 24px;
}
.product-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { border-color: #3f3f46; }
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.product-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.product-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  margin: 0;
}
.product-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}
.product-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.product-card .price-from { color: var(--text-dim); font-weight: 500; font-size: 14px; }

@media (max-width: 720px) {
  .products { grid-template-columns: 1fr; }
}

/* ---------- Section ---------- */
.section { padding: 56px 24px; }
.section-alt { background: var(--bg-soft); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-top: 0; }
.section-title p { color: var(--text-dim); font-size: 17px; max-width: 580px; margin: 0 auto; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 16px; margin: 0 0 6px; }
.feature p { font-size: 14px; color: var(--text-dim); margin: 0; }

/* ---------- Pricing cards ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.price-card-highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  position: relative;
}
.price-card-highlight::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-card .price-amount {
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 4px;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}
.price-card .price-period {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card .btn { width: 100%; }

/* ---------- Screenshot strip ---------- */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.screenshot {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.screenshot img { width: 100%; }
.screenshot-caption {
  font-size: 13px;
  color: var(--text-dim);
  padding: 12px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--blue);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary + p { margin-top: 12px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 24px;
  margin-top: 64px;
  color: var(--text-dim);
}
.site-footer-col a { color: var(--text); }
.site-footer-col a:hover { color: var(--blue); }
.site-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-family: var(--font-sans);
  margin-bottom: 12px;
}
.site-footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer-col li { padding: 4px 0; font-size: 14px; }
.site-footer-col a { color: var(--text); }
.site-footer-col a:hover { color: var(--blue); }
.site-footer-bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.site-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  width: 24px;
  height: 24px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.site-footer-socials a:hover {
  color: var(--blue);
  transform: translateY(-1px);
  text-decoration: none;
}
.site-footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Misc ---------- */
.eyebrow {
  display: inline-block;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.lead { font-size: 17px; color: var(--text-dim); }
.text-center { text-align: center; }
.muted { color: var(--text-dim); }
.callout {
  background: var(--bg-tint);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
