/* ListChute Marketing Landing Page — Sleek SaaS Dark Theme */

:root {
  --bg: #070a13;
  --card: rgba(15, 23, 42, 0.85);
  --card-solid: #0f172a;
  --surface: rgba(30, 41, 59, 0.85);
  --border: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(77, 119, 255, 0.5);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #4d77ff;
  --primary-hover: #6a8eff;
  --primary-text: #ffffff;
  --primary-tint: rgba(77, 119, 255, 0.2);
  --accent-gold: #f5af02;
  --accent-red: #e53238;
  --go: #10b981;
  --go-tint: rgba(16, 185, 129, 0.18);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, .3);
  --shadow: 0 12px 36px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, .6);
  --radius: 20px;
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.prose { max-width: 820px; margin: 0 auto; padding: 60px 20px 80px; position: relative; z-index: 2; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { margin-top: 40px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.prose p { margin-bottom: 20px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.prose ul, .prose ol { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 24px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }

/* Aurora Background Blobs */
.aurora-bg {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; overflow: hidden; opacity: 0.65;
}
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: auroraFloat 18s ease-in-out infinite alternate;
}
.blob-1 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(77, 119, 255, 0.35), transparent 70%); top: -100px; left: -100px; }
.blob-2 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%); top: 30%; right: -150px; animation-delay: -6s; }
.blob-3 { width: 550px; height: 550px; background: radial-gradient(circle, rgba(229, 50, 56, 0.18), transparent 70%); bottom: -100px; left: 20%; animation-delay: -12s; }

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

.mouse-glow {
  position: fixed; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(77, 119, 255, 0.18), transparent 70%);
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
  z-index: 1; transition: opacity .3s ease; filter: blur(30px);
}

.cyber-grid-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; opacity: 0.08;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* App Screenshot Mockup Window Frame */
.app-screenshot-frame {
  background: rgba(15, 23, 42, 0.85); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px); position: relative;
}
.mockup-window-header {
  background: rgba(30, 41, 59, 0.8); border-bottom: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
}
.window-dots { display: flex; gap: 6px; }
.window-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.window-title { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .5px; }

.app-screenshot-img {
  width: 100%; height: auto; display: block; border-radius: 0 0 18px 18px;
  object-fit: cover;
}

/* Mobile Phone Mockup Frame */
.mobile-mockup-frame {
  max-width: 300px; margin: 0 auto; background: #0f172a;
  border: 9px solid #1e293b; border-radius: 36px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .6), 0 0 20px rgba(77, 119, 255, 0.3);
  position: relative;
}
.mobile-notch {
  width: 110px; height: 16px; background: #1e293b;
  margin: 0 auto; border-radius: 0 0 12px 12px; position: relative; z-index: 10;
}
.mobile-screenshot-img {
  width: 100%; height: auto; display: block; border-radius: 0 0 24px 24px;
}

/* Responsive Hero Image Switcher */
.mobile-hero-preview { display: none; }
.desktop-hero-preview { display: block; }

@media (max-width: 768px) {
  .desktop-hero-preview { display: none !important; }
  .mobile-hero-preview { display: block !important; margin: 24px auto 0; }
}

/* Header */
.site-header {
  position: relative; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }

.badge {
  font-size: 11px; font-weight: 800; letter-spacing: .8px;
  padding: 3px 8px; border-radius: 8px;
  background: var(--primary-tint); color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 6px rgba(54, 101, 243, 0.15);
  border: 1px solid var(--border);
}

.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 10px; transition: all .15s ease; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a.btn { color: #ffffff; }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

/* Buttons & Micro-interactions */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 14px 24px; border-radius: 14px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(54, 101, 243, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--border-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
  background: var(--card); color: var(--text); border-color: var(--border);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 18px 34px; font-size: 18px; border-radius: 16px; }

section { padding: 80px 0; border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
section:last-of-type { border-bottom: 0; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
h1 { font-size: clamp(38px, 5.8vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px; background: var(--primary-tint);
  padding: 5px 14px; border-radius: 999px; width: fit-content;
  border: 1px solid var(--border); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 8px rgba(54, 101, 243, 0.1);
}

.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 65ch; line-height: 1.55; }

/* Hero Section */
.hero-section { padding: 75px 0 55px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; align-items: center; }

/* Feature Tabs */
.feature-tabs-wrapper { margin-top: 36px; }
.tab-nav { display: flex; gap: 10px; border-bottom: 2px solid var(--border); margin-bottom: 28px; overflow-x: auto; padding-bottom: 2px; }
.tab-btn { background: transparent; border: none; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--muted); padding: 12px 20px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s ease; white-space: nowrap; border-radius: 8px 8px 0 0; }
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--primary-tint); }
.tab-content { display: none; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.tab-content.active { display: block; animation: fadeIn .3s ease; }

/* ROI Calculator */
.roi-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); }
.roi-controls { margin: 24px 0; }
.roi-slider { width: 100%; height: 10px; border-radius: 5px; background: var(--border); outline: none; accent-color: var(--primary); cursor: pointer; }
.roi-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.roi-box { text-align: center; }
.roi-number { font-size: 38px; font-weight: 900; color: var(--primary); line-height: 1.1; }
.roi-label { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* Grid Layouts */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-glow); }

