/* ═══════════════════════════════════════════════════════
   DigClue — Design System v2  |  Video-first, Glassmorphism
   ═══════════════════════════════════════════════════════ */
:root {
  --ink:      #eef7ff;
  --muted:    rgba(210,235,255,.72);
  --gold:     #ffd84a;
  --gold-lt:  #fff3a0;
  --gold-dk:  #ff9f1c;
  --blue:     #0b67ff;
  --purple:   #7c3aed;
  --cyan:     #6debff;
  --glass:    rgba(6,14,54,.52);
  --glass-hv: rgba(8,20,70,.68);
  --border:   rgba(255,216,74,.22);
  --border-bright: rgba(255,216,74,.55);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #04081f;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── VIDEO BACKGROUND LAYER ───────────────────────────── */
.video-bg {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
/* dark overlay so content is always readable */
.video-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(4,8,31,.35) 0%,
    rgba(4,8,31,.25) 40%,
    rgba(4,8,31,.45) 100%);
}

/* ── GLASS UTILITY ────────────────────────────────────── */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-strong {
  background: rgba(4,10,46,.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-family: inherit; font-weight: 800; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), var(--gold-dk));
  color: #1a0900; box-shadow: 0 8px 28px rgba(255,158,28,.35);
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; box-shadow: 0 8px 28px rgba(11,103,255,.3);
}
.btn-glass {
  background: var(--glass); color: var(--ink);
  border: 1.5px solid var(--border-bright);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: var(--glass-hv); border-color: var(--gold); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
h1 { font-size: clamp(46px,7.5vw,96px); line-height:.92; letter-spacing:-.05em; }
h2 { font-size: clamp(30px,5vw,58px); line-height:1; letter-spacing:-.04em; }
h3 { font-size: clamp(18px,2.5vw,24px); font-weight: 800; }
.lead {
  font-size: clamp(15px,1.8vw,19px); color: var(--muted);
  font-weight: 600; line-height: 1.65;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #a78bfa 45%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 min(5vw, 60px);
  background: rgba(4,8,31,.55);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ── PAGE WRAPPER ─────────────────────────────────────── */
.page { position: relative; z-index: 1; }
.pt-nav { padding-top: 70px; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px min(5vw,60px) 20px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,216,74,.12); border: 1px solid rgba(255,216,74,.35);
  padding: 7px 20px; border-radius: 999px;
  font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero h1 { margin-bottom: 22px; max-width: 950px; }
.hero .lead { max-width: 580px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; opacity: .8; }

/* Mascot sidepanels */
.hero-sides {
  position: absolute; inset: 70px 0 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3vw; pointer-events: none;
}
.side-panel {
  width: clamp(130px,14vw,200px);
  padding: 20px 16px; border-radius: var(--r-xl);
  text-align: center; pointer-events: auto;
}
.side-panel .robot-img {
  width: 80px; height: 80px; object-fit: contain; margin: 0 auto 10px;
  filter: drop-shadow(0 0 20px rgba(109,235,255,.5));
}
.side-panel h4 { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.side-panel p  { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.4; }

/* ── FEATURE STRIP ────────────────────────────────────── */
.feat-strip { padding: 0 min(5vw,60px) 30px; position: relative; z-index: 1; }
.feat-strip-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 12px;
  max-width: 1280px; margin: 0 auto;
}
.feat-strip-card {
  padding: 18px 14px; border-radius: var(--r-lg);
  text-align: center; cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.feat-strip-card:hover { transform: translateY(-5px); border-color: var(--border-bright); }
.fsc-icon { font-size: 26px; margin-bottom: 8px; }
.fsc-icon img { width: 28px; height: 28px; object-fit: contain; margin: 0 auto; }
.feat-strip-card h4 { font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.feat-strip-card p  { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.fsc-tag { font-size: 10px; font-weight: 800; color: var(--gold); }

/* ── BELT STRIP ───────────────────────────────────────── */
.belt-strip {
  padding: 30px min(5vw,60px);
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.belt-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.belt-label { min-width: 200px; }
.belt-label strong { color: var(--gold); display: block; font-size: 16px; margin-bottom: 4px; }
.belt-label span { font-size: 13px; color: var(--muted); font-weight: 600; }
.belts-row { display: flex; align-items: center; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.belts-row::-webkit-scrollbar { display: none; }
.belt-item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.belt-item img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); transition: transform .2s; }
.belt-item img:hover { transform: scale(1.2) translateY(-4px); }
.belt-item span { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.belt-dot { width: 24px; height: 2px; background: linear-gradient(90deg,rgba(255,216,74,.2),rgba(255,216,74,.5),rgba(255,216,74,.2)); flex-shrink: 0; margin-bottom: 22px; }

/* ── TRUST BAR ────────────────────────────────────────── */
.trust-bar {
  padding: 24px min(5vw,60px);
  position: relative; z-index: 1;
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5,1fr); gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 24px; flex-shrink: 0; }
.trust-item h5 { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.trust-item p  { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ── SECTION WRAPPER ──────────────────────────────────── */
.section { padding: 80px min(5vw,60px); position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { margin-bottom: 16px; }

/* ── FEATURE CARDS GRID ───────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.feat-grid-2 { grid-template-columns: repeat(2,1fr); max-width: 820px; }
.feat-card {
  padding: 28px; border-radius: var(--r-xl);
  transition: transform .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--border-bright); }
.feat-card::after {
  content:''; position:absolute; top:-60px; right:-60px;
  width:160px; height:160px; border-radius:50%;
  background: radial-gradient(circle, var(--card-accent,rgba(11,103,255,.15)), transparent 70%);
  pointer-events:none;
}
.feat-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--icon-a,#0b67ff), var(--icon-b,#7c3aed));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feat-icon img { width: 32px; height: 32px; object-fit: contain; }
.feat-card h3 { margin-bottom: 10px; }
.feat-card p  { color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.6; margin-bottom: 14px; }
.feat-link { font-size: 13px; font-weight: 800; color: var(--gold); }

/* ── HOW TO PLAY ──────────────────────────────────────── */
.steps-row {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 0; max-width: 1100px; margin: 0 auto;
  position: relative;
}
.steps-row::before {
  content:''; position:absolute; top:39px; left:8%; right:8%; height:2px;
  background: linear-gradient(90deg, transparent, rgba(255,216,74,.5), var(--gold), rgba(255,216,74,.5), transparent);
}
.step-item { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 12px; }
.step-num {
  width: 80px; height: 80px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: 3px solid rgba(255,216,74,.5);
  display: flex; align-items:center; justify-content:center;
  font-size: 28px; font-weight: 900;
  box-shadow: 0 0 28px rgba(124,58,237,.4);
  margin-bottom: 18px; position:relative; z-index:1;
}
.step-item h3 { margin-bottom:8px; }
.step-item p  { font-size:14px; color:var(--muted); font-weight:600; line-height:1.5; }

/* ── PLANS ────────────────────────────────────────────── */
.plans-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:980px; margin:0 auto; }
.plan-card {
  padding: 32px 26px; border-radius: var(--r-xl);
  display:flex; flex-direction:column;
  position:relative; overflow:hidden;
  transition: transform .22s, box-shadow .22s;
}
.plan-card:hover { transform:translateY(-6px); }
.plan-card.featured { border-color: var(--gold); box-shadow:0 0 60px rgba(255,216,74,.12); }
.plan-badge {
  position:absolute; top:-1px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,var(--gold),var(--gold-dk));
  color:#1a0900; font-size:10px; font-weight:900; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 20px; border-radius:0 0 12px 12px;
}
.plan-name   { font-size:12px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.plan-price  { font-size:50px; font-weight:900; letter-spacing:-.04em; line-height:1; margin-bottom:4px; }
.plan-price sup { font-size:22px; vertical-align:top; margin-top:8px; }
.plan-period { font-size:13px; color:var(--muted); font-weight:600; margin-bottom:24px; }
.plan-feats  { list-style:none; flex:1; margin-bottom:26px; }
.plan-feats li { padding:9px 0; border-bottom:1px solid rgba(255,255,255,.06); font-size:14px; font-weight:600; display:flex; gap:10px; align-items:center; }
.plan-feats li:last-child { border:none; }

/* ── AVATAR GRID ──────────────────────────────────────── */
.avatar-grid { display:grid; grid-template-columns:repeat(8,1fr); gap:10px; max-width:480px; margin:0 auto; }
.av-item {
  width:52px; height:52px; border-radius:50%; overflow:hidden;
  border:2px solid transparent; cursor:pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.av-item img { width:100%; height:100%; object-fit:cover; }
.av-item:hover { transform:scale(1.12); border-color: var(--gold); box-shadow:0 0 14px rgba(255,216,74,.4); }
.av-item.selected { border-color:var(--gold); box-shadow:0 0 18px rgba(255,216,74,.6); transform:scale(1.12); }

/* ── AUTH FORMS ───────────────────────────────────────── */
.input-field {
  width:100%; padding:14px 18px; border-radius:14px;
  border:1px solid rgba(255,216,74,.3);
  background:rgba(255,255,255,.08);
  color:var(--ink); font-family:inherit; font-weight:700; font-size:15px;
  outline:none; transition:border-color .18s, background .18s;
  backdrop-filter: blur(8px);
}
.input-field::placeholder { color:rgba(200,230,255,.45); font-weight:600; }
.input-field:focus { border-color:var(--gold); background:rgba(255,255,255,.11); }
.input-field[type="date"]::-webkit-calendar-picker-indicator { filter:invert(.8); }

/* ── CTA BANNER ───────────────────────────────────────── */
.cta-banner { padding:80px min(5vw,60px); text-align:center; position:relative; z-index:1; }
.cta-inner {
  max-width:860px; margin:0 auto; padding:60px 48px; border-radius:40px;
  position:relative; overflow:hidden;
}
.cta-inner::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 0%, rgba(255,216,74,.08), transparent 65%);
  pointer-events:none;
}
.cta-inner h2 { margin-bottom:16px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:30px; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer { padding:48px min(5vw,60px) 28px; position:relative; z-index:1; border-top:1px solid var(--border); }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; }
.footer-brand p { color:var(--muted); font-size:14px; font-weight:600; line-height:1.6; margin:12px 0 20px; }
.footer-col h5 { font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
.footer-col a  { display:block; color:var(--muted); font-size:14px; font-weight:600; margin-bottom:10px; transition:color .18s; }
.footer-col a:hover { color:var(--ink); }
.footer-bottom { max-width:1200px; margin:32px auto 0; padding-top:24px; border-top:1px solid rgba(255,255,255,.06); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--muted); font-weight:600; }

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float { animation: float 4s ease-in-out infinite; }
.float-d1 { animation-delay:.6s; }
.float-d2 { animation-delay:1.2s; }

@keyframes shimmer {
  0%  { background-position:-200% center; }
  100%{ background-position:200% center; }
}
.shimmer {
  background:linear-gradient(90deg, var(--gold) 0%, #fff 45%, var(--gold) 85%);
  background-size:200% auto;
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  animation: shimmer 3.5s linear infinite;
}

@keyframes pulse-ring {
  0%  { box-shadow:0 0 0 0 rgba(255,216,74,.45), 0 8px 28px rgba(255,158,28,.35); }
  70% { box-shadow:0 0 0 14px rgba(255,216,74,0), 0 8px 28px rgba(255,158,28,.35); }
  100%{ box-shadow:0 0 0 0 rgba(255,216,74,0),   0 8px 28px rgba(255,158,28,.35); }
}
.pulse { animation: pulse-ring 2.2s ease-out infinite; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width:1200px) {
  .feat-strip-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px) {
  .nav-links { display:none; }
  .hero-sides { display:none; }
  .feat-strip-grid { grid-template-columns:repeat(2,1fr); }
  .feat-grid { grid-template-columns:1fr; }
  .feat-grid-2 { grid-template-columns:1fr; }
  .steps-row { grid-template-columns:1fr; }
  .steps-row::before { display:none; }
  .plans-grid { grid-template-columns:1fr; max-width:400px; }
  .trust-bar-inner { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .cta-inner { padding:40px 24px; }
  .avatar-grid { grid-template-columns:repeat(6,1fr); }
}
@media (max-width:540px) {
  .feat-strip-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .trust-bar-inner { grid-template-columns:1fr; }
  .avatar-grid { grid-template-columns:repeat(5,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  .float, .shimmer, .pulse, * { animation:none !important; transition:none !important; }
}
