/* ============================================================
   MUNSIQ — AI Reviews for Beauty Clinics
   Stylesheet v1.0
   ============================================================ */

/* ============== RESET ============== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Prevent grid/flex children from overflowing */
.reality-grid > *,
.demo > *,
.why-grid > *,
.features-grid > *,
.math-grid > *,
.solution-flow > *,
.footer-grid > * {
  min-width: 0;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

input, textarea, select, button {
  font: inherit;
}

ul {
  list-style: none;
}

/* ============== TOKENS ============== */
:root {
  /* Brand colours */
  --amber: #E4A853;
  --amber-light: #F0BB6E;
  --amber-dark: #C98C3A;
  --amber-rgb: 228, 168, 83;

  --teal: #5ABFAD;
  --teal-light: #7AD3C2;
  --teal-rgb: 90, 191, 173;

  --lavender: #A78BDB;
  --lavender-rgb: 167, 139, 219;

  --night: #07070E;
  --night-rgb: 7, 7, 14;

  /* Surfaces */
  --surface: #0F0F18;
  --surface-2: #14141F;
  --surface-3: #1A1A26;
  --border: #1F1F2E;
  --border-bright: #2A2A3D;

  /* Text */
  --white: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-secondary: #B5B5C5;
  --text-muted: #7A7A8E;

  /* Status */
  --success: #4ADE80;
  --error: #F87171;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============== UTILITIES ============== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-amber { color: var(--amber); }
.text-teal { color: var(--teal); }

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 6px 12px;
  border: 1px solid rgba(var(--amber-rgb), 0.2);
  border-radius: var(--r-full);
  background: rgba(var(--amber-rgb), 0.05);
}

.label-teal {
  color: var(--teal);
  border-color: rgba(var(--teal-rgb), 0.2);
  background: rgba(var(--teal-rgb), 0.05);
}

/* ============== TYPOGRAPHY ============== */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
}

.h4 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 400;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
}

.amber-accent { color: var(--amber); }
.teal-accent { color: var(--teal); }
.italic { font-style: italic; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--amber);
  color: var(--night);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(var(--amber-rgb), 0.5);
}
.btn-primary:hover svg {
  transform: translateX(3px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-bright);
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(var(--amber-rgb), 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 0;
}
.btn-ghost:hover {
  color: var(--amber);
}
.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.btn-whatsapp:hover {
  background: #2BE671;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(37, 211, 102, 0.5);
}

.btn-block { width: 100%; }
.btn-lg {
  padding: 18px 34px;
  font-size: 1rem;
}

/* ============== SCROLL PROGRESS ============== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============== NAV ============== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(7, 7, 14, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 3px;
  margin-bottom: 2px;
  box-shadow: 0 0 12px rgba(var(--amber-rgb), 0.5),
              0 0 24px rgba(var(--amber-rgb), 0.2);
  animation: dotPulse 4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(var(--amber-rgb), 0.5), 0 0 24px rgba(var(--amber-rgb), 0.2); }
  50% { box-shadow: 0 0 16px rgba(var(--amber-rgb), 0.7), 0 0 32px rgba(var(--amber-rgb), 0.3); }
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

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

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 14, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: breathe 8s var(--ease-in-out) infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--amber);
  top: -250px;
  right: -150px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--teal);
  bottom: -200px;
  left: -150px;
  animation-delay: 4s;
}

@keyframes breathe {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

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

.hero h1 {
  margin-bottom: 28px;
}

.hero p.lead {
  max-width: 620px;
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: dotPulse 3s ease-in-out infinite;
}

/* ============== SECTION SHARED ============== */
section {
  position: relative;
  padding: 120px 0;
}

.section-divider {
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 72px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .label {
  margin-bottom: 20px;
}

.section-header .h2 {
  margin-bottom: 20px;
}

/* ============== REALITY SECTION ============== */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.reality-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--amber-rgb), 0.3), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.reality-text .h2 {
  margin-bottom: 28px;
}

.reality-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.reality-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ============== SOLUTION SECTION ============== */
.solution {
  background: linear-gradient(180deg, transparent, rgba(var(--amber-rgb), 0.015), transparent);
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 64px;
  position: relative;
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.flow-step:hover {
  border-color: rgba(var(--amber-rgb), 0.3);
  transform: translateY(-4px);
}

.flow-step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(var(--amber-rgb), 0.08);
  border: 1px solid rgba(var(--amber-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--amber);
}

.flow-step-icon svg {
  width: 22px;
  height: 22px;
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.flow-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.flow-step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============== WHATSAPP MOCKUP ============== */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.demo-text .h2 {
  margin-bottom: 24px;
}

.demo-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.demo-features {
  list-style: none;
  margin-top: 32px;
}

.demo-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.demo-features svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Phone mockup */
.phone-mockup {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 32px;
  padding: 24px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow:
    0 50px 80px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 60px rgba(var(--amber-rgb), 0.08);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--r-full);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 4px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--night);
}

.phone-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.phone-status {
  font-size: 0.7rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.phone-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
  min-height: 280px;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: messageIn 0.5s var(--ease-out) forwards;
}

