/**
 * KRISHKA Premium Website Styles
 * Ultra-premium design with advanced animations and effects
 */

:root {
  /* Premium Color System - Deeper & Richer */
  --brand-purple-950: #1a0538;
  --brand-purple-900: #2a0a5e;
  --brand-purple-800: #3a1080;
  --brand-purple-700: #4a198c;
  --brand-purple-600: #5a22a0;
  --brand-purple-500: #6e2dc4;
  --brand-purple-400: #8a4dd8;
  --brand-purple-300: #a670e8;
  
  --brand-pink-600: #e01a8f;
  --brand-pink-500: #ff2aae;
  --brand-pink-400: #ff4cc0;
  --brand-pink-300: #ff87d3;
  --brand-pink-200: #ffb8e6;
  --brand-pink-100: #ffe0f5;
  
  /* Ink Scale */
  --ink-950: #0d0618;
  --ink-900: #171325;
  --ink-800: #2d2046;
  --ink-700: #3f3955;
  --text: #24183a;
  --text-soft: #6f5a8c;
  --text-muted: #9a85b0;
  
  /* Paper Scale */
  --paper-50: #fffafe;
  --paper-100: #f8f4ff;
  --paper-200: #f0e8ff;
  --paper-300: #e8dcff;
  --paper: #f8f4ff;
  --paper-strong: #ffffff;
  
  /* Line & Borders */
  --line: #e4d8f0;
  --line-soft: rgba(228, 216, 240, 0.5);
  
  /* Radius */
  --radius-xl: 28px;
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  
  /* Container */
  --container: 1240px;
  --container-narrow: 980px;
  --pad: clamp(18px, 3vw, 32px);
  
  /* Typography Scale */
  --h1: clamp(2.4rem, 5.5vw, 4.5rem);
  --h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --h3: clamp(1.15rem, 1.9vw, 1.4rem);
  --body-lg: 1.15rem;
  --body: 1rem;
  --body-sm: 0.94rem;
  --caption: 0.86rem;
  
  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(42, 10, 94, 0.06);
  --shadow-sm: 0 8px 24px rgba(42, 10, 94, 0.08), 0 2px 8px rgba(42, 10, 94, 0.04);
  --shadow-md: 0 16px 48px rgba(42, 10, 94, 0.12), 0 4px 12px rgba(42, 10, 94, 0.06);
  --shadow-lg: 0 28px 72px rgba(42, 10, 94, 0.18), 0 8px 24px rgba(42, 10, 94, 0.08);
  --shadow-xl: 0 40px 100px rgba(42, 10, 94, 0.24), 0 12px 36px rgba(42, 10, 94, 0.1);
  --shadow-glow: 0 0 60px rgba(255, 42, 174, 0.3), 0 0 120px rgba(110, 45, 196, 0.2);
  
  /* Font Families */
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Playfair Display", "Georgia", "Times New Roman", serif;
  
  /* Animation Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Transitions */
  --transition-fast: 150ms var(--ease-smooth);
  --transition-base: 250ms var(--ease-smooth);
  --transition-slow: 400ms var(--ease-out-expo);
}

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

html, body {
  height: 100%;
}

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

body {
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper-50);
  overflow-x: hidden;
}

/* ========== AURORA BACKGROUND ========== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 5% -5%, rgba(255, 42, 174, 0.12) 0%, transparent 60%),
    radial-gradient(1000px 500px at 95% 5%, rgba(110, 45, 196, 0.1) 0%, transparent 55%),
    radial-gradient(800px 400px at 50% 100%, rgba(255, 76, 192, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fffaff 0%, #f8f4ff 30%, #f5efff 70%, #f8f4ff 100%);
  pointer-events: none;
}

/* ========== FLOATING ORBS ========== */
.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--brand-pink-300), var(--brand-purple-400));
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--brand-purple-400), var(--brand-pink-300));
  top: 40%;
  right: -50px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--brand-pink-400), var(--brand-purple-300));
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--brand-purple-300), var(--brand-pink-300));
  bottom: 30%;
  right: 10%;
  animation-delay: -15s;
  animation-duration: 28s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -30px) scale(1.1);
  }
  50% {
    transform: translate(20px, 40px) scale(0.95);
  }
  75% {
    transform: translate(-30px, 20px) scale(1.05);
  }
}

