/* ==========================================================================
   NexPay - Official Web3 Visa Platinum Card
   Design System & Styling matching BitNex NXRT Gold Standard
   ========================================================================== */

:root {
  /* Color Palette - BitNex Gold Theme */
  --background: #111215;
  --foreground: #f4f5f7;
  --card: #17181c;
  --card-foreground: #f4f5f7;
  --popover: #1a1b20;
  --popover-foreground: #f4f5f7;
  
  --primary: #f5b70a;
  --primary-deep: #c98f00;
  --primary-foreground: #141414;
  
  --secondary: #1e1f24;
  --secondary-foreground: #f4f5f7;
  --muted: #1e1f24;
  --muted-foreground: #8e9199;
  
  --border: #26282d;
  --line: #2a2c31;
  --line-soft: #222429;
  
  /* Gold System Tokens */
  --gold: #f5b70a;
  --gold-text: #f5b70a;
  --gold-deep: #c98f00;
  --gold-light: #ffd46b;
  --gold-soft: rgba(245, 183, 10, 0.14);
  --gold-wash: rgba(245, 183, 10, 0.1);
  --gold-edge: rgba(245, 183, 10, 0.28);
  --gold-hi: rgba(245, 183, 10, 0.34);
  --gold-glow: rgba(245, 183, 10, 0.22);
  --on-gold: #141414;
  
  /* Status Colors */
  --up: #20c27c;
  --up-soft: rgba(32, 194, 124, 0.12);
  --down: #f2495c;
  --down-soft: rgba(242, 73, 92, 0.12);
  
  /* Surface Tokens */
  --raised: #1e1f24;
  --tile: #141519;
  --sunken: #0f1013;
  --icon-tile: #23252a;
  --two-tone: #a3a6ad;
  --overlay: rgba(0, 0, 0, 0.72);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', 'SF Mono', monospace;

  /* Card Specs */
  --card-radius: 4.4% / 7%;
  --card-aspect: 1520 / 958;

  /* Container */
  --container-max: 1240px;
  --header-height: 74px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--foreground);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 183, 10, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(245, 183, 10, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.gold-text {
  color: var(--gold-text);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff7db 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono-num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
}

/* Chip / Badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.chip-gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-edge);
}

.chip-solidgold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--on-gold);
  box-shadow: 0 2px 10px rgba(245, 183, 10, 0.3);
}

.chip-green {
  background: var(--up-soft);
  color: var(--up);
  border: 1px solid rgba(32, 194, 124, 0.3);
}

.chip-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd46b 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: var(--on-gold);
  box-shadow: 0 4px 20px rgba(245, 183, 10, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover {
  box-shadow: 0 6px 28px rgba(245, 183, 10, 0.5);
  transform: translateY(-2px);
}

.btn-gold:hover::after {
  left: 100%;
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--line);
  border-color: var(--gold-edge);
  color: var(--gold-text);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 16px;
}

.btn-full {
  width: 100%;
}

/* Glass & Card Containers */
.glass-panel {
  background: rgba(23, 24, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.glass-panel-gold {
  background: radial-gradient(120% 120% at 30% 15%, var(--gold-wash) 0%, var(--card) 75%);
  border: 1px solid var(--gold-edge);
  box-shadow: 0 20px 45px -20px var(--gold-glow);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(17, 18, 21, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(38, 40, 45, 0.65);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(17, 18, 21, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 183, 10, 0.35);
}

.brand-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(245, 183, 10, 0.15);
  border: 1px solid var(--gold-edge);
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  border-radius: 10px;
  background: var(--raised);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 183, 10, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  top: 10%;
  right: 5%;
}

.hero-glow-2 {
  bottom: 10%;
  left: -10%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 54px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 36px;
}

.highlight-tile {
  background: var(--tile);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.highlight-tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold-edge);
}

.highlight-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   3D Card Component & Interactive Scene
   ========================================================================== */
.card-scene-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.nexpay-scene {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.15;
  perspective: 1100px;
  display: grid;
  place-items: center;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.nexpay-scene.is-dragging {
  cursor: grabbing;
}

.nexpay-card-glow {
  pointer-events: none;
  position: absolute;
  inset: 18% 8%;
  border-radius: 9999px;
  background: radial-gradient(closest-side, var(--gold-glow), transparent 70%);
  filter: blur(24px);
  transition: opacity 0.3s ease;
}

.nexpay-card-shadow {
  pointer-events: none;
  position: absolute;
  inset-inline: 18%;
  bottom: 4%;
  height: 8%;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  filter: blur(8px);
  will-change: transform, opacity;
}

.nexpay-card-3d {
  position: relative;
  width: 86%;
  aspect-ratio: var(--card-aspect);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Layers for physical 3D gold edge rim */
.card-thickness-layer {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background: #17130a;
  box-shadow: inset 0 0 0 1px rgba(245, 183, 10, 0.6);
  pointer-events: none;
}

/* Front & Back Faces */
.card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Gold Shine sweep on the front face */
.card-face-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  background-image: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 232, 170, 0) 38%,
    rgba(255, 232, 170, 0.45) 48%,
    rgba(255, 232, 170, 0) 58%,
    transparent 66%
  );
  background-size: 260% 100%;
  background-position: var(--shine, 50%) 0;
}

/* Frost overlay when frozen */
.card-frost-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 218, 255, 0.35) 0%, rgba(68, 153, 255, 0.18) 100%);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-is-frozen .card-frost-overlay {
  opacity: 1;
}

.card-frost-badge {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(147, 218, 255, 0.6);
  color: #7dd3fc;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Card Controls Bar */
.card-controls-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.card-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--muted-foreground);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.card-tool-btn:hover {
  background: var(--line);
  color: var(--foreground);
  border-color: var(--gold-edge);
}

.card-tool-btn.active {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: var(--gold);
}

.card-drag-hint {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Glyphs & SVG Tiles
   ========================================================================== */
.glyph-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-edge);
  background: radial-gradient(120% 120% at 30% 15%, var(--gold-wash) 0%, var(--card) 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  flex-shrink: 0;
}

.glyph-tile-round {
  border-radius: 50%;
}

/* ==========================================================================
   Early Access Pass / Ticket Section
   ========================================================================== */
.pass-section {
  padding: 70px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.pass-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* The Luxury Perforated Ticket */
.ea-ticket {
  position: relative;
  background: var(--card);
  border: 1px solid var(--gold-edge);
  border-radius: 24px;
  box-shadow: 0 24px 60px -28px var(--gold-glow);
  overflow: hidden;
}

.ea-ticket-top {
  position: relative;
  padding: 28px 32px 24px;
  background: radial-gradient(90% 110% at 0% 0%, var(--gold-wash) 0%, transparent 60%);
}

.ea-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ea-ticket-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.ea-price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.price-sub {
  font-size: 13px;
  color: var(--muted-foreground);
  font-weight: 500;
}

.price-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}

.price-val {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.price-old {
  font-size: 20px;
  color: var(--muted-foreground);
  text-decoration: line-through;
  font-weight: 600;
}

.price-network {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
  margin-top: 4px;
}

.ea-exchange-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--raised);
  border: 1px solid var(--gold-edge);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Perforation Notch & Dashes */
.ticket-perforation {
  position: relative;
  height: 0;
}

.notch-left, .notch-right {
  position: absolute;
  top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--background);
  border: 1px solid var(--gold-edge);
  z-index: 2;
}

.notch-left {
  left: -14px;
}

.notch-right {
  right: -14px;
}

.perforation-line {
  position: absolute;
  inset-inline: 24px;
  top: 0;
  border-top: 2px dashed var(--gold-edge);
}

.ea-ticket-body {
  padding: 28px 32px 32px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
}

.check-disc {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Referral code field */
.referral-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sunken);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 6px 4px 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.referral-input-group:focus-within {
  border-color: var(--gold);
}

.referral-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.referral-input::placeholder {
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: none;
}

/* ==========================================================================
   Benefits List (Right column of pass)
   ========================================================================== */
.benefits-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition: all 0.2s ease;
}

.benefit-card-row:hover {
  border-color: var(--gold-edge);
  transform: translateX(4px);
}

.benefit-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--foreground);
  margin-bottom: 4px;
}

.benefit-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Pay Your Way (Brand Marks)
   ========================================================================== */
.brands-section {
  padding: 60px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.brand-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.brand-tile:hover {
  border-color: var(--gold-edge);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -10px var(--gold-glow);
}

.brand-svg-disc {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.brand-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}

/* ==========================================================================
   Interactive Card & Wallet Simulator
   ========================================================================== */
.simulator-section {
  padding: 80px 0;
  position: relative;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wallet-console {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.balance-box {
  margin-bottom: 28px;
}

.balance-label {
  font-size: 13px;
  color: var(--muted-foreground);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-amount-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.balance-amount {
  font-size: 38px;
  font-weight: 850;
  font-family: var(--font-mono);
}

.balance-fiat {
  font-size: 14px;
  color: var(--muted-foreground);
  font-weight: 600;
}

.console-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.console-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--tile);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--foreground);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.console-action-btn:hover {
  background: var(--raised);
  border-color: var(--gold-edge);
  transform: translateY(-2px);
}

.card-security-toggles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--sunken);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

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

.toggle-title {
  font-size: 14px;
  font-weight: 700;
}

.toggle-desc {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold);
  border-color: var(--gold);
}

input:checked + .slider:before {
  transform: translateX(22px);
  background-color: var(--on-gold);
}

/* ==========================================================================
   Tier Comparison Section
   ========================================================================== */
.tiers-section {
  padding: 70px 0;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-edge);
}

.tier-card.featured {
  background: radial-gradient(110% 110% at 50% 0%, rgba(245, 183, 10, 0.12) 0%, var(--card) 80%);
  border: 1px solid var(--gold);
  box-shadow: 0 20px 45px -15px var(--gold-glow);
}

.tier-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--on-gold);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 13.5px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.tier-price-box {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.tier-price {
  font-size: 36px;
  font-weight: 850;
}

.tier-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.tier-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--foreground);
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.steps-section {
  padding: 80px 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--gold-edge);
  transform: translateY(-4px);
}

.step-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--line-soft);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 19px;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--gold-edge);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 750;
  color: var(--foreground);
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Pre-Order / Checkout Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--gold-edge);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px var(--gold-glow);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--line);
  color: var(--foreground);
}

.modal-body {
  padding: 24px;
}

.modal-order-summary {
  background: var(--sunken);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--muted-foreground);
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  font-weight: 750;
  color: var(--foreground);
}

.qr-code-box {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deposit-address-box {
  background: var(--tile);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.address-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--foreground);
  word-break: break-all;
}

.copy-btn {
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--gold-soft);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--popover);
  border: 1px solid var(--gold-edge);
  color: var(--foreground);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--sunken);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13.5px;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-foreground);
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(23, 24, 28, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 90;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .pass-layout {
    grid-template-columns: 1fr;
  }
  
  .simulator-grid {
    grid-template-columns: 1fr;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .hero-subtitle {
    font-size: 15.5px;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  
  .ea-price-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  
  .price-val-wrap {
    justify-content: center;
  }
  
  .ea-exchange-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }
  
  .console-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .mobile-sticky-bar {
    display: block;
  }
  
  body {
    padding-bottom: 74px;
  }
}
