/* =========================================================
   AI KAB — styles
   Palette: deep midnight, rose-gold, ice-blue, pearl
   ========================================================= */

:root {
  --bg: #070510;
  --bg-2: #0d0920;
  --ink: #f5ecf3;
  --ink-soft: #b6a8be;
  --ink-dim: #77697e;
  --rose: #f9c6d1;
  --rose-deep: #d48aa1;
  --gold: #e6c188;
  --ice: #8fc5ff;
  --grad: linear-gradient(120deg, #f9c6d1 0%, #e6c188 45%, #8fc5ff 100%);
  --grad-2: linear-gradient(120deg, #ffd1dc 0%, #ffe9c7 50%, #b3d8ff 100%);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-brd: rgba(255, 255, 255, 0.08);
  --glass-brd-hi: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 10px 80px rgba(249, 198, 209, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(249, 198, 209, 0.10), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(143, 197, 255, 0.08), transparent 50%),
    radial-gradient(ellipse at 50% 120%, rgba(230, 193, 136, 0.06), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--rose); color: #1a0a14; }

/* Custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999; border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; transition: transform 0.06s linear; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.8); transition: transform 0.18s var(--ease), width 0.3s, height 0.3s, background 0.3s; }
.cursor-ring.hover { width: 60px; height: 60px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* Noise */
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Loader */
#loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 10000;
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 300;
  letter-spacing: 0.08em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.4rem;
}
.loader-logo span { font-weight: 600; font-style: italic; }
.loader-bar { width: 240px; height: 1px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; margin: 0 auto; }
.loader-bar span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; animation: load 1.6s var(--ease-out) forwards; }
@keyframes load { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.loader-text { margin-top: 1rem; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 5000;
  background: rgba(255,255,255,0.04);
}
.scroll-progress span {
  display: block; height: 100%; background: var(--grad);
  width: 0%;
  box-shadow: 0 0 18px rgba(249, 198, 209, 0.6);
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 3rem; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(7, 5, 16, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--glass-brd);
  padding: 0.8rem 3rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400; letter-spacing: 0.04em;
}
.brand-text span {
  font-weight: 600; font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text.big { font-size: 2.8rem; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.88rem; color: var(--ink-soft); position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav-links { display: none; } .nav { padding: 1rem 1.2rem !important; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.5rem; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s, color 0.35s;
  position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--grad); color: #1a0a14; font-weight: 600;
  box-shadow: 0 10px 40px rgba(249, 198, 209, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 60px rgba(249, 198, 209, 0.45); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--glass-brd-hi);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
@media (max-width: 900px) { .nav-cta { display: none; } }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; padding: 8rem 3rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 198, 209, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(143, 197, 255, 0.10), transparent 50%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: 100px;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rose);
  box-shadow: 0 0 0 0 rgba(249, 198, 209, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 198, 209, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(249, 198, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 198, 209, 0); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 2rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .reveal { display: inline-block; transform: translateY(110%); }
.hero-title .reveal.gradient {
  font-weight: 600; font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .italic { font-style: italic; font-weight: 500; }

.hero-sub {
  max-width: 620px; font-size: 1.15rem; color: var(--ink-soft); line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
}
.hero-cta { display: flex; gap: 1rem; margin-bottom: 4rem; opacity: 0; transform: translateY(20px); }
.reveal-soft.in { opacity: 1; transform: translateY(0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

.hero-marquee {
  overflow: hidden; padding: 1.2rem 0;
  border-top: 1px solid var(--glass-brd);
  border-bottom: 1px solid var(--glass-brd);
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 2rem; white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-style: italic;
  color: var(--ink-soft);
}
.marquee-track span:nth-child(even) { color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-scroll {
  position: absolute; right: 3rem; bottom: 3rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim);
}
.scroll-line {
  width: 1px; height: 60px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%;
  background: var(--grad); animation: scroll-drop 2.4s infinite var(--ease);
}
@keyframes scroll-drop { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }

@media (max-width: 900px) {
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-scroll { display: none; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* Trust */
.trust {
  padding: 3rem; border-top: 1px solid var(--glass-brd); border-bottom: 1px solid var(--glass-brd);
  position: relative;
}
.trust-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-label { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim); }
.trust-cities {
  display: flex; flex: 1; flex-wrap: wrap; gap: 2.4rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-style: italic; color: var(--ink-soft);
}
.trust-cities span { opacity: 0.7; transition: opacity 0.3s, color 0.3s; }
.trust-cities span:hover { opacity: 1; color: var(--rose); }

/* Section head */
.section-head { max-width: 900px; margin: 0 auto 4rem; text-align: center; padding: 0 1.2rem; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 1.4rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  font-weight: 400; letter-spacing: -0.01em; line-height: 1.05;
  margin-bottom: 1.4rem;
}
.section-title .italic { font-style: italic; font-weight: 500; }
.section-title .gradient,
.kpi-num.gradient {
  font-style: italic; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.6; }

/* Services */
.services { padding: 8rem 3rem; }
.services-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.service-card {
  position: relative; padding: 2.4rem; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  overflow: hidden; min-height: 360px;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: var(--radius);
  background: var(--grad); opacity: 0; transition: opacity 0.5s;
}
.service-card::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(249, 198, 209, 0.18), transparent 40%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hi); background: rgba(255,255,255,0.06); }
.service-card:hover::after { opacity: 1; }
.service-card.feature {
  background: linear-gradient(145deg, rgba(249, 198, 209, 0.08), rgba(143, 197, 255, 0.05));
  border-color: rgba(249, 198, 209, 0.22);
}
.service-num {
  font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; font-style: italic;
  color: var(--rose); margin-bottom: 1.6rem; letter-spacing: 0.1em;
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(249, 198, 209, 0.12), rgba(143, 197, 255, 0.08));
  border: 1px solid var(--glass-brd-hi);
  margin-bottom: 1.6rem;
  position: relative; overflow: hidden;
}
.service-icon::before {
  content: ''; position: absolute; inset: 10px;
  background: var(--grad); border-radius: 8px; opacity: 0.9;
  mask-repeat: no-repeat; mask-position: center; mask-size: 60% 60%;
  -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: 60% 60%;
}
.service-icon[data-icon="receptionist"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M20 4H6a2 2 0 00-2 2v10a2 2 0 002 2h3l3 4 3-4h5a2 2 0 002-2V6a2 2 0 00-2-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M20 4H6a2 2 0 00-2 2v10a2 2 0 002 2h3l3 4 3-4h5a2 2 0 002-2V6a2 2 0 00-2-2z'/></svg>"); }
.service-icon[data-icon="marketing"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 11l18-7-4 18-5-7-9-4z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 11l18-7-4 18-5-7-9-4z'/></svg>"); }
.service-icon[data-icon="retention"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 21s-7-4.5-9.5-10C1 7 4 3 8 4c1.8.5 3 1.8 4 3 1-1.2 2.2-2.5 4-3 4-1 7 3 5.5 7C19 16.5 12 21 12 21z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 21s-7-4.5-9.5-10C1 7 4 3 8 4c1.8.5 3 1.8 4 3 1-1.2 2.2-2.5 4-3 4-1 7 3 5.5 7C19 16.5 12 21 12 21z'/></svg>"); }
.service-icon[data-icon="scheduling"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M7 2v3M17 2v3M3 8h18M5 5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M7 2v3M17 2v3M3 8h18M5 5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2z'/></svg>"); }
.service-icon[data-icon="review"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z'/></svg>"); }
.service-icon[data-icon="pricing"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 1v22M17 5H9a3 3 0 000 6h6a3 3 0 010 6H7'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 1v22M17 5H9a3 3 0 000 6h6a3 3 0 010 6H7'/></svg>"); }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; margin-bottom: 0.8rem; }
.service-card p { color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; margin-bottom: 1.4rem; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.service-card ul li {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  color: var(--ink-soft);
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } .services { padding: 5rem 1.2rem; } }

/* Demo */
.demo { padding: 8rem 3rem; position: relative; }
.demo-wrap { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.demo-orb { position: relative; height: 520px; display: grid; place-items: center; }
.orb {
  width: 260px; height: 260px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff, #f9c6d1 30%, #c68cb0 60%, #3a1a30 100%);
  box-shadow:
    0 0 60px rgba(249, 198, 209, 0.35),
    inset -40px -60px 100px rgba(143, 197, 255, 0.4),
    inset 20px 30px 80px rgba(255,255,255,0.3);
  position: relative; animation: orbFloat 6s ease-in-out infinite;
}
.orb::before {
  content: ''; position: absolute; inset: 20% 30% auto 20%; height: 30%; border-radius: 50%;
  background: rgba(255,255,255,0.5); filter: blur(10px);
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}
.orb-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(249, 198, 209, 0.25);
  animation: spin 20s linear infinite;
}
.orb-ring.r2 { width: 440px; height: 440px; border-color: rgba(143, 197, 255, 0.18); animation-duration: 28s; animation-direction: reverse; }
.orb-ring.r3 { width: 520px; height: 520px; border-color: rgba(230, 193, 136, 0.12); animation-duration: 36s; }
.orb-ring::before {
  content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 14px var(--rose);
}

.chat {
  padding: 1.6rem; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 1rem; min-height: 520px;
  max-height: 620px;
}
.glass {
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow-soft);
}
.chat-head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--glass-brd); }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; position: relative; }
.chat-avatar::after { content: ''; position: absolute; bottom: 2px; right: 2px; width: 10px; height: 10px; background: #4ade80; border-radius: 50%; border: 2px solid var(--bg); }
.chat-name { font-weight: 600; display: flex; align-items: center; gap: 0.7rem; }
.chat-name .status { font-size: 0.7rem; font-weight: 400; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.3rem; }
.chat-name .status i { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.chat-role { font-size: 0.78rem; color: var(--ink-dim); }
.chat-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.8rem; padding: 0.4rem 0.2rem; scrollbar-width: thin; scrollbar-color: var(--ink-dim) transparent; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--ink-dim); border-radius: 4px; }
.msg { max-width: 82%; padding: 0.9rem 1.1rem; border-radius: 18px; font-size: 0.92rem; line-height: 1.55; animation: msgIn 0.5s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-brd); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--grad); color: #1a0a14; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.typing { display: inline-flex; gap: 4px; padding: 1rem 1.2rem; }
.msg.typing span { width: 7px; height: 7px; background: var(--rose); border-radius: 50%; animation: typing 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 0.9rem; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  font-size: 0.8rem; color: var(--ink-soft);
  transition: all 0.3s;
}
.chip:hover { background: rgba(249,198,209,0.1); border-color: var(--rose); color: var(--ink); }
.chat-input {
  display: flex; gap: 0.5rem; padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  border-radius: 100px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-brd);
}
.chat-input input { flex: 1; background: none; border: none; color: var(--ink); outline: none; font-size: 0.95rem; }
.chat-input button {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #1a0a14;
  display: grid; place-items: center; transition: transform 0.3s;
}
.chat-input button:hover { transform: scale(1.08) rotate(-12deg); }
.chat-input button svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .demo-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .demo-orb { height: 320px; }
  .orb { width: 180px; height: 180px; }
  .orb-ring { width: 240px; height: 240px; }
  .orb-ring.r2 { width: 300px; height: 300px; }
  .orb-ring.r3 { width: 360px; height: 360px; }
  .demo { padding: 5rem 1.2rem; }
}

/* ROI */
.roi { padding: 8rem 3rem; }
.roi-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; }
.roi-inputs { padding: 2.4rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: 2rem; }
.slider label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.8rem; font-size: 0.9rem; color: var(--ink-soft);
}
.slider label span {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: rgba(255,255,255,0.1); border-radius: 100px; outline: none;
}
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); cursor: pointer;
  box-shadow: 0 4px 14px rgba(249,198,209,0.4);
  border: 2px solid #fff;
}
.slider input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--rose); cursor: pointer;
  box-shadow: 0 4px 14px rgba(249,198,209,0.4); border: 2px solid #fff;
}

