/* ===================== ROOT / RESET ===================== */
:root {
  --bg: #07070d;
  --bg-soft: #0d0d16;
  --bg-card: #12121d;
  --line: #232330;
  --text: #f1f0ec;
  --text-dim: #9a98a8;
  --gold: #d9b54a;
  --violet: #8a5cf6;
  --rose: #ff5d77;
  --gradient: linear-gradient(135deg, var(--violet), var(--rose));
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, li { list-style: none; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #0a0a0d;
  box-shadow: 0 8px 24px -8px rgba(138, 92, 246, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(138, 92, 246, 0.7); }
.btn--outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-dim); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--text-dim); }
.btn--small { padding: 0.55rem 1.2rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1rem; }

/* ===================== VERIFY PAGE ===================== */
.verify-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.verify-card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.8rem 2.2rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.verify-card__brand {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}
.verify-card__brand svg { margin: 0; }
.verify-card h1 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.verify-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 1.6rem; }
.verify-form { display: flex; flex-direction: column; gap: 0.9rem; text-align: left; }
.verify-form label { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-dim); text-transform: uppercase; }
.verify-form input {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color-scheme: dark;
}
.verify-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,181,74,0.35); }
.verify-form input[aria-invalid="true"] { border-color: var(--rose); }
.verify-form .btn { margin-top: 0.4rem; width: 100%; }
.verify-form .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.verify-error { color: var(--rose); font-size: 0.85rem; margin: 0.9rem 0 0; }
.verify-card__fine { font-size: 0.72rem; color: #86839a; display: block; line-height: 1.5; margin-top: 1.4rem; }
.verify-card--blocked h1:focus { outline: none; }
.verify-card--blocked h1 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.verify-card--blocked p { margin-bottom: 0; }

.brand-mark { display: inline-flex; }

/* ===================== AUTHENTICITY CHECK RESULT ===================== */
.check-result { margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 12px; font-size: 0.92rem; font-weight: 600; border: 1px solid var(--line); }
.check-result--genuine { background: rgba(217, 181, 74, 0.1); border-color: var(--gold); color: var(--gold); }
.check-result--invalid { background: rgba(255, 93, 119, 0.1); border-color: var(--rose); color: var(--rose); }
.check-result--error,
.check-result--pending { background: rgba(255,255,255,0.04); color: var(--text-dim); }

/* ===================== ADMIN ===================== */
.admin-panel { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 7rem 1.5rem 5rem; display: flex; flex-direction: column; gap: 2rem; }
.admin-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.admin-panel__head h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 0.6rem 0; }
.admin-panel__head p { color: var(--text-dim); max-width: 560px; font-size: 0.92rem; }
.admin-panel__head code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 0.1rem 0.4rem; font-size: 0.85em; }
.admin-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.admin-card h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.admin-card__hint { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 1.3rem; }
.admin-card__hint a { color: var(--gold); text-decoration: underline; }
.admin-logo-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.admin-logo-preview { width: 64px; height: 64px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 0.7rem; color: var(--text-dim); text-align: center; }
.admin-logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-logo-row input[type="file"] { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 0.6rem; display: block; }
.admin-code-form { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-code-form input { flex: 1; min-width: 180px; padding: 0.7rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: 0.9rem; }
.admin-code-bulk { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 1.4rem; }
.admin-code-bulk input { width: 80px; padding: 0.6rem 0.8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); }
.admin-code-bulk select { padding: 0.6rem 0.9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: 0.88rem; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6c7e'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.2rem; }
.admin-code-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 360px; overflow-y: auto; }
.admin-code-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 1rem; font-size: 0.85rem; }
.admin-code-row code { font-family: var(--font-display); letter-spacing: 0.03em; }
.admin-code-row span { color: var(--text-dim); }
.admin-code-row button { background: none; border: none; color: var(--rose); cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.admin-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
/* ===== FLAVOUR TABS ===== */
.flavor-tabs__bar { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.flavor-tabs__tab {
  padding: 0.55rem 2rem; border-radius: 50px;
  border: 1px solid var(--line); background: transparent;
  color: var(--text-dim); font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; letter-spacing: 0.01em;
}
.flavor-tabs__tab:hover { border-color: var(--violet); color: var(--text); }
.flavor-tabs__tab[aria-selected="true"] { background: var(--gradient); border-color: transparent; color: #fff; }
.flavor-tabs__panel { display: none; }
.flavor-tabs__panel[aria-hidden="false"] { display: block; }
.flavor-grid--dense { grid-template-columns: repeat(5, 1fr); }
.flavor-card--sm { padding: 1.4rem 1.1rem; }
.flavor-card--sm .flavor-card__art { width: 44px; height: 44px; margin-bottom: 0.7rem; }
.flavor-card--sm h3 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.flavor-card--sm p { font-size: 0.71rem; line-height: 1.45; color: var(--text-dim); margin: 0; }
.flavor-card--iced::after {
  content: "❄";
  position: absolute; top: 0.85rem; right: 1rem;
  font-size: 0.75rem; color: #a8d8f0; opacity: 0.8;
}
@media (max-width: 900px) { .flavor-grid--dense { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .flavor-grid--dense { grid-template-columns: repeat(2, 1fr); } }

/* ===== TRUST BANNER ===== */
.trust-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #080810;
  border-bottom: 1px solid rgba(217, 181, 74, 0.1);
  color: #6e6c7e;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.38rem 1rem;
  text-align: center;
  line-height: 1;
}
.trust-banner__icon { width: 13px; height: 13px; color: #4ade80; flex-shrink: 0; }
.trust-banner__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trust-banner strong { color: var(--gold); font-weight: 700; letter-spacing: 0; }
html:not([data-v-ok])>body>*{visibility:hidden}

.admin-token-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.5rem; }
.admin-token-row label { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-token-row input { font-family: monospace; font-size: 0.85rem; }
.admin-status { margin-top: 1rem; color: var(--gold); font-size: 0.88rem; }
.admin-save-bar {
  position: sticky;
  bottom: 1.5rem;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  z-index: 2;
}
.admin-save-bar .btn {
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.6);
}
.admin-flavor-form { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.admin-flavor-form input[type="text"] { flex: 1; min-width: 160px; padding: 0.7rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: 0.9rem; }
.admin-flavor-form input[type="color"] { width: 44px; height: 40px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); cursor: pointer; }
.admin-flavor-form__image-group { display: flex; align-items: center; gap: 0.6rem; }
.admin-flavor-form__image-preview { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 0.55rem; color: var(--text-dim); text-align: center; flex-shrink: 0; }
.admin-flavor-form__image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-flavor-form__image-group input[type="file"] { width: 150px; color: var(--text-dim); font-size: 0.8rem; }
.admin-flavor-form__image-clear { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 0.78rem; text-decoration: underline; white-space: nowrap; }
.admin-flavor-row__thumb { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.admin-flavor-form__signature { display: flex; align-items: center; gap: 0.4rem; color: var(--text-dim); font-size: 0.85rem; white-space: nowrap; }
.admin-flavor-row__left { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.admin-flavor-row__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.admin-flavor-row__actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.admin-flavor-row__actions button { background: none; border: none; cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.admin-flavor-row__actions button:first-child { color: var(--text-dim); }
.admin-flavor-row__actions button:last-child { color: var(--rose); }

/* ===================== FAQ INLINE LINKS ===================== */
.faq-item a { color: var(--gold); text-decoration: underline; }

/* ===================== VAPOR CANVAS ===================== */
#vapor-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  border-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: 0.9rem; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--text-dim); transition: color 0.2s ease; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.4rem;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 2rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
}
.hero__glow--gold { background: var(--gold); top: -10%; left: -10%; }
.hero__glow--violet { background: var(--violet); bottom: -20%; right: -10%; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 0%, transparent 80%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}
.hero__sub { color: var(--text-dim); font-size: 1.08rem; max-width: 480px; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); }
.hero__stats span { font-size: 0.78rem; color: var(--text-dim); }

.hero__art { display: flex; justify-content: center; }

.device-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  perspective: 1400px;
  padding: 2rem 0;
}
.device-stage__pedestal {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 70%;
  height: 50px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(138,92,246,0.45), transparent 72%);
  filter: blur(18px);
  z-index: 0;
}
.device-stage__orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 120%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.device-stage__orbit--1 { opacity: 0.35; animation: orbit-spin 22s linear infinite; }
.device-stage__orbit--2 { opacity: 0.18; animation: orbit-spin 32s linear infinite reverse; }
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.device-card {
  position: relative;
  max-width: 320px;
  z-index: 1;
  transform-style: preserve-3d;
  animation: turntable 7s ease-in-out infinite;
}
@keyframes turntable {
  0%, 100% { transform: translateY(0) rotateY(-24deg) rotateX(2deg); }
  50% { transform: translateY(-14px) rotateY(24deg) rotateX(-2deg); }
}
.device-photo {
  width: 100%;
  border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 42%, black 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 42%, black 58%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.65));
}
.device-card__badge {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #0a0a0d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -6px rgba(138,92,246,0.6);
}

/* ===================== DISPLAY SHOWCASE ===================== */
.display-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.display-showcase__copy h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 0.9rem 0 1.1rem; }
.display-showcase__copy p { color: var(--text-dim); margin-bottom: 1.4rem; }
.display-showcase__list { display: flex; flex-direction: column; gap: 0.8rem; color: var(--text-dim); font-size: 0.95rem; }
.display-showcase__list strong { color: var(--text); }

.display-mock { display: flex; justify-content: center; }
.display-mock__screen {
  position: relative;
  width: 260px;
  height: 320px;
  background: radial-gradient(circle at 30% 20%, #1a1428 0%, #050507 70%);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(138, 92, 246, 0.35), inset 0 0 40px rgba(0,0,0,0.6);
}
.display-mock__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, #fff, transparent),
    radial-gradient(1px 1px at 85% 35%, #fff, transparent),
    radial-gradient(1px 1px at 30% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 75%, #fff, transparent),
    radial-gradient(1px 1px at 15% 85%, #fff, transparent);
  opacity: 0.5;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.7; } }
.display-mock__astronaut {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 96px;
  transform: translateX(-50%);
  animation: drift 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(138,92,246,0.5));
}
@keyframes drift {
  0%, 100% { transform: translate(-50%, 0) rotate(-2deg); }
  50% { transform: translate(-50%, -10px) rotate(2deg); }
}
.display-mock__modes {
  position: absolute;
  left: 0; right: 0;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #6e6c7a;
}
.display-mock__modes .is-active { color: #ffd23f; }
.display-mock__battery {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

/* ===================== AI CHIP ===================== */
.ai-chip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.ai-chip__copy h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 0.9rem 0 1.1rem; }
.ai-chip__copy p { color: var(--text-dim); margin-bottom: 1.4rem; }
.ai-chip__list { display: flex; flex-direction: column; gap: 0.9rem; color: var(--text-dim); font-size: 0.95rem; }
.ai-chip__list strong { color: var(--text); }

.ai-chip__art { position: relative; display: flex; justify-content: center; }
.ai-chip__glow {
  position: absolute;
  width: 260px; height: 260px;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.3;
  border-radius: 50%;
}
.ai-chip__svg {
  width: 220px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(138,92,246,0.35));
  animation: chip-pulse 4s ease-in-out infinite;
}
@keyframes chip-pulse {
  0%, 100% { filter: drop-shadow(0 20px 40px rgba(138,92,246,0.35)); }
  50% { filter: drop-shadow(0 20px 50px rgba(217,181,74,0.5)); }
}

.marquee {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== SECTION SHARED ===================== */
section { position: relative; z-index: 1; padding: 7rem 1.5rem; max-width: var(--container); margin: 0 auto; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--text-dim); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== FLAVORS ===================== */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.flavor-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  color: var(--accent);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.flavor-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, var(--accent) 0%, transparent 60%);
  opacity: 0.08;
  pointer-events: none;
}
.flavor-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px var(--accent);
}
.flavor-card__art { width: 64px; height: 64px; margin-bottom: 1.2rem; }
.flavor-card__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.flavor-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--text); }
.flavor-card p { color: var(--text-dim); font-size: 0.92rem; }
.flavor-card--signature { border-color: var(--gold); }
.flavor-card__tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.25rem 0.6rem;
}

/* ===================== TECH ===================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.tech-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem 1.7rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.tech-card:hover { transform: translateY(-4px); border-color: var(--violet); }
.tech-card__icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.2rem; }
.tech-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tech-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ===================== STORY ===================== */
.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.story__art { position: relative; display: flex; justify-content: center; }
.story__glow {
  position: absolute;
  width: 280px; height: 280px;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.3;
  border-radius: 50%;
}
.story__svg { width: 280px; position: relative; z-index: 1; }
.story__copy h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin: 0.9rem 0 1.2rem; }
.story__copy p { color: var(--text-dim); margin-bottom: 1.1rem; }
.story__list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.6rem; }
.story__list div { display: flex; align-items: center; gap: 0.9rem; font-weight: 600; }
.story__list span {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===================== FAQ ===================== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-dim); margin-top: 0.8rem; font-size: 0.92rem; }

/* ===================== CTA ===================== */
.cta {
  text-align: center;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  border: 1px solid var(--line);
}
.cta__inner { max-width: 520px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin-bottom: 0.8rem; }
.cta p { color: var(--text-dim); margin-bottom: 1.8rem; }
.cta__form { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.cta__form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
}
.cta__form input:focus { outline: none; border-color: var(--gold); }
.cta__success { color: var(--gold); margin-top: 1rem; font-weight: 600; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem 2rem; position: relative; z-index: 1; }
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 2rem; font-size: 0.88rem; color: var(--text-dim); }
.footer__links a:hover { color: var(--text); }
.footer__legal { font-size: 0.78rem; color: #6b6973; line-height: 1.7; max-width: 760px; }
.footer__legal .warning { color: #c9a98a; font-weight: 600; margin-bottom: 0.5rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__art { order: -1; }
  .story { grid-template-columns: 1fr; text-align: center; }
  .story__list div { justify-content: center; }
  .display-showcase { grid-template-columns: 1fr; text-align: center; }
  .display-showcase__list { text-align: left; max-width: 360px; margin: 0 auto; }
  .ai-chip { grid-template-columns: 1fr; text-align: center; }
  .ai-chip__list { text-align: left; max-width: 360px; margin: 0 auto; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--bg-soft);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .nav__links[data-open="true"] { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 101; }
  .flavor-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  section { padding: 4.5rem 1.2rem; }
  .admin-panel__head { flex-direction: column; }
  .admin-code-form { flex-direction: column; }
  .admin-code-form input { min-width: 0; }
}

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

/* ===== AUTHENTICITY PAGE ===== */
.verify-hint { font-size: 0.78rem; color: var(--text-dim); margin: 0.5rem 0 0; }

/* ===== CONTACT PAGE ===== */
.contact-card { max-width: 520px; }
.contact-methods { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.8rem; width: 100%; }
.contact-method {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.15rem 1.4rem;
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s ease, transform 0.18s ease, background 0.2s ease;
}
.contact-method:hover { border-color: var(--violet); transform: translateY(-2px); background: rgba(138,92,246,0.06); }
.contact-method--channel:hover { border-color: var(--gold); background: rgba(217,181,74,0.06); }
.contact-method__icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--violet); }
.contact-method--channel .contact-method__icon { color: var(--gold); }
.contact-method__body { flex: 1; min-width: 0; }
.contact-method__body h3 { font-size: 0.97rem; margin: 0 0 0.18rem; }
.contact-method__body span { font-size: 0.82rem; color: var(--text-dim); }
.contact-method__arrow { width: 20px; height: 20px; color: var(--text-dim); flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.contact-method:hover .contact-method__arrow { color: var(--violet); transform: translateX(3px); }
.contact-method--channel:hover .contact-method__arrow { color: var(--gold); }
