/* ==========================================================
   VaultHunter — single-page app download site
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:root {
  --bg: #0a0806;
  --text: #f4efe4;
  --muted: #a89e8d;
  --muted2: #6f685d;
  --gold: #d9b45b;
  --gold-light: #f7e6b0;
  --line: rgba(217,180,91,.18);
  --grad: linear-gradient(115deg, #a97c23 0%, #f3dfa0 26%, #d4af37 50%, #fff6d6 70%, #b8892b 100%);
}

#dust { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(800px 520px at 72% 26%, rgba(212,175,55,.10), transparent 62%),
              radial-gradient(700px 500px at 6% 78%, rgba(154,116,31,.07), transparent 60%);
}
.skip { position: absolute; left: -9999px; top: 12px; z-index: 99; background: var(--gold); color: #1a1306; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- NAV ---------- */
.nav {
  max-width: 1160px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); }
.nav nav { display: flex; gap: 30px; }
.nav nav a { font-size: 13px; color: var(--muted); font-weight: 500; transition: color .3s; }
.nav nav a:hover { color: var(--gold-light); }
.nav-cta {
  padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #1c1405;
  background: var(--grad); background-size: 200% 100%; animation: flow 8s ease infinite;
  box-shadow: 0 8px 24px -10px rgba(212,175,55,.6);
}
@keyframes flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- HERO ---------- */
.hero {
  max-width: 1160px; margin: 0 auto; padding: 70px 24px 120px;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(217,180,91,.06); color: var(--gold-light);
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 3px rgba(212,175,55,.6); }

