/* ============================================
   CatchLeadAI — "Noir Signal" Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

/* --- Tokens --- */
:root {
  --bg-primary: #06090f;
  --bg-secondary: #0b1120;
  --bg-card: rgba(13, 19, 36, 0.65);
  --bg-card-hover: rgba(18, 27, 50, 0.8);
  --border-card: rgba(0, 212, 255, 0.1);
  --border-card-hover: rgba(0, 212, 255, 0.3);

  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-warm: #ff8a3a;
  --accent-warm-glow: rgba(255, 138, 58, 0.15);

  --text-primary: #e4e8f1;
  --text-secondary: #8892a8;
  --text-muted: #556178;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dot-grid texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--accent-glow), 0 4px 15px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.3), 0 8px 25px rgba(0,0,0,0.4);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.03);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-ghost {
  color: var(--accent);
  padding: 0.85rem 1rem;
}

.btn-ghost:hover {
  background: var(--accent-glow);
  border-radius: 100px;
}

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-glow);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 24px var(--accent); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links .btn-primary {
  margin-left: 0.75rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 15, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-lg));
  padding-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 138, 58, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}


.hero-label {
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem 0.45rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}

.hero-label .signal-bar {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.hero-label .signal-bar span {
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: signal-wave 1.2s ease-in-out infinite;
}

.hero-label .signal-bar span:nth-child(1) { height: 4px; animation-delay: 0s; }
.hero-label .signal-bar span:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.hero-label .signal-bar span:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.hero-label .signal-bar span:nth-child(4) { height: 6px; animation-delay: 0.45s; }

@keyframes signal-wave {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero h1 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-form-wrap {
  position: relative;
  z-index: 1;
}

.hero-form-card {
  padding: var(--space-lg);
  animation: form-glow 3s ease-in-out infinite;
}

.hero-form-card:hover {
  transform: none;
}

@keyframes form-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.05), 0 8px 32px rgba(0,0,0,0.3);
    border-color: var(--border-card);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.12), 0 8px 32px rgba(0,0,0,0.3);
    border-color: rgba(0, 212, 255, 0.25);
  }
}

.hero-form-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.trial-form .form-group {
  margin-bottom: var(--space-sm);
}

.form-microcopy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  line-height: 1.5;
  max-width: 100%;
}

.trial-success {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.trial-success h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.trial-success p {
  margin: 0 auto;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}


/* ============================================
   PAIN POINTS
   ============================================ */
.pain-points {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header p {
  margin: var(--space-sm) auto 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pain-card {
  padding: var(--space-lg);
  text-align: center;
}

.pain-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255, 138, 58, 0.08);
  border: 1px solid rgba(255, 138, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-warm);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h3 {
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}

.pain-card p {
  font-size: 0.95rem;
  margin: 0 auto;
}

/* Stat highlight */
.pain-stat {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent-warm);
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}

/* Connecting line */
.how-it-works .steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), rgba(0,212,255,0.2), transparent);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  background: var(--bg-primary);
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: var(--space-xs);
}