/* Section Scroll Offset */
:is(section, details, .card)[id], #faq {
  scroll-margin-top: 100px;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(255, 42, 174, 0.5);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.hp { display: none !important; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 200;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--paper-strong);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* Container */
.container {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

/* ========== HEADER - Premium Glassmorphism ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 250, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(228, 216, 240, 0.6);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 250, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

/* Brand */
.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-width: 240px;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 230, 248, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 24px rgba(42, 10, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all var(--transition-base);
}

.brand:hover .brand-mark {
  box-shadow: 
    0 12px 32px rgba(255, 42, 174, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  transition: transform var(--transition-slow);
}

.brand:hover .brand-mark img {
  transform: scale(1.1);
}

.brand-word {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name, .brand-dot {
  font-size: 1.1rem;
}

.brand-dot {
  color: var(--text-soft);
  font-weight: 500;
}

.brand-tag {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Navigation */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-pink-500), var(--brand-purple-500));
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--brand-purple-700);
  background: rgba(255, 42, 174, 0.08);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.is-active {
  color: var(--brand-purple-900);
  background: rgba(74, 25, 140, 0.1);
}

.nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* CTA Button in Nav */
.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-purple-900) 0%, var(--brand-purple-700) 50%, var(--brand-pink-500) 100%);
  background-size: 200% 200%;
  border: none;
  box-shadow: 
    0 8px 24px rgba(42, 10, 94, 0.3),
    0 4px 12px rgba(255, 42, 174, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-left: 8px;
  animation: gradientShift 4s ease infinite;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 32px rgba(42, 10, 94, 0.35),
    0 6px 16px rgba(255, 42, 174, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-pink-300);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 5px auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-purple-900), var(--brand-pink-500));
  transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 81px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 250, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 24px 0;
  z-index: 99;
}

.nav-drawer-inner {
  display: grid;
  gap: 4px;
}

.nav-drawer .nav-link {
  padding: 16px 20px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.nav-drawer .nav-cta {
  margin: 8px 0;
  text-align: center;
}

.nav-link.subtle {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  padding: clamp(70px, 10vw, 140px) 0;
}

/* Band Styles */
.band, .band-neutral, .band-deep {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.band::before, .band-neutral::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.band::before {
  background:
    radial-gradient(900px 500px at 10% 5%, rgba(255, 42, 174, 0.1) 0%, transparent 60%),
    radial-gradient(800px 450px at 90% 15%, rgba(110, 45, 196, 0.08) 0%, transparent 55%);
}

.band-neutral::before {
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.9) 0%, rgba(248, 244, 255, 0.7) 100%),
    radial-gradient(1000px 550px at 5% 0%, rgba(74, 25, 140, 0.06) 0%, transparent 60%);
}

.band > .container, .band-neutral > .container {
  position: relative;
  z-index: 1;
}

/* Deep Band - Hero Style */
.band-deep {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: 
    radial-gradient(1300px 650px at 8% -15%, rgba(255, 42, 174, 0.5) 0%, transparent 60%),
    radial-gradient(1000px 500px at 95% 10%, rgba(110, 45, 196, 0.4) 0%, transparent 55%),
    linear-gradient(145deg, var(--brand-purple-950) 0%, var(--brand-purple-900) 40%, var(--brand-purple-700) 70%, var(--brand-pink-600) 100%);
}

.band-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ========== HERO - Ultra Premium ========== */
.hero {
  border-bottom-color: rgba(228, 216, 240, 0.3);
  position: relative;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 300px at 15% 30%, rgba(255, 200, 235, 0.4) 0%, transparent 70%),
    radial-gradient(600px 400px at 80% 70%, rgba(232, 200, 255, 0.35) 0%, transparent 75%);
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 120px);
}

.hero-copy {
  max-width: 68ch;
}

/* Kicker with animated gradient text */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--brand-pink-400), var(--brand-purple-400));
  border-radius: 50%;
  animation: kickerPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--brand-pink-400);
}

@keyframes kickerPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--brand-pink-400); }
  50% { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 20px var(--brand-pink-400); }
}

.kicker-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(74, 25, 140, 0.1), rgba(255, 42, 174, 0.08));
  border: 1px solid rgba(74, 25, 140, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-purple-700);
}

