/* ============================================================
   CliniversePro — Public Marketing CSS
   Theme: "Clinical Clarity Glass"  (M3 + Glassmorphism)
   Palette: deep-indigo #1e0b5b · primary #4800b2 · electric-mint #00f0d1
   Font:    Plus Jakarta Sans
   ============================================================ */
:root {
  --indigo:        #1e0b5b;   /* deep navy/indigo anchor */
  --primary:       #4800b2;   /* action purple */
  --primary-light: #6d23f9;
  --mint:          #00f0d1;   /* electric mint accent */
  --mint-deep:     #006a60;
  --teal:          #00f0d1;   /* alias kept for legacy markup */
  --ink:           #191c1e;   /* on-surface */
  --muted:         #494456;   /* on-surface-variant */
  --outline:       #7a7488;
  --surface:       #f7f9fb;
  --surface-2:     #f2f4f6;
  --line:          #e0e3e5;
  --radius:        1rem;       /* 16px cards */
  --radius-lg:     1.5rem;
  --radius-xl:     2rem;
  --shadow-sm:     0 8px 24px rgba(30,11,91,.05), 0 2px 8px rgba(30,11,91,.03);
  --shadow:        0 20px 40px rgba(30,11,91,.10), 0 8px 16px rgba(30,11,91,.05);
  --shadow-lg:     0 40px 90px rgba(30,11,91,.22);
  /* legacy aliases so existing inline styles / classes don't break */
  --purple:        #4800b2;
  --primary-dark:  #1e0b5b;
  --bg-soft:       #f2f4f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(0,240,209,.3); color: var(--indigo); }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle; line-height: 1;
}

/* ============================================================
   Glass / depth utilities (ported from design code.html)
   ============================================================ */
.glass-panel {
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 8px 32px rgba(30,11,91,.06);
}
.glass-strong {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,.9);
}
.shadow-ambient { box-shadow: var(--shadow-sm); }
.shadow-ambient-hover { transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s; }
.shadow-ambient-hover:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.glow-sm { box-shadow: 0 0 15px rgba(0,240,209,.2); }
.glow-md { box-shadow: 0 0 25px rgba(72,0,178,.25); }
.glow-alive { animation: pulse-glow 3s infinite alternate; }
@keyframes pulse-glow {
  0%   { box-shadow: 0 0 20px rgba(0,240,209,.4), 0 0 40px rgba(72,0,178,.2); }
  100% { box-shadow: 0 0 30px rgba(0,240,209,.6), 0 0 60px rgba(72,0,178,.4); }
}

.text-gradient {
  background: linear-gradient(135deg, #1e0b5b 0%, #4800b2 50%, #00f0d1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.shimmer-effect { position: relative; overflow: hidden; }
.shimmer-effect::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(30deg) translate(-100%,-100%);
  transition: transform .6s cubic-bezier(.4,0,.2,1); pointer-events: none;
}
.shimmer-effect:hover::after { transform: rotate(30deg) translate(100%,100%); }

/* Spatial background gradients */
.bg-hero-spatial {
  background-image:
    radial-gradient(circle at 80% 18%, rgba(0,240,209,.16) 0%, transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(72,0,178,.12) 0%, transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.85) 0%, transparent 100%);
}
.bg-cta-pattern {
  background-image: radial-gradient(rgba(255,255,255,.15) 2px, transparent 2px);
  background-size: 40px 40px;
}

/* Float animations */
@keyframes float-slow {
  0%   { transform: translate(0,0) rotate(0deg); }
  33%  { transform: translate(10px,-20px) rotate(2deg); }
  66%  { transform: translate(-10px,-10px) rotate(-1deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.animate-float-slow { animation: float-slow 12s ease-in-out infinite; }
.animate-floaty     { animation: floaty 8s ease-in-out infinite; }

/* ============================================================
   Nav
   ============================================================ */
.public-nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  background: rgba(247,249,251,.65);
  border-bottom: 1px solid rgba(224,227,229,.5);
  transition: background .25s, box-shadow .25s, padding .25s;
  padding: 14px 0;
}
.public-nav.scrolled {
  background: rgba(247,249,251,.92);
  box-shadow: 0 8px 30px rgba(30,11,91,.06);
  padding: 8px 0;
}
.public-nav .brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--indigo); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--primary));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 25px rgba(72,0,178,.35); font-size: 1.1rem;
}
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 12px;
  color: var(--muted); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; transition: all .18s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--indigo); }
.nav-links a.active { color: var(--indigo); background: rgba(72,0,178,.08); }

