:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef0f4;
  --muted: #8b93a3;
  --accent: #7c8cff;
  --accent-2: #3ee6c1;
  --accent-3: #c084fc;
  --good: #34d399;
  --bad: #f87171;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
code { background: var(--card-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.good { color: var(--good); }
.bad { color: var(--bad); }

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradientMove 6s linear infinite;
}
@keyframes gradientMove { to { background-position: 200% center; } }

/* background */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .35;
}
.bg-orb {
  position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: .35;
}
.orb-1 { width: 520px; height: 520px; background: var(--accent); top: -160px; right: -120px; animation: orb 18s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--accent-2); top: 40vh; left: -200px; opacity: .18; animation: orb 22s ease-in-out infinite reverse; }
@keyframes orb { 50% { transform: translate(-80px, 60px) scale(1.1); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 14px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #fff, #dfe3ff);
  color: #0a0b10;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 30px -8px rgba(124,140,255,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 14px 40px -8px rgba(124,140,255,.8); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--card-2); transform: translateY(-2px); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(7,8,11,.72); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }
.logo-dot { color: var(--muted); font-weight: 500; margin-left: -10px; }
.logo-box {
  width: 30px; height: 18px; border-radius: 6px; position: relative;
  background: linear-gradient(180deg, #f3f4f6, #a9afba);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
.logo-led { position: absolute; right: 5px; bottom: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); animation: blink 2.4s infinite; }
.nav-links { display: flex; gap: 28px; font-size: .92rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { padding: 60px 0 40px; position: relative; }
.hero-inner > *, .split > *, .calc > * { min-width: 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 600px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; color: #cfd5e2;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; margin: 22px 0 20px; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin: 10px 0 14px; font-weight: 800; }
h3 { letter-spacing: -.02em; margin: 0; }
.lead { font-size: 1.15rem; color: #b6bdcb; max-width: 560px; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.check { color: var(--good); margin-right: 4px; }

.hero-visual { position: relative; aspect-ratio: 1 / .95; display: grid; place-items: center; perspective: 1200px; }
.halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  filter: blur(70px); opacity: .45; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.ring-1 { width: 92%; aspect-ratio: 1; animation: ringPulse 6s ease-in-out infinite; }
.ring-2 { width: 70%; aspect-ratio: 1; border-style: dashed; opacity: .5; animation: spin 40s linear infinite; }
@keyframes ringPulse { 50% { transform: scale(1.04); opacity: .4; } }

.mini-stage {
  position: relative; width: 74%; z-index: 2;
  transform-style: preserve-3d;
  animation: floaty 6s ease-in-out infinite;
  transition: transform .2s ease-out;
}
.mini-photo {
  width: 100%;
  filter: saturate(.45) contrast(1.06) brightness(1.04) drop-shadow(0 30px 40px rgba(0,0,0,.55));
}
.shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  background-size: 250% 100%;
  -webkit-mask: url(assets/img/mini-cutout.png) center/100% 100% no-repeat;
          mask: url(assets/img/mini-cutout.png) center/100% 100% no-repeat;
  mix-blend-mode: overlay;
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0%, 30% { background-position: 150% 0; } 70%, 100% { background-position: -100% 0; } }
.mini-led { position: absolute; left: 69.3%; top: 83.6%; width: 1.2%; aspect-ratio: 1; border-radius: 50%; background: #d8f3ff; box-shadow: 0 0 10px 3px rgba(150,220,255,.9); animation: blink 2.6s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -16px; } }
.mini-shadow {
  position: absolute; bottom: 9%; width: 52%; height: 26px; border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,.7), transparent 70%);
  animation: shadow 6s ease-in-out infinite; z-index: 1;
}
@keyframes shadow { 50% { transform: scaleX(.85); opacity: .6; } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(18,20,27,.72); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -12px rgba(0,0,0,.6);
  font-size: .85rem;
}
.float-card b { display: block; font-weight: 600; }
.float-card small { color: var(--muted); font-size: .75rem; }
.fc-icon { font-size: 1.2rem; }
.fc-1 { top: 8%; left: -4%; animation: bob 7s ease-in-out infinite; }
.fc-2 { bottom: 12%; left: 2%; animation: bob 8s ease-in-out infinite 1s; }
.fc-3 { top: 18%; right: -4%; animation: bob 6.5s ease-in-out infinite .5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.led-live { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.price-tag { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #06070a; font-weight: 800; padding: 4px 8px; border-radius: 8px; font-size: .78rem; }

/* terminal */
.terminal, .yaml {
  margin-top: 30px; border-radius: 16px; overflow: hidden;
  background: rgba(10,12,16,.85);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.8);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4b; }
.term-bar span:nth-child(1) { background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.term-bar em { font-style: normal; color: var(--muted); font-size: .8rem; margin-left: 10px; font-family: "JetBrains Mono", monospace; }
.term-body { margin: 0; padding: 20px 22px; min-height: 210px; font-size: .88rem; color: #cdd3df; white-space: pre-wrap; }
.term-body .p { color: var(--accent-2); }
.term-body .o { color: var(--muted); }
.term-body .g { color: var(--good); }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--text); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* marquee */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); margin-top: 50px; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; padding-right: 18px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tool {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 20px 12px 14px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: #c9cfdb;
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, box-shadow .3s, color .3s, transform .3s var(--ease);
}
.tool svg {
  width: 30px; height: 30px; padding: 6px; border-radius: 9px; flex: none;
  fill: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--brand) 35%, transparent));
}
.tool:hover { color: var(--text); transform: translateY(-2px); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 20%, rgba(255,255,255,.018) 80%, transparent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }

/* toggle */
.toggle { position: relative; display: inline-flex; margin-top: 18px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.toggle-btn { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.toggle-btn.active { color: #0a0b10; }
.toggle-btn .save { font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: rgba(62,230,193,.16); color: var(--accent-2); margin-left: 4px; transition: .3s; }
.toggle-btn.active .save { background: rgba(10,11,16,.12); color: #0a0b10; }
.toggle-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: #fff; transition: transform .45s var(--ease), width .45s var(--ease); }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan {
  position: relative; padding: 32px; border-radius: 24px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
  overflow: hidden;
}
.plan::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(124,140,255,.14), transparent 40%);
}
.plan:hover::before { opacity: 1; }
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(124,140,255,.4); }
.plan-featured { box-shadow: inset 0 0 0 1px rgba(124,140,255,.45), 0 30px 80px -40px rgba(124,140,255,.6); }
.plan-ribbon { position: absolute; top: 20px; right: 20px; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; }
.plan-top { display: flex; gap: 14px; align-items: flex-start; }
.plan-top h3 { font-size: 1.35rem; }
.plan-top p { margin: 4px 0 0; font-size: .92rem; }
.plan-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,140,255,.14); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(124,140,255,.3); }
.plan-price { margin-top: 26px; display: flex; align-items: baseline; gap: 2px; }
.plan-price .from { color: var(--muted); font-size: .9rem; margin-right: 8px; }
.plan-price .currency { font-size: 1.6rem; font-weight: 700; color: #cfd5e2; }
.plan-price .amount { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--muted); margin-left: 4px; }
.billing-note { color: var(--muted); font-size: .84rem; margin: 6px 0 20px; min-height: 1.2em; }
.hw-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.hw {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; font-size: .9rem; cursor: pointer;
  background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .25s, box-shadow .25s, transform .25s var(--ease);
}
.hw:hover { background: rgba(255,255,255,.05); transform: translateX(3px); }
.hw.active { background: rgba(124,140,255,.1); box-shadow: inset 0 0 0 1.5px var(--accent); }
.hw-name { color: #c3c9d6; }
.hw-name b { color: var(--text); }
.hw-badge { font-size: .72rem; padding: 3px 8px; border-radius: 999px; background: var(--card-2); color: var(--muted); white-space: nowrap; }
.hw-badge.ok { background: rgba(52,211,153,.14); color: var(--good); }
.hw-price { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.hw-price i { font-style: normal; }
.features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .93rem; color: #c3c9d6; }
.features li { padding-left: 26px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(62,230,193,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233ee6c1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.short-rent {
  margin-top: 24px; padding: 28px 32px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: linear-gradient(120deg, rgba(62,230,193,.08), rgba(124,140,255,.08));
  box-shadow: inset 0 0 0 1px var(--line);
}
.short-copy h3 { font-size: 1.3rem; }
.short-copy p { margin: 6px 0 0; max-width: 520px; }
.short-options { display: flex; gap: 12px; }
.short-opt {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 150px;
  padding: 16px 20px; border-radius: 16px; background: rgba(7,8,11,.6);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; text-align: left;
}
.short-opt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent-2), 0 14px 30px -14px rgba(62,230,193,.5); }
.so-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.so-unit { font-size: .9rem; }
.short-opt small { color: var(--muted); font-size: .76rem; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: start; }
.step { padding: 28px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step-num { font-family: "JetBrains Mono", monospace; font-size: .85rem; color: var(--accent-2); }
.step h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-line { height: 2px; margin-top: 60px; background: var(--line); position: relative; overflow: hidden; }
.step-line span { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); animation: flow 2.2s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 0; }
.photo-frame {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0,0,0,.9);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.photo-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,8,11,.75)); pointer-events: none; }
.photo-overlay { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: grid; gap: 8px; }
.chat-bubble {
  justify-self: start; max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .86rem;
  background: rgba(15,17,23,.82); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; transform: translateY(12px);
}
.chat-bubble span { color: var(--accent-2); margin-right: 6px; font-size: .78rem; }
.chat-bubble.cb-2 { justify-self: end; background: rgba(124,140,255,.25); }
.chat-bubble.cb-2 span { color: #c8cfff; }
.in-view .chat-bubble { animation: bubbleIn .6s var(--ease) forwards; }
.in-view .cb-1 { animation-delay: .3s; }
.in-view .cb-2 { animation-delay: 1.3s; }
.in-view .cb-3 { animation-delay: 2.3s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.fcard { padding: 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), background .3s; }
.fcard:hover { transform: translateY(-3px); background: var(--card-2); }
.ficon {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(145deg, rgba(62,230,193,.14), rgba(124,140,255,.12) 55%, rgba(192,132,252,.14));
  box-shadow: inset 0 0 0 1px rgba(124,140,255,.28), inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px -10px rgba(124,140,255,.55);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.ficon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.ficon svg { width: 24px; height: 24px; color: #3ee6c1; }
.fcard:hover .ficon { transform: translateY(-2px) rotate(-6deg) scale(1.06); box-shadow: inset 0 0 0 1px rgba(124,140,255,.5), 0 12px 30px -10px rgba(62,230,193,.6); }
.pulse-dot { animation: blink 1.8s infinite; }
.fcard h4 { margin: 14px 0 4px; font-size: .98rem; }
.fcard p { margin: 0; color: var(--muted); font-size: .86rem; }

.yaml pre { margin: 0; padding: 18px 22px; font-size: .86rem; line-height: 1.7; color: #cdd3df; overflow-x: auto; }
.c-k { color: var(--accent); }
.diff-del { display: inline-block; width: calc(100% + 44px); background: rgba(248,113,113,.12); color: #fca5a5; margin: 0 -22px; padding: 0 22px; }
.diff-add { display: inline-block; width: calc(100% + 44px); background: rgba(52,211,153,.12); color: #6ee7b7; margin: 0 -22px; padding: 0 22px; }

.hw-facts { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hw-facts li {
  padding: 10px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.35;
  background: rgba(10,12,16,.82); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; transform: translateY(12px);
}
.hw-facts b { display: block; color: var(--accent-2); font-size: .82rem; margin-bottom: 2px; }
.hw-facts span { color: #c3c9d6; }
.in-view .hw-facts li { animation: bubbleIn .6s var(--ease) forwards; }
.in-view .hw-facts li:nth-child(2) { animation-delay: .25s; }
.in-view .hw-facts li:nth-child(3) { animation-delay: .5s; }
@media (max-width: 600px) { .hw-facts { position: static; grid-template-columns: 1fr; padding: 12px; } .hw-facts li { opacity: 1; transform: none; } }

.compare { margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cmp-row span:last-child { text-align: right; font-weight: 700; }
.cmp-head { border-top: 0; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.cmp-head span:last-child { font-weight: 500; }
.cmp-us { background: rgba(62,230,193,.07); }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 36px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.calc-input label { font-weight: 600; color: var(--muted); font-size: .9rem; }
.calc-value { font-size: 2.6rem; font-weight: 500; letter-spacing: -.03em; margin: 6px 0 14px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2) var(--fill, 15%), var(--line-2) var(--fill, 15%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(62,230,193,.25); cursor: grab; transition: box-shadow .2s; }
input[type=range]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 10px rgba(62,230,193,.25); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(62,230,193,.25); }
.calc-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; margin-top: 8px; }
.calc-bars { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 80px; align-items: center; gap: 14px; font-size: .92rem; }
.bar-row b { text-align: right; font-size: 1.05rem; }
.bar { height: 14px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; transition: width .6s var(--ease); width: 0; }
.bar-gh { background: linear-gradient(90deg, #fb7185, #f87171); }
.bar-us { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.calc-save { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 600; }
.calc-save .gradient-text { font-size: 2rem; font-weight: 700; }
.calc-save small { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }

/* fleet */
.fleet { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, #0e1016, #0a0b0f); box-shadow: inset 0 0 0 1px var(--line); }
.unit {
  position: relative; aspect-ratio: 2.2 / 1; border-radius: 8px;
  background: linear-gradient(180deg, #d6dae1, #9aa1ad);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), 0 6px 14px -6px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fleet.in-view .unit { opacity: 1; transform: none; }
.unit::after { content: ""; position: absolute; right: 14%; bottom: 26%; width: 4px; height: 4px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); animation: blink var(--d, 2s) infinite var(--delay, 0s); }
.unit.busy::after { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
.unit.free::after { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.honest > div { padding: 26px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.honest h4 { margin: 0 0 10px; font-size: 1.05rem; }
.honest ul { margin: 0; padding-left: 18px; color: #c3c9d6; display: grid; gap: 6px; font-size: .94rem; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.faq details[open] { background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* final cta */
.cta-final { padding: 40px 0 110px; }
.cta-box {
  position: relative; text-align: center; padding: 70px 30px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,140,255,.25), transparent 60%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.cta-box p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.cta-box .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-mini {
  width: 200px; margin: 0 auto 26px;
  filter: saturate(.45) brightness(1.04) drop-shadow(0 20px 30px rgba(0,0,0,.6));
  animation: floaty 5s ease-in-out infinite;
}

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer-legal p { margin: 0 0 8px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,4,6,.7); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 30px; border-radius: 24px; background: #101219;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -20px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 14px; right: 16px; font-size: 1.6rem; color: var(--muted); line-height: 1; }
.modal-card h3 { font-size: 1.5rem; margin: 6px 0 6px; }
.modal-card form { display: grid; gap: 12px; margin-top: 18px; }
.modal-card label { display: grid; gap: 6px; font-size: .84rem; color: #c3c9d6; font-weight: 500; }
.modal-card input, .modal-card select {
  width: 100%; min-width: 0; font: inherit; color: var(--text); padding: 11px 13px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .2s;
}
.modal-card select {
  -webkit-appearance: none; appearance: none; width: 100%; cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px 16px;
}
.modal-card select:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.modal-card select option { background: #101219; color: var(--text); }
.modal-card input:focus, .modal-card select:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(124,140,255,.1); box-shadow: inset 0 0 0 1px rgba(124,140,255,.35); font-size: .9rem; }
.summary b { font-size: 1.15rem; }
.form-error { color: var(--bad); font-size: .85rem; margin: 0; min-height: 0; }
.success { text-align: center; padding: 10px 0; }
.success-icon svg { width: 76px; height: 76px; margin: 0 auto 10px; display: block; }
.success-icon circle { stroke: var(--good); stroke-width: 2; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s var(--ease) forwards; }
.success-icon path { stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner, .split, .plans, .calc, .honest, .footer-inner { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .split-rev .split-copy { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step-line { display: none; }
  .short-rent { flex-direction: column; align-items: flex-start; }
  .fleet { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .float-card { font-size: .75rem; padding: 9px 12px; }
  .fc-1 { left: 0; } .fc-3 { right: 0; }
  .plan { padding: 24px 20px; }
  .hw { grid-template-columns: 1fr auto; }
  .hw-badge { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .short-options { width: 100%; }
  .short-opt { flex: 1; min-width: 0; }
  .fleet { grid-template-columns: repeat(6, 1fr); padding: 16px; gap: 7px; }
  .bar-row { grid-template-columns: 90px 1fr 64px; }
  .nav .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .unit, .chat-bubble, .hw-facts li { opacity: 1 !important; transform: none !important; }
}

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* never show alt text on screen while an image loads or fails */
img { color: transparent; font-size: 0; }
.photo-frame img { background: linear-gradient(135deg, #15171d, #1b1e26); }
.plan-price .was { margin-left: 12px; color: var(--muted); font-size: 1.3rem; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: rgba(248,113,113,.8); }
.plan-price .was[hidden] { display: none; }
.short-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .88rem; color: #c3c9d6; }
.short-facts li { padding-left: 22px; position: relative; }
.short-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.short-facts b { color: var(--text); }

/* ---------- offers (test drive / agent / founder) ---------- */
.offers { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch; }
.offer { display: flex; flex-direction: column; }
.offer .features { flex: 1; align-content: start; }
.offer-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.offer-tag em { font-style: normal; letter-spacing: 0; text-transform: none; font-size: .72rem; padding: 3px 8px; border-radius: 999px; background: rgba(192,132,252,.16); color: #d8b4fe; }
.offer .plan-price { margin-top: 14px; }
.offer .plan-price .per { font-size: .95rem; }
.plan-featured.offer { transform: translateY(-8px); }
.plan-featured.offer:hover { transform: translateY(-12px); }
.offer-founder { box-shadow: inset 0 0 0 1px rgba(192,132,252,.35); background: linear-gradient(180deg, rgba(192,132,252,.06), rgba(255,255,255,.02)); }
.offer-founder .offer-tag { color: #d8b4fe; }
.offer .features b { color: var(--text); }

.more-power { text-align: center; margin: 22px auto 0; color: #c3c9d6; font-size: .92rem; line-height: 2; }
.link-btn { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(62,230,193,.4); text-underline-offset: 3px; padding: 0 2px; }
.link-btn:hover { text-decoration-color: var(--accent-2); }

/* rental length strip */
.lengths { margin-top: 48px; text-align: center; }
.lengths h3 { font-size: 1.35rem; margin-bottom: 18px; }
.length-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 900px; margin: 0 auto 14px; }
.length {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; border-radius: 16px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.length:hover { transform: translateY(-3px); background: var(--card-2); box-shadow: inset 0 0 0 1.5px var(--accent-2), 0 14px 30px -14px rgba(62,230,193,.45); }
.len-name { font-weight: 600; color: #c3c9d6; font-size: .92rem; }
.len-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.length small { color: var(--muted); font-size: .76rem; }
.length-star { box-shadow: inset 0 0 0 1.5px rgba(124,140,255,.6); background: rgba(124,140,255,.08); }
.lengths > p { max-width: 760px; margin: 0 auto; }

/* CI runner compact row */
.ci-row {
  margin-top: 40px; padding: 26px 30px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.ci-row h3 { font-size: 1.2rem; }
.ci-row p { margin: 6px 0 0; }
.ci-prices { font-size: .92rem; }

/* modal: length picker */
.len-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.len-pick-label { grid-column: 1 / -1; font-size: .84rem; color: #c3c9d6; font-weight: 500; }
.modal-card label.len-opt { display: block; cursor: pointer; }
.len-opt input { position: absolute; opacity: 0; pointer-events: none; }
.len-opt span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 10px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.len-opt b { font-size: .8rem; color: #c3c9d6; font-weight: 600; }
.len-opt i { font-style: normal; font-weight: 700; font-size: .95rem; color: var(--text); }
.len-opt input:checked + span { background: rgba(124,140,255,.14); box-shadow: inset 0 0 0 1.5px var(--accent); }
.len-opt input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.summary .sum-price { text-align: right; white-space: nowrap; }
.summary small { font-size: .76rem; }

@media (max-width: 980px) {
  .offers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-featured.offer, .plan-featured.offer:hover { transform: none; }
  .length-grid { grid-template-columns: repeat(2, 1fr); }
  .ci-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) { .len-pick { grid-template-columns: repeat(2, 1fr); } }

/* ---------- compact reserve modal ---------- */
html { scrollbar-gutter: stable; }
.modal-card { padding: 24px 26px 0; width: min(500px, 100%); }
.modal-card h3 { font-size: 1.35rem; margin: 4px 0 4px; }
.modal-intro { margin: 0; }
.modal-card form { gap: 10px; margin-top: 14px; }
.modal-card label { gap: 5px; font-size: .8rem; }
.modal-card input, .modal-card select { padding: 9px 12px; }
.modal-card select { padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.len-pick { gap: 6px; }
.len-opt span { padding: 8px 4px; }
.summary { padding: 11px 14px; }
.form-error:empty { display: none; }
.form-submit {
  position: sticky; bottom: 0; z-index: 2; margin: 4px -26px 0; padding: 12px 26px 22px;
  background: linear-gradient(180deg, rgba(16,18,25,0), #101219 28%);
}
.success { padding-bottom: 24px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.footer-guides { margin-top: 18px; line-height: 1.9; }
.footer-guides a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-guides a:hover { color: var(--text); }
.footer-guides b { color: var(--text); font-weight: 600; }
