/* ==========================================================================
   raeTon V2.0 — Modern High-End Web3 Landing Page Design System
   Full Responsive (Mobile, Tablet, Desktop) with RTL & LTR Support
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-main: #06080e;
  --bg-secondary: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --primary-gold: #f59e0b;
  --primary-gold-hover: #d97706;
  --primary-gold-light: #fbbf24;
  --primary-gold-glow: rgba(245, 158, 11, 0.35);
  
  --accent-cyan: #0098ea;
  --accent-cyan-glow: rgba(0, 152, 234, 0.35);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.35);
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;

  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(245, 158, 11, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* RTL / LTR Font Logic */
html[dir="rtl"] {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

html[dir="ltr"] {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Particle Starfield Canvas */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Ambient Glow Background Orbs */
.ambient-glow {
  position: fixed;
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}

.glow-1 {
  top: -80px;
  right: -80px;
  background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
}

.glow-2 {
  top: 35%;
  left: -100px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.glow-3 {
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold { color: var(--primary-gold); }
.text-cyan { color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }
.text-amber { color: var(--primary-gold-light); }
.text-tiny { font-size: 0.72rem; color: var(--text-muted); }
.text-bold { font-weight: 800; }
.text-center { text-align: center; }
.text-xs { font-size: 0.85rem; }
.font-black { font-weight: 900; }
.w-full { width: 100%; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-gold-glow);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-glow {
  box-shadow: 0 0 25px var(--primary-gold-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
}

.btn-outline:hover {
  color: var(--text-white);
  border-color: var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 30px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.08);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  transition: all var(--transition-smooth);
}

.navbar-header.scrolled {
  background: rgba(6, 8, 14, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(10, 14, 24, 0.6) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}

.brand-logo:hover .logo-icon-wrapper {
  transform: scale(1.08) rotate(6deg);
  border-color: var(--primary-gold);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.5);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

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

/* Language Switcher */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: #0f1422;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 135px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  z-index: 110;
}

.lang-dropdown.open .lang-menu {
  display: flex;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  text-align: start;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
}

.btn-header-cta {
  padding: 9px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: rgba(8, 12, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 24px 28px;
}

.mobile-drawer.open {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.mobile-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: clamp(40px, 8vw, 80px) 0 clamp(60px, 10vw, 100px);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-gold);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero 3D Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.glass-device-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(160deg, rgba(24, 32, 52, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.15);
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 20, 32, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.badge-top-left {
  top: -15px;
  inset-inline-start: -15px;
}

.badge-bottom-right {
  bottom: -15px;
  inset-inline-end: -15px;
}

.badge-icon-bg {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.badge-icon-bg.bg-amber {
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-gold);
}

.badge-icon-bg.bg-green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

/* Inside the Card Preview */
.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mini-app-header-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  flex-shrink: 0;
}

.user-avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name-demo {
  font-size: 0.8rem;
  font-weight: 700;
}

.balance-pill {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.currency-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.currency-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-white);
}

/* Fan Interactive Visualizer */
.mining-fan-visualizer {
  position: relative;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.fan-pulse-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.3);
  animation: rotateCW 12s linear infinite;
}

.fan-spinning-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: rotateCW 3s linear infinite;
  transition: transform 0.1s;
}

.fan-spinning-img.turbo {
  animation: rotateCW 0.4s linear infinite;
  filter: drop-shadow(0 0 15px var(--primary-gold));
}

.fan-click-hint {
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.mining-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.status-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.status-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.status-val {
  font-size: 0.82rem;
  font-weight: 800;
}

/* ==========================================================================
   Metrics & Stats Section
   ========================================================================== */
.stats-section {
  padding: clamp(30px, 5vw, 50px) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 3vw, 20px);
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 24px) clamp(12px, 2vw, 20px);
  text-align: center;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.3);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.bg-amber-gradient {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  color: var(--primary-gold);
}

.bg-blue-gradient {
  background: linear-gradient(135deg, rgba(0, 152, 234, 0.2), rgba(0, 152, 234, 0.05));
  color: var(--accent-cyan);
}

.bg-purple-gradient {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  color: var(--accent-purple);
}

.bg-emerald-gradient {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  color: var(--accent-green);
}

.stat-numbers {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.stat-title {
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   About & Core Sections
   ========================================================================== */
.about-section, .features-section, .simulator-section, .faq-section {
  padding: clamp(50px, 8vw, 90px) 0;
}

.section-header {
  margin-bottom: clamp(35px, 6vw, 60px);
}

.sub-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

.about-card {
  padding: clamp(22px, 4vw, 32px) clamp(18px, 3vw, 26px);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.bg-gold-glow {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-gold);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}

.bg-purple-glow {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.bg-green-glow {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.about-card h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bg-amber-soft { background: rgba(245, 158, 11, 0.12); color: var(--primary-gold); }
.bg-pink-soft { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); }
.bg-purple-soft { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.bg-cyan-soft { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); }
.bg-emerald-soft { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.bg-indigo-soft { background: rgba(99, 102, 241, 0.12); color: #818cf8; }

.feature-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.feature-item h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   Interactive Phone Simulator
   ========================================================================== */
.phone-mockup-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
}

.phone-frame {
  width: 100%;
  max-width: 340px;
  height: 620px;
  background: #000;
  border: 9px solid #1e293b;
  border-radius: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 22px;
  background: #1e293b;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.notch-speaker {
  width: 40px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
}

.notch-camera {
  width: 7px;
  height: 7px;
  background: #334155;
  border-radius: 50%;
}

.phone-screen {
  flex-grow: 1;
  background: #0a0d16;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.screen-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-gold);
  object-fit: cover;
}

.screen-username {
  font-size: 0.78rem;
  font-weight: 800;
}

.screen-badge {
  font-size: 0.65rem;
  color: var(--primary-gold);
  font-weight: 700;
}

.screen-wallet-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 152, 234, 0.12);
  border: 1px solid rgba(0, 152, 234, 0.3);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Tabs Content in Simulator */
.screen-tab-content {
  display: none;
  padding: 14px;
  flex-grow: 1;
  overflow-y: auto;
}

.screen-tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeIn 0.25s ease;
}

.tab-card-balance {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.tab-big-balance {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 3px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.currency-tag {
  font-size: 0.85rem;
  color: var(--primary-gold);
}

.mining-rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.sim-fan-box {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.sim-fan-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: rotateCW 4s linear infinite;
  transition: transform 0.1s;
}

.sim-fan-tap-badge {
  margin-top: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.sim-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sim-card-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 7px 3px;
  text-align: center;
}

/* Simulator Games List */
.sim-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sim-game-card {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: var(--radius-md);
}

.sim-game-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.sim-game-info {
  flex-grow: 1;
}

.sim-game-info h4 {
  font-size: 0.8rem;
  font-weight: 800;
}

.sim-game-info p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.sim-play-btn, .sim-task-btn {
  background: var(--primary-gold);
  color: #000;
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.sim-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  border-radius: var(--radius-md);
}

.sim-task-info {
  flex-grow: 1;
}

.sim-task-info h4 {
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-sm-sim {
  padding: 7px 14px;
  font-size: 0.78rem;
}

/* Phone Bottom Nav */
.screen-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10, 14, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 3px 12px;
}

.screen-nav-tab {
  background: transparent;
  border: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.screen-nav-tab i {
  font-size: 0.95rem;
}

.screen-nav-tab.active {
  color: var(--primary-gold);
}

/* Simulator Side Text */
.simulator-info-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.25;
}

.side-desc {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.step-guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.step-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-white);
  padding: clamp(16px, 3vw, 22px) clamp(16px, 3vw, 24px);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: start;
  gap: 12px;
}

.faq-toggle-icon {
  font-size: 0.85rem;
  color: var(--primary-gold);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 clamp(16px, 3vw, 24px);
}

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

.faq-answer p {
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.final-cta-section {
  padding: clamp(30px, 5vw, 50px) 0 clamp(60px, 8vw, 90px);
}

.final-cta-card {
  text-align: center;
  padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 40px);
  background: radial-gradient(circle at center, rgba(30, 41, 68, 0.9) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 158, 11, 0.15);
}

.cta-heading {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-subheading {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: #04060a;
  border-top: 1px solid var(--border-glass);
  padding-top: clamp(40px, 6vw, 60px);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: 40px;
}

.footer-about-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 14px 0 18px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary-gold);
  color: #000;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-gold);
}

.ton-ecosystem-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-links a {
  color: var(--text-dark);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--text-white);
}

.sep {
  opacity: 0.4;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes rotateCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phone-mockup-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .simulator-info-side {
    text-align: center;
    align-items: center;
  }
  .step-guide-list {
    text-align: start;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .nav-links, .btn-header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-hero {
    width: 100%;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions a {
    width: 100%;
  }
  .about-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 16px 10px;
  }
  .floating-badge {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .badge-top-left {
    top: -10px;
    inset-inline-start: -8px;
  }
  .badge-bottom-right {
    bottom: -10px;
    inset-inline-end: -8px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .glass-device-card {
    padding: 16px;
    border-radius: 26px;
  }
  .floating-badge {
    position: static;
    margin-bottom: 10px;
    display: inline-flex;
  }
  .badge-top-left, .badge-bottom-right {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 4px;
  }
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .phone-frame {
    height: 580px;
    border-radius: 36px;
    border-width: 7px;
  }
}
