/* ============ Tokens ============ */
:root {
  --bg: #060b18;
  --bg-2: #0a1428;
  --surface: rgba(18, 30, 58, 0.55);
  --surface-strong: rgba(14, 24, 48, 0.86);
  --border: rgba(214, 186, 112, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #eef2fb;
  --muted: #9aa8c4;
  --gold: #d9b968;
  --gold-2: #f3dc98;
  --gold-deep: #9a8650;
  --cyan: #52c7ff;
  --blue: #1d6fc4;
  --wa: #25d366;
  --glow-gold: 0 0 24px rgba(217, 185, 104, 0.35), 0 0 60px rgba(217, 185, 104, 0.12);
  --glow-cyan: 0 0 24px rgba(82, 199, 255, 0.35);
  --leaf-dark: #2f2d29;
  --leaf-gold: #97884e;
  --circuit: rgba(82, 199, 255, 0.16);
  --circuit-2: rgba(217, 185, 104, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --nav-h: 72px;
}
[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-2: #e9eef7;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(154, 134, 80, 0.3);
  --border-soft: rgba(10, 30, 70, 0.08);
  --text: #121a2c;
  --muted: #56617a;
  --gold: #9a7a2e;
  --gold-2: #b8913a;
  --cyan: #0f6fb8;
  --glow-gold: 0 0 18px rgba(154, 122, 46, 0.18);
  --glow-cyan: 0 0 18px rgba(15, 111, 184, 0.18);
  --leaf-dark: #2f2d29;
  --leaf-gold: #97884e;
  --circuit: rgba(15, 111, 184, 0.13);
  --circuit-2: rgba(154, 134, 80, 0.16);
  --shadow: 0 18px 40px rgba(20, 30, 60, 0.12);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.leaf-dark { fill: var(--leaf-dark); stroke: none; }
.leaf-gold { fill: var(--leaf-gold); stroke: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.gold-text {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-2) 70%, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
.cyan-text { color: var(--cyan); text-shadow: var(--glow-cyan); }
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

.glass {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============ Background (parallax circuit) ============ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1200px 700px at 80% -10%, var(--bg-2), transparent 70%), var(--bg); }
.bg-layer { position: absolute; left: 0; right: 0; top: -10vh; height: 340vh; will-change: transform; }
.bg-layer svg { width: 100%; height: 100%; }
.bg-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .5; }
.g1 { background: rgba(29, 111, 196, .45); top: 10%; left: -160px; }
.g2 { background: rgba(217, 185, 104, .22); bottom: 0; right: -160px; }
[data-theme="light"] .bg-glow { opacity: .25; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; box-shadow: var(--glow-gold); }
.btn-gold:hover { box-shadow: 0 0 34px rgba(217, 185, 104, .55); }
.btn-glass { background: var(--surface); border-color: var(--border); backdrop-filter: blur(12px); }
.btn-glass:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-wa { background: var(--wa); color: #04210f; }
.btn.wide { width: 100%; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-soft); cursor: pointer; transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--surface-strong); backdrop-filter: blur(14px); border-bottom-color: var(--border-soft); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; padding: 5px; border-radius: 10px; background: #f6f1e4; box-shadow: 0 0 14px rgba(217, 185, 104, .35); }
.brand-text { font-weight: 500; letter-spacing: .14em; font-size: 15px; }
.brand-text b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; gap: 8px; }
.menu-btn { display: none; }
.i-sun { display: none; }
[data-theme="light"] .i-sun { display: block; }
[data-theme="light"] .i-moon { display: none; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: #1a1405; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ============ Hero ============ */
.hero { position: relative; height: 230vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#heroCanvas:active { cursor: grabbing; }
.hero-copy {
  position: relative; z-index: 2; max-width: 560px; margin-left: clamp(16px, 7vw, 120px);
  pointer-events: none; transition: opacity .2s, transform .2s;
}
.hero-copy a { pointer-events: auto; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 480px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-meta { display: flex; gap: 32px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-size: 24px; color: var(--gold); }
.hero-meta span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); transition: opacity .3s;
}
.mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(10px); opacity: 0; } }