/* Buttons — pill, M3 + glass */
.btn-purple, .btn-indigo {
  background: var(--indigo); color: #fff; border: none; border-radius: 100px;
  padding: 11px 24px; font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 22px rgba(30,11,91,.28); transition: transform .18s, box-shadow .18s, background .2s;
}
.btn-purple:hover, .btn-indigo:hover { color: #fff; background: var(--primary); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(72,0,178,.4); }
.btn-outline-purple, .btn-glass {
  background: rgba(255,255,255,.55); color: var(--indigo);
  border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(12px);
  border-radius: 100px; padding: 10px 22px; font-weight: 700; font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px; transition: all .18s;
  box-shadow: var(--shadow-sm);
}
.btn-outline-purple:hover, .btn-glass:hover { background: #fff; color: var(--indigo); transform: translateY(-2px); }
.btn-burger {
  background: var(--surface-2); color: var(--indigo); border: 0;
  width: 44px; height: 44px; border-radius: 12px; font-size: 1.1rem;
}
.mobile-link {
  display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--line);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 110px;
}
.hero.bg-hero-spatial { background-color: var(--surface); }
.hero::after { /* fade to surface at bottom */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, var(--surface) 100%);
}
.hero-bg-canvas { position: absolute; inset: 0; z-index: 0; opacity: .8; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
  color: var(--indigo); margin-bottom: 22px;
}
.hero h1 .gradient, .hero h1 .text-gradient {
  background: linear-gradient(135deg, #1e0b5b 0%, #4800b2 50%, #00f0d1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted);
  max-width: 600px; line-height: 1.6; margin-bottom: 32px; letter-spacing: .01em;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px); color: var(--indigo);
  padding: 8px 16px; border-radius: 100px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 24px;
}
.pill-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Hero floating glass panels + orbs */
.hero-stage { position: relative; height: 520px; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero-orb.one { top: 50%; left: 50%; width: 460px; height: 460px; transform: translate(-50%,-50%);
  background: linear-gradient(to top right, rgba(0,240,209,.3), rgba(30,11,91,.2)); }
.hero-orb.two { top: 12%; right: 8%; width: 280px; height: 280px;
  background: linear-gradient(to bottom left, rgba(72,0,178,.3), rgba(0,240,209,.2)); animation-delay: -4s; }
.float-panel {
  position: absolute; border-radius: var(--radius-xl); padding: 22px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-lg);
}
.float-panel.patient { top: 30px; right: 10px; width: 310px; transform: rotate(2deg); animation: floaty 8s ease-in-out infinite; }
.float-panel.revenue { bottom: 40px; left: 0; width: 280px; transform: rotate(-3deg); animation: floaty 10s ease-in-out infinite reverse; }
.fp-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.chip {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.chip.indigo { background: rgba(30,11,91,.1); color: var(--indigo); }
.chip.mint   { background: rgba(0,240,209,.2); color: #00695f; }

/* ============================================================
   Sections / headings
   ============================================================ */
section.section { padding: 100px 0; position: relative; }
section.section-soft { background: var(--surface); }
section.section-bright { background: #fff; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--indigo); margin-bottom: 16px;
}
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700;
  color: var(--mint-deep); margin-bottom: 14px;
  display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(0,240,209,.12);
}
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0 auto 56px; line-height: 1.6; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-label { text-align: center; color: var(--outline); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 54px; opacity: .55; }
.trust-logos i, .trust-logos .material-symbols-outlined { font-size: 1.9rem; color: var(--indigo); }

/* ============================================================
   Feature cards (legacy grid)
   ============================================================ */
.feature-card {
  background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl);
  padding: 30px; height: 100%; transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .fcard-inner { position: relative; z-index: 1; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, var(--indigo), var(--primary));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; box-shadow: 0 0 25px rgba(72,0,178,.25);
}
.feature-icon.teal  { background: linear-gradient(135deg, var(--mint), #00b3a0); box-shadow: 0 0 18px rgba(0,240,209,.4); color: #053b36; }
.feature-icon.pink  { background: linear-gradient(135deg, #ff6b9d, #c44569); }
.feature-icon.amber { background: linear-gradient(135deg, #fdb338, #f5a623); }
.feature-icon.green { background: linear-gradient(135deg, var(--mint), #16a085); color: #053b36; }
.feature-icon.blue  { background: linear-gradient(135deg, #4800b2, #6d23f9); }
.feature-card h5 { font-weight: 700; margin-bottom: 10px; color: var(--indigo); font-size: 1.2rem; letter-spacing: -.01em; }
.feature-card p { color: var(--muted); font-size: .96rem; line-height: 1.6; margin: 0; }

/* ============================================================
   Bento grid (home "Every workflow")
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; grid-auto-rows: minmax(260px, auto); }
.bento .b-card {
  background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.bento .b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento .b-2x2 { grid-column: span 2; grid-row: span 2; }
.bento .b-2x1 { grid-column: span 2; }
.bento .b-1x1 { grid-column: span 1; }
.bento .b-dark { background: linear-gradient(135deg, var(--indigo), var(--primary)); color: #fff; border: 0; }
.bento .b-dark h3, .bento .b-dark p { color: #fff; }
.b-card h3 { font-weight: 700; color: var(--indigo); margin-bottom: 12px; letter-spacing: -.02em; }
.b-card p  { color: var(--muted); line-height: 1.6; margin: 0; }
.b-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 20px; font-size: 1.5rem; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento .b-2x2, .bento .b-2x1, .bento .b-1x1 { grid-column: span 1; grid-row: auto; } }

/* ============================================================
   Guide steps (alternating)
   ============================================================ */
.guide-step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 90px; }
.guide-step:last-child { margin-bottom: 0; }
.guide-num { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--indigo), var(--primary)); color: #fff; font-weight: 800; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 25px rgba(72,0,178,.3); }
.guide-num.mint { background: linear-gradient(135deg, var(--mint), #00b3a0); color: #053b36; }
.guide-step h3 { font-size: clamp(1.6rem,3vw,2rem); font-weight: 700; color: var(--indigo); letter-spacing: -.02em; margin-bottom: 14px; }
.guide-step p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.guide-visual {
  background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(20px);
  border-radius: var(--radius-xl); padding: 10px; box-shadow: var(--shadow-lg);
  transform: rotate(1deg); transition: transform .6s;
}
.guide-step:nth-child(even) .guide-visual { transform: rotate(-1deg); }
.guide-visual:hover { transform: rotate(0); }
.guide-visual .gv-inner { background: rgba(247,249,251,.85); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-lg); padding: 24px; min-height: 320px; }
.guide-link { color: var(--indigo); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
.guide-link:hover { color: var(--mint-deep); }
@media (max-width: 800px) { .guide-step { grid-template-columns: 1fr; gap: 28px; } .guide-step .order-first-mobile { order: -1; } }

/* ============================================================
   How it works steps (legacy)
   ============================================================ */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
@media (max-width: 800px) { .step-row { grid-template-columns: 1fr; } }
.step {
  background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl); padding: 32px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--indigo), var(--primary)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 0 22px rgba(72,0,178,.3);
}
.step h6 { font-weight: 700; margin-bottom: 10px; color: var(--indigo); font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.6; }

/* ============================================================
   Dashboard preview mockup
   ============================================================ */
.dash-frame {
  border-radius: 2.5rem; padding: 12px;
  background: linear-gradient(135deg, rgba(30,11,91,.3), rgba(0,240,209,.2), rgba(72,0,178,.3));
  box-shadow: var(--shadow-lg); position: relative; max-width: 1000px; margin: 0 auto;
}
.dash-inner { background: rgba(247,249,251,.92); backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-xl); overflow: hidden; display: flex; min-height: 560px; }
.dash-side { width: 230px; padding: 28px; background: rgba(255,255,255,.4); border-right: 1px solid rgba(255,255,255,.5); }
.dash-side .ds-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.dash-side .ds-item.active { background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); }
.dash-main { flex: 1; padding: 32px; }
.dash-stat { background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); padding: 22px; }
.dash-stat .num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--indigo); }
.dash-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; }
.dash-bars .bar { flex: 1; border-radius: 10px 10px 0 0; background: linear-gradient(to top, var(--indigo), var(--primary)); box-shadow: 0 6px 14px rgba(72,0,178,.25); }
@media (max-width: 800px) { .dash-side { display: none; } .dash-inner { min-height: auto; } }

/* ============================================================
   Pricing tiers
   ============================================================ */
.tier {
  background: rgba(255,255,255,.62); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-xl);
  padding: 38px 32px; height: 100%; display: flex; flex-direction: column;
  transition: all .3s; position: relative; box-shadow: var(--shadow-sm);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.featured {
  background: linear-gradient(160deg, var(--indigo), var(--primary));
  color: #fff; border: 0; box-shadow: 0 30px 70px rgba(30,11,91,.4);
}
.tier.featured .tier-price, .tier.featured ul li { color: #fff; }
.tier.featured ul li .material-symbols-outlined, .tier.featured ul li i { color: var(--mint); }
.tier.featured .btn-purple { background: #fff; color: var(--indigo); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.tier.featured .btn-purple:hover { background: var(--mint); color: #053b36; }
.tier-name { font-size: .8rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; letter-spacing: .12em; text-transform: uppercase; }
.tier.featured .tier-name { color: var(--mint); }
.tier-price { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--indigo); }
.tier-price .per { font-size: .9rem; color: var(--muted); font-weight: 500; }
.tier.featured .tier-price .per { color: rgba(255,255,255,.7); }
.tier-desc { color: var(--muted); margin: 14px 0 24px; font-size: .94rem; }
.tier.featured .tier-desc { color: rgba(255,255,255,.85); }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; }
.tier ul li { padding: 8px 0; font-size: .94rem; display: flex; gap: 12px; align-items: flex-start; }
.tier ul li .material-symbols-outlined { color: var(--mint-deep); font-size: 1.2rem; }
.tier ul li i { color: var(--mint-deep); margin-top: 3px; }
.tier .btn-purple, .tier .btn { width: 100%; justify-content: center; padding: 14px; margin-top: auto; }
.tier-badge {
  position: absolute; top: -14px; right: 26px; background: var(--mint); color: #053b36;
  font-weight: 800; font-size: .68rem; padding: 6px 16px; border-radius: 100px; letter-spacing: .1em;
}

/* ============================================================
   Forms (demo / contact / booking)
   ============================================================ */
.form-card {
  background: rgba(255,255,255,.7); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow);
}
.form-card .form-label, .modal .form-label { font-size: .8rem; font-weight: 700; color: var(--indigo); margin-bottom: 6px; letter-spacing: .02em; }
.form-card .form-control, .form-card .form-select,
.modal .form-control, .modal .form-select {
  border: 1px solid var(--line); border-radius: .6rem; padding: 12px 14px;
  font-size: .95rem; transition: all .18s; height: auto; background: rgba(255,255,255,.7);
}
.form-card .form-control:focus, .form-card .form-select:focus,
.modal .form-control:focus, .modal .form-select:focus {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 0 0 4px rgba(72,0,178,.1); outline: none; background: #fff;
}
.form-card textarea.form-control { min-height: 120px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

/* Glass modal */
.modal-content { border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-xl); background: rgba(255,255,255,.92); backdrop-filter: blur(40px); box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--line); }
.modal-title { font-weight: 800; color: var(--indigo); letter-spacing: -.01em; }
.modal-footer { border-top: 1px solid var(--line); }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--indigo); border-radius: 3rem; padding: 70px 56px; color: #fff;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before { content: ''; position: absolute; inset: 0; opacity: .9; mix-blend-mode: multiply;
  background: linear-gradient(135deg, var(--indigo), var(--primary), rgba(0,240,209,.2)); }