.roi-output { display: flex; flex-direction: column; gap: 1rem; }
.kpi { padding: 2rem; border-radius: var(--radius); }
.kpi.featured { background: linear-gradient(145deg, rgba(249, 198, 209, 0.08), rgba(143, 197, 255, 0.05)); border-color: rgba(249, 198, 209, 0.3); }
.kpi-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.6rem; }
.kpi-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; margin-bottom: 1rem; }
.kpi-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; position: relative; }
.kpi-bar span { position: absolute; inset: 0 auto 0 0; background: var(--grad); transition: width 0.7s var(--ease); }
.kpi-delta { margin-top: 0.9rem; font-size: 0.95rem; color: var(--rose); font-weight: 500; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mini-kpi { padding: 1.2rem; border-radius: var(--radius-sm); text-align: center; }
.mini-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.5rem; }
.mini-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1000px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi { padding: 5rem 1.2rem; }
  .kpi-row { grid-template-columns: 1fr; }
}

/* Before/After */
.results { padding: 8rem 3rem; }
.ba-wrap { max-width: 1200px; margin: 0 auto; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-brd-hi);
  aspect-ratio: 16/9; min-height: 520px;
  background: #0a0716;
  user-select: none; touch-action: none;
}
.ba-panel { position: absolute; inset: 0; padding: 2.6rem; display: flex; flex-direction: column; gap: 1.4rem; }
.ba-before { background: radial-gradient(circle at 30% 30%, rgba(120, 90, 100, 0.2), #0a0716); }
.ba-after { background: radial-gradient(circle at 70% 30%, rgba(249, 198, 209, 0.15), rgba(143, 197, 255, 0.1), #0a0716); clip-path: inset(0 0 0 50%); }
.ba-label { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; color: var(--rose); }
.ba-before .ba-label { color: var(--ink-dim); }
.ba-schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; flex: 1; }
.slot {
  font-size: 0.85rem; padding: 0.55rem 0.9rem; border-radius: 8px;
  border: 1px solid var(--glass-brd); background: rgba(255,255,255,0.03);
  color: var(--ink-soft);
}
.slot.empty { opacity: 0.5; color: var(--ink-dim); }
.slot.full { background: linear-gradient(90deg, rgba(249, 198, 209, 0.15), rgba(143, 197, 255, 0.08)); border-color: rgba(249, 198, 209, 0.3); color: var(--ink); }
.ba-stats { display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
.ba-stats b { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; margin-right: 0.5rem; color: var(--ink); }
.ba-after .ba-stats b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--grad);
  cursor: ew-resize; z-index: 10;
  box-shadow: 0 0 20px rgba(249, 198, 209, 0.5);
}
.ba-handle-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid; border-image: var(--grad) 1;
  display: grid; place-items: center; color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 30px rgba(249, 198, 209, 0.3);
}
.ba-handle-knob svg { width: 22px; height: 22px; }
@media (max-width: 800px) { .ba { min-height: 620px; aspect-ratio: auto; } .ba-panel { padding: 1.4rem; } .ba-schedule { grid-template-columns: 1fr; } .results { padding: 5rem 1.2rem; } }

/* Stats */
.stats { padding: 6rem 3rem; }
.stats-grid {
  max-width: 1400px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 500;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-icon-big { font-size: 2.6rem; line-height: 1; margin-bottom: 0.4rem; }
.stat-label { margin-top: 0.6rem; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; } .stats { padding: 4rem 1.2rem; } }

/* Testimonials */
.testimonials { padding: 8rem 3rem; }
.t-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.t-card { padding: 2rem; border-radius: var(--radius); }
.t-card .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.15em; margin-bottom: 1rem; }
.t-card p { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; line-height: 1.4; font-style: italic; margin-bottom: 1.4rem; color: var(--ink); }
.t-who { font-size: 0.85rem; color: var(--ink-soft); }
.t-who b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } .testimonials { padding: 5rem 1.2rem; } }

