@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');

/* styles.css */
:root {
  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;

  /* Brand Colors */
  --primary: #7C3AED;
  --primary-glow: rgba(124, 58, 237, 0.28);
  --primary-light: rgba(124, 58, 237, 0.10);
  --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  --secondary: #A29BFE;

  /* Layout Colors */
  --bg: #ffffff;
  --bg-soft: #F8F7FC;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.12);

  /* Text Colors */
  --text-heading: #111111;
  --text: #4b5563;
  --text-nav: #374151;
  --text-muted: #6b7280;
  --text-light: #ffffff;

  /* Spacing */
  --section-padding-desk: 110px;
  --section-padding-mob: 75px;
  --radius: 20px;
  --radius-sm: 12px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.03);

  /* Animation */
  --transition: all 0.25s ease;
  --transition-fast: all 0.15s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F19;
    --bg-soft: #0F172A;
    --card: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text-heading: #F8FAFC;
    --text: rgba(248, 250, 252, 0.78);
    --text-nav: rgba(248, 250, 252, 0.85);
    --text-muted: rgba(248, 250, 252, 0.62);
    --text-light: #ffffff;

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 18px 55px rgba(0, 0, 0, 0.55);
    --shadow-nav: 0 10px 30px rgba(0, 0, 0, 0.45);

    --primary: #7C3AED;
    --primary-glow: rgba(124, 58, 237, 0.35);
    --primary-light: rgba(124, 58, 237, 0.14);
    --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);

    --nav-bg: rgba(10, 15, 25, 0.55);
    --nav-bg-scrolled: rgba(10, 15, 25, 0.72);
    --nav-border: rgba(255, 255, 255, 0.10);
    --nav-border-scrolled: rgba(255, 255, 255, 0.14);
    --nav-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
  }

  body::before {
    opacity: 0.008;
  }

  .navbar {
    background: var(--nav-bg) !important;
    border-color: var(--nav-border) !important;
    box-shadow: var(--nav-shadow) !important;
  }

  .navbar.scrolled {
    background: var(--nav-bg-scrolled) !important;
    border-color: var(--nav-border-scrolled) !important;
  }

  .logo,
  .nav-link,
  .mobile-link {
    color: var(--text-nav) !important;
  }

  .nav-link:hover {
    color: var(--text-heading) !important;
  }

  .menu-toggle span {
    background-color: var(--text-heading) !important;
  }

  .device-mock {
    background: #1E293B;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .device-mock::before {
    background: #1E293B;
  }

  .cta-input-row {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1);
  }

  .cta-input-row input {
    color: #F8FAFC !important;
  }

  .cta-input-row input::placeholder {
    color: rgba(248, 250, 252, 0.55) !important;
  }

  .cta-input-row input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
  }

  .link-primary {
    color: #A855F7;
  }

  .brand-logo {
    filter: invert(1);
  }

  .faq-item summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  }

  .faq-item summary {
    color: var(--text-heading);
  }
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Noise Texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
}

h1,
.hero-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

h2,
.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 600px;
  text-align: inherit;
  margin-left: auto;
  margin-right: auto;
}

p {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* Typography enforcement — Inter for all body elements */
nav,
nav *,
.navbar,
.navbar *,
.nav-links a,
.nav-link,
.mobile-nav,
.mobile-link,
.btn-primary,
button,
input,
textarea,
select,
.problem-card,
.problem-title,
.problem-text,
.feature-card,
.feature-card h3,
.feature-card p,
.step-card,
.step-card p,
.hero-bullets,
.hero-bullets li,
.faq-item,
.faq-item summary,
.faq-content,
.faq-content p,
.footer,
.footer *,
.legal-block,
.legal-block p,
.legal-block li,
.cta-subtext,
.cta-count,
.cta-secondary-link,
.cta-message,
.screenshot-label,
.brand-text {
  font-family: var(--font-body);
}

/* Headings only use Playfair */
.solution-statement,
.problem-number,
.step-badge {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 3rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-md {
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: var(--section-padding-desk) 0;
}

.bg-gradient-soft {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.section-header {
  margin-bottom: 3.5rem;
}

/* Links */
.link-primary {
  font-family: var(--font-body);
  color: var(--text-heading);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--text-heading);
  padding-bottom: 2px;
}

.link-primary:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.link-animated .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 6px;
}

.link-animated:hover .arrow {
  transform: translateX(4px);
}

/* Buttons */
.btn-primary {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px var(--primary-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: none;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.35);
  color: white;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  z-index: 1000;
  padding: 16px 32px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.navbar * {
  font-family: var(--font-body);
}

.navbar.scrolled {
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 23, 42, 0.12);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-heading);
  z-index: 1001;
}

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

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

.footer .brand-logo {
  height: 22px;
}