h1, h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: -.015em; }
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 5rem); line-height: 1.02; margin: 24px 0 22px; }
h1 em, h2 em {
  font-style: italic;
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 9s ease infinite;
}
.lead { max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0 0 32px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 13px;
  background: linear-gradient(160deg, rgba(217,180,91,.09), rgba(255,255,255,.02));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.store-btn:hover { transform: translateY(-3px); border-color: rgba(217,180,91,.55); box-shadow: 0 18px 40px -18px rgba(212,175,55,.5); }
.store-btn svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-text small { font-size: 9px; letter-spacing: .14em; color: var(--muted2); }
.store-text strong { font-size: 14px; font-weight: 600; }

.assurances { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted2); font-size: 12px; }
.assurances li { display: flex; align-items: center; gap: 7px; }
.assurances svg { width: 16px; height: 16px; color: var(--gold-deep, #9a741f); }

/* ---------- DEVICE SHOWCASE ---------- */
.showcase { position: relative; height: 470px; display: grid; place-items: center; }
.halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.16), transparent 68%); filter: blur(10px); }
.desktop {
  position: absolute; width: 470px; top: 28px; left: 50%; transform: translateX(-58%) perspective(1200px) rotateY(-11deg) rotateX(3deg);
  border: 1px solid rgba(217,180,91,.28); border-radius: 14px; overflow: hidden;
  background: #14110d; box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 60px -30px rgba(212,175,55,.4);
}
.desktop-bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; background: rgba(255,255,255,.035); border-bottom: 1px solid var(--line); }
.desktop-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); }
.desktop-bar i:first-child { background: rgba(212,175,55,.7); }
.desktop-bar span { margin-left: auto; font-size: 9px; color: var(--muted2); letter-spacing: .06em; }
.desktop-body { display: grid; grid-template-columns: 74px 1fr; min-height: 290px; }
.d-side { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 13px; }
.d-logo { color: var(--gold); font-size: 15px; }
.d-line { height: 5px; border-radius: 4px; background: rgba(217,180,91,.13); }
.d-line.short { width: 65%; }
.d-main { padding: 18px 20px; }
.d-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.d-chip { font-size: 8px; color: var(--gold); border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; letter-spacing: .1em; }
.d-balance { margin: 18px 0 14px; display: flex; flex-direction: column; }
.d-balance small { font-size: 9px; color: var(--muted2); letter-spacing: .1em; }
.d-balance strong { font-family: 'Cormorant Garamond', serif; font-size: 29px; font-weight: 600; color: var(--gold-light); }
.d-up { font-size: 9px; color: #6fbf8a; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(212,175,55,.75), rgba(212,175,55,.08)); }
.d-rows { display: grid; gap: 8px; margin-top: 14px; }
.d-rows span { height: 7px; border-radius: 4px; background: rgba(255,255,255,.05); }
.d-rows span:nth-child(2) { width: 88%; }
.d-rows span:nth-child(3) { width: 70%; }

.phone {
  position: absolute; width: 218px; height: 424px; bottom: -6px; right: 50%; transform: translateX(38%) rotate(4deg);
  border: 2px solid rgba(217,180,91,.45); border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #17130e, #0d0b08);
  box-shadow: 0 45px 80px -25px rgba(0,0,0,.95), 0 0 45px -18px rgba(212,175,55,.55), inset 0 0 0 5px rgba(0,0,0,.5);
}
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 66px; height: 14px; border-radius: 10px; background: #050403; z-index: 2; }
.p-head { display: flex; align-items: center; gap: 7px; padding: 30px 14px 10px; font-size: 10px; font-weight: 600; }
.p-logo { color: var(--gold); font-size: 12px; }
.p-dot { width: 5px; height: 5px; border-radius: 50%; background: #6fbf8a; margin-left: auto; }
.p-card { margin: 6px 13px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(217,180,91,.12), transparent); display: flex; flex-direction: column; }
.p-card small { font-size: 7px; letter-spacing: .14em; color: var(--muted2); }
.p-card strong { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-light); font-weight: 600; }
.p-card span { font-size: 8px; color: #6fbf8a; }
.p-coins { display: grid; gap: 7px; padding: 0 13px; }
.p-coins > div { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.05); border-radius: 9px; background: rgba(255,255,255,.02); }
.p-coins i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-style: normal; font-weight: 700; color: #1c1405; }
.p-coins .c1 { background: #f7931a; } .p-coins .c2 { background: #a9b7d8; } .p-coins .c3 { background: #7ed6c4; }
.p-coins b { display: block; font-size: 9px; }
.p-coins em { display: block; font-size: 8px; color: var(--muted2); font-style: normal; }
.p-coins small { margin-left: auto; font-size: 8px; color: #6fbf8a; }
.p-tabbar { position: absolute; bottom: 12px; left: 22px; right: 22px; display: flex; justify-content: space-around; }
.p-tabbar i { width: 20px; height: 4px; border-radius: 4px; background: rgba(217,180,91,.25); }
.p-tabbar i:first-child { background: var(--gold); }

/* ---------- FEATURES ---------- */
.features { max-width: 1160px; margin: 0 auto; padding: 40px 24px 110px; }
.features-head { text-align: center; margin-bottom: 52px; }
.kicker { font-size: 10px; letter-spacing: .3em; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.features h2, .download h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.1; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.022); transition: transform .3s, border-color .3s, background .3s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(217,180,91,.5); background: rgba(217,180,91,.05); }
.fi { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--gold); background: rgba(217,180,91,.08); margin-bottom: 18px; }
.fi svg { width: 22px; height: 22px; }
.feature h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; margin: 0 0 7px; }
.feature p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- DOWNLOAD ---------- */
.download { max-width: 1160px; margin: 0 auto; padding: 20px 24px 110px; }
.download-head { text-align: center; margin-bottom: 44px; }
.download-head p:not(.kicker) { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(150deg, rgba(217,180,91,.06), transparent 55%), rgba(255,255,255,.022);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.dl-card:hover { border-color: rgba(217,180,91,.5); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(212,175,55,.35); }
.dl-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line); background: rgba(217,180,91,.09); color: var(--gold); }
.dl-icon svg { width: 27px; height: 27px; }
.dl-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; margin: 0; }
.dl-info p { margin: 2px 0 6px; font-size: 12px; color: var(--muted); }
.meta { font-size: 10px; letter-spacing: .08em; color: var(--muted2); }
.dl-btn {
  padding: 11px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #1c1405; white-space: nowrap;
  background: var(--grad); background-size: 200% 100%; animation: flow 8s ease infinite;
  box-shadow: 0 10px 24px -12px rgba(212,175,55,.7);
  transition: transform .3s, box-shadow .3s;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(212,175,55,.8); }
.fineprint { text-align: center; margin: 36px 0 0; font-size: 11px; color: var(--muted2); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(217,180,91,.12); background: rgba(0,0,0,.28); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand img { width: 28px; height: 28px; }
.footer-inner p { margin: 0; font-size: 11px; color: var(--muted2); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.feature-grid .reveal:nth-child(2) { transition-delay: .07s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .14s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .21s; }
.download-grid .reveal:nth-child(2) { transition-delay: .12s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .showcase { height: 420px; }
  .desktop { transform: translateX(-50%) perspective(1200px) rotateY(-7deg) scale(.9); }
  .phone { transform: translateX(45%) rotate(4deg) scale(.9); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav { padding: 14px 16px; }
  .nav nav { display: none; }
  .nav-cta { padding: 9px 14px; }
  .hero { padding: 30px 20px 80px; }
  .hero h1 { font-size: 2.9rem; }
  .showcase { height: 360px; transform: scale(.82); }
  .features, .download { padding-inline: 20px; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: auto 1fr; }
  .dl-btn { grid-column: 1 / -1; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