.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 16px; background: var(--primary-tint); color: var(--primary); font-weight: 900; font-size: 16px; border: 1px solid var(--border); }

/* FAQ Section */
.faq-search-input { width: 100%; max-width: 520px; padding: 16px 22px; font-size: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--text); margin-bottom: 32px; outline: none; backdrop-filter: blur(12px); }
.faq-search-input:focus { border-color: var(--primary); box-shadow: 0 0 16px var(--border-glow); }

.faq-item { border: 1px solid var(--border); border-radius: 16px; margin-bottom: 14px; background: var(--card); overflow: hidden; backdrop-filter: blur(12px); }
.faq-question { width: 100%; text-align: left; padding: 22px 26px; background: transparent; border: none; font-family: inherit; font-size: 18px; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 26px 24px; color: var(--muted); display: none; line-height: 1.65; }
.faq-item.open { border-color: var(--primary); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-icon { transition: transform .25s ease; font-size: 20px; color: var(--muted); }

/* Callout Section */
.callout { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 48px; text-align: center; backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; font-size: 15px; color: var(--muted); position: relative; z-index: 2; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
/* The icon mark, not the full lockup: the adjacent "© 2026 ListChute" already
   sets the wordmark, and repeating it read as a smudge at footer size. alt=""
   for the same reason — a screen reader would otherwise say the name twice. */
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { height: 28px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.disclaimer { margin: 24px 0 0; font-size: 13px; max-width: 80ch; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------------
   Classes the markup already used but nobody had defined yet — these all
   rendered unstyled until now.
   --------------------------------------------------------------------------- */

.center { text-align: center; padding: 80px 20px; }
.center .cta-row { justify-content: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* The FAQ questions are buttons wrapped in a heading, so they're real landmarks
   for screen readers and for anything chunking the page. Reset the h3 look. */
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; }

/* Nav links that only survive on wider viewports (see the 560px rule at the end) */
.nav-wide { display: none; }
@media (min-width: 820px) { .nav-wide { display: inline-block; } }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; padding: 2px 6px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}

/* "Last updated" line on the policy pages */
.updated { color: var(--muted); font-size: 14px; margin: -8px 0 28px; }

/* Callout box for the "short version" summaries in privacy/terms */
.note {
  background: var(--primary-tint); border: 1px solid var(--border-glow);
  border-radius: 16px; padding: 20px 24px; margin: 0 0 28px;
}
.note p:last-child { margin-bottom: 0; }

/* The third-party recipients table in privacy.html had no styling at all */
table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); font-weight: 700; background: var(--surface); }
td { color: var(--muted); }
/* ponytail: tables are the one thing here that can out-width a phone. One
   scroll container beats a responsive card-stack rewrite of the markup. */
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
.table-scroll table { margin: 0; min-width: 460px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text);
  background: var(--go-tint); border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 999px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); flex: none; }

/* Second phone mockup in the mobile feature tab. Was an inline @media inside a
   style attribute, which is not a thing, so it was permanently hidden. */
.mobile-mockup-secondary { display: none; }
@media (min-width: 600px) { .mobile-mockup-secondary { display: block; } }

/* ---------------------------------------------------------------------------
   Contact / pricing / FAQ pages
   --------------------------------------------------------------------------- */

/* Answer-first sections: a stable anchor per question so an LLM (or a human)
   can deep-link straight to the answer. */
.qa { scroll-margin-top: 24px; }
.qa h2 { font-size: clamp(22px, 2.6vw, 28px); border-bottom: 0; padding-bottom: 0; margin-top: 44px; }
.qa .answer { color: var(--text); font-size: 18px; }
.qa .answer + p { color: var(--muted); }

.card h3 + p:last-child, .card p:last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-icon { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.card-meta { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Pricing */
.price-figure { font-size: clamp(48px, 8vw, 72px); font-weight: 900; color: var(--text); line-height: 1; letter-spacing: -.04em; }
.price-sub { color: var(--muted); font-size: 17px; margin-top: 10px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; color: var(--muted); border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--go); font-weight: 900;
}

/* Header nav gets crowded once Pricing and FAQ are in it. Below 560px only the
   brand and the CTA survive; the links are all in the footer anyway. */
@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
}
