/* ============================================================
   ScrollEclipse — Landing Page Styles
   Design: dark navy, purple/violet accent, premium minimal
   Mobile-first, then tablet/desktop scale-up
   ============================================================ */

/* ── Custom properties ─────────────────────────────────────── */
:root {
  --bg-base:             #09090f;
  --bg-surface:          #0d0d1c;
  --bg-card:             #121224;
  --bg-card-hover:       #161630;
  --accent-purple:       #7b5cf0;
  --accent-purple-mid:   #9270f5;
  --accent-purple-light: #b49ef8;
  --accent-blue:         #3d6fe8;
  --accent-green:        #22c55e;
  
  --text-primary:        #ffffff; /* Neutral near-white */
  --text-secondary:      #d4d4d8; /* Neutral light gray */
  --text-muted:          #a1a1aa; /* Neutral muted gray */
  
  --border:              rgba(123, 92, 240, 0.14);
  --border-subtle:       rgba(255,255,255,0.06);
  --glow-soft:           rgba(123, 92, 240, 0.08);
  --glow-mid:            rgba(123, 92, 240, 0.18);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 64px;
  --section-gap: 96px;
  --section-gap-mobile: 64px; /* Tightened from 72px */
  --container-max: 1200px;
  --container-pad: 20px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Utility classes ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-accent { color: var(--accent-purple-light); }
.text-muted  { color: var(--text-secondary); }
.text-center { text-align: center; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 7vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 3.5vw, 1.4rem); font-weight: 700; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple-light);
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-purple);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-purple-mid);
  box-shadow: 0 0 28px rgba(123,92,240,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(123,92,240,0.5);
  color: var(--accent-purple-light);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Google Play badge button */
.btn-gplay {
  background: var(--accent-purple);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-gplay:hover {
  background: var(--accent-purple-mid);
  box-shadow: 0 0 32px rgba(123,92,240,0.45);
  transform: translateY(-2px);
}

.btn-gplay svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

/* ────────────────────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Keep the provided logo crisp without any CSS recoloring */
.nav-logo img { width: 155px; height: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: none;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  transition: background-color var(--transition);
}

.nav-hamburger:hover { background: rgba(255,255,255,0.06); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background-color var(--transition);
}

.nav-drawer a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-drawer .drawer-cta {
  margin-top: 12px;
  padding: 0;
}

.nav-drawer .btn-gplay {
  width: 100%;
  justify-content: center;
}

/* ── 640px+ nav ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-cta .btn { padding: 10px 20px; font-size: 0.875rem; }
}

/* ────────────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-height) + 40px); /* tightened spacing */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Anchors */
.section, .hero, .final-cta {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(123,92,240,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(123,92,240,0.12);
  border: 1px solid rgba(123,92,240,0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple-light);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-badge svg {
  width: 14px; height: 14px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .keep { color: var(--text-primary); }
.hero h1 .lose {
  background: linear-gradient(110deg, #b49ef8 0%, #7b5cf0 60%, #3d6fe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-actions .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.hero-visual {
  width: 100%;
  max-width: 320px;
  position: relative;
}

/* Polished rounded product container */
.phone-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-base);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 40px rgba(0,0,0,0.5),
    0 0 40px rgba(123,92,240,0.12);
  width: 100%;
  margin: 0 auto;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* ensures aspect ratio is respected, no cropping */
}

/* Subtle float animation */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual {
    animation: phone-float 5s ease-in-out infinite;
  }

  @keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
  }
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 60px;
  }

  .hero-content { flex: 1; text-align: left; }

  .hero-sub { margin-inline: 0; }

  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: auto;
    max-width: none;
  }

  .hero-visual {
    flex-shrink: 0;
    max-width: 280px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 96px;
  }
  .hero-visual { max-width: 320px; }
}

/* ────────────────────────────────────────────────────────────
   SUPPORTED APPS STRIP
──────────────────────────────────────────────────────────── */
.apps-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.apps-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.apps-strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 2x2 grid on mobile */
.apps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.app-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--transition), background-color var(--transition);
  width: 100%;
}

.app-pill:hover {
  border-color: rgba(123,92,240,0.4);
  background: var(--bg-card-hover);
}