/* ============ Sections ============ */
.section { position: relative; padding: clamp(70px, 10vw, 130px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0 0 36px; }
.section h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; }
.sub { color: var(--muted); margin-top: 14px; font-size: 16px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.cat-card {
  position: relative; padding: 30px 28px 34px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), rgba(10, 18, 36, .35));
  border: 1px solid var(--border-soft); backdrop-filter: blur(14px);
  transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s;
}
[data-theme="light"] .cat-card { background: var(--surface); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 185, 104, .18), transparent 45%);
}
.cat-card:hover { border-color: var(--border); box-shadow: var(--glow-gold); }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { transform: translateZ(30px); }
.cat-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(82, 199, 255, .2), rgba(29, 111, 196, .35)); color: var(--cyan);
  border: 1px solid rgba(82, 199, 255, .3);
}
.cat-icon svg { width: 30px; height: 30px; }
.cat-card:hover .cat-icon { animation: jiggle .6s ease-in-out 2; color: var(--gold-2); }
@keyframes jiggle { 0%, 100% { transform: translateZ(40px) rotate(0); } 20% { transform: translateZ(40px) rotate(-12deg) scale(1.08); } 40% { transform: translateZ(40px) rotate(10deg); } 60% { transform: translateZ(40px) rotate(-6deg); } 80% { transform: translateZ(40px) rotate(4deg); } }
.cat-card h3 { font-size: 20px; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14px; }
.cat-card .arrow { position: absolute; right: 26px; top: 30px; font-size: 22px; color: var(--gold); opacity: 0; transition: opacity .3s, transform .3s; }
.cat-card:hover .arrow { opacity: 1; transform: translateZ(30px) translateX(4px); }

/* Future zone */
.future-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.future-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.future-list li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 16px; transition: transform .3s, border-color .3s; }
.future-list li:hover { transform: translateX(8px); border-color: rgba(82, 199, 255, .4); }
.fl-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, rgba(127, 214, 255, .55), rgba(139, 92, 246, .45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 16px rgba(80, 90, 200, .25); }
.fl-ic svg { width: 22px; height: 22px; }
.future-list h4 { font-size: 16px; }
.future-list p { font-size: 13.5px; color: var(--muted); }
.future-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; border: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(circle at 50% 38%, rgba(167, 139, 250, .26), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(82, 199, 255, .2), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, .12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow); overflow: visible; }
#vrCanvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 32px; }
.stage-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
/* frosted-glass app icons (spatial UI style) */
.sticker {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 11px; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  animation: floaty 6s ease-in-out infinite;
}
.sticker svg {
  width: 78px; height: 78px; padding: 21px; border-radius: 50%; stroke-width: 1.9; color: #fff;
  background: var(--g), linear-gradient(145deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .55), inset 0 -6px 14px rgba(0, 0, 0, .18), 0 14px 30px rgba(10, 10, 40, .4);
}
.sticker span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); }
.s-tech { --g: linear-gradient(145deg, rgba(58, 168, 255, .75), rgba(29, 95, 184, .55)); top: 5%; left: -4%; --r: -4deg; }
.s-ai { --g: radial-gradient(circle at 50% 50%, rgba(8, 12, 40, .95) 52%, rgba(111, 125, 255, .9) 64%, rgba(243, 155, 255, .55) 72%, rgba(8, 12, 40, .9) 80%); top: 4%; right: -3%; --r: 4deg; animation-delay: -1.5s; }
.s-ai svg { color: #9feaff; filter: drop-shadow(0 0 6px rgba(95, 176, 255, .9)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .4), 0 0 22px rgba(111, 125, 255, .6), 0 14px 30px rgba(10, 10, 40, .4); }
.s-vr { --g: linear-gradient(145deg, rgba(230, 232, 238, .55), rgba(120, 125, 140, .45)); bottom: 11%; right: -4%; --r: -3deg; animation-delay: -3s; }
.s-code { --g: linear-gradient(145deg, rgba(243, 220, 152, .75), rgba(154, 122, 46, .55)); bottom: 14%; left: -3%; --r: 3deg; animation-delay: -2.2s; }
@keyframes floaty { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) * -0.6)) translateY(-12px); } }