.brand-text {
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-nav);
  text-transform: none;
  position: relative;
  transition: color 0.15s ease;
  letter-spacing: 0.2px;
}

.nav-link:hover {
  color: var(--text-heading);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  opacity: 0;
  transform: translateY(2px);
  transition: all 0.15s ease;
  border-radius: 2px;
}

.nav-link.active::after {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Navigation Dropdown */
.mobile-nav {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  z-index: 999;
  visibility: hidden;
  font-family: var(--font-body);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-heading);
}

/* Hero */
.hero {
  padding: calc(var(--section-padding-desk) + 60px) 0 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 90%;
  color: var(--text);
}

.hero-bullets {
  margin-bottom: 40px;
}

.hero-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--text);
  font-family: var(--font-body);
}

.hero-bullets li strong {
  font-weight: 600;
  color: var(--text-heading);
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
}

/* Hero phones */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mock {
  width: 260px;
  aspect-ratio: 9/19;
  background: #ffffff;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  position: absolute;
  overflow: hidden;
}

.device-mock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 22px;
  background: #ffffff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}

.mock-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.mock-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mock-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mock-label-small {
  font-size: 14px;
  padding: 8px 16px;
}

.gradient-1 {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.gradient-2 {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.gradient-3 {
  background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
}

.gradient-4 {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.phone-center {
  z-index: 3;
  transform: translateY(0) scale(1);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-left {
  z-index: 2;
  transform: translateX(-55%) rotate(-8deg) scale(0.88);
  opacity: 1;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-right {
  z-index: 2;
  transform: translateX(55%) rotate(8deg) scale(0.88);
  opacity: 1;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.device-mock.active-phone {
  z-index: 10 !important;
  transform: translateX(0) rotate(0deg) scale(1) !important;
  opacity: 1 !important;
}

.device-mock.pushed-left {
  z-index: 2 !important;
  transform: translateX(-55%) rotate(-8deg) scale(0.88) !important;
  opacity: 1 !important;
}

.device-mock.pushed-right {
  z-index: 2 !important;
  transform: translateX(55%) rotate(8deg) scale(0.88) !important;
  opacity: 1 !important;
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-animation {
    animation: none;
  }
}

/* Grids */
.problem-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.screenshot-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}

.screenshot-mock {
  position: relative;
  width: 100%;
}

.screenshot-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* Icon System */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Cards */
.problem-card,
.feature-card,
.step-card,
.screenshot-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              border-color 0.3s ease;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  cursor: pointer;
  overflow: visible !important;
  display: block;
  z-index: 1;
}

.screenshot-mock {
  padding: 0;
  overflow: hidden !important;
}

.problem-card::after,
.feature-card::after,
.step-card::after,
.screenshot-mock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover,
  .feature-card:hover,
  .step-card:hover,
  .screenshot-mock:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.3) !important;
    border-color: var(--primary) !important;
    z-index: 20;
  }

  .problem-card:hover::after,
  .feature-card:hover::after,
  .step-card:hover::after,
  .screenshot-mock:hover::after {
    opacity: 1;
  }
}

.problem-card::before,
.feature-card::before,
.step-card::before,
.problem-card::after,
.feature-card::after,
.step-card::after {
  display: none !important;
}

.problem-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.problem-icon {
  flex-shrink: 0;
}

.problem-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.problem-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.step-card {
  text-align: center;
  padding-top: 40px;
}

.step-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  color: white;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.problem-number {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.9;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
}

.feature-card p,
.problem-card p,
.step-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.solution-statement {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item summary {
  font-family: var(--font-body);
  padding: 24px 26px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center center;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-content {
  padding: 24px 26px;
  background: var(--bg-soft);
  animation: slideDown 0.3s ease-out forwards;
}

.faq-content p {
  font-size: 16px;
  margin-bottom: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(168, 85, 247, 0.04) 40%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-form {
  max-width: 480px;
  margin: 0 auto 20px;
}

.cta-input-row {
  display: flex;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(124, 58, 237, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  background: #fff;
}

.cta-input-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 16px;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  min-width: 0;
}

.cta-input-row input::placeholder {
  color: #9ca3af;
}

.cta-input-row .btn-primary {
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.cta-message {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.cta-message.success {
  color: #059669;
}

.cta-message.error {
  color: #dc2626;
}

.cta-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-secondary-link {
  display: inline-block;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.cta-secondary-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 80px 0;
  }

  .cta-heading {
    font-size: 32px;
  }

  .cta-subtext {
    font-size: 16px;
  }

  .cta-input-row {
    flex-direction: column;
    border-radius: 16px;
  }

  .cta-input-row input {
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
  }

  .cta-input-row .btn-primary {
    border-radius: 0 0 16px 16px;
    padding: 14px 20px;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 60px 0 40px;
}

.footer, .footer * {
  font-family: var(--font-body);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
}

.footer-logo {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-logo .brand-text {
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.footer-links a:hover,
.footer-socials a:hover,
.social-link:hover {
  color: var(--primary) !important;
}

.social-link svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-visual {
    margin-top: 48px;
  }
  .hero-cta {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-socials {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.footer-links a,
.footer-socials a {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
  font-weight: 500;
}

.footer-disclaimer {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 32px;
  opacity: 0.9;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) !important;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-text {
    position: relative;
    z-index: 5;
  }

  .hero-headline {
    font-size: 46px;
  }

  .hero-subheadline {
    margin: 0 auto 32px;
  }

  .hero-bullets li {
    text-align: left;
    display: inline-block;
    width: 100%;
  }

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

  .phone-stack {
    transform: scale(0.85);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-desk: var(--section-padding-mob);
  }

  .desktop-nav,
  .desktop-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 16px 24px;
  }

  .navbar.scrolled {
    padding: 12px 24px;
  }

  .hero-headline {
    font-size: 38px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-text {
    position: relative;
    z-index: 5;
  }

  .phone-stack {
    transform: scale(0.65);
  }

  .hero-visual {
    height: 320px;
    overflow: visible;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .step-badge {
    left: 50%;
    transform: translateX(-50%);
  }
}

.legal-section {
  padding: 160px 24px 80px;
  min-height: 80vh;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 48px;
}

.legal-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
  border-bottom: none;
}

.legal-block h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.legal-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 10px 0 10px 24px;
  padding: 0;
}

.legal-block li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.legal-contact {
  padding-top: 12px;
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 30px;
  }

  .legal-section {
    padding: 130px 20px 60px;
  }
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.image-modal.active .image-modal-content {
  transform: scale(1);
}

.image-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
  transition: opacity 0.2s;
}

.image-modal-close:hover {
  opacity: 0.7;
}

.screenshot-grid .mock-img,
.device-mock .mock-img {
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {

  /* Pill container — dark glass, one seamless shape */
  #waitlist .cta-input-row,
  .cta-section .cta-input-row {
    background: rgba(15, 23, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  /* Input transparent so container provides the pill background */
  #waitlist .cta-input-row input[type="email"],
  .cta-section .cta-input-row input[type="email"],
  form#waitlist-form input[type="email"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #F8FAFC !important;
    caret-color: #F8FAFC !important;
    -webkit-text-fill-color: #F8FAFC !important;
    padding-left: 22px !important;
  }

  /* Placeholder readable */
  #waitlist .cta-input-row input[type="email"]::placeholder,
  .cta-section .cta-input-row input[type="email"]::placeholder,
  form#waitlist-form input[type="email"]::placeholder {
    color: rgba(248, 250, 252, 0.62) !important;
    opacity: 1 !important;
    -webkit-text-fill-color: rgba(248, 250, 252, 0.62) !important;
  }

  /* Subtle divider between input and button */
  #waitlist .cta-input-row .btn-primary,
  .cta-section .cta-input-row .btn-primary {
    border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: none !important;
  }

  /* Focus glow on the whole pill */
  #waitlist .cta-input-row:focus-within,
  .cta-section .cta-input-row:focus-within {
    border-color: rgba(124, 58, 237, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18), 0 18px 45px rgba(0, 0, 0, 0.35) !important;
  }

  /* Fix browser autofill */
  #waitlist input#waitlist-email:-webkit-autofill,
  #waitlist input#waitlist-email:-webkit-autofill:hover,
  #waitlist input#waitlist-email:-webkit-autofill:focus,
  #waitlist input#waitlist-email:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.45) inset !important;
    -webkit-text-fill-color: #F8FAFC !important;
    caret-color: #F8FAFC !important;
    transition: background-color 9999s ease-in-out 0s !important;
  }

  .cta-message.error {
    color: #ff6b6b !important;
  }
}

/* =========================================================
   FINAL iLab Typography System
   Inter = everything
   Playfair = display headings only
   ========================================================= */

/* Global font enforcement */
html, body,
div, span, p, a, li, ul, ol,
label, input, textarea, select, button,
table, th, td, blockquote, pre, code,
nav, section, article, aside, header, footer, main,
details, summary, figcaption, figure,
h3, h4, h5, h6 {
  font-family: var(--font-body) !important;
}

h1, h2,
h1 *, h2 *,
.hero-headline, .hero-headline *,
.section-title, .section-title *,
.cta-heading, .cta-heading *,
.solution-statement, .solution-statement *,
.problem-number,
.step-badge,
.legal-title,
.footer-logo .brand-text {
  font-family: var(--font-heading) !important;
}