/* ============ Tokens ============ */
:root {
  --bg: #07090d;
  --bg-2: #0b0f15;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #10151d;
  --label: #f2f5f8;
  --label-2: #a3adbb;
  --label-3: #6b7685;
  --separator: rgba(255, 255, 255, 0.09);
  --accent: #34f5c5;
  --accent-2: #3b82f6;
  --accent-3: #a78bfa;
  --accent-ink: #04130f;
  --grad: linear-gradient(100deg, #34f5c5 0%, #3bb2f6 50%, #a78bfa 100%);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, system-ui, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f8fb;
    --bg-2: #eef2f7;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-2: #ffffff;
    --surface-solid: #ffffff;
    --label: #0b1220;
    --label-2: #4a5566;
    --label-3: #7b8696;
    --separator: rgba(10, 20, 40, 0.1);
    --accent: #0bb48b;
    --accent-ink: #ffffff;
    --grad: linear-gradient(100deg, #08b98c 0%, #2b7fe0 50%, #7c5ce6 100%);
    --shadow: 0 30px 70px -35px rgba(20, 40, 80, 0.35);
    color-scheme: light;
  }
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(52, 245, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); } }

/* ============ Buttons ============ */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font); cursor: pointer; color: var(--label);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), opacity 0.2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #04130f; box-shadow: 0 10px 30px -10px rgba(52, 245, 197, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(52, 245, 197, 0.7); }
.btn--ghost { background: var(--surface); border-color: var(--separator); backdrop-filter: blur(12px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--small { --h: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.link-btn { background: none; border: 0; color: var(--label-2); font: 500 0.92rem var(--font); cursor: pointer; padding: 10px; margin: 6px auto 0; display: block; }
.link-btn:hover { color: var(--label); }

/* ============ Nav ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-color: var(--separator); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; font-size: 1.05rem; }
.brand b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__mark { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(52, 245, 197, 0.5)); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--label-2); font-size: 0.94rem; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--label); background: var(--surface); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 12px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--label); border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 20px 20px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--separator); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--separator); }
.mobile-menu .btn { margin-top: 12px; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -2; inset: -20% -10% auto; height: 90%;
  background:
    radial-gradient(40% 50% at 70% 40%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(35% 45% at 25% 30%, rgba(52, 245, 197, 0.18), transparent 70%),
    radial-gradient(30% 40% at 85% 75%, rgba(167, 139, 250, 0.18), transparent 70%);
  filter: blur(20px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--separator) 1px, transparent 1px), linear-gradient(90deg, var(--separator) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); opacity: 0.5; }
.hero__content { max-width: 920px; text-align: center; }
.hero__title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 700; margin: 22px 0 24px; letter-spacing: -0.04em; }
.hero__title .grad { display: inline-block; min-height: 1.1em; }
#rotator { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), filter 0.35s; }
#rotator.out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--label-2); max-width: 680px; margin: 0 auto 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__chips { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__chips li { font-size: 0.84rem; color: var(--label-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--separator); background: var(--surface); backdrop-filter: blur(10px); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--label-3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scroll 1.8s infinite var(--ease); }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ Sections ============ */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section--tight { padding: 40px 0 80px; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section__head h2, .contact h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); font-weight: 700; margin-top: 14px; }
.section__lead { color: var(--label-2); font-size: 1.12rem; margin-top: 18px; }

/* ============ Bento ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--separator);
  backdrop-filter: blur(14px); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(52, 245, 197, 0.12), transparent 45%); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--separator)); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.45rem; margin: 20px 0 10px; }
.card p { color: var(--label-2); font-size: 1rem; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(52, 245, 197, 0.18), rgba(59, 130, 246, 0.14)); border: 1px solid rgba(52, 245, 197, 0.25); }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card--xl { grid-row: span 2; display: flex; flex-direction: column; }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.card--wide .card__icon { align-self: start; }
.card--wide h3 { margin-top: 0; }

.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--label); font-size: 0.96rem; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304130f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.code { margin-top: auto; border-radius: 14px; background: #05070a; border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; font: 500 0.85rem/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: #c9d1dc; }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a313b; }
.code__bar i:nth-child(1) { background: #ff5f57; } .code__bar i:nth-child(2) { background: #febc2e; } .code__bar i:nth-child(3) { background: #28c840; }
.code__bar span { margin-left: 8px; color: #6b7685; font-size: 0.78rem; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; }
.code .k { color: #a78bfa; } .code .f { color: #3bb2f6; } .code .m { color: #34f5c5; } .code .s { color: #f5c26b; } .code .n { color: #ff7a90; }

.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.flow span { font-size: 0.78rem; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--separator); color: var(--label-2); }
.flow i { width: 18px; height: 2px; background: var(--grad); position: relative; overflow: hidden; border-radius: 2px; }
.flow i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: flow 1.6s infinite; }
.flow i:nth-of-type(2)::after { animation-delay: 0.3s; } .flow i:nth-of-type(3)::after { animation-delay: 0.6s; }
@keyframes flow { to { transform: translateX(100%); } }

.typing { display: inline-flex; gap: 5px; padding: 12px 16px; margin-top: 24px; border-radius: 18px 18px 18px 4px; background: var(--surface-2); border: 1px solid var(--separator); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--label-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: rgba(52, 245, 197, 0.08); color: var(--accent); border: 1px solid rgba(52, 245, 197, 0.2); }

.mini-pay { width: 250px; padding: 18px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--separator); box-shadow: var(--shadow); font-size: 0.86rem; transform: rotate(2deg); transition: transform 0.4s var(--ease); }
.card--wide:hover .mini-pay { transform: rotate(0) translateY(-4px); }
.mini-pay__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.mini-pay__row.muted { color: var(--label-2); border-bottom: 1px solid var(--separator); padding-bottom: 12px; }
.mini-pay__row.muted span:last-child { color: var(--accent); }
.mini-pay__btn { margin-top: 14px; text-align: center; padding: 11px; border-radius: 12px; background: var(--grad); color: #04130f; font-weight: 600; }

/* ============ Stats ============ */
.stats { padding: 30px 0 10px; border-block: 1px solid var(--separator); background: linear-gradient(180deg, transparent, var(--bg-2), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--label-2); font-size: 0.95rem; }
.stats__note { text-align: center; font-size: 0.78rem; color: var(--label-3); padding-bottom: 20px; }

/* ============ Demo ============ */
.demo { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: stretch; }
.panel { position: relative; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--separator); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.panel__kicker { font-size: 0.85rem; color: var(--label-2); }
.panel__head h3 { font-size: 1.7rem; margin-top: 4px; }
.panel__note { font-size: 0.76rem; color: var(--label-3); text-align: center; margin-top: 16px; }
.steps { display: flex; gap: 6px; margin-top: 8px; }
.steps i { width: 22px; height: 4px; border-radius: 4px; background: var(--separator); transition: background 0.4s, width 0.4s var(--ease); }
.steps i.on { background: var(--accent); width: 34px; }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 24px; }
.day, .slot { border: 1px solid var(--separator); background: var(--surface); color: var(--label); border-radius: 14px; cursor: pointer; font-family: var(--font); transition: all 0.25s var(--ease); }
.day { display: grid; gap: 2px; padding: 12px 0; text-align: center; min-height: 64px; }
.day small { font-size: 0.7rem; color: var(--label-3); text-transform: uppercase; letter-spacing: 0.06em; }
.day b { font-size: 1.15rem; font-family: var(--display); }
.day:hover, .slot:hover { border-color: var(--accent); }
.day[aria-selected="true"], .slot[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--accent); }
.day[aria-selected="true"] small { color: inherit; opacity: 0.7; }
.day:disabled { opacity: 0.3; cursor: not-allowed; }
.label { font-size: 0.85rem; color: var(--label-2); margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
.slot { min-height: 46px; font-size: 0.92rem; font-weight: 500; }
.slot:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }

.booking__step { animation: stepIn 0.45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
.summary { display: grid; gap: 2px; border-radius: 16px; background: var(--surface); border: 1px solid var(--separator); padding: 6px 18px; margin-bottom: 20px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--separator); font-size: 0.95rem; }
.summary div:last-child { border: 0; }
.summary span { color: var(--label-2); }
.summary .total b { font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.cardfx { position: relative; height: 170px; border-radius: 18px; padding: 22px; margin-bottom: 20px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0f766e, #1d4ed8 55%, #6d28d9); box-shadow: 0 25px 50px -20px rgba(29, 78, 216, 0.6);
  display: flex; flex-direction: column; justify-content: space-between; }
.cardfx::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%); animation: shine 4s infinite; }
@keyframes shine { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
.cardfx__chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f5d27a, #c9a14a); }
.cardfx__num { font: 500 1.2rem ui-monospace, Menlo, monospace; letter-spacing: 0.12em; }
.cardfx__foot { display: flex; justify-content: space-between; font-size: 0.78rem; letter-spacing: 0.1em; opacity: 0.85; }

#pay { position: relative; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(4, 19, 15, 0.25); border-top-color: #04130f; animation: spin 0.7s linear infinite; }
#pay.loading .pay__label { display: none; } #pay.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.done { text-align: center; padding: 30px 0 10px; }
.done h4 { font-size: 1.6rem; margin: 20px 0 8px; }
.done p { color: var(--label-2); margin-bottom: 24px; }
.check { width: 84px; height: 84px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 0.6s var(--ease) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.4s 0.45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Phone / bot */
.phone { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-height: 560px; }
.phone__top { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--separator); background: var(--surface); }
.phone__top b { display: block; font-size: 1rem; }
.phone__top span { font-size: 0.8rem; color: var(--accent); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 0.9rem var(--display); background: var(--grad); color: #04130f; }
.chat { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 420px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 0.94rem; line-height: 1.45; animation: pop 0.35s var(--ease); }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--separator); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--grad); color: #04130f; font-weight: 500; border-bottom-right-radius: 6px; }
.msg.typing { margin: 0; animation: pop 0.25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; border-top: 1px solid var(--separator); min-height: 76px; }
.quick button { border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: transparent; color: var(--accent); border-radius: 999px; padding: 0 14px; min-height: 40px; font: 500 0.88rem var(--font); cursor: pointer; transition: background 0.2s, color 0.2s; }
.quick button:hover { background: var(--accent); color: var(--accent-ink); }