.app-pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* App icon backgrounds */
.app-icon-ig {
  background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.app-icon-tt {
  background: #000;
}
.app-icon-yt {
  background: #ff0000;
}
.app-icon-sc {
  background: #fffc00;
}

@media (min-width: 640px) {
  .apps-list {
    display: flex;
    max-width: none;
    justify-content: center;
  }
  .app-pill { width: auto; padding: 8px 16px; }
}

/* ────────────────────────────────────────────────────────────
   SECTIONS — shared layout
──────────────────────────────────────────────────────────── */
.section {
  padding: var(--section-gap-mobile) 0;
}

@media (min-width: 1024px) {
  .section { padding: var(--section-gap) 0; }
}

/* Two-column layout for feature sections */
.feature-layout {
  display: flex;
  flex-direction: column;
  gap: 32px; /* tightened from 48px */
  align-items: center;
}

.feature-layout.reverse { flex-direction: column-reverse; }

.feature-text { flex: 1; }

.feature-visual {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
}

@media (min-width: 768px) {
  .feature-layout,
  .feature-layout.reverse {
    flex-direction: row;
    gap: 64px;
    align-items: center;
  }

  .feature-layout.reverse .feature-visual { order: -1; }
  .desktop-reverse { flex-direction: row-reverse !important; }
}

/* ────────────────────────────────────────────────────────────
   DIFFERENTIATION SECTION
──────────────────────────────────────────────────────────── */
.diff-section {
  background: var(--bg-surface);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.diff-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.diff-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-card-icon.lose { background: rgba(239,68,68,0.12); color: #f87171; }
.diff-card-icon.keep { background: rgba(34,197,94,0.12); color: #4ade80; }

.diff-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.diff-list li .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.diff-list.lose-list .dot { background: #f87171; }
.diff-list.keep-list .dot { background: #4ade80; }

.diff-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(123,92,240,0.07);
  border: 1px solid rgba(123,92,240,0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
}

.diff-note svg { flex-shrink: 0; margin-top: 1px; color: var(--accent-purple-light); }

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS
──────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-accessibility-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(123,92,240,0.07);
  border: 1px solid rgba(123,92,240,0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-accessibility-note strong { color: var(--accent-purple-light); }

/* ────────────────────────────────────────────────────────────
   FOCUS LOCK
──────────────────────────────────────────────────────────── */
.focuslock-section {
  background: var(--bg-surface);
}

.focuslock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.focuslock-inner {
  display: flex;
  flex-direction: column;
  gap: 32px; /* tightened */
  padding: 32px 24px;
  align-items: center;
}

.focuslock-text { flex: 1; }
.focuslock-visual { flex-shrink: 0; max-width: 320px; width: 100%; }

.durations-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.durations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 320px;
}

.duration-chip {
  padding: 10px 8px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(123,92,240,0.12);
  border: 1px solid rgba(123,92,240,0.22);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .focuslock-inner {
    flex-direction: row;
    padding: 48px 48px;
    gap: 60px;
    align-items: center;
  }
}

/* ────────────────────────────────────────────────────────────
   SCHEDULES
──────────────────────────────────────────────────────────── */
.schedules-examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 32px;
}

@media (min-width: 500px) {
  .schedules-examples { grid-template-columns: 1fr 1fr; }
}

.schedule-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.schedule-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(123,92,240,0.12);
  border: 1px solid rgba(123,92,240,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-purple-light);
}

.schedule-example-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.schedule-example-time {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* ────────────────────────────────────────────────────────────
   INSIGHTS
──────────────────────────────────────────────────────────── */
.insights-section {
  background: var(--bg-surface);
}



/* Stacked on mobile, side-by-side on desktop */














@media (min-width: 640px) {
  
  
  
}

@media (min-width: 768px) {
  
}

/* ────────────────────────────────────────────────────────────
   PRIVACY SECTION
──────────────────────────────────────────────────────────── */
.privacy-section {
  /* no special bg — keeps base */
}

.privacy-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.privacy-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg { width: 11px; height: 11px; color: #4ade80; }

.privacy-disclaimer {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(123,92,240,0.06);
  border: 1px solid rgba(123,92,240,0.12);
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .privacy-layout {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }
}

/* ────────────────────────────────────────────────────────────
   PRICING
──────────────────────────────────────────────────────────── */
.pricing-section {
  background: var(--bg-surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card.featured {
  border-color: rgba(123,92,240,0.45);
  background: linear-gradient(160deg, rgba(123,92,240,0.08) 0%, var(--bg-card) 60%);
  position: relative;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(160deg, rgba(123,92,240,0.4), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
  margin-bottom: 16px;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-price-row .amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-price-row .period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-alt {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-feature .feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(123,92,240,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature .feature-check svg { width: 10px; height: 10px; color: var(--accent-purple-light); }

.pricing-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(123,92,240,0.07);
  border: 1px solid rgba(123,92,240,0.14);
  border-radius: var(--radius-md);
}

.pricing-note-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-note p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-disclaimer {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────
   FAQ
──────────────────────────────────────────────────────────── */
.faq-section {
  /* base bg */
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(123,92,240,0.35);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1.4;
  transition: color var(--transition);
}

.faq-trigger:hover { color: var(--accent-purple-light); }

.faq-trigger-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(123,92,240,0.12);
  border: 1px solid rgba(123,92,240,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item.open .faq-trigger-icon {
  transform: rotate(45deg);
  background: rgba(123,92,240,0.25);
}

.faq-trigger-icon svg {
  width: 12px; height: 12px;
  color: var(--accent-purple-light);
}

.faq-body {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.open .faq-body { display: block; }

.faq-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────
   FINAL CTA
──────────────────────────────────────────────────────────── */
.final-cta {
  padding: 64px 0;
  text-align: center;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,92,240,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 { margin-bottom: 12px; }
.final-cta p  { margin-bottom: 36px; font-size: 1.05rem; max-width: 480px; margin-inline: auto; }

.final-cta .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.final-cta .cta-actions .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

@media (min-width: 640px) {
  .final-cta .cta-actions { flex-direction: row; justify-content: center; }
  .final-cta .cta-actions .btn { width: auto; max-width: none; }
}

@media (min-width: 1024px) {
  .final-cta { padding: var(--section-gap) 0; }
}

/* ────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  background: var(--bg-base);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img { width: 155px; height: auto; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links-col ul a:hover { color: var(--text-primary); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--text-secondary); }

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ────────────────────────────────────────────────────────────
   STICKY MOBILE CTA
──────────────────────────────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(9,9,15,0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transition: transform var(--transition);
}

.sticky-cta.hidden { transform: translateY(150%); } /* Hides completely offscreen */

.sticky-cta .btn-gplay {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
}

/* Show only on small screens */
@media (max-width: 639px) {
  .sticky-cta { display: block; }
}

/* ────────────────────────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ────────────────────────────────────────────────────────────
   LEGAL PAGES
──────────────────────────────────────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 96px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent-purple-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--text-primary); }

.legal-content strong { color: var(--text-primary); font-weight: 600; }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE TWEAKS
──────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --container-pad: 32px; }
}

@media (min-width: 1024px) {
  :root { --container-pad: 40px; }
}

.info-note {
  max-width: 1060px;
  margin: 32px auto;
  padding: 16px 24px;
  background: rgba(123,92,240,0.06);
  border: 1px solid rgba(123,92,240,0.12);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.pricing-cards-header { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pricing-cards-header { grid-template-columns: 1fr 1fr; } }

.comparison-list { display: flex; flex-direction: column; gap: 12px; }
.comparison-list li { display: flex; justify-content: space-between; font-size: 0.9rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
.comparison-list li strong { font-weight: 600; color: var(--text-primary); }

@media (min-width: 768px) { .nav-logo img { width: 185px; height: auto; } }

/* Pixel Mockup Overlay System */
.pixel-mockup {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.pixel-mockup .phone-frame-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.pixel-mockup .phone-screen-img {
  position: absolute;
  /* Mathematically calculated from transparent screen opening */
  top: 5.323%;
  bottom: 5.378%;
  left: 10.312%;
  right: 10.312%;
  width: 79.376%;
  height: 89.299%;
  object-fit: contain;
  object-position: top center;
  background: #000;
  z-index: 1;
}

@media (min-width: 1024px) {
  .feature-visual .pixel-mockup, .focuslock-visual .pixel-mockup, .insights-phones .pixel-mockup, .hero-visual .pixel-mockup { max-width: 380px !important; }
}
@media (min-width: 1440px) {
  .feature-visual .pixel-mockup, .focuslock-visual .pixel-mockup, .insights-phones .pixel-mockup, .hero-visual .pixel-mockup { max-width: 420px !important; }
}

/* Hero Showcase specific styles */
.hero-visual:has(.hero-showcase-img) {
  max-width: 400px; /* Base for mobile/small */
}
@media (min-width: 768px) {
  .hero-visual:has(.hero-showcase-img) {
    max-width: 380px;
    flex: 0 1 45%;
  }
  .hero-content:has(~ .hero-visual .hero-showcase-img) {
    flex: 0 1 50%;
  }
}
@media (min-width: 1024px) {
  .hero-visual:has(.hero-showcase-img) {
    max-width: 460px;
  }
}
@media (min-width: 1440px) {
  .hero-visual:has(.hero-showcase-img) {
    max-width: 500px;
  }
}

/* New Insights Layout */
.insights-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.insight-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.insight-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition);
}

.insight-row:hover {
  border-color: rgba(123,92,240,0.4);
}

.insight-row h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.insight-row p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .insights-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }
  .insights-layout > .feature-text {
    flex: 0 1 45%;
    max-width: 500px;
    margin: 0;
  }
    .insights-layout > .insights-phones {
    flex: 0 1 45%;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .insights-layout {
    gap: 90px;
  }
}

/* Store Badges */
.store-badges-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  width: 100%;
}
@media (min-width: 768px) {
  .store-badges-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
  }
}

.store-badge-link {
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
  border-radius: 6px;
}
.store-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.store-badge-img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 6px;
}

/* Coming Soon — floating ABOVE store badges */
.app-store-wrapper,
.store-badge-coming-soon {
  position: relative;
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 6px;
}

.store-badge-coming-soon .store-badge-link {
  opacity: 0.7;
}
.coming-soon-pill {
  background: var(--accent-purple, #7b5cf0);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 4px 12px rgba(123, 92, 240, 0.4);
  white-space: nowrap;
  animation: float-pill 2.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes float-pill {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* ────────────────────────────────────────────────────────────
   PRE-LAUNCH WAITLIST (HERO INTEGRATION)
──────────────────────────────────────────────────────────── */
.hero-waitlist {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-waitlist {
    margin-inline: 0;
  }
}

.waitlist-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Form layout */
.waitlist-form {
  max-width: 460px;
  margin-inline: auto;
}

.waitlist-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-input-wrap {
  position: relative;
  flex: 1;
}

.waitlist-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition);
}

.waitlist-input-wrap input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.waitlist-input-wrap input::placeholder {
  color: var(--text-muted);
}

.waitlist-input-wrap input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(123,92,240,0.15);
}

.waitlist-input-wrap:focus-within .waitlist-input-icon {
  color: var(--accent-purple-light);
}

/* Invalid state input border */
.waitlist-form[data-state="invalid"] .waitlist-input-wrap input {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}

/* Submit button */
.waitlist-btn {
  padding: 13px 24px;
  font-size: 0.925rem;
  justify-content: center;
  width: 100%;
  position: relative;
}

.waitlist-btn-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.waitlist-spinner {
  width: 18px;
  height: 18px;
  animation: waitlist-spin 0.8s linear infinite;
}

@keyframes waitlist-spin {
  to { transform: rotate(360deg); }
}

/* Loading state */
.waitlist-form[data-state="loading"] .waitlist-btn-text,
.waitlist-form[data-state="otp-loading"] .waitlist-btn-text { display: none; }

.waitlist-form[data-state="loading"] .waitlist-btn-loading,
.waitlist-form[data-state="otp-loading"] .waitlist-btn-loading { display: inline-flex; }
.waitlist-form[data-state="loading"] .waitlist-btn,
.waitlist-form[data-state="otp-loading"] .waitlist-btn { pointer-events: none; opacity: 0.8; }

.waitlist-form[data-state="loading"] .waitlist-input-wrap input,
.waitlist-form[data-state="otp-loading"] .waitlist-input-wrap input { pointer-events: none; opacity: 0.6; }

/* Success state — hide form, show message */
.waitlist-form[data-state="success"] .waitlist-input-group { display: none; }

/* Feedback messages */
.waitlist-feedback {
  min-height: 0;
}

.waitlist-msg {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
}

.waitlist-msg svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.waitlist-msg-invalid {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  color: #fca5a5;
}

.waitlist-msg-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  color: #fca5a5;
}

.waitlist-msg-success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #86efac;
}

/* Show messages based on state */
.waitlist-form[data-state="invalid"] .waitlist-msg-invalid { display: flex; }
.waitlist-form[data-state="error"]   .waitlist-msg-error   { display: flex; }
.waitlist-form[data-state="success"] .waitlist-msg-success  { display: flex; }

/* Group state logic */
.waitlist-otp-group {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.waitlist-otp-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist-otp-msg {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}
.waitlist-otp-msg strong {
  color: var(--text-primary);
  font-weight: 600;
}
.waitlist-otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.waitlist-otp-actions .btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px;
  transition: color var(--transition);
}
.waitlist-otp-actions .btn-text:hover {
  color: var(--accent-purple-light);
}
.waitlist-otp-actions .btn-text:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.waitlist-form[data-state="otp"] .waitlist-email-group,
.waitlist-form[data-state="otp-loading"] .waitlist-email-group,
.waitlist-form[data-state="success"] .waitlist-email-group,
.waitlist-form[data-state="success"] .waitlist-otp-group {
  display: none;
}
.waitlist-form[data-state="otp"] .waitlist-otp-group,
.waitlist-form[data-state="otp-loading"] .waitlist-otp-group {
  display: flex;
}

/* Hint text */
.waitlist-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.waitlist-form[data-state="success"] ~ .waitlist-hint { display: none; }

/* ── Waitlist responsive ─────────────────────────────────── */
@media (min-width: 480px) {
  .waitlist-input-group,
  .waitlist-otp-row {
    flex-direction: row;
  }

  .waitlist-btn {
    width: auto;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .hero-content .waitlist-form {
    margin-inline: 0;
  }
}