.message.from {
  background: var(--surface-3);
  color: var(--white);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}

.message.to {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--night);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}

.message:nth-child(1) { animation-delay: 0.2s; }
.message:nth-child(2) { animation-delay: 0.6s; }
.message:nth-child(3) { animation-delay: 1s; }

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

.message-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
}

.message.to .message-time {
  color: rgba(7, 7, 14, 0.5);
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(7, 7, 14, 0.15);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  color: var(--night);
  font-weight: 600;
}

.review-link svg {
  width: 12px;
  height: 12px;
}

/* ============== WHY SECTION ============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--amber-rgb), 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.why-card:hover::after {
  opacity: 1;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(var(--amber-rgb), 0.08);
  border: 1px solid rgba(var(--amber-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--amber);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card.teal .why-icon {
  background: rgba(var(--teal-rgb), 0.08);
  border-color: rgba(var(--teal-rgb), 0.2);
  color: var(--teal);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--white);
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============== MATH SECTION ============== */
.math {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(var(--amber-rgb), 0.04), transparent 70%);
}

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

.math-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-secondary);
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.math-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.math-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.math-card:hover {
  border-color: rgba(var(--amber-rgb), 0.3);
  transform: translateY(-4px);
}

.math-card .period {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.math-card .number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--amber);
  margin-bottom: 6px;
}

.math-card .label-sm {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.math-footer {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--white);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ============== FEATURES SECTION ============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
}

.feature:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(var(--amber-rgb), 0.08);
  border: 1px solid rgba(var(--amber-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amber);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============== PROCESS / HOW WE WORK ============== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.4s var(--ease-out);
}

.process-step:hover {
  border-color: rgba(var(--amber-rgb), 0.3);
  background: var(--surface-2);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
}

.process-step-content h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}

.process-step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-step-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ============== FOUNDER SECTION ============== */
.founder {
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(var(--amber-rgb), 0.04), transparent 60%);
}

.founder-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
}

.founder-photo {
  width: 320px;
  height: 380px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-bright);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 30% 30%, rgba(var(--amber-rgb), 0.15), transparent 60%);
  pointer-events: none;
}

.founder-photo-initials {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--amber);
  z-index: 1;
}

.founder-text .label {
  margin-bottom: 24px;
}

.founder-text h2 {
  margin-bottom: 28px;
}

.founder-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.founder-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  float: left;
  line-height: 0.9;
  margin-right: 8px;
  margin-top: 4px;
}

.founder-signature {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.founder-signature .name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}

.founder-signature .role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ============== FAQ SECTION ============== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}

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

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
  color: var(--text-secondary);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.active .faq-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--night);
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 4px 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 90%;
}

/* ============== FINAL CTA / CONTACT ============== */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-info .label {
  margin-bottom: 24px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease-out);
  text-align: left;
}

.contact-channel:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(var(--amber-rgb), 0.08);
  border: 1px solid rgba(var(--amber-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}

.contact-channel-icon svg {
  width: 18px;
  height: 18px;
}

.contact-channel-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-channel-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-group label .req {
  color: var(--amber);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  background: rgba(var(--amber-rgb), 0.02);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error);
}

.form-group .error-message {
  display: none;
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 6px;
}

.form-group .error-message.visible {
  display: block;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23E4A853' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--night);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--teal-rgb), 0.1);
  border: 1px solid rgba(var(--teal-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--white);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

.form-privacy a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.form-privacy a:hover {
  color: var(--amber);
}

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-built {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-built .heart {
  color: var(--amber);
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.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; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============== NOISE TEXTURE ============== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============== STATIC PAGES (privacy, terms, 404, thank-you) ============== */
.page {
  padding: 160px 0 100px;
  min-height: 100vh;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  margin-bottom: 16px;
}

.page-content .updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
}

.page-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content a {
  color: var(--amber);
  border-bottom: 1px solid rgba(var(--amber-rgb), 0.3);
}

.page-content a:hover {
  border-color: var(--amber);
}

.page-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-center .h1 {
  margin-bottom: 16px;
}

.page-center p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .nav-links { gap: 28px; }

  .reality-grid { grid-template-columns: 1fr; gap: 48px; }
  .demo { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-flow { grid-template-columns: repeat(2, 1fr); }
  .math-grid { grid-template-columns: repeat(2, 1fr); }

  .founder-wrap { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .founder-text p:first-of-type::first-letter { float: none; font-size: inherit; color: inherit; margin: 0; }

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

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

  section { padding: 80px 0; }

  .section-header { margin-bottom: 48px; }

  .hero { padding: 120px 0 80px; }
  .hero-buttons { width: 100%; }
  .hero-buttons .btn { flex: 1; min-width: calc(50% - 7px); }

  .reality-stats { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .solution-flow { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr 1fr; }

  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
  .process-step-meta { justify-self: start; }

  .founder-photo { width: 240px; height: 280px; }
  .founder-photo-initials { font-size: 4.5rem; }

  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { flex: none; width: 100%; }

  .stat-card { padding: 24px 20px; }
  .stat-number { font-size: 2.4rem; }

  .why-card, .feature { padding: 28px; }

  .contact-form { padding: 24px; }
}