.step p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.demo-video-wrap {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.demo-video {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.demo-video:hover {
  transform: none;
}

.demo-video video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.demo-cta {
  display: flex;
  justify-content: center;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-call svg {
  flex-shrink: 0;
}

/* ============================================
   FOUNDER STORY
   ============================================ */
.founder-story {
  position: relative;
  z-index: 1;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: var(--space-xl);
  align-items: center;
}

.founder-photo-wrap {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.founder-photo:hover {
  transform: none;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.founder-text {
  max-width: 560px;
}

.founder-text .label {
  display: block;
  margin-bottom: var(--space-sm);
}

.founder-text h2 {
  margin-bottom: var(--space-lg);
}

.founder-text p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  line-height: 1.75;
}

.founder-text p strong {
  color: var(--text-primary);
}

.founder-signoff {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.03);
}

.cta-final-inner {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 138, 58, 0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-final-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-final-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}

.cta-final-text h2 {
  margin-bottom: var(--space-sm);
}

.cta-final-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-final-form-wrap .trial-form .form-group label {
  color: var(--text-secondary);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
  max-width: 100%;
}

/* ============================================
   TRUST / SOCIAL PROOF
   ============================================ */
.trust-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.trust-card {
  padding: var(--space-lg);
}

.trust-quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.trust-quote::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.trust-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-author strong {
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  text-align: center;
  position: relative;
}

.cta-banner-inner {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 138, 58, 0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-banner p {
  margin: 0 auto var(--space-lg);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.page-hero {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  margin: 0 auto;
  font-size: 1.15rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

/* --- Billing toggle --- */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  margin: 0 auto var(--space-lg);
  padding: 0.3rem;
  border-radius: 100px;
  background: rgba(13, 19, 36, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.billing-option {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.billing-option:hover {
  color: var(--text-primary);
}

.billing-option.active {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.pricing-billed-note {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pricing-cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
  font-style: italic;
}

.pricing-addon {
  margin-top: 2.5rem;
}

.pricing-addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2rem;
  border-color: rgba(255, 138, 58, 0.25);
  background: linear-gradient(135deg, rgba(255, 138, 58, 0.06), rgba(0, 212, 255, 0.04));
}

.pricing-addon-text h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.pricing-addon-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-addon-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.pricing-addon-amount {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-warm, #ff8a3a);
  line-height: 1;
}

.pricing-addon-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .pricing-addon-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
  }
  .pricing-addon-price {
    align-items: flex-start;
  }
}

.pricing-card {
  padding: var(--space-lg);
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-primary);
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-price span.pricing-price-old {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--text-primary);
  text-decoration-thickness: 2px;
  margin-right: 0.55rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-discount {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.45);
  margin-bottom: 0.6rem;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
  white-space: nowrap;
  line-height: 1;
}

.launch-banner {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 138, 58, 0.35);
  background: linear-gradient(90deg, rgba(255, 138, 58, 0.08), rgba(0, 212, 255, 0.06));
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  box-shadow: 0 0 40px rgba(255, 138, 58, 0.08);
}

.launch-banner strong {
  display: block;
  color: var(--accent-warm);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.launch-banner .launch-spots {
  color: var(--accent);
  font-weight: 600;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-features {
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-card.featured .btn-primary {
  background: var(--accent);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  cursor: pointer;
  text-align: left;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  background: var(--accent-glow);
  border-color: rgba(0, 212, 255, 0.2);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
  stroke: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-info {
  padding-top: var(--space-md);
}

.contact-info-card {
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-detail span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  font-size: 0.82rem;
  color: var(--accent);
  margin-top: var(--space-sm);
}

.response-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Form validation states */
.form-error {
  display: block;
  font-size: 0.8rem;
  color: #ff5c5c;
  margin-top: 0.35rem;
  min-height: 1.1em;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.char-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.form-input.input-error {
  border-color: #ff5c5c;
  background: rgba(255, 92, 92, 0.04);
}

.form-input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.1);
}

.form-input.input-valid {
  border-color: rgba(0, 212, 255, 0.3);
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.success-icon {
  margin-bottom: var(--space-md);
}

.form-success h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.form-success p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ============================================
   CONFIRMATION POPUP
   ============================================ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.popup-overlay.open {
  display: flex;
}

.popup-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  animation: popup-in 0.3s ease-out;
}

.popup-card:hover {
  transform: none;
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.popup-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.popup-card .success-icon {
  margin-bottom: var(--space-md);
}

.popup-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.popup-card p {
  margin: 0 auto var(--space-lg);
  font-size: 0.95rem;
}

.popup-ok {
  min-width: 140px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Large desktops & ultrawides --- */
@media (min-width: 1600px) {
  :root {
    --max-width: 1400px;
  }

  .hero::before {
    width: 900px;
    height: 900px;
  }

  .hero::after {
    width: 700px;
    height: 700px;
  }
}

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pain-grid,
  .features-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .how-it-works .steps::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .founder-photo-wrap {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .founder-text {
    max-width: 100%;
  }

  .cta-final-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .cta-final-text p {
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .pain-grid,
  .features-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-banner-inner {
    padding: var(--space-lg) var(--space-md);
  }

  section {
    padding: var(--space-xl) 0;
  }

  h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .billing-toggle {
    width: calc(100% - 2rem);
    max-width: 360px;
    justify-content: center;
  }

  .billing-option {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .pricing-card {
    padding: var(--space-md);
  }

  .hero-form-card {
    padding: var(--space-md);
  }

  .cta-final-inner {
    padding: var(--space-lg) var(--space-md);
  }

  .founder-sig-placeholder {
    justify-content: center;
    gap: var(--space-sm);
  }

  .btn-call {
    font-size: 0.88rem;
    padding: 1rem 1.5rem;
  }
}