/* Contact */
.contact { padding: 6rem 3rem 8rem; }
.contact-inner {
  max-width: 1300px; margin: 0 auto; padding: 4rem; border-radius: calc(var(--radius) + 8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  background: linear-gradient(145deg, rgba(249, 198, 209, 0.08), rgba(143, 197, 255, 0.05));
  border: 1px solid rgba(249, 198, 209, 0.25);
}
.contact-left h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.05; margin-bottom: 1.4rem; }
.contact-left p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 2rem; }
.contact-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-bullets li { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); font-size: 0.95rem; }
.contact-bullets span {
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--grad); color: #1a0a14; border-radius: 50%; font-weight: 700; font-size: 0.85rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.5rem; }
.field input, .field select {
  width: 100%; padding: 1rem 1.2rem; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  color: var(--ink); font-size: 1rem; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus, .field select:focus { border-color: var(--rose); background: rgba(255,255,255,0.06); }
.field select option { background: var(--bg-2); color: var(--ink); }
.form-note { font-size: 0.85rem; color: var(--rose); text-align: center; min-height: 1.2rem; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; } .contact { padding: 4rem 1.2rem; } }

/* Footer */
.footer { padding: 4rem 3rem 2rem; border-top: 1px solid var(--glass-brd); }
.foot-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.foot-brand p { color: var(--ink-soft); margin-top: 1rem; max-width: 360px; line-height: 1.6; }
.foot-col h5 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.4rem; font-weight: 500; }
.foot-col a { display: block; padding: 0.4rem 0; color: var(--ink-soft); transition: color 0.3s; }
.foot-col a:hover { color: var(--rose); }
.foot-bottom { max-width: 1400px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--glass-brd); display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-dim); flex-wrap: wrap; gap: 1rem; }
@media (max-width: 800px) { .foot-inner { grid-template-columns: 1fr 1fr; } .footer { padding: 3rem 1.2rem 2rem; } }