/* AI showcase */
.ai-zone { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 60px; padding: 24px; border-color: rgba(111, 125, 255, .25); }
.ai-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0a0f2a 0%, #03040c 60%, #000 100%);
  box-shadow: inset 0 0 0 1px rgba(111, 125, 255, .25), 0 0 40px rgba(80, 100, 255, .2); }
#aiCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-copy { padding: 10px 20px 10px 0; }
.ai-copy h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.ai-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 18px; }
.ai-text { background: linear-gradient(180deg, #8eeaff, #6f7dff 55%, #f39bff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(111, 125, 255, .6)); }
.ai-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ai-points li { position: relative; padding-left: 26px; font-size: 15px; }
.ai-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, #8eeaff, #f39bff); box-shadow: 0 0 10px rgba(111, 125, 255, .9); }
.btn-neon { color: #e8f6ff; background: rgba(10, 14, 40, .7); border-color: rgba(142, 234, 255, .55); box-shadow: 0 0 18px rgba(111, 125, 255, .45), inset 0 0 12px rgba(111, 125, 255, .25); }
.btn-neon:hover { border-color: #f39bff; box-shadow: 0 0 28px rgba(243, 155, 255, .5), inset 0 0 14px rgba(111, 125, 255, .35); }
[data-theme="light"] .btn-neon { color: #fff; background: #0b1030; }

/* Festival */
.glow-border { position: relative; border-radius: 28px; padding: 2px; overflow: hidden; isolation: isolate; }
.glow-border::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--gold-2) 72%, var(--gold) 80%, transparent 92%);
  animation: spin 5s linear infinite;
}
.glow-border::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 28px; background: var(--border); }
@keyframes spin { to { transform: rotate(360deg); } }
.festival { box-shadow: var(--glow-gold); }
.festival-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: clamp(28px, 4vw, 56px); border-radius: 26px; background: var(--surface-strong); backdrop-filter: blur(18px); }
.fest-facts { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.fest-facts li { display: flex; gap: 12px; color: var(--muted); }
.fest-facts svg { flex: none; width: 22px; height: 22px; color: var(--gold); }
.fine { font-size: 12.5px; color: var(--muted); opacity: .8; }
.fine.center { text-align: center; }
.countdown-box { align-self: center; text-align: center; }
.cd-label { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.countdown div { padding: 18px 6px; border-radius: 16px; border: 1px solid var(--border); background: rgba(217, 185, 104, .06); box-shadow: inset 0 0 20px rgba(217, 185, 104, .08); }
.countdown b { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; color: var(--gold-2); text-shadow: var(--glow-gold); font-variant-numeric: tabular-nums; }
[data-theme="light"] .countdown b { color: var(--gold); }
.countdown span { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.countdown b.tick { animation: tick .4s; }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } }

/* Offers */
.offer { position: relative; display: flex; align-items: center; gap: 50px; padding: clamp(28px, 5vw, 60px); overflow: hidden; }
.ribbon { position: absolute; top: 26px; right: -48px; transform: rotate(45deg); background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200%; animation: shine 3s linear infinite; padding: 6px 60px; box-shadow: var(--glow-gold); }
.ribbon span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1a1405; }
.offer-badge { position: relative; flex: none; width: 200px; height: 200px; animation: wobble 4s ease-in-out infinite; }
.badge-spin { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin text { fill: var(--gold); stroke: none; font-size: 15px; font-weight: 600; letter-spacing: 3.2px; }
.badge-core { position: absolute; inset: 34px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: #1a1405; box-shadow: var(--glow-gold), inset 0 -8px 20px rgba(0, 0, 0, .2); }
.badge-core b { font-size: 46px; line-height: 1; font-weight: 800; }
.badge-core span { font-weight: 700; letter-spacing: .3em; }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.04); } }
.offer-copy h2 { margin-bottom: 14px; }
.offer-copy p { color: var(--muted); margin-bottom: 26px; max-width: 520px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why { padding: 28px 22px; text-align: center; }
.why-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(217, 185, 104, .1); border: 1px solid var(--border); }
.why-ic svg { width: 30px; height: 30px; }
.why h4 { font-size: 16px; margin-bottom: 6px; }
.why p { font-size: 13.5px; color: var(--muted); }
.why.in .a-stack svg { animation: stackUp 1.1s ease .2s both; }
.why.in .a-pop svg { animation: popIn .9s cubic-bezier(.3, 1.8, .5, 1) .2s both; }
.why.in .a-beat svg { animation: beat 1.4s ease .2s 2; }
.why.in .a-drive svg { animation: drive 1.2s ease .2s both; }
@keyframes stackUp { from { transform: translateY(14px); opacity: 0; } }
@keyframes popIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes beat { 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }
@keyframes drive { from { transform: translateX(-40px); opacity: 0; } }