/* ============ Timeline ============ */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 2px; background: var(--grad); opacity: 0.4; }
.timeline li { position: relative; padding: 0 6px; }
.timeline__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); font: 700 1rem var(--display); color: var(--accent); margin-bottom: 22px; box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(52, 245, 197, 0.35); }
.timeline h3 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline p { color: var(--label-2); font-size: 0.98rem; }

/* ============ Why ============ */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__item { padding: 26px; border-radius: var(--radius); border: 1px solid var(--separator); background: var(--surface); }
.why__item svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.why__item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.why__item p { color: var(--label-2); font-size: 0.94rem; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--separator); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--separator)); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font: 600 1.08rem var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--label-2); }

/* ============ Contact ============ */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 10% -20% auto; height: 80%; z-index: -1; background: radial-gradient(40% 50% at 30% 50%, rgba(52, 245, 197, 0.14), transparent 70%), radial-gradient(40% 50% at 80% 50%, rgba(167, 139, 250, 0.14), transparent 70%); filter: blur(30px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; color: var(--label-2); }
.contact__list li { display: flex; gap: 12px; align-items: center; }
.contact__list svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 0.88rem; font-weight: 500; color: var(--label-2); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
.field input, .field textarea { width: 100%; font: 400 1rem var(--font); color: var(--label); background: var(--surface); border: 1px solid var(--separator); border-radius: 14px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(52, 245, 197, 0.15); }
.field input.invalid { border-color: #ff6b81; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--separator); background: var(--surface); font-size: 0.88rem; color: var(--label); transition: all 0.2s var(--ease); }
.choices input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__status { font-size: 0.92rem; text-align: center; min-height: 1.4em; color: var(--accent); }
.form__status.err { color: #ff6b81; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--separator); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--label-3); font-size: 0.88rem; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--label-2); font-size: 0.9rem; }
.footer nav a:hover { color: var(--label); }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-row: auto; grid-column: span 2; }
  .card--wide { grid-template-columns: 1fr; }
  .mini-pay { width: 100%; max-width: 320px; }
  .demo, .contact__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .why { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 760px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle { display: block; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .bento, .why, .timeline { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .card { padding: 24px; }
  .panel { padding: 22px; }
  .phone { padding: 0; min-height: 520px; }
  .days { gap: 5px; }
  .day { min-height: 58px; border-radius: 12px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .hero__cta .btn { width: 100%; }
  .hero { padding-top: 110px; }
  .scroll-hint { display: none; }
}

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