:root {
  --bg: #06060f;
  --bg-2: #0b0b1c;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f3ff;
  --muted: #a3a6c6;
  --cyan: #29e6ff;
  --violet: #8b5cf6;
  --magenta: #ff3dd8;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);
  --radius: 20px;
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(41, 230, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 230, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.bg-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.bg-glow-a { width: 60vw; height: 60vw; top: -20vw; right: -15vw; background: radial-gradient(circle, var(--violet), transparent 65%); }
.bg-glow-b { width: 50vw; height: 50vw; bottom: -20vw; left: -15vw; background: radial-gradient(circle, var(--cyan), transparent 65%); opacity: 0.25; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(6, 6, 15, 0.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; }
.brand-text b { font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { position: relative; width: 26px; height: 26px; display: inline-block; }
.brand-mark i { position: absolute; inset: 0; border: 2px solid var(--cyan); border-radius: 5px; }
.brand-mark i:nth-child(2) { border-color: var(--violet); transform: translate(4px, -4px); }
.brand-mark i:nth-child(3) { border-color: var(--magenta); transform: translate(8px, -8px); opacity: 0.7; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 600; font-size: 14px; color: var(--muted); }
.phone-link:hover { color: var(--cyan); }
@media (max-width: 900px) { .nav-links { display: none; } .phone-link { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-body); white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #06060f; background: var(--grad); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 61, 216, 0.4); }
.btn-ghost { color: var(--text); background: var(--panel); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.25); }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 72px) clamp(40px, 6vw, 80px);
  max-width: 1280px; margin: 0 auto; min-height: 80vh;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }
.hero h1 { font-size: clamp(42px, 7vw, 92px); font-weight: 900; line-height: 0.98; letter-spacing: -0.03em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); margin: 26px 0 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.hero-proof span { font-size: 13px; color: var(--muted); }

/* 3D cube */
.hero-visual { display: flex; justify-content: center; }
.scene { position: relative; width: min(420px, 80vw); aspect-ratio: 1; perspective: 1100px; }
.cube { position: absolute; inset: 15%; transform-style: preserve-3d; animation: spin 18s linear infinite; }
.cube-inner { inset: 30%; animation: spin 12s linear infinite reverse; }
.face {
  position: absolute; inset: 0; border: 2px solid var(--cyan);
  background: linear-gradient(135deg, rgba(41, 230, 255, 0.12), rgba(139, 92, 246, 0.08) 50%, rgba(255, 61, 216, 0.1));
  box-shadow: 0 0 40px rgba(41, 230, 255, 0.25), inset 0 0 60px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(1px);
}
.cube-inner .face { border-color: var(--magenta); box-shadow: 0 0 30px rgba(255, 61, 216, 0.3), inset 0 0 40px rgba(255, 61, 216, 0.15); }
.scene { --d: calc(min(420px, 80vw) * 0.35); }
.cube-inner { --d: calc(min(420px, 80vw) * 0.2); }
.f1 { transform: translateZ(var(--d)); }
.f2 { transform: rotateY(180deg) translateZ(var(--d)); }
.f3 { transform: rotateY(90deg) translateZ(var(--d)); }
.f4 { transform: rotateY(-90deg) translateZ(var(--d)); }
.f5 { transform: rotateX(90deg) translateZ(var(--d)); }
.f6 { transform: rotateX(-90deg) translateZ(var(--d)); }
@keyframes spin { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.floor {
  position: absolute; left: 5%; right: 5%; bottom: -4%; height: 20%;
  background: radial-gradient(ellipse at center, rgba(41, 230, 255, 0.35), transparent 70%);
  filter: blur(10px);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: float 6s ease-in-out infinite; }
.orb-1 { width: 14px; height: 14px; background: var(--cyan); top: 8%; left: 12%; box-shadow: 0 0 20px var(--cyan); }
.orb-2 { width: 10px; height: 10px; background: var(--magenta); top: 20%; right: 6%; box-shadow: 0 0 18px var(--magenta); animation-delay: -2s; }
.orb-3 { width: 8px; height: 8px; background: var(--violet); bottom: 18%; left: 4%; box-shadow: 0 0 18px var(--violet); animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-visual { order: -1; }
  .scene { width: min(300px, 70vw); --d: calc(min(300px, 70vw) * 0.35); }
  .cube-inner { --d: calc(min(300px, 70vw) * 0.2); }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.marquee-track { display: flex; gap: 48px; padding: 14px 0; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track span::after { content: "◆"; margin-left: 48px; color: var(--violet); font-size: 9px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 72px); max-width: 1280px; margin: 0 auto; }
.section-alt { position: relative; }
.section-alt::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025) 20%, rgba(255, 255, 255, 0.025) 80%, transparent);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.section h2 { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
.sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin-top: 20px; }
.sub a { color: var(--cyan); font-weight: 600; }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(41, 230, 255, 0.4); background: var(--panel-2); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(41, 230, 255, 0.18), rgba(255, 61, 216, 0.18)); border: 1px solid var(--line); margin-bottom: 22px; }
.card .icon svg { width: 26px; height: 26px; fill: var(--cyan); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); opacity: 0.7; }
.steps .num { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--magenta); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* events */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.event { display: block; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.event:hover { transform: translateY(-4px); border-color: rgba(255, 61, 216, 0.5); box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2); }
.event-emoji { font-size: 32px; display: block; margin-bottom: 16px; }
.event h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.event p { color: var(--muted); font-size: 15px; }