/* Shop */
.shop-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-soft); background: var(--surface); cursor: pointer; font-size: 14px; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; border-color: transparent; font-weight: 600; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; min-width: min(340px, 100%); border-radius: 999px; box-shadow: none; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.book {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-soft); backdrop-filter: blur(12px);
  transition: transform .35s, box-shadow .35s, border-color .35s; animation: fadeUp .5s both;
}
.book:hover { transform: translateY(-6px); box-shadow: var(--glow-gold); border-color: var(--border); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.book-cover { position: relative; height: 190px; display: grid; place-items: center; perspective: 600px; overflow: hidden; }
.book-3d {
  width: 104px; height: 146px; border-radius: 3px 8px 8px 3px; position: relative; transform: rotateY(-24deg); transform-style: preserve-3d;
  transition: transform .5s; box-shadow: 14px 14px 28px rgba(0, 0, 0, .45);
  padding: 14px 10px 10px 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
}
.book:hover .book-3d { transform: rotateY(-8deg) translateY(-4px); }
.book-3d::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: rgba(0, 0, 0, .3); border-radius: 3px 0 0 3px; }
.book-3d::after { content: ""; position: absolute; top: 3px; bottom: 3px; right: -12px; width: 12px; transform: rotateY(90deg); transform-origin: left; background: repeating-linear-gradient(0deg, #f3efe4 0 2px, #d9d3c3 2px 3px); }
.book-3d b { font-size: 12px; line-height: 1.25; font-weight: 700; }
.book-3d small { font-size: 9px; letter-spacing: .14em; opacity: .85; text-transform: uppercase; }
.book-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.book-info h4 { font-size: 15px; }
.book-info p { font-size: 12.5px; color: var(--muted); flex: 1; }
.tag { align-self: flex-start; font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgba(82, 199, 255, .12); color: var(--cyan); margin-bottom: 4px; }
.add-btn { margin-top: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--border); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--gold); transition: all .2s; }
.add-btn:hover { background: rgba(217, 185, 104, .12); }
.add-btn.added { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405; border-color: transparent; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }
.request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; margin-top: 40px; border-color: var(--border); }
.request h3 { font-size: 20px; margin-bottom: 4px; }
.request p { color: var(--muted); font-size: 14px; }
.request-form { display: flex; gap: 10px; flex: 1; max-width: 560px; min-width: min(100%, 300px); }
.request-form input, .cart-foot input:not([type="checkbox"]) {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--border-soft); background: rgba(0, 0, 0, .18); outline: 0;
}
[data-theme="light"] .request-form input, [data-theme="light"] .cart-foot input:not([type="checkbox"]) { background: rgba(255, 255, 255, .7); }
.request-form input:focus, .cart-foot input:not([type="checkbox"]):focus { border-color: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; }
.contact-cards { display: grid; gap: 16px; perspective: 1000px; }
.c-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; transform-style: preserve-3d; transition: border-color .3s; }
.c-card:hover { border-color: var(--border); }
.c-card small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.c-card b { font-weight: 600; font-size: 15px; }
.c-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(217, 185, 104, .12); color: var(--gold); }
.c-ic.wa { background: rgba(37, 211, 102, .14); color: var(--wa); }
.c-ic svg { width: 24px; height: 24px; }
.map { overflow: hidden; min-height: 380px; padding: 0; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.9); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 30px clamp(16px, 5vw, 64px) 40px; border-top: 1px solid var(--border-soft); max-width: 1280px; margin: 0 auto; color: var(--muted); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b { display: block; color: var(--text); letter-spacing: .16em; }
.footer-brand span { font-size: 12px; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; height: 60px; min-width: 60px; padding: 0 16px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { to { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.wa-label { font-weight: 600; font-size: 14px; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s; }
.wa-float:hover .wa-label { max-width: 180px; }

/* Cart */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(3, 6, 14, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 80; width: min(420px, calc(100vw - 24px));
  display: flex; flex-direction: column; background: var(--surface-strong); border-color: var(--border);
  transform: translateX(110%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.cart.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border-soft); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.cart-row .sw { flex: none; width: 34px; height: 46px; border-radius: 2px 5px 5px 2px; }
.cart-row .t { flex: 1; font-size: 14px; }
.cart-row .t small { display: block; color: var(--muted); font-size: 12px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-soft); background: var(--surface); cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.cart-foot { display: grid; gap: 10px; padding: 18px 22px 20px; border-top: 1px solid var(--border-soft); }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.btn-wa svg { stroke: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 140%); padding: 12px 22px; border-radius: 999px;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--glow-gold); font-size: 14px; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.toast.show { transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .future-wrap { grid-template-columns: 1fr; }
  .future-stage { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 12px; right: 12px; flex-direction: column; padding: 12px; border-radius: 18px;
    background: var(--surface-strong); backdrop-filter: blur(16px); border: 1px solid var(--border-soft);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all .25s; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; }
  .menu-btn { display: grid; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .festival-inner, .contact-grid, .ai-zone { grid-template-columns: 1fr; }
  .ai-copy { padding: 0 6px 6px; }
  .offer { flex-direction: column; text-align: center; gap: 30px; }
  .offer-copy p { margin-inline: auto; }
  .hero { height: 190vh; }
  .hero-sticky { align-items: flex-end; padding-bottom: 96px; }
  .hero-copy { margin: 0 16px; max-width: none; }
  .hero-hint { display: none; }
}
@media (max-width: 560px) {
  .brand-text { display: none; }
  .cat-grid, .why-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 22px; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; }
  .cat-icon { grid-row: span 2; margin: 0; width: 56px; height: 56px; }
  .why { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 18px; align-items: center; }
  .why-ic { grid-row: span 2; margin: 0; width: 56px; height: 56px; }
  .hero-meta { display: none; }
  .hero h1 { font-size: 36px; margin-bottom: 12px; }
  .hero .eyebrow { letter-spacing: .14em; font-size: 11px; margin-bottom: 10px; }
  .lead { font-size: 14px; }
  .hero-sticky { padding-bottom: 84px; }
  .cta-row { margin: 22px 0 26px; }
  .cta-row .btn { flex: 1; padding: 13px 16px; }
  .countdown { gap: 8px; }
  .sticker { font-size: 10px; gap: 6px; }
  .sticker svg { width: 58px; height: 58px; padding: 15px; }
  .s-tech, .s-code { left: 2%; } .s-ai, .s-vr { right: 2%; }
  .request { padding: 22px; }
  .request-form { flex-direction: column; }
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .book-cover { height: 160px; }
  .book-3d { width: 88px; height: 124px; }
  .wa-float { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
