/* ============================================================
   THESIS — Marketing Site Styles
   Brand: Obsidian dark, Ivory text, Signal Blue accents
   ============================================================ */

:root {
  --obsidian:    #0D0E10;
  --surface:     #111316;
  --raised:      #1C1E22;
  --border:      #2E3036;
  --muted:       #9CA3AF;
  --ivory:       #F5F3EE;
  --signal-blue: #4F9EFF;
  --blue-deep:   #185FA5;
  --green-strong:#22C55E;
  --green-buy:   #4ADE80;
  --orange-sell: #F97316;
  --red-strong:  #EF4444;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --max-width: 1160px;
  --section-pad: 120px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

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

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-blue);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 14, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.01em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: #6AADFF;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  padding: 180px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(79,158,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 820px;
  margin: 0 auto 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--signal-blue);
}

.hero-sub {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--signal-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(79,158,255,0);
}
.btn-primary:hover {
  background: #6AADFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,158,255,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--muted);
  background: var(--raised);
}

.hero-disclaimer {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── MOCKUP ── */
.hero-mockup {
  margin: 72px auto 0;
  max-width: 300px;
  position: relative;
}


/* ── SOCIAL PROOF BAND ── */
.proof-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  overflow: hidden;
}

.proof-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
}

.proof-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ivory);
}

.proof-item .label {
  margin-top: 4px;
  color: var(--muted);
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── SECTION SHARED ── */
section {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 16px 0 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── PROBLEM SECTION ── */
.problem {
  background: var(--surface);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 48px;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}

.comparison-divider {
  background: var(--border);
  align-self: stretch;
}

.comparison-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comparison-col.bad h3 { color: var(--muted); }
.comparison-col.good h3 { color: var(--signal-blue); }

.comparison-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.comparison-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.comparison-col.good .comparison-item p { color: var(--ivory); }

/* ── FEATURES (LAYERS) ── */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.layer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.layer-card:hover {
  border-color: rgba(79,158,255,0.4);
  transform: translateY(-2px);
}

.layer-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal-blue);
  margin-bottom: 12px;
  opacity: 0.7;
}

.layer-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 8px;
}

.layer-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.step {
  text-align: center;
  padding: 40px 28px;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79,158,255,0.1);
  border: 1px solid rgba(79,158,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--signal-blue);
  margin: 0 auto 20px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── REPORT CONTENTS ── */
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.report-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ivory);
  transition: border-color 0.2s, background 0.2s;
}

.report-tab:hover {
  border-color: var(--signal-blue);
  background: rgba(79,158,255,0.06);
}

.tab-dot {
  width: 6px;
  height: 6px;
  background: var(--signal-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── VERDICT SHOWCASE ── */
.verdicts {
  background: var(--surface);
}

.verdict-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 0 auto 64px;
}

.verdict-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid;
}

.verdict-badge.strong-buy  { color: #22C55E; border-color: rgba(34,197,94,0.3);  background: rgba(34,197,94,0.08); }
.verdict-badge.buy         { color: #4ADE80; border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.08); }
.verdict-badge.hold        { color: #9CA3AF; border-color: rgba(156,163,175,0.3); background: rgba(156,163,175,0.08); }
.verdict-badge.sell        { color: #F97316; border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); }
.verdict-badge.strong-sell { color: #EF4444; border-color: rgba(239,68,68,0.3);  background: rgba(239,68,68,0.08); }

.verdict-description {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--signal-blue);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-blue);
  border: 1px solid var(--signal-blue);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal-blue), transparent);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
  margin: 16px 0 4px;
}

.pricing-amount sup {
  font-size: 28px;
  vertical-align: super;
}

.pricing-per {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--ivory);
}

.pricing-features li:last-child { border-bottom: none; }

.check-icon {
  color: var(--signal-blue);
  flex-shrink: 0;
}

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79,158,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 680px;
  margin: 16px auto 24px;
}

.cta-section p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 48px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  min-width: 200px;
}

.store-btn:hover {
  border-color: var(--signal-blue);
  background: rgba(79,158,255,0.06);
  transform: translateY(-2px);
}

.store-btn-text {
  text-align: left;
}

.store-btn-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

.store-btn-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
  display: block;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ivory);
}

.footer-disclaimer {
  font-size: 13px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ivory); }

.footer-copy {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.5;
}

/* ── HERO SCREENSHOT ── */
.hero-screenshot {
  width: 100%;
  border-radius: 36px;
  display: block;
}

.phone-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* ── SCREENSHOTS SECTION ── */
.screenshots-section {
  padding: var(--section-pad);
  padding-bottom: 0;
  overflow: hidden;
}

.screenshots-scroll-outer {
  margin-top: 64px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 80px;
}
.screenshots-scroll-outer::-webkit-scrollbar { display: none; }
.screenshots-scroll-outer.dragging { cursor: grabbing; }

.screenshots-track {
  display: flex;
  gap: 32px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  width: max-content;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 260px;
  flex-shrink: 0;
}

.screenshot-phone {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover .screenshot-phone {
  transform: translateY(-6px);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(79,158,255,0.15);
}

.screenshot-phone img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

.screenshot-caption {
  padding: 0 4px;
}

.screenshot-caption .label {
  margin-bottom: 8px;
}

.screenshot-caption p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --section-pad: 80px 24px; }

  .hero { padding: 140px 24px 80px; }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-divider { display: none; }

  .proof-divider { display: none; }
  .proof-inner { gap: 28px; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .pricing-card.featured { order: -1; }
  .pricing-card { padding: 36px 24px; }

  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-cta span { display: none; }
  .pricing-amount { font-size: 48px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
