/* ====================================================================
   NOVATRADE - LUXURY MINIMALIST FINTECH DESIGN SYSTEM
   Obsidian Dark Palette, Liquid Glass & Refined Champagne Gold
   ==================================================================== */

:root {
  /* Obsidian Core */
  --bg-dark: #06090E;
  --bg-card: rgba(13, 19, 32, 0.6);
  --bg-card-hover: rgba(18, 26, 44, 0.75);
  --surface: #0E1524;
  --surface-elevated: #141E33;
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-hover: rgba(212, 175, 55, 0.35);

  /* Refined Champagne Gold */
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #A27B1E;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-border-glass: rgba(212, 175, 55, 0.22);

  /* Precision Financial Accents */
  --gain: #10B981;
  --gain-bg: rgba(16, 185, 129, 0.1);
  --loss: #F43F5E;
  --loss-bg: rgba(244, 63, 94, 0.1);

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Ultra-Premium Liquid Glass System */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 22%, rgba(14, 22, 38, 0.6) 55%, rgba(6, 10, 20, 0.82) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 25%, rgba(20, 30, 52, 0.72) 55%, rgba(8, 14, 28, 0.88) 100%);
  --glass-blur: blur(28px) saturate(230%) brightness(105%);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-hover: rgba(212, 175, 55, 0.6);
  --glass-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.08);
  --glass-shadow-hover: 0 35px 80px -10px rgba(0, 0, 0, 0.85), 0 0 45px rgba(212, 175, 55, 0.25);
  --glass-inner-glow: inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.35), inset 0 0 25px 0 rgba(255, 255, 255, 0.02), inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.5);
  --glass-inner-glow-hover: inset 0 2px 2px 0 rgba(255, 255, 255, 0.5), inset 0 0 30px 0 rgba(212, 175, 55, 0.08), inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.5);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====================================================================
   RESET & FOUNDATIONS
   ==================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ====================================================================
   AMBIENT REFRACTIVE LIGHTING (LUMINOUS GLASS DEPTH)
   ==================================================================== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.ambient-orb-gold {
  top: -8%;
  right: -2%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(180, 83, 9, 0.12) 40%, transparent 68%);
  animation: pulseGlow 9s ease-in-out infinite alternate;
}

.ambient-orb-blue {
  top: 32%;
  left: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(29, 78, 216, 0.08) 45%, transparent 68%);
  animation: pulseGlowSlow 13s ease-in-out infinite alternate;
}

.ambient-orb-green {
  bottom: -10%;
  right: 18%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.20) 0%, rgba(6, 95, 70, 0.06) 45%, transparent 68%);
  animation: pulseGlow 11s ease-in-out infinite alternate;
}

/* Subtle grid mesh overlay */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* ====================================================================
   CONTAINER & SECTION UTILITIES
   ==================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-tight {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border-glass);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

.gold-text {
  color: var(--gold);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ====================================================================
   LIQUID GLASS CARDS
   ==================================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 20%, rgba(212, 175, 55, 0.65) 50%, rgba(255, 255, 255, 0.4) 80%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 20%, transparent 45%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-inner-glow-hover);
}

.glass-card-static:hover {
  transform: none;
  border-color: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
}

