/* ===== Design tokens — Big Auction Warehouse palette ===== */
:root {
  --jade-dark: #001f3f;
  --jade-secondary: #00285c;
  --fortune-purple: #1a0033;
  --zen-blue: #007aff;
  --lucky-gold: #ffd700;
  --lucky-gold-orange: #ffcc00;
  --neko-white: #e8eeff;
  --card-surface: #301952;
  --fortune-pink: #3366ff;
  --imperial-red: #ff3b30;

  --bg: var(--jade-dark);
  --bg-soft: #001833;
  --card: var(--card-surface);
  --ink: var(--neko-white);
  --ink-soft: rgba(232, 238, 255, 0.72);
  --line: rgba(232, 238, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  --gold-grad: linear-gradient(135deg, var(--lucky-gold), var(--lucky-gold-orange));
  --bg-grad: linear-gradient(135deg, var(--jade-dark), var(--jade-secondary), var(--fortune-purple));
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg-grad);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ===== Ambient glow ===== */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-glow__orb--blue {
  width: 55vw;
  height: 55vw;
  background: rgba(0, 122, 255, 0.12);
  top: -10%;
  right: 10%;
}

.bg-glow__orb--purple {
  width: 45vw;
  height: 45vw;
  background: rgba(26, 0, 51, 0.45);
  bottom: 10%;
  left: -10%;
}

.bg-glow__orb--gold {
  width: 30vw;
  height: 30vw;
  background: rgba(255, 215, 0, 0.05);
  bottom: 20%;
  right: 15%;
}

.nav, .hero, .section, .footer { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lucky-gold);
  background: rgba(48, 25, 82, 0.7);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.eyebrow--center { display: block; width: fit-content; margin: 0 auto 22px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(0, 31, 63, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--neko-white);
}

.brand__logo { filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.35)); }

.nav__links { display: flex; gap: 28px; }

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--lucky-gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--neko-white);
  border-radius: 2px;
  transition: 0.25s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold-grad);
  color: #1a0033;
  box-shadow: 0 8px 28px -8px rgba(255, 215, 0, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px rgba(255, 215, 0, 0.65);
}