/* Reveal animations */
.reveal-in { opacity: 1 !important; transform: translate(0,0) !important; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].reveal-in { opacity: 1; transform: translateY(0); }

/* =========================================================
   ADVANCED ADDITIONS
   ========================================================= */

/* Cursor blob */
.cursor-blob {
  position: fixed; top: 0; left: 0; width: 300px; height: 300px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(249, 198, 209, 0.16), transparent 60%);
  transform: translate3d(-200px, -200px, 0);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  filter: blur(20px);
  mix-blend-mode: screen;
}
@media (max-width: 900px) { .cursor-blob { display: none; } }

/* Hero grain overlay */
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249,198,209,0.06), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(143,197,255,0.08), transparent 30%);
  mix-blend-mode: screen;
}

/* Side nav dots */
.side-nav {
  position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 0.9rem;
  opacity: 0; transform: translateY(-50%) translateX(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.side-nav.show { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.side-nav a {
  display: flex; align-items: center; gap: 0.8rem; justify-content: flex-end;
  position: relative;
}
.side-nav a span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.35s var(--ease);
}
.side-nav a em {
  font-style: normal; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.side-nav a:hover em, .side-nav a.active em { opacity: 1; transform: translateX(0); }
.side-nav a:hover span { background: var(--rose); transform: scale(1.3); }
.side-nav a.active span {
  background: var(--grad); width: 26px; border-radius: 100px;
  box-shadow: 0 0 14px rgba(249,198,209,0.6);
}
@media (max-width: 1100px) { .side-nav { display: none; } }

/* Floating CTA */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 80;
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1.4rem; border-radius: 100px;
  background: var(--bg-2); border: 1px solid var(--glass-brd-hi);
  color: var(--ink); font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,198,209,0.2);
  opacity: 0; transform: translateY(20px) scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s;
  pointer-events: none;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.floating-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta:hover { background: rgba(249,198,209,0.12); }
.floating-cta svg { width: 16px; height: 16px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (max-width: 700px) { .floating-cta { bottom: 1rem; right: 1rem; padding: 0.75rem 1rem; font-size: 0.8rem; } .fc-label { display: none; } }

/* Magnetic buttons (JS adds transform; class is for targeting) */
.magnetic { will-change: transform; }

/* Hero rotator */
.hero-rotator {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400; font-style: italic;
  color: var(--ink);
  margin-bottom: 1.4rem;
  display: flex; align-items: baseline; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.rot-static { color: var(--ink-soft); }
.rot-words {
  position: relative; display: inline-block; min-width: 320px;
  height: 1.2em; overflow: hidden; vertical-align: baseline;
}
.rot-word {
  position: absolute; inset: 0; display: block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.7s;
  opacity: 0;
}
.rot-word.active { transform: translateY(0); opacity: 1; }
.rot-word.leaving { transform: translateY(-110%); opacity: 0; }
@media (max-width: 700px) { .rot-words { min-width: 220px; } .hero-rotator { flex-direction: column; align-items: flex-start; } }

/* Hero mini stats */
.hero-mini-stats {
  display: flex; gap: 3rem; margin-bottom: 3rem;
  opacity: 0; transform: translateY(20px);
}
.hero-mini-stats > div { display: flex; flex-direction: column; }
.hero-mini-stats b {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-mini-stats span { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin-top: 0.3rem; }
@media (max-width: 700px) { .hero-mini-stats { gap: 1.5rem; margin-bottom: 2rem; } .hero-mini-stats b { font-size: 1.4rem; } }

/* Split-text reveal */
.split-char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}
.split-ready .split-char {
  transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease-out);
}
.split-active .split-char {
  transform: translateY(0); opacity: 1;
}

/* =========================================================
   HOW IT WORKS — pinned horizontal scroll
   ========================================================= */
.flow {
  position: relative;
  height: 400vh; /* gives scroll room for pinning */
}
.flow-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  padding: 6rem 3rem 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(249,198,209,0.08), transparent 40%),
    radial-gradient(ellipse at 90% 80%, rgba(143,197,255,0.07), transparent 40%);
}
.flow-head { text-align: center; max-width: 900px; margin: 0 auto 2.5rem; }
.flow-head .section-title { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.flow-track { flex: 1; overflow: hidden; position: relative; }
.flow-panels {
  display: flex; gap: 2rem; height: 100%; align-items: center;
  padding: 0 8vw;
  will-change: transform;
}
.flow-panel {
  flex: 0 0 70vw; max-width: 900px; height: 70vh; min-height: 440px;
  border-radius: var(--radius); padding: 3rem;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.flow-panel::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(249,198,209,0.04), transparent 50%);
  pointer-events: none;
}
.flow-panel:nth-child(even) {
  background: linear-gradient(145deg, rgba(249, 198, 209, 0.06), rgba(143, 197, 255, 0.04));
  border-color: rgba(249, 198, 209, 0.2);
}
.flow-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1rem; color: var(--rose); letter-spacing: 0.18em;
  grid-column: 1 / -1; margin-bottom: -1rem;
}
.flow-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500;
  line-height: 1.05; margin-bottom: 1.2rem;
}
.flow-panel p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.flow-visual {
  position: relative; height: 100%; min-height: 260px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(0,0,0,0.3); border: 1px solid var(--glass-brd);
  display: grid; place-items: center;
}