/* ====================================================================
   NAVBAR
   ==================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.75) 0%, rgba(6, 9, 14, 0.8) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(212, 175, 55, 0.15);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container,
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 36px;
  width: auto;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 2.6vw, 3rem);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem;
}

.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(-120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ====================================================================
   MINIMALIST BUTTONS
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: #06090E;
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Sleek Google Play Store Badge Button */
.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(14, 21, 36, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.25rem;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.btn-playstore:hover {
  border-color: var(--gold);
  background: rgba(20, 29, 50, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-playstore svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-playstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.btn-playstore-text .subtext {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-playstore-text .maintext {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Multi-Platform Download System */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

@media (max-width: 960px) {
  .platform-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

.platform-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.platform-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(14, 21, 35, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.platform-card:hover .platform-icon-wrap {
  border-color: var(--gold);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 25px rgba(212, 175, 55, 0.35);
  transform: scale(1.05);
  transition: var(--transition);
}

.platform-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.platform-card-meta {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 1rem;
}

.platform-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.platform-specs-list {
  width: 100%;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.platform-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.platform-spec-label {
  color: var(--text-muted);
}

.platform-spec-val {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

.platform-btn-download {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

/* ====================================================================
   STOCK BACKGROUND CANVAS (WEBGPU / 2D)
   ==================================================================== */
.stock-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* ====================================================================
   HERO SECTION (CLEAN, GIANT & CENTERED)
   ==================================================================== */
.hero {
  padding-top: 170px;
  padding-bottom: 110px;
  position: relative;
  overflow: hidden;
}

.hero-centered {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title-giant {
  font-size: clamp(5.5rem, 16vw, 10.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, #FFFFFF 15%, #FDF8E2 45%, #E8C860 75%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.35)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
  display: inline-block;
  transform: translateZ(0);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* ====================================================================
   DEVELOPERS SECTION
   ==================================================================== */
.developer-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.75rem;
  display: flex;
  gap: 2.25rem;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.developer-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.developer-card:hover .dev-avatar {
  border-color: #F59E0B;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.55);
  transform: scale(1.03);
}

.developer-card:hover .dev-github-badge {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
  .developer-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .dev-header-row {
    justify-content: center !important;
  }
}

.dev-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.dev-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #FFF;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  object-fit: cover;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.dev-status-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gain);
  border: 2px solid #06090E;
  box-shadow: 0 0 10px var(--gain);
}

.dev-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dev-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: -0.03em;
}

.dev-role {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.dev-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.dev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .dev-tags {
    justify-content: center;
  }
}

.dev-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ====================================================================
   VIDEO PREVIEW & TRAILER EMBED
   ==================================================================== */
.video-frame-card {
  border-radius: var(--radius-xl);
  padding: 10px;
  background: rgba(14, 21, 35, 0.6);
  border: 1px solid var(--gold-border-glass);
  box-shadow: var(--glass-shadow), 0 0 50px rgba(212, 175, 55, 0.12);
  max-width: 960px;
  margin: 0 auto;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ====================================================================
   CHANGELOG & RELEASES
   ==================================================================== */
.changelog-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.changelog-card {
  padding: 2.25rem;
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.version-tag {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  font-family: var(--font-mono);
}

.badge-current {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border-glass);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.changelog-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.changelog-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 3px;
}

.cat-new {
  background: var(--gain-bg);
  color: var(--gain);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cat-feature {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.cat-engine {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-glass);
}


/* ====================================================================
   MINIMALIST SMARTPHONE MOCKUP
   ==================================================================== */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 310px;
  border-radius: 36px;
  background: #090E18;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.12);
  padding: 10px;
}

.phone-screen {
  background: #070B13;
  border-radius: 28px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mockup-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-logo-wrap img {
  width: 22px;
  height: 22px;
}

.mockup-logo-wrap span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-balance-card {
  background: rgba(18, 26, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.mockup-balance-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.mockup-balance-amount {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFF;
  margin: 2px 0 6px 0;
}

.mockup-pill {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gain-bg);
  color: var(--gain);
}

.mockup-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 20, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 8px 10px;
}

.mockup-asset-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-asset-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  border: 1px solid var(--card-border);
}

.mockup-asset-meta h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mockup-asset-meta span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mockup-asset-price {
  text-align: right;
}

.mockup-asset-price .val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mockup-asset-price .chg {
  font-size: 0.65rem;
  font-weight: 600;
}

.text-gain {
  color: var(--gain);
}

.text-loss {
  color: var(--loss);
}

/* ====================================================================
   METRICS BAR
   ==================================================================== */
.stats-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.75rem 0;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.5) 0%, rgba(6, 10, 20, 0.65) 100%);
  backdrop-filter: blur(24px) saturate(220%);
  -webkit-backdrop-filter: blur(24px) saturate(220%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ====================================================================
   FEATURES GRID (CLEAN & SLEEK)
   ==================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.feature-num {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ====================================================================
   INTERACTIVE SIMULATOR WIDGET
   ==================================================================== */
.simulator-demo-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  max-width: 880px;
  margin: 0 auto;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.25rem;
}

.sim-wallet-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.sim-wallet-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sim-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--card-border);
}

.sim-table td {
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.sim-btn-action {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.sim-btn-buy {
  background: var(--gain-bg);
  color: var(--gain);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sim-btn-buy:hover {
  background: var(--gain);
  color: #06090E;
}

.sim-btn-sell {
  background: var(--loss-bg);
  color: var(--loss);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.sim-btn-sell:hover {
  background: var(--loss);
  color: #FFF;
}

/* ====================================================================
   HOW IT WORKS STEPS
   ==================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 1.75rem;
}

.step-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ====================================================================
   CTA BANNER (LUXURY LIQUID GLASS)
   ==================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(212, 175, 55, 0.08) 25%, rgba(14, 22, 38, 0.65) 55%, rgba(6, 10, 20, 0.85) 100%);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.8), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.4), 0 0 35px rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 20%, rgba(212, 175, 55, 0.8) 50%, rgba(255, 255, 255, 0.5) 80%, transparent 100%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #FFF;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================================================================
   LEGAL PAGES (PRIVACY & TERMS)
   ==================================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  padding: 1.25rem;
}

.legal-nav-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.legal-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-nav-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.legal-nav-link:hover,
.legal-nav-link.active {
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.08);
  border-left: 2px solid var(--gold);
}

.legal-content-card {
  padding: 2.5rem;
}

.legal-article h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--card-border);
}

.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-article ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-article ul li {
  margin-bottom: 0.4rem;
}

.legal-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold);
  margin: 1.25rem 0;
}

.legal-alert p {
  color: var(--text-primary);
  margin: 0;
  font-size: 0.9rem;
}

/* ====================================================================
   FAQ & CONTACT
   ==================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-inner-glow-hover);
}

.faq-item.open {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--glass-shadow), 0 0 25px rgba(212, 175, 55, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.35rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.15rem;
  max-height: 250px;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
  background: #04060A;
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .features-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