/* reviews */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: stretch; }
.review { margin: 0; padding: 36px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; }
.review::before { content: "“"; position: absolute; top: 4px; right: 28px; font-family: var(--font-display); font-size: 120px; line-height: 1; color: rgba(139, 92, 246, 0.25); }
.stars { color: #ffcf40; letter-spacing: 3px; font-size: 18px; margin-bottom: 18px; text-shadow: 0 0 14px rgba(255, 207, 64, 0.5); }
.review blockquote { margin: 0; font-size: clamp(18px, 1.7vw, 23px); font-weight: 500; line-height: 1.45; }
.review figcaption { margin-top: 22px; display: flex; flex-direction: column; }
.review figcaption strong { font-weight: 700; }
.review figcaption span { color: var(--muted); font-size: 13px; }
.owner-reply { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.owner-reply b { color: var(--text); font-weight: 600; }
.review-cta { padding: 36px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(41, 230, 255, 0.12), rgba(139, 92, 246, 0.1) 50%, rgba(255, 61, 216, 0.12)); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.big-rating { display: flex; align-items: baseline; gap: 14px; }
.big-rating span { font-family: var(--font-display); font-size: 64px; font-weight: 900; line-height: 1; }
.big-rating small { color: #ffcf40; letter-spacing: 3px; font-size: 18px; }
.review-cta p { color: var(--muted); }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); padding: 0 24px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(41, 230, 255, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--cyan); font-size: 22px; transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 22px; }
.faq a { color: var(--cyan); font-weight: 600; }

/* book */
.book { padding-bottom: clamp(80px, 10vw, 140px); }
.book-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.book-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--text); }
.book-points li { padding-left: 30px; position: relative; }
.book-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 800; }
.contact-block { margin-top: 36px; display: grid; gap: 10px; }
.contact-block a { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s ease; }
.contact-block a:hover { border-color: rgba(41, 230, 255, 0.4); }
.contact-block span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-block strong { font-size: 17px; font-weight: 700; word-break: break-word; }

.book-form, .book-success {
  padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: rgba(11, 11, 28, 0.85); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: grid; gap: 16px; position: relative;
}
.book-form::before { content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
  color-scheme: dark;
}
input::placeholder, textarea::placeholder { color: rgba(163, 166, 198, 0.55); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(41, 230, 255, 0.15); }
input:user-invalid, select:user-invalid { border-color: var(--magenta); }
select option { background: #0b0b1c; }
textarea { resize: vertical; min-height: 90px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.fine { font-size: 12px; color: var(--muted); text-align: center; }
.form-msg { font-size: 14px; color: var(--magenta); text-align: center; min-height: 0; }
.form-msg:empty { display: none; }
.book-success { text-align: center; align-content: center; min-height: 420px; gap: 14px; }
.book-success .check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; font-size: 34px; font-weight: 900; color: #06060f; background: var(--grad); box-shadow: 0 0 40px rgba(41, 230, 255, 0.4); }
.book-success h3 { font-size: 26px; }
.book-success p { color: var(--muted); }
.book-success a { color: var(--cyan); font-weight: 600; }
@media (max-width: 900px) { .book-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px clamp(16px, 5vw, 72px) 96px; background: rgba(0, 0, 0, 0.3); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-inner p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.footer-links a:hover { color: var(--cyan); }
.copy { max-width: 1280px; margin: 36px auto 0; font-size: 12px; color: rgba(163, 166, 198, 0.6); }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none;
  padding: 16px; border-radius: 999px; text-align: center; font-weight: 800; color: #06060f; background: var(--grad);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.45);
}
@media (max-width: 900px) { .sticky-cta { display: block; } body.at-book .sticky-cta { display: none; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cube, .cube-inner, .marquee-track, .orb, .eyebrow .dot { animation: none; }
}