/* Flow visual: audit bars */
.visual-audit { align-items: flex-end; grid-auto-flow: column; gap: 10px; padding: 2rem; }
.visual-audit { display: flex; align-items: flex-end; }
.vbar {
  flex: 1; height: var(--h, 50%);
  background: var(--grad); border-radius: 6px 6px 0 0;
  animation: vbarPulse 3.5s ease-in-out infinite;
}
.vbar:nth-child(2) { animation-delay: 0.2s; } .vbar:nth-child(3) { animation-delay: 0.4s; }
.vbar:nth-child(4) { animation-delay: 0.6s; } .vbar:nth-child(5) { animation-delay: 0.8s; }
.vbar:nth-child(6) { animation-delay: 1s; } .vbar:nth-child(7) { animation-delay: 1.2s; }
@keyframes vbarPulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.85); } }
.vscan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: linear-gradient(90deg, transparent, var(--rose), transparent);
  box-shadow: 0 0 20px var(--rose);
  animation: scan 3s linear infinite;
}
@keyframes scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0.3; } }

/* Flow visual: neural training */
.visual-train { position: relative; }
.neuron {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(249,198,209,0.8);
  animation: neuronPulse 2s ease-in-out infinite;
}
.n1 { top: 25%; left: 15%; } .n2 { top: 70%; left: 15%; animation-delay: 0.3s; }
.n3 { top: 50%; left: 50%; animation-delay: 0.6s; background: #fff; }
.n4 { top: 30%; left: 85%; animation-delay: 0.9s; }
.n5 { top: 72%; left: 85%; animation-delay: 1.2s; }
.n6 { top: 10%; left: 50%; animation-delay: 1.5s; }
@keyframes neuronPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }
.synapses { position: absolute; inset: 0; width: 100%; height: 100%; }
.synapses line {
  stroke: var(--rose); stroke-width: 1; opacity: 0.3;
  stroke-dasharray: 4 4;
  animation: synapse 4s linear infinite;
}
@keyframes synapse { to { stroke-dashoffset: -40; } }

/* Flow visual: deploy channels */
.visual-deploy { position: relative; }
.chan {
  position: absolute;
  padding: 0.5rem 0.9rem; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-brd);
  font-size: 0.78rem; color: var(--ink-soft);
  animation: chanFloat 4s ease-in-out infinite;
}
.c1 { top: 15%; left: 10%; } .c2 { top: 15%; right: 10%; animation-delay: 0.4s; }
.c3 { top: 75%; left: 10%; animation-delay: 0.8s; } .c4 { top: 75%; right: 10%; animation-delay: 1.2s; }
.c5 { top: 45%; left: 5%; animation-delay: 1.6s; } .c6 { top: 45%; right: 5%; animation-delay: 2s; }
@keyframes chanFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chan-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--grad); color: #1a0a14;
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600;
  box-shadow: 0 0 40px rgba(249,198,209,0.5);
  animation: coreSpin 6s ease-in-out infinite;
}
.chan-core span { font-style: italic; }
@keyframes coreSpin { 0%, 100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.08); } }