.kicker-dark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--brand-purple-700), var(--brand-pink-500));
  border-radius: 50%;
  animation: kickerPulse 2s ease-in-out infinite;
}

/* Headings */
h1, h2, h3 {
  font-family: var(--head);
  letter-spacing: -0.02em;
  color: inherit;
  line-height: 1.12;
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #ffe0f5 50%, #ffc4eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero .lead-hero {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 24px 0 0;
  line-height: 1.7;
  max-width: 56ch;
}

/* Hero entrance animations */
.hero-copy > * {
  animation: heroRise 800ms var(--ease-out-expo) backwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2) { animation-delay: 120ms; }
.hero-copy > *:nth-child(3) { animation-delay: 240ms; }
.hero-copy > *:nth-child(4) { animation-delay: 360ms; }
.hero-copy > *:nth-child(5) { animation-delay: 480ms; }

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.cta-row.compact {
  margin-top: 24px;
}

.cta-row.center {
  justify-content: center;
}

/* ========== MAGNETIC BUTTONS ========== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink-900);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 42, 174, 0.1), rgba(110, 45, 196, 0.1));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-pink-300);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Primary Button */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-purple-900) 0%, var(--brand-purple-700) 50%, var(--brand-pink-500) 100%);
  background-size: 200% 200%;
  border: none;
  box-shadow: 
    0 10px 32px rgba(42, 10, 94, 0.4),
    0 6px 16px rgba(255, 42, 174, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: gradientShift 5s ease infinite;
}

.btn-primary:hover {
  box-shadow: 
    0 14px 40px rgba(42, 10, 94, 0.45),
    0 8px 20px rgba(255, 42, 174, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Secondary Button - Dark */
.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Light Button */
.btn-light {
  color: var(--brand-purple-900);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-light:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-block {
  width: 100%;
}

/* Proof Row */
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.proof:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.proof::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-pink-500), var(--brand-purple-500));
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero Panel - Glassmorphism Card */
.hero-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 230, 248, 0.3) 0%, rgba(240, 220, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    var(--shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  animation: panelRise 900ms var(--ease-out-expo) 500ms backwards;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.panel-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.timeline-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--brand-pink-400), var(--brand-purple-500));
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 42, 174, 0.6);
  animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 42, 174, 0.6); }
  50% { box-shadow: 0 0 24px rgba(255, 42, 174, 0.9); }
}

.timeline-list li strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-panel .fine {
  margin-top: 24px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Section Head */
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

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

h2 {
  font-size: var(--h2);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 18px;
}

h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-pink-500), var(--brand-purple-700));
  background-size: 200% 100%;
  border-radius: 3px;
  animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-head.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

h3 {
  font-size: var(--h3);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 14px;
}

.lead {
  font-size: var(--body-lg);
  color: var(--text);
  line-height: 1.75;
  max-width: 64ch;
}

.section-head .lead {
  color: var(--text-soft);
}

.muted {
  color: var(--text-soft);
}

.fine {
  font-size: var(--caption);
  line-height: 1.7;
}

/* ========== GRIDS ========== */
.path-grid, .grid-2, .grid-3, .process-grid {
  display: grid;
  gap: clamp(24px, 2.8vw, 36px);
}

.path-grid, .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ========== CARDS - Ultra Premium ========== */
.card, .data-surface {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.98) 0%, rgba(247, 242, 255, 0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  will-change: transform;
}

.card::before, .data-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 42, 174, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.card:hover, .data-surface:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 42, 174, 0.35);
}

.card:hover::before, .data-surface:hover::before {
  opacity: 1;
}

/* Path Cards - Special Style */
.path-card {
  position: relative;
}

.path-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-pink-500), var(--brand-purple-700));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition-fast);
  animation: gradientFlow 3s ease infinite;
}

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

.path-card > * {
  position: relative;
  z-index: 1;
}

/* Lists */
.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  line-height: 1.6;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--brand-pink-500), var(--brand-purple-500));
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(255, 42, 174, 0.4);
}

/* Stack */
.stack {
  display: grid;
  gap: 24px;
}

.compact-stack {
  gap: 16px;
}

/* Data Surface - Grid Pattern */
.data-surface {
  position: relative;
}

.data-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(228, 216, 240, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 216, 240, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}

.data-inner {
  position: relative;
  z-index: 1;
}

