/* ==========================================================================
   EXODUS LARP WALLET - DESIGN SYSTEM & STYLESHEET
   Domain: https://exoduslarp.com
   Version: 26.8.27
   Aesthetics: Modern Exodus Dark Mode, Glassmorphism, 60fps Micro-interactions
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-black: #06080B;
  --bg-darker: #0A0D13;
  --bg-card: rgba(16, 20, 30, 0.7);
  --bg-card-hover: rgba(22, 28, 42, 0.85);
  --bg-surface: #111622;
  
  /* Borders & Strokes */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(123, 44, 191, 0.4);
  --border-cyan: rgba(0, 229, 255, 0.4);
  --border-emerald: rgba(0, 230, 118, 0.4);

  /* Primary & Accent Gradients */
  --accent-purple: #7B2CBF;
  --accent-blue: #3A86FF;
  --accent-cyan: #00E5FF;
  --accent-emerald: #00E676;
  --accent-gold: #FFC82D;
  --accent-coral: #FF5A79;

  --grad-primary: linear-gradient(135deg, #7B2CBF 0%, #3A86FF 50%, #00E5FF 100%);
  --grad-glow: radial-gradient(circle, rgba(123, 44, 191, 0.25) 0%, rgba(58, 134, 255, 0.15) 50%, transparent 75%);
  --grad-gold: linear-gradient(135deg, #FFD166 0%, #F39C12 100%);
  --grad-emerald: linear-gradient(135deg, #00E676 0%, #00B0FF 100%);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 32px rgba(123, 44, 191, 0.35);
  --shadow-button: 0 8px 24px rgba(58, 134, 255, 0.35);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --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);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: #E2E8F0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(at 10% 20%, rgba(123, 44, 191, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(0, 229, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(58, 134, 255, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1400px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 12px rgba(123, 44, 191, 0.6));
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FFFFFF 30%, #A0AEC0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.badge-version {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #94A3B8;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* ==========================================================================
   MOBILE HAMBURGER & NAVIGATION DRAWER
   ========================================================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  gap: 5px;
  padding: 0;
  z-index: 1002;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover, .hamburger-btn:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(123, 44, 191, 0.5);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Animated Hamburger to X */
.hamburger-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #080B11;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(123, 44, 191, 0.22) 0px, transparent 60%),
    radial-gradient(circle at 90% 85%, rgba(0, 229, 255, 0.15) 0px, transparent 60%);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 11, 17, 0.95);
  position: sticky;
  top: 0;
  z-index: 2;
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.drawer-close-btn:active {
  background: rgba(255, 90, 121, 0.2);
  border-color: rgba(255, 90, 121, 0.4);
  color: #FF5A79;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 40px 18px;
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(-10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.mobile-nav-link:active, .mobile-nav-link:hover {
  background: rgba(123, 44, 191, 0.18);
  border-color: rgba(123, 44, 191, 0.45);
  color: #FFFFFF;
  transform: translateX(4px);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.btn-mobile-cta {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.mobile-drawer-socials {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(58, 134, 255, 0.5);
}

.btn-telegram {
  background: #229ED9;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover {
  background: #1E88E5;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

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

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  text-align: center;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: var(--grad-glow);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(123, 44, 191, 0.15);
  border: 1px solid rgba(123, 44, 191, 0.4);
  color: #D8B4FE;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(123, 44, 191, 0.2); }
  50% { box-shadow: 0 0 25px rgba(123, 44, 191, 0.5); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 20%, #A78BFA 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.download-meta {
  font-size: 0.82rem;
  color: #64748B;
  display: block;
  margin-top: -30px;
  margin-bottom: 40px;
}

/* ==========================================================================
   MOCKUP PREVIEW WINDOW
   ========================================================================== */
.mockup-wrapper {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  perspective: 1000px;
}

.mockup-window {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(123, 44, 191, 0.2);
  overflow: hidden;
  position: relative;
}

.mockup-header {
  height: 42px;
  background: #0D1117;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.mockup-title {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mockup-body {
  padding: 36px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: radial-gradient(circle at center, #131A29 0%, #0A0D14 100%);
}

.mockup-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 12px solid #00E676;
  border-top-color: #FFC82D;
  border-right-color: #3A86FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(0, 230, 118, 0.25);
  animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.donut-center {
  transform: rotate(-0deg);
  animation: counterRotate 20s linear infinite;
  text-align: center;
}

@keyframes counterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.balance-large {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.balance-assets {
  font-size: 0.88rem;
  color: #94A3B8;
}

.mockup-info-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-size: 0.85rem;
  color: #94A3B8;
}

.info-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
}

.val-green {
  color: var(--accent-emerald);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 44, 191, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(123, 44, 191, 0.15);
  border: 1px solid rgba(123, 44, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* ==========================================================================
   VIDEO DEMONSTRATION SECTION
   ========================================================================== */
.video-container-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #0B0E14;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #080A0E;
}

.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(123, 44, 191, 0.2) 0%, #080A0E 80%);
  transition: all var(--transition-fast);
}

.video-facade:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 2rem;
  box-shadow: 0 0 25px rgba(58, 134, 255, 0.5);
  transition: all var(--transition-smooth);
  margin-bottom: 16px;
}

.play-text {
  font-size: 1rem;
  font-weight: 600;
  color: #E2E8F0;
}

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

.video-helper {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748B;
}

/* ==========================================================================
   HOTKEYS CHEATSHEET SECTION
   ========================================================================== */
.hotkeys-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.hotkeys-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.hotkeys-table th {
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748B;
  padding: 8px 16px;
}

.hotkey-row {
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
}

.hotkey-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.005);
}

.hotkey-row td {
  padding: 16px;
}

.hotkey-row td:first-child {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.hotkey-row td:last-child {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.key-badge {
  display: inline-block;
  background: #1E2538;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.action-title {
  font-size: 1rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.action-desc {
  font-size: 0.88rem;
  color: #94A3B8;
}

/* ==========================================================================
   SUPPORTED ASSETS
   ========================================================================== */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.asset-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.asset-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.asset-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px auto;
}

.asset-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.asset-symbol {
  font-size: 0.8rem;
  color: #64748B;
  text-transform: uppercase;
}

/* ==========================================================================
   DOWNLOAD GATEWAY SECTION & PAGE
   ========================================================================== */
.download-hero-card {
  background: radial-gradient(circle at top, rgba(123, 44, 191, 0.2) 0%, rgba(13, 17, 23, 0.95) 70%);
  border: 1px solid rgba(123, 44, 191, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: 0 0 50px rgba(123, 44, 191, 0.25);
  max-width: 820px;
  margin: 0 auto;
}

.download-radar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 2.2rem;
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  transition: transform var(--transition-fast);
  font-size: 1.2rem;
  color: #64748B;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-fast);
  padding: 0 24px;
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(123, 44, 191, 0.4);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px 0;
  background: #050709;
  color: #64748B;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.disclaimer-box {
  background: rgba(255, 90, 121, 0.08);
  border: 1px solid rgba(255, 90, 121, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #FCA5A5;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 24px;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE-FIRST OPTIMIZATION
   ========================================================================== */

/* Prevent horizontal overflow on touch screens */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .mockup-body { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1140px) {
  /* Navbar Mobile & Tablet Layout */
  .navbar {
    height: 64px;
    background: rgba(6, 8, 11, 0.88);
  }

  .nav-container {
    height: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .desktop-nav,
  .nav-menu {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .badge-version {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  .nav-actions {
    gap: 10px;
  }

  /* Keep Top Navbar Minimal: Only Download CTA + Hamburger Button! */
  .nav-btn-github,
  .nav-btn-telegram {
    display: none !important;
  }

  .nav-btn-download {
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
    height: 40px;
    flex-shrink: 0;
    gap: 6px;
  }

  .nav-btn-ver {
    display: none;
  }

  /* Hero Section on Mobile */
  .hero {
    padding-top: 86px;
    padding-bottom: 36px;
  }

  .hero-glow-bg {
    width: 100%;
    height: 300px;
    filter: blur(60px);
    top: 5%;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 18px;
    max-width: 94%;
    line-height: 1.3;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.4vw, 2.35rem);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.22;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px auto;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.98rem;
  }

  .download-meta {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 0 8px;
  }

  /* App Mockup Window on Mobile */
  .mockup-wrapper {
    padding: 0;
    width: 100%;
  }

  .mockup-window {
    border-radius: 14px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(123, 44, 191, 0.25);
  }

  .mockup-header {
    height: 38px;
    padding: 0 12px;
  }

  .mockup-dots .dot {
    width: 9px;
    height: 9px;
  }

  .mockup-title {
    font-size: 0.72rem;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Global Section Spacing & Hardware Acceleration */
  .section {
    padding: 48px 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  /* Features Grid on Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 20px;
    border-radius: 14px;
  }

  .feature-icon-box {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .feature-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .feature-text {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Video Demo Section */
  .video-container-card {
    padding: 12px;
    border-radius: 16px;
  }

  .video-player-wrapper {
    border-radius: 10px;
    aspect-ratio: 16 / 9;
  }

  .video-helper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    padding: 10px 4px 0;
  }

  /* Hotkeys Section: Responsive Touch Cards */
  .hotkeys-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hotkeys-table {
    display: block;
    width: 100%;
    border-collapse: separate;
  }

  .hotkeys-table thead {
    display: none;
  }

  .hotkeys-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hotkey-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    margin-bottom: 0;
  }

  .hotkey-row td {
    padding: 0 !important;
    display: block;
    width: 100%;
    text-align: left !important;
  }

  .key-badge {
    display: inline-block;
    font-size: 0.88rem;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 700;
  }

  .action-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
  }

  .action-desc {
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.5;
  }

  .btn-copy-key {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    margin-top: 6px;
  }

  /* Supported Assets Grid */
  .assets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .asset-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .asset-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .asset-name {
    font-size: 0.92rem;
  }

  .asset-symbol {
    font-size: 0.78rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
    min-height: 52px;
    gap: 12px;
  }

  .faq-icon {
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: 0 18px;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 16px;
  }

  /* Download Hero Card on Mobile */
  .download-hero-card {
    padding: 30px 18px;
    border-radius: 18px;
  }

  .download-hero-card .btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.98rem;
  }

  /* Footer on Mobile */
  .footer {
    padding: 40px 0 28px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-content > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .footer .nav-link {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .disclaimer-box {
    font-size: 0.8rem;
    line-height: 1.55;
    padding: 14px 16px;
  }
}

/* ==========================================================================
   MOBILE DEVICES <= 420px (e.g. iPhone 12/13/14, 386px DevTools, Galaxy S)
   ========================================================================== */
@media (max-width: 420px) {
  .nav-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hide badge on tiny screens to avoid crowding brand title */
  .badge-version {
    display: none;
  }

  /* Hide GitHub in navbar on ultra-narrow screens (still in Mobile Drawer!) */
  .nav-btn-github {
    display: none;
  }

  .nav-btn-download {
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title {
    font-size: 1.82rem;
  }

  .hero-buttons {
    width: 100%;
    max-width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