/* Flow visual: learn curve */
.visual-learn { padding: 1.5rem; position: relative; }
.growth { width: 100%; height: auto; }
.growth-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3s ease-out forwards infinite; }
.growth-fill { opacity: 0; animation: fadeIn 3s ease-out forwards infinite; }
.growth-dot { animation: dotPulse 3s ease-out infinite; }
@keyframes drawLine { 0% { stroke-dashoffset: 600; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes fadeIn { 0%, 40% { opacity: 0; } 100% { opacity: 1; } }
@keyframes dotPulse { 0%, 50% { transform: scale(1); filter: drop-shadow(0 0 6px #f9c6d1); } 75% { transform: scale(1.6); filter: drop-shadow(0 0 14px #f9c6d1); } 100% { transform: scale(1); } }
.growth-stat { position: absolute; top: 1.5rem; right: 1.5rem; text-align: right; }
.growth-stat b {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.growth-stat span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }

/* Flow progress */
.flow-progress { height: 3px; background: rgba(255,255,255,0.06); border-radius: 100px; margin: 1.5rem 8vw 0; overflow: hidden; }
.flow-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad); box-shadow: 0 0 14px rgba(249,198,209,0.6);
  transition: width 0.1s linear;
}

@media (max-width: 900px) {
  .flow { height: auto; }
  .flow-sticky { position: relative; height: auto; padding: 5rem 1.2rem; }
  .flow-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .flow-panels { padding: 0 1rem; }
  .flow-panel { flex: 0 0 85vw; grid-template-columns: 1fr; height: auto; min-height: 500px; padding: 2rem; scroll-snap-align: center; }
  .flow-progress { display: none; }
}

/* Orb particles */
.orb-particle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 12px var(--rose);
  animation: orbP 8s linear infinite;
}
.orb-particle.p1 { top: 20%; left: 50%; animation-delay: 0s; }
.orb-particle.p2 { top: 50%; left: 80%; animation-delay: 2s; background: var(--ice); box-shadow: 0 0 12px var(--ice); }
.orb-particle.p3 { top: 80%; left: 40%; animation-delay: 4s; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.orb-particle.p4 { top: 40%; left: 15%; animation-delay: 6s; }
@keyframes orbP {
  0% { transform: translate(0,0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(calc(cos(var(--a, 45deg)) * 120px), calc(sin(var(--a, 45deg)) * 120px)); opacity: 0; }
}

/* =========================================================
   LIVE DASHBOARD
   ========================================================= */
.dashboard { padding: 8rem 3rem; }
.dash {
  max-width: 1400px; margin: 0 auto; padding: 2rem;
  border-radius: calc(var(--radius) + 8px);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px solid var(--glass-brd);
}
.dash-tabs { display: flex; gap: 0.4rem; }
.dash-tab {
  padding: 0.5rem 1.1rem; border-radius: 100px;
  background: transparent; color: var(--ink-soft); font-size: 0.85rem;
  transition: all 0.3s;
}
.dash-tab:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.dash-tab.active {
  background: var(--grad); color: #1a0a14; font-weight: 600;
}
.dash-live {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.dash-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 1rem;
}
.dash-card {
  padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-brd);
  display: flex; flex-direction: column; gap: 0.8rem;
  position: relative; overflow: hidden;
}
.dash-card.big { grid-column: span 2; grid-row: span 2; }
.dash-card.wide { grid-column: span 2; }
.dc-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-dim); }
.dc-num {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 500;
  line-height: 1;
}
.dc-trend { font-size: 0.82rem; color: var(--ink-soft); }
.dc-trend.up { color: #4ade80; }
.dash-chart { width: 100%; height: 140px; flex: 1; }

.dc-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: auto; }
.dc-bars span { flex: 1; height: var(--h); background: var(--grad); border-radius: 4px 4px 0 0; animation: dcBar 2.4s ease-in-out infinite; }
.dc-bars span:nth-child(2) { animation-delay: 0.2s; } .dc-bars span:nth-child(3) { animation-delay: 0.4s; }
.dc-bars span:nth-child(4) { animation-delay: 0.6s; } .dc-bars span:nth-child(5) { animation-delay: 0.8s; }
.dc-bars span:nth-child(6) { animation-delay: 1s; } .dc-bars span:nth-child(7) { animation-delay: 1.2s; }
@keyframes dcBar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.7); } }

.dc-ring { position: relative; width: 120px; height: 120px; margin: auto; }
.dc-ring svg { width: 100%; height: 100%; }
.dc-ring-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.dc-feed { display: flex; flex-direction: column; gap: 0.6rem; max-height: 200px; overflow: hidden; }
.dc-feed-item {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.85rem; color: var(--ink-soft);
  padding: 0.5rem 0.7rem; border-radius: 10px; background: rgba(255,255,255,0.02);
  animation: feedIn 0.5s var(--ease-out);
}
.dc-feed-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 10px var(--rose); flex-shrink: 0; }
.dc-feed-item .time { margin-left: auto; font-size: 0.72rem; color: var(--ink-dim); }
@keyframes feedIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

.dc-stars { font-size: 0.9rem; color: var(--gold); letter-spacing: 0.2em; }
.dc-stars span { color: var(--ink-soft); letter-spacing: normal; margin-left: 0.4rem; font-size: 0.82rem; }
.dc-spark svg { width: 100%; height: 40px; }