/* QA Items */
.qa {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.qa-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px;
  background: rgba(255, 252, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.qa-item:hover {
  background: rgba(255, 252, 255, 0.98);
  border-color: var(--brand-pink-300);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.qa-item dt {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.05rem;
}

.qa-item dd {
  color: var(--text-soft);
  line-height: 1.6;
}

/* Subhead */
.subhead {
  font-family: var(--head);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--ink-900);
  margin: 52px 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  position: relative;
}

.subhead::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-pink-500));
}

/* Dashboard Grid */
.dashboard-grid {
  margin-top: 20px;
}

/* Charts */
.chart-wrap {
  margin-top: 24px;
  height: 320px;
  background: rgba(255, 252, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 20px;
}

.chart-wrap.compact {
  height: 260px;
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 252, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.chip strong {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink-900);
}

.chip-btn {
  cursor: pointer;
}

.chip-btn:hover {
  background: rgba(255, 42, 174, 0.1);
  border-color: var(--brand-pink-300);
  transform: translateY(-2px);
}

.chip-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(255, 42, 174, 0.2), rgba(110, 45, 196, 0.12));
  border-color: rgba(255, 42, 174, 0.5);
  box-shadow: inset 0 2px 4px rgba(255, 42, 174, 0.1), 0 4px 12px rgba(255, 42, 174, 0.15);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.kpi {
  padding: 20px 14px;
  background: rgba(255, 252, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.kpi:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-pink-300);
}

.kpi .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.kpi strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}

/* Trust Grid */
.trust-grid {
  margin-top: 16px;
}

/* ========== FORM - FIXED ========== */
.form {
  margin-top: 16px;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
  padding: 16px 18px;
  font-size: 1rem;
  background: rgba(255, 252, 255, 0.98);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  width: 100%;
  min-height: 52px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--brand-pink-300);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-pink-500);
  box-shadow: 0 0 0 4px rgba(255, 42, 174, 0.12);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.help {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
}

.consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--brand-pink-500);
  flex-shrink: 0;
}

/* hCaptcha container - FIXED sizing */
.h-captcha {
  margin-top: 16px;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.h-captcha iframe {
  max-width: 100%;
}

/* Form Status */
.form-status {
  padding: 18px 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: rgba(255, 252, 255, 0.95);
  font-weight: 500;
  animation: statusSlide 400ms var(--ease-out-expo);
}

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

.form-status.ok {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 240, 250, 0.95));
  border-color: rgba(255, 42, 174, 0.35);
  color: var(--brand-purple-900);
}

.form-status.info {
  background: linear-gradient(135deg, rgba(74, 25, 140, 0.1), rgba(255, 42, 174, 0.06));
  border-color: rgba(74, 25, 140, 0.25);
  color: var(--brand-purple-700);
}

.form-status.error {
  background: linear-gradient(135deg, rgba(142, 60, 216, 0.12), rgba(255, 42, 174, 0.06));
  border-color: rgba(142, 60, 216, 0.3);
  color: var(--brand-purple-900);
}

/* Details/Summary */
details {
  margin-top: 18px;
  background: rgba(255, 252, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

details:hover {
  border-color: var(--brand-pink-300);
}

details summary {
  padding: 18px 22px;
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

details summary:hover {
  background: rgba(255, 42, 174, 0.04);
}

details summary::after {
  content: "›";
  font-size: 1.6rem;
  color: var(--brand-pink-500);
  transition: transform var(--transition-fast);
}

details[open] summary::after {
  transform: rotate(90deg);
}

details .list {
  padding: 0 22px 22px;
  margin: 0;
}

/* FAQ */
.faq {
  margin-top: 36px;
}

.faq-stack {
  gap: 14px;
}

.faq details {
  margin: 0;
}

.faq details p {
  padding: 0 22px 22px;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ========== FOOTER - Premium Style ========== */
.site-footer {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.95) 0%, rgba(243, 236, 255, 0.9) 100%);
  border-top: 1px solid var(--line);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-pink-300), var(--brand-purple-300), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 18px;
}

.footer-grid > div > p {
  margin-bottom: 24px;
  line-height: 1.75;
}

.footer-h {
  font-family: var(--head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 18px;
}

.footer-link {
  display: block;
  padding: 8px 0;
  color: var(--text-soft);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-pink-500), var(--brand-purple-500));
  transition: width var(--transition-base);
}

