/* ==========================================================================
   Valora website styles
   ========================================================================== */

:root {
  --bg: #07090D;
  --panel: #0D1118;
  --panel-2: #121722;
  --panel-3: #1A202B;
  --line: #1E2430;
  --line-2: #232A38;
  --line-3: #2A3240;
  --text: #F3F0EA;
  --muted: #AEB5C2;
  --dim: #8A93A3;
  --faint: #5A6375;
  --accent: #3EE6B5;
  --accent-ink: #07090D;
  --cream: #F3F0EA;
  --green: #0F7A5C;
  --radius: 24px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: #C9CED8; text-decoration: none; }
a:hover { color: var(--text); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1280px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.section { padding-top: 140px; padding-bottom: 140px; }
.bordered { border-top: 1px solid #161B25; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; color: var(--accent-ink); }
.accent { color: var(--accent); }
.dim { color: var(--faint); }
.muted { color: var(--muted); }
.big { font-size: 18px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.h2-sm { font-size: clamp(40px, 4.6vw, 64px); }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.kicker { font-size: 13px; letter-spacing: 0.24em; color: var(--accent); }
.kicker-dark { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: #5CF0C4; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-3); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; min-height: 54px; font-size: 16px; font-weight: 700; border: none; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 9, 13, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #12161E;
}
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; background: rgba(18, 23, 34, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.nav-links > a:not(.btn) { padding: 8px 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -79px; padding-top: 79px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#121722 1px, transparent 1px), linear-gradient(90deg, #121722 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
  animation: pan 9s linear infinite;
}
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 96px; padding-bottom: 120px; }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #C9CED8; border: 1px solid var(--line-2); background: var(--panel); padding: 7px 16px 7px 10px; border-radius: 999px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); flex-shrink: 0; animation: pulse 1.6s ease-in-out infinite; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 8.4vw, 128px); line-height: 0.95; letter-spacing: -0.055em; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.built-for { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: baseline; }
.tick { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; color: var(--accent); }
.tick > span { display: flex; flex-direction: column; animation: tick 10s cubic-bezier(.7, 0, .3, 1) infinite; }
.tick > span > span { height: 1.25em; line-height: 1.25em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; height: 520px; }
.v-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.glow { position: absolute; width: 380px; height: 380px; border-radius: 999px; background: radial-gradient(circle, rgba(62, 230, 181, 0.22), transparent 65%); }
.orbit { position: absolute; width: 480px; height: 480px; max-width: 100%; }
.v-mark { position: relative; width: 420px; height: 420px; max-width: 90%; filter: drop-shadow(0 0 40px rgba(62, 230, 181, 0.35)); }
.fc-pos { position: absolute; }
.fc-1 { left: 0; top: 40px; }
.fc-2 { right: 0; top: 200px; }
.fc-3 { left: 30px; bottom: 30px; }
.float-card { display: flex; align-items: center; gap: 12px; background: rgba(18, 23, 34, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; background: #202838; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-icon.is-accent { background: var(--accent); }
.fc-text { display: flex; flex-direction: column; }
.fc-text b { font-size: 14px; font-weight: 600; }
.fc-text small { font-size: 12px; color: var(--dim); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid #161B25; border-bottom: 1px solid #161B25; padding: 30px 0; overflow: hidden; }
.marq { display: flex; width: max-content; gap: 48px; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 44px; letter-spacing: -0.03em; animation: marquee 38s linear infinite; }
.marq:hover { animation-play-state: paused; }
.marq .star { color: var(--accent); }
.marq .outline { color: transparent; -webkit-text-stroke: 1.2px var(--faint); }

/* ---------- Services ---------- */
.services { display: flex; flex-direction: column; gap: 120px; padding-bottom: 60px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head .h2 { flex: 1 1 560px; }
.section-head p { flex: 0 1 420px; }
.service { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.service.reverse { flex-wrap: wrap-reverse; }
.service-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.num { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: #C9CED8; }

.mock { flex: 1 1 460px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); }
.chat { position: relative; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--panel-3); }
.avatar { width: 38px; height: 38px; border-radius: 99px; background: var(--line-3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.who { display: flex; flex-direction: column; }
.who b { font-size: 14px; }
.who small { font-size: 12px; color: var(--dim); }
.badge { margin-left: auto; font-size: 12px; color: var(--accent); border: 1px solid #1E3A33; background: #0C1F1A; padding: 4px 10px; border-radius: 999px; }
.typing { position: absolute; right: 28px; top: 86px; display: flex; align-items: center; gap: 4px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; }
.typing i { display: inline-block; width: 6px; height: 6px; border-radius: 9px; background: var(--dim); animation: bounce 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.typing span { font-size: 12px; color: var(--dim); padding-left: 6px; }
.msg { max-width: 80%; padding: 12px 16px; font-size: 14px; }
.msg-in { align-self: flex-start; background: var(--panel-3); border-radius: 16px 16px 16px 4px; }
.msg-out { align-self: flex-end; max-width: 82%; background: var(--accent); color: var(--accent-ink); border-radius: 16px 16px 4px 16px; }
.chat-chip { align-self: center; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #C9CED8; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }

.ads { gap: 20px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-head b { font-family: var(--font-display); font-weight: 600; }
.pills { display: flex; gap: 6px; }
.pill { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-3); color: #C9CED8; }
.pill-on { background: var(--cream); color: var(--accent-ink); border-color: var(--cream); font-weight: 600; }
.chart-svg { width: 100%; height: 180px; }
.chart { stroke-dasharray: 700; animation: chartDraw 7s ease-out infinite; }
.area { animation: areaIn 7s ease-out infinite; }
.stat-row { display: flex; gap: 12px; }
.stat { flex: 1; background: var(--panel-2); border-radius: 14px; padding: 14px; }
.stat small { display: block; font-size: 12px; color: var(--dim); }
.stat b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }

.stack { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.layer { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.layer small { display: block; font-size: 12px; color: var(--dim); letter-spacing: 0.12em; }
.layer b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.plus-sign { color: var(--faint); font-size: 22px; }
.o1 { margin-left: 24px; }
.o2 { margin-left: 48px; }
.o3 { margin-left: 72px; }
.layer-final { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.layer-final b { font-weight: 700; font-size: 20px; }

/* ---------- Platform ---------- */
.platform { padding-left: 0; padding-right: 0; padding-top: 120px; overflow: hidden; }
.platform-inner { display: flex; flex-direction: column; gap: 64px; align-items: center; }
.platform-head { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; max-width: 980px; }
.browser { width: 100%; max-width: 1180px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: 0 60px 140px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(62, 230, 181, 0.06); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--panel-3); background: #0A0D13; }
.browser-bar i { width: 11px; height: 11px; border-radius: 99px; background: var(--line-3); }
.url { margin: 0 auto; font-size: 12px; color: #6B7485; background: var(--panel-2); padding: 5px 40px; border-radius: 8px; }
.app { display: flex; min-height: 520px; }
.app-side { width: 64px; flex-shrink: 0; border-right: 1px solid var(--panel-3); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0; }
.side-active { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-3); display: flex; align-items: center; justify-content: center; }
.app-main { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.app-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-toolbar b { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.app-toolbar > span { display: flex; gap: 8px; }
.tb { font-size: 13px; color: #C9CED8; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; }
.tb-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.col { flex: 1 0 180px; display: flex; flex-direction: column; gap: 10px; }
.col-title { font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }
.lead-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.lead-card b { font-size: 14px; font-weight: 600; }
.lead-card small { font-size: 12px; color: var(--dim); }
.lead-card small.accent { color: var(--accent); }
.lead-card.won { background: #0C1F1A; border-color: #1E3A33; }
.fresh { animation: ring 2.4s ease-in-out infinite; }
.app-aside { width: 300px; flex-shrink: 0; border-left: 1px solid var(--panel-3); padding: 24px; display: flex; flex-direction: column; gap: 12px; background: #0A0D13; }
.app-aside > b { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.auto { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.auto i { width: 8px; height: 8px; border-radius: 99px; flex-shrink: 0; }
.auto.off { color: var(--dim); }
.auto.off i { background: #3A4252; }
.feature-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.feature-chips li { border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: #C9CED8; }

/* ---------- Team / experience ---------- */
.light { background: var(--cream); color: var(--accent-ink); }
.team { display: flex; flex-direction: column; gap: 32px; }
.statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -0.04em; max-width: 1100px; margin-bottom: 48px; }
.statement em { font-style: normal; color: var(--green); }
.pillars { display: flex; flex-wrap: wrap; gap: 24px; }
.pillar { flex: 1 1 300px; min-width: 0; background: #FFFFFF; border: 1px solid #E2DDD3; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.pillar p { color: #4A5160; }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.lift { transition: translate .35s cubic-bezier(.2, .7, .2, 1), border-color .35s; }
.lift:hover { translate: 0 -6px; border-color: var(--accent); }

/* ---------- Compare ---------- */
.compare { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.compare-card { flex: 1 1 420px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.compare-card p { display: flex; gap: 12px; color: var(--dim); font-size: 17px; }
.compare-card.after { background: var(--panel); border-color: #1E3A33; box-shadow: 0 0 80px rgba(62, 230, 181, 0.06); }
.compare-card.after p { color: var(--text); }
.label { font-size: 13px; letter-spacing: 0.2em; color: #6B7485; }
.x { color: var(--faint); }
.check { color: var(--accent); }

/* ---------- Process ---------- */
.steps-line { height: 2px; background: var(--accent); margin: 64px 0 32px; transform-origin: left; }
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); }
.steps h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.steps p { color: var(--muted); }

/* ---------- Booking ---------- */
.book-section { padding: 0 28px 140px; }
.book-wrap { max-width: 1280px; margin: 0 auto; background: var(--accent); color: var(--accent-ink); border-radius: 36px; padding: 72px 56px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.book-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.h2-book { font-size: clamp(44px, 5.4vw, 80px); line-height: 0.98; }
.book-copy p { font-size: 19px; color: #163A30; max-width: 480px; }
.book-copy .small { font-size: 15px; }
.book-copy a { color: var(--accent-ink); font-weight: 600; border-bottom: 2px solid var(--accent-ink); }
.book-card { flex: 1 1 420px; min-width: 0; background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 32px; }
#booking-form { display: flex; flex-direction: column; gap: 20px; }
.book-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
legend { padding: 0; margin-bottom: 10px; font-size: 13px; color: var(--dim); }
.tz { color: var(--faint); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-3); background: var(--panel-2); color: var(--text); cursor: pointer; font-size: 14px; transition: border-color .2s, background-color .2s; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.day { flex: 0 0 auto; min-width: 72px; padding: 6px 10px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.day small { font-size: 11px; opacity: .75; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--dim); }
.fields .full { grid-column: 1 / -1; }
.opt { color: var(--faint); }
.fields input, .fields textarea { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-3); background: var(--panel-2); color: var(--text); padding: 10px 14px; font-size: 15px; resize: vertical; }
.fields input:focus, .fields textarea:focus { border-color: var(--accent); outline: none; }
.fields input[aria-invalid="true"] { border-color: #FF8A80; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
.form-status.is-error { color: #FF9C94; }
.success { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.success[hidden] { display: none; }
.success h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.success p { color: var(--muted); max-width: 320px; }
.success-icon { width: 64px; height: 64px; border-radius: 99px; background: var(--accent); display: flex; align-items: center; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.plus { color: var(--accent); font-size: 28px; font-weight: 400; transition: transform .3s; }
.faq details[open] .plus { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #161B25; overflow: hidden; }
.footer-row { padding-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--dim); }
.wordmark { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 26vw; line-height: 0.8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-top: 32px; margin-bottom: -4vw; user-select: none; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes fromL { from { opacity: 0; transform: translateX(-90px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes fromR { from { opacity: 0; transform: translateX(90px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: .2; transform: perspective(1400px) rotateX(22deg) scale(.82) translateY(100px); } to { opacity: 1; transform: none; } }
@keyframes lineX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes litD { from { color: #CFC9BD; } to { color: #07090D; } }
@keyframes litG { from { color: #CFC9BD; } to { color: #0F7A5C; } }
@keyframes fillN { to { color: #3EE6B5; } }
@keyframes spread { from { opacity: 0; letter-spacing: -.22em; } to { opacity: 1; letter-spacing: -.07em; } }
@keyframes heroOut { to { opacity: 0; transform: translateY(-140px) scale(.95); } }
@keyframes heroOut2 { to { opacity: .15; transform: translateY(-60px) scale(1.15) rotate(-6deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes floaty { 50% { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes pan { to { background-position: 72px 72px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.2); } }
@keyframes shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes ring { 50% { box-shadow: 0 0 0 5px rgba(62, 230, 181, .18); border-color: #3EE6B5; } }
@keyframes tick { 0%, 16% { transform: none; } 20%, 36% { transform: translateY(-1.25em); } 40%, 56% { transform: translateY(-2.5em); } 60%, 76% { transform: translateY(-3.75em); } 80%, 96% { transform: translateY(-5em); } 100% { transform: translateY(-6.25em); } }
@keyframes chartDraw { 0% { stroke-dashoffset: 700; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes areaIn { 0%, 35% { opacity: 0; } 60%, 100% { opacity: .1; } }
@keyframes c1 { 0%, 3% { opacity: 0; transform: translateY(10px); } 6%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c2 { 0%, 24% { opacity: 0; transform: translateY(10px); } 28%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 44% { opacity: 0; transform: translateY(10px); } 48%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c4 { 0%, 60% { opacity: 0; transform: scale(.9); } 64%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ty { 0%, 11% { opacity: 0; } 13%, 23% { opacity: 1; } 25%, 100% { opacity: 0; } }

/* Page-load entrance */
.in { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.i1 { animation-delay: .1s; } .i2 { animation-delay: .25s; } .i3 { animation-delay: .4s; } .i4 { animation-delay: .55s; }
.v-draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s .3s cubic-bezier(.6, 0, .2, 1) forwards; }

/* Always-on ambient motion */
.fl { animation: floaty 6s ease-in-out infinite; }
.fl2 { animation-delay: -2s; } .fl3 { animation-delay: -4s; }
.spin { animation: spin 30s linear infinite; }
.breathe { animation: breathe 5s ease-in-out infinite; }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shine 3.8s ease-in-out infinite; pointer-events: none; }
.c1 { animation: c1 11s infinite both; } .c2 { animation: c2 11s infinite both; } .c3 { animation: c3 11s infinite both; } .c4 { animation: c4 11s infinite both; } .ty { animation: ty 11s infinite both; }

/* Scroll-driven animations (Chrome, Edge, Safari 26+) */
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .rvL { animation: fromL linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .rvR { animation: fromR linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .zoom { animation: zoomIn linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  .lx { animation: lineX linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
  .mask { display: block; overflow: hidden; padding-bottom: .06em; }
  .mask > span { display: block; animation: lineUp linear both; animation-timeline: view(); animation-range: entry 15% cover 32%; }
  .w { animation: litD linear both; animation-timeline: view(); animation-range: cover 30% cover 45%; }
  .wg { animation: litG linear both; animation-timeline: view(); animation-range: cover 30% cover 45%; }
  .num { animation: fillN linear both; animation-timeline: view(); animation-range: cover 30% cover 50%; }
  .out1 { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
  .out2 { animation: heroOut2 linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .spread { animation: spread linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .d1 { animation-range: entry 10% cover 38%; }
  .d2 { animation-range: entry 20% cover 46%; }
  .d3 { animation-range: entry 30% cover 54%; }
  .progress { animation: lineX linear both; animation-timeline: scroll(root); }
}

/* Fallback reveal for browsers without scroll-driven animations (set by main.js) */
.js-reveal .rv, .js-reveal .rvL, .js-reveal .rvR, .js-reveal .zoom { opacity: 0; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .rv { transform: translateY(40px); }
.js-reveal .rvL { transform: translateX(-60px); }
.js-reveal .rvR { transform: translateX(60px); }
.js-reveal .zoom { transform: scale(.92) translateY(60px); }
.js-reveal .lx { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .is-visible { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .app-aside { display: none; }
}
@media (max-width: 760px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 96px; padding-bottom: 96px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav-links { background: none; border: 0; padding: 0; }
  .nav-links > a:not(.btn) { display: none; }
  .hero { margin-top: -71px; padding-top: 71px; }
  .hero-inner { padding-top: 56px; padding-bottom: 72px; }
  .hero-visual { height: 400px; }
  .orbit { width: 360px; height: 360px; }
  .v-mark { width: 300px; height: 300px; }
  .glow { width: 280px; height: 280px; }
  .fc-2 { top: 150px; }
  .fc-3 { left: 0; bottom: 10px; }
  .built-for { font-size: 20px; }
  .services { gap: 88px; }
  .service { gap: 40px; }
  .num { font-size: 72px; }
  .mock { padding: 20px; }
  .o1 { margin-left: 12px; } .o2 { margin-left: 24px; } .o3 { margin-left: 36px; }
  .app-side { display: none; }
  .book-section { padding: 0 12px 96px; }
  .book-wrap { padding: 44px 20px; border-radius: 28px; gap: 36px; }
  .book-card { padding: 22px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { padding-bottom: 96px; }
  .faq summary { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .v-draw { stroke-dashoffset: 0; }
  .progress { display: none; }
  .js-reveal .rv, .js-reveal .rvL, .js-reveal .rvR, .js-reveal .zoom { opacity: 1; transform: none; }
}