.cta-banner::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%; background: rgba(0,240,209,.18); filter: blur(120px); }
.cta-banner h2, .cta-banner .btn { position: relative; z-index: 1; }
.cta-banner h2 { font-weight: 800; font-size: clamp(1.6rem,3vw,2.2rem); margin: 0; max-width: 600px; letter-spacing: -.02em; }
.cta-banner .btn-light { border-radius: 100px; font-weight: 800; padding: 14px 30px; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial {
  background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl); padding: 30px; height: 100%;
  box-shadow: var(--shadow-sm);
}
.testimonial p { color: var(--ink); line-height: 1.7; margin-bottom: 20px; font-size: 1rem; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--primary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.t-meta { font-size: .82rem; color: var(--muted); }
.t-meta strong { color: var(--indigo); display: block; font-size: .94rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; padding: 22px 26px; cursor: pointer; font-weight: 700; color: var(--indigo);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   About: stats + timeline
   ============================================================ */
.stat-card { background: rgba(255,255,255,.6); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card .s-num { font-size: 2.6rem; font-weight: 800; color: var(--indigo); line-height: 1; }
.stat-card .s-num .text-gradient { -webkit-text-fill-color: transparent; }
.stat-card .s-label { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--mint)); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before { content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(72,0,178,.15); }
.timeline-item .ti-year { font-weight: 800; color: var(--mint-deep); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.timeline-item h5 { font-weight: 700; color: var(--indigo); margin: 6px 0 8px; }
.timeline-item p { color: var(--muted); margin: 0; line-height: 1.6; }

/* ============================================================
   Footer
   ============================================================ */
.public-footer { background: #fff; color: var(--muted); padding: 70px 0 30px; margin-top: 90px; border-top: 1px solid var(--line); }
.public-footer .brand-text { color: var(--indigo); }
.public-footer .text-muted { color: var(--muted) !important; }
.public-footer .footer-h { color: var(--outline); font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.public-footer a { display: block; color: var(--muted); padding: 5px 0; font-size: .92rem; }
.public-footer a:hover { color: var(--indigo); }
.public-footer .socials { margin-top: 16px; display: flex; gap: 8px; }
.public-footer .socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); color: var(--indigo); padding: 0; }
.public-footer .socials a:hover { background: var(--indigo); color: #fff; }
.public-footer .footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--outline); }

/* ============================================================
   GSAP reveal base
   ============================================================ */
.reveal-up    { opacity: 0; transform: translateY(40px); }
.reveal-fade  { opacity: 0; }
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-fade, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .animate-float-slow, .animate-floaty, .glow-alive, .float-panel { animation: none; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  section.section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; }
  .hero-stage { display: none; }
  .cta-banner { padding: 40px 26px; text-align: center; justify-content: center; }
  .form-card { padding: 26px; }
}