.footer-link:hover {
  color: var(--brand-purple-700);
  transform: translateX(6px);
}

.footer-link:hover::after {
  width: 24px;
}

/* Badge Row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 252, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.badge:hover {
  border-color: var(--brand-pink-300);
  background: rgba(255, 42, 174, 0.06);
  transform: translateY(-2px);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children reveal */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}

.reveal-children.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-children.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.reveal-children.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-children.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.reveal-children.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.reveal-children.is-visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ========== SECTION DIVIDERS ========== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 auto;
  max-width: var(--container);
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-pink-500));
  border-radius: 3px;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-pink-500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  transform: scale(2);
  background: rgba(255, 42, 174, 0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand {
    min-width: 0;
  }
  
  .brand-tag {
    display: none;
  }
  
  .hero .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .hero-panel {
    max-width: 540px;
    margin: 0 auto;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .path-grid, .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .qa-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  :root {
    --h1: clamp(2rem, 9vw, 3.2rem);
    --h2: clamp(1.6rem, 7vw, 2.2rem);
  }
  
  .grid-2, .path-grid, .grid-3, .process-grid, .footer-grid, .kpi-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-panel {
    padding: 28px;
  }
  
  .card, .data-surface {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid .field {
    grid-column: span 1 !important;
  }
  
  .cta-row {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .proof-row {
    flex-direction: column;
  }
  
  .proof {
    width: fit-content;
  }
  
  .chip-row {
    justify-content: center;
  }
  
  .section {
    padding: 50px 0;
  }
  
  /* Hide ambient orbs on mobile */
  .orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  
  .brand-mark img {
    width: 28px;
    height: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

/* Print Styles */
@media print {
  .site-header, .hero-canvas, .hero-glow, .nav-toggle, .nav-drawer, .cta-row, .btn, .orb, .ambient-orbs {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card, .data-surface {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
/* ... existing CSS ... */

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(145deg, var(--brand-purple-950), var(--brand-purple-900));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s var(--ease-out-expo);
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--brand-pink-500);
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple-900), var(--brand-pink-500));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: white;
}

.back-to-top:hover svg {
  animation: butterflyFlap 0.5s ease-in-out;
}

@keyframes butterflyFlap {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.7); }
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--paper-strong);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--brand-pink-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-info {
  border-left-color: var(--brand-purple-500);
}

.toast-message {
  font-size: 0.95rem;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-soft);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(255, 42, 174, 0.1);
  color: var(--brand-pink-500);
}

@media (max-width: 640px) {
  .toast-container {
    left: 16px;
    right: 16px;
    top: 90px;
  }
  
  .toast {
    min-width: auto;
    max-width: none;
  }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: clamp(70px, 10vw, 140px) 0;
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.95) 0%, rgba(248, 244, 255, 0.98) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-content {
  background: var(--paper-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--head);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink-900);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--brand-pink-300);
  line-height: 1;
  display: block;
  margin-bottom: -20px;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple-700), var(--brand-pink-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--head);
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.1rem;
}

.testimonial-role {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--brand-pink-500);
  border-color: var(--brand-pink-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: linear-gradient(135deg, var(--brand-purple-700), var(--brand-pink-500));
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonial-content {
    padding: 32px 24px;
  }
  
  .testimonial-quote::before {
    font-size: 3rem;
  }
}

/* ========== STATISTICS SECTION ========== */
.statistics-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(145deg, var(--brand-purple-900) 0%, var(--brand-purple-700) 50%, var(--brand-pink-600) 100%);
  position: relative;
  overflow: hidden;
}

.statistics-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.statistic-item {
  text-align: center;
  padding: 24px;
}

.statistic-number {
  font-family: var(--head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #ffe0f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.statistic-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
}

.statistic-suffix {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 4px;
}

@media (max-width: 992px) {
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .statistic-item {
    padding: 16px;
  }
}

/* ========== DATA-SURFACE FIX (NO TILT) ========== */
/* Ensure data-surface elements with forms don't get tilt effect */
.data-surface:has(form) {
  transform: none !important;
}

.data-surface:has(form):hover {
  transform: translateY(-6px) !important;
}

/* Remove perspective from form containers */
#contact .data-surface {
  transform-style: flat;
}

#contact .data-surface:hover {
  transform: translateY(-6px);
}