.dc-meter { height: 8px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.dc-meter span { display: block; height: 100%; background: var(--grad); transition: width 0.8s var(--ease); }

@media (max-width: 1100px) { .dash-grid { grid-template-columns: repeat(2, 1fr); } .dash-card.big, .dash-card.wide { grid-column: span 2; grid-row: auto; } }
@media (max-width: 700px) { .dashboard { padding: 5rem 1rem; } .dash-grid { grid-template-columns: 1fr; } .dash-card.big, .dash-card.wide { grid-column: span 1; } }

/* =========================================================
   INTEGRATIONS MARQUEE
   ========================================================= */
.integrations { padding: 6rem 0; overflow: hidden; }
.int-head { text-align: center; max-width: 800px; margin: 0 auto 3rem; padding: 0 1.2rem; }
.int-head h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; margin-top: 1rem; color: var(--ink-soft); }
.int-row { padding: 0.8rem 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.int-track { display: flex; gap: 1rem; width: max-content; animation: intScroll 38s linear infinite; }
.int-row.reverse .int-track { animation-direction: reverse; animation-duration: 44s; }
.int-pill {
  padding: 0.9rem 1.6rem; border-radius: 100px; white-space: nowrap;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic;
  color: var(--ink-soft);
  transition: all 0.35s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.int-pill:hover { color: var(--ink); background: rgba(249,198,209,0.1); border-color: var(--rose); transform: translateY(-3px); }
@keyframes intScroll { to { transform: translateX(-50%); } }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: 8rem 3rem; }
.price-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card {
  position: relative; padding: 2.4rem 2rem; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(249,198,209,0.14), transparent 40%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.price-card:hover::before { opacity: 1; }
.price-card.feature {
  background: linear-gradient(165deg, rgba(249, 198, 209, 0.12), rgba(143, 197, 255, 0.06));
  border-color: rgba(249, 198, 209, 0.3);
  transform: translateY(-20px);
  box-shadow: 0 30px 80px rgba(249, 198, 209, 0.15);
}
.price-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  background: var(--grad); color: #1a0a14;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.price-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; color: var(--rose); }
.price-tag { display: flex; align-items: baseline; font-family: 'Cormorant Garamond', serif; }
.price-tag sup { font-size: 1.4rem; color: var(--ink-soft); margin-right: 0.3rem; }
.price-tag span { font-size: 4rem; font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-tag small { font-size: 0.9rem; color: var(--ink-soft); margin-left: 0.5rem; font-family: 'Inter', sans-serif; }
.price-for { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; min-height: 2.5em; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.price-feats li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--ink);
}
.price-feats li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); margin-top: 2px;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M9 16l-4-4 1.4-1.4L9 13.2l7.6-7.6L18 7z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M9 16l-4-4 1.4-1.4L9 13.2l7.6-7.6L18 7z'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.price-card .btn { justify-content: center; width: 100%; }

@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; } .price-card.feature { transform: none; } .pricing { padding: 5rem 1.2rem; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 4rem 3rem 8rem; }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  overflow: hidden; transition: background 0.3s, border-color 0.3s;
}
.faq-item[open] { background: rgba(249, 198, 209, 0.04); border-color: rgba(249, 198, 209, 0.2); }
.faq-item summary {
  padding: 1.4rem 1.6rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.05rem; font-weight: 500;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rose); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--glass-brd); display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
  flex-shrink: 0;
}
.faq-icon svg { width: 14px; height: 14px; color: var(--ink-soft); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--grad); border-color: transparent; }
.faq-item[open] .faq-icon svg { color: #1a0a14; }
.faq-body {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink-soft); line-height: 1.7;
  animation: faqOpen 0.4s var(--ease-out);
}
.faq-body b { color: var(--ink); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) { .faq { padding: 3rem 1.2rem 5rem; } }

/* Adjust nav for side-nav awareness on larger screens */
@media (min-width: 1101px) { .floating-cta { right: 6rem; } }

/* =========================================================
   CINEMATIC SHOWCASE
   ========================================================= */
.showcase {
  position: relative; min-height: 100vh; padding: 8rem 3rem;
  overflow: hidden; display: flex; align-items: center;
  isolation: isolate;
}
.fluid-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.showcase-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.showcase-video.ready { opacity: 0.45; }
.showcase-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,5,16,0.75), rgba(7,5,16,0.35) 50%, rgba(7,5,16,0.95)),
    radial-gradient(ellipse at 30% 40%, rgba(249,198,209,0.18), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(143,197,255,0.14), transparent 50%);
  backdrop-filter: blur(0.5px);
}
.showcase-inner {
  position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; width: 100%;
  text-align: center;
}
.sc-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 3rem;
}
.sc-scenes { position: relative; min-height: 280px; margin-bottom: 3rem; }
.sc-scene {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.sc-scene.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sc-index {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--rose); font-size: 1rem; letter-spacing: 0.3em;
  margin-bottom: 1.4rem;
}
.sc-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.01em;
  max-width: 1100px; margin: 0 auto 1.6rem;
}
.sc-quote .gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.sc-cap { color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; margin: 0 auto; line-height: 1.6; }

.sc-controls { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 3rem; }
.sc-ctrl {
  width: 40px; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,0.1); overflow: hidden; position: relative;
  transition: background 0.3s;
}
.sc-ctrl span {
  position: absolute; inset: 0; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
}
.sc-ctrl.active span { transform: scaleX(1); transition: transform 5s linear; }
.sc-ctrl:hover { background: rgba(255,255,255,0.2); }