.btn--ghost {
  background: transparent;
  color: var(--neko-white);
  border: 1px solid rgba(232, 238, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(48, 25, 82, 0.5);
  border-color: var(--lucky-gold);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  padding: 72px 0 84px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  margin: 20px 0 18px;
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.stats {
  list-style: none;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stats li { display: flex; flex-direction: column; }

.stats strong {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span { font-size: 13px; color: var(--ink-soft); }

/* ===== Phone mockup ===== */
.hero__device { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 270px;
  height: 552px;
  background: #0a1628;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 215, 0, 0.08);
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0a1628;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #001f3f, #1a0033);
  border-radius: 32px;
  overflow: hidden;
}

.mini { padding: 40px 16px 16px; }

.mini__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.mini__title {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--zen-blue);
}

.mini__balance {
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mini__stat {
  background: rgba(48, 25, 82, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.mini__stat b {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  color: var(--lucky-gold);
}

.mini__stat span { font-size: 11px; color: var(--ink-soft); }

.mini__event {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 10px;
}

.mini__event b { display: block; font-size: 12px; font-weight: 600; }
.mini__event i { font-size: 11px; color: var(--ink-soft); font-style: normal; }

.mini__row {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(48, 25, 82, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  margin-bottom: 8px;
}

.mini__row b { display: block; font-size: 12px; font-weight: 600; }
.mini__row i { font-size: 11px; color: var(--ink-soft); font-style: normal; }

/* ===== Sections ===== */
.section { padding: 88px 0; }

.section--demo { background: rgba(0, 24, 51, 0.55); }
.section--about { background: rgba(26, 0, 51, 0.25); }
.section--privacy { background: transparent; }
.section--contact { background: rgba(0, 24, 51, 0.45); }

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
}

.section__intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* ===== Feature cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(48, 25, 82, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 215, 0, 0.2);
}

.card__img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.card__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.card__num {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--zen-blue);
}

.card h3 {
  font-size: 19px;
  margin: 8px 0 8px;
}

.card p { font-size: 15px; color: var(--ink-soft); }

/* ===== Demo ===== */
.demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.demo__stage {
  background: rgba(48, 25, 82, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.demo__panel {
  background: rgba(48, 25, 82, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.demo__desc { color: var(--ink-soft); min-height: 72px; font-size: 15px; }

.demo__params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.param {
  background: rgba(0, 31, 63, 0.6);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.param span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.param b {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  color: var(--lucky-gold);
}

.demo__slider {
  width: 100%;
  margin: 6px 0 4px;
  accent-color: var(--lucky-gold);
  height: 6px;
  cursor: pointer;
}

.demo__track {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.demo__score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo__score > span {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.bar {
  flex: 1;
  height: 8px;
  background: rgba(0, 31, 63, 0.8);
  border-radius: 999px;
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.demo__score b {
  font-family: "Outfit", sans-serif;
  color: var(--lucky-gold);
  min-width: 42px;
  text-align: right;
}

.demo__note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 16px;
  font-style: italic;
}

.demo__stagelabel { text-align: center; margin-top: 22px; }

.demo__stagelabel b {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  color: var(--neko-white);
  display: block;
}

.demo__stagelabel i {
  font-size: 12px;
  color: var(--ink-soft);
  font-style: normal;
}

/* Lot visual animation */
.lot-visual {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lot-visual__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

.lot-visual__spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lucky-gold);
  opacity: 0;
  transition: opacity 0.4s;
}

.lot-visual__spark--1 { top: 20%; left: 15%; }
.lot-visual__spark--2 { top: 30%; right: 12%; }
.lot-visual__spark--3 { bottom: 25%; left: 40%; }

.lot-visual__profit {
  position: absolute;
  bottom: -8px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--lucky-gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.lot-visual[data-stage="0"] .lot-visual__icon { transform: scale(1); }
.lot-visual[data-stage="1"] .lot-visual__icon { transform: scale(1.05) rotate(-3deg); }
.lot-visual[data-stage="2"] .lot-visual__icon { transform: scale(1.12); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.45)); }
.lot-visual[data-stage="3"] .lot-visual__icon { transform: scale(0.9); }
.lot-visual[data-stage="4"] .lot-visual__icon { width: 80px; height: 80px; }
.lot-visual[data-stage="5"] .lot-visual__icon { width: 72px; height: 72px; }

.lot-visual[data-stage="2"] .lot-visual__spark,
.lot-visual[data-stage="5"] .lot-visual__spark { opacity: 1; animation: pulse 1.2s ease-in-out infinite; }

.lot-visual[data-stage="5"] .lot-visual__profit {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* ===== About ===== */
.about { display: flex; flex-direction: column; gap: 20px; }

.about p {
  font-size: 17px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__tagline {
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 36px;
}

/* ===== Privacy ===== */
.privacy__date {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 36px;
}

.privacy {
  list-style: none;
  counter-reset: p;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.privacy li {
  counter-increment: p;
  background: rgba(48, 25, 82, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.privacy li::before {
  content: "0" counter(p);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--zen-blue);
}

.privacy h3 { font-size: 18px; margin: 4px 0 6px; }

.privacy p { font-size: 15px; color: var(--ink-soft); }

.privacy a {
  color: var(--lucky-gold);
  text-decoration: underline;
}

/* ===== Contact ===== */
.contact__reply {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 32px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact__card {
  background: rgba(48, 25, 82, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 215, 0, 0.25);
}

.contact__card span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
}

.contact__card b {
  font-size: 14px;
  color: var(--lucky-gold);
  word-break: break-all;
}

/* ===== Footer ===== */
.footer {
  background: rgba(0, 10, 24, 0.85);
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.brand--footer { color: var(--neko-white); }

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--lucky-gold); }

.footer__copy { font-size: 13px; color: rgba(232, 238, 255, 0.45); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__device { order: 1; }
  .lead { margin-inline: auto; }
  .hero__cta, .stats { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 31, 63, 0.96);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav__links.open { max-height: 320px; }

  .nav__links a {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }

  .nav__burger { display: flex; }

  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .brand span { font-size: 15px; }
}