.sc-play {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.6rem 0.9rem 0.9rem; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-brd-hi);
  color: var(--ink); font-size: 0.95rem; font-weight: 500;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s, border-color 0.3s;
}
.sc-play:hover { background: rgba(255,255,255,0.08); border-color: var(--rose); }
.sc-play-ring {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #1a0a14;
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(249, 198, 209, 0.6);
  animation: pulseRing 2.2s infinite;
}
.sc-play svg { width: 16px; height: 16px; color: #1a0a14; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(249, 198, 209, 0.6); } 70% { box-shadow: 0 0 0 18px rgba(249, 198, 209, 0); } }

@media (max-width: 800px) {
  .showcase { padding: 5rem 1.2rem; }
  .sc-play-label { font-size: 0.85rem; }
}

/* Video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.vm-backdrop { position: absolute; inset: 0; background: rgba(5,3,12,0.85); backdrop-filter: blur(12px); }
.vm-frame {
  position: relative; width: min(95%, 1100px); aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-brd-hi);
  box-shadow: 0 30px 100px rgba(0,0,0,0.6);
  background: #000;
  transform: scale(0.9); transition: transform 0.5s var(--ease-out);
}
.video-modal.open .vm-frame { transform: scale(1); }
.vm-frame video { width: 100%; height: 100%; display: block; }
.vm-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center; color: var(--ink);
  transition: background 0.3s, transform 0.3s;
}
.vm-close:hover { background: var(--rose); color: #1a0a14; transform: rotate(90deg); }
.vm-close svg { width: 18px; height: 18px; }

/* =========================================================
   TREATMENT GALLERY
   ========================================================= */
.treatments { padding: 8rem 0; overflow: hidden; }
.treatments .section-head { padding: 0 3rem; margin-bottom: 3rem; }
.tgal-wrap { position: relative; }
.tgal-scroll {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tgal-scroll::-webkit-scrollbar { display: none; }
.tgal-track {
  display: flex; gap: 1.5rem;
  padding: 2rem 8vw 3rem;
  width: max-content;
}

.treat-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s, box-shadow 0.55s;
  transform-style: preserve-3d;
  display: flex; flex-direction: column;
  position: relative;
}
.treat-card:hover {
  border-color: var(--rose);
  box-shadow: 0 30px 80px rgba(249,198,209,0.18);
}
.treat-portrait {
  aspect-ratio: 5/6; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(249,198,209,0.2), transparent 60%), linear-gradient(145deg, #1a0f20, #0a0612);
  display: grid; place-items: center;
}
.portrait-svg {
  width: 75%; height: 90%; filter: drop-shadow(0 20px 40px rgba(249,198,209,0.35));
  transition: transform 0.7s var(--ease);
}
.treat-card:hover .portrait-svg { transform: scale(1.05) translateY(-4px); }
.glow-dot { animation: glowP 2.6s ease-in-out infinite; transform-origin: center; }
.glow-dot:nth-of-type(2) { animation-delay: 0.5s; }
.glow-dot:nth-of-type(3) { animation-delay: 1s; }
@keyframes glowP {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 1; }
}
.lip-highlight { animation: lipPulse 3s ease-in-out infinite; transform-origin: 100px 165px; }
@keyframes lipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.laser-beam { animation: laserPulse 1.6s ease-in-out infinite; transform-origin: center; }
.laser-beam.b2 { animation-delay: 0.3s; }
.laser-beam.b3 { animation-delay: 0.6s; }
@keyframes laserPulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #e6c188); } }
.micro-dot { animation: microPop 2s ease-in-out infinite; }
.micro-dot:nth-of-type(odd) { animation-delay: 0.3s; }
.micro-dot:nth-of-type(3n) { animation-delay: 0.6s; }
@keyframes microPop { 0%, 100% { opacity: 0.3; r: 1; } 50% { opacity: 1; r: 2; } }
.peel-glow { animation: peelGlow 3s ease-in-out infinite; }
@keyframes peelGlow { 0%, 100% { opacity: 0.3; stroke-width: 1; } 50% { opacity: 0.9; stroke-width: 3; } }

.treat-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.treat-cat {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose);
}
.treat-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; line-height: 1; }
.treat-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
.treat-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
  padding: 0.8rem 0; margin-top: auto;
  border-top: 1px solid var(--glass-brd); border-bottom: 1px solid var(--glass-brd);
}
.treat-stats > div { display: flex; flex-direction: column; align-items: flex-start; }
.treat-stats b {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.treat-stats span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); margin-top: 0.2rem; }
.treat-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.8rem;
  border-top: 1px solid var(--glass-brd);
}
.treat-tags span {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  color: var(--ink-soft);
}
.treat-meta { font-size: 0.78rem; color: var(--ink-soft); font-style: italic; }

.tgal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--glass-brd-hi);
  color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.tgal-nav:hover { background: var(--grad); color: #1a0a14; transform: translateY(-50%) scale(1.1); }
.tgal-nav svg { width: 20px; height: 20px; }
.tgal-nav.prev { left: 2rem; }
.tgal-nav.next { right: 2rem; }
@media (max-width: 700px) { .tgal-nav { display: none; } .treatments .section-head { padding: 0 1.2rem; } }

.tgal-pagination {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.4rem;
}
.tgal-pagination .tp {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.tgal-pagination .tp.active { background: var(--grad); width: 28px; border-radius: 100px; }

/* Form submit states */
.contact-form .field textarea {
  width: 100%; padding: 1rem 1.2rem; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  color: var(--ink); font-size: 1rem; outline: none; resize: vertical;
  font-family: inherit;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form .field textarea:focus { border-color: var(--rose); background: rgba(255,255,255,0.06); }
.fs-spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(26,10,20,0.3); border-top-color: #1a0a14;
  animation: spin 0.8s linear infinite;
}
#form-submit.loading .fs-label { opacity: 0.5; }
#form-submit.loading .fs-spinner { display: inline-block; }
#form-submit.loading svg { display: none; }
#form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-note.success { color: #4ade80; }
.form-note.error { color: #ff8fa5; }

