/* ===================================================================
   QX BROKER (QUOTEX) OFFICIAL TRADING PORTAL - CORE STYLESHEET
   Design System: High-End Dark Fintech, Electric Accents, Glassmorphism
   Fully Responsive Across All Screen Sizes (Mobile, Tablet, Desktop)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #070b13;
  --bg-secondary: #0c1322;
  --bg-card: rgba(16, 26, 44, 0.85);
  --bg-card-hover: rgba(23, 37, 63, 0.95);
  --bg-glass: rgba(14, 23, 39, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 229, 255, 0.28);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --color-cyan: #00e5ff;
  --color-cyan-glow: rgba(0, 229, 255, 0.35);
  --color-green: #00e676;
  --color-green-dark: #00b050;
  --color-green-glow: rgba(0, 230, 118, 0.3);
  --color-red: #ff3366;
  --color-red-glow: rgba(255, 51, 102, 0.3);
  --color-gold: #ffb800;
  --color-blue: #2563eb;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px rgba(0, 229, 255, 0.2);
  --shadow-green: 0 0 25px rgba(0, 230, 118, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

/* Background Ambient Lighting */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-ambient .orb-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: pulseOrb 12s ease-in-out infinite alternate;
}

.bg-ambient .orb-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
  filter: blur(90px);
}

.bg-ambient .orb-3 {
  position: absolute;
  bottom: -10%;
  left: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  filter: blur(100px);
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(30px, 20px); }
}

/* Responsive Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
  word-break: break-word;
}

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

a:hover {
  color: #67e8f9;
}

.text-gradient {
  background: linear-gradient(135deg, #00e5ff 0%, #00e676 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.badge-bonus {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.15) 0%, rgba(255, 107, 0, 0.15) 100%);
  border-color: rgba(255, 184, 0, 0.4);
  color: #ffc107;
}

/* Top Notification Banner */
.top-bar {
  background: linear-gradient(90deg, #0a1728 0%, #0d2744 50%, #0a1728 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  text-align: center;
  position: relative;
  z-index: 60;
  width: 100%;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-bar .promo-badge {
  background: var(--color-gold);
  color: #000;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.top-bar a.top-cta {
  color: var(--color-cyan);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.25rem;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  width: 100%;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00e5ff 0%, #0072ff 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #070b13;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.logo span.broker {
  color: var(--color-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition);
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Show on desktop only, hide on mobile/tablet */
.desktop-only {
  display: inline-flex;
}

/* Mobile-only nav CTA items - hidden on desktop */
.mobile-nav-cta {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #00e676 0%, #00b050 100%);
  color: #070b13;
  box-shadow: var(--shadow-green);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1bf38b 0%, #00c853 100%);
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.5);
  transform: translateY(-2px);
  color: #000;
}

.btn-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #0099ff 100%);
  color: #070b13;
  box-shadow: var(--shadow-glow);
  font-weight: 700;
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #38edff 0%, #1aa3ff 100%);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
  color: #000;
}

.btn-pulse {
  animation: pulseAction 2.2s infinite;
}

@keyframes pulseAction {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  line-height: 1;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.18;
  margin: 1.25rem 0;
}

.hero-content p.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.stat-item .stat-num {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Interactive Simulator / Trading Widget Mockup */
.trading-mockup-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.trading-mockup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #00e676, #ff3366);
}

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

.asset-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.asset-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.asset-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.asset-info .payout {
  font-size: 0.775rem;
  color: var(--color-green);
  font-weight: 700;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-green);
  font-family: var(--font-mono);
  font-weight: 600;
  flex-shrink: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Chart Canvas Area */
.chart-viewport {
  width: 100%;
  height: 230px;
  background: rgba(8, 14, 25, 0.75);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

#tradingChart {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-overlay-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cyan);
}

/* Trading Control Buttons */
.mockup-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.trade-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.trade-btn-up {
  background: linear-gradient(180deg, #00e676 0%, #009944 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.25);
}

.trade-btn-up:hover {
  background: #00ff84;
  transform: translateY(-2px);
  color: #000;
}

.trade-btn-down {
  background: linear-gradient(180deg, #ff3366 0%, #cc1144 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.25);
}

.trade-btn-down:hover {
  background: #ff527b;
  transform: translateY(-2px);
  color: #fff;
}

.trade-btn .dir {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.trade-btn .payout-sub {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Fast Signup Box inside Hero Card */
.mockup-footer-cta {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px dashed var(--border-color);
}

.mockup-footer-cta p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Feature Ticker Strip */
.features-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  margin: 2rem 0 4rem;
  width: 100%;
}

.strip-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-cyan);
}

.strip-text .title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.strip-text .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Common Styling */
.section-padding {
  padding: 5rem 0;
  position: relative;
  width: 100%;
}

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

.section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  margin: 0.75rem 0 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--color-cyan);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
}

/* Why Choose Quotex / Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(0, 230, 118, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Table Wrappers with Smooth Touch Scroll */
.assets-table-wrap, .comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Scroll hint indicator for touch screens */
.assets-table-wrap::after, .comparison-card::after {
  content: '⇄ Scroll horizontally to view full table';
  display: none;
  text-align: right;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--color-cyan);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
}

.assets-table, .comp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.assets-table th, .comp-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
}

.assets-table td, .comp-table td {
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  white-space: nowrap;
}

.assets-table tr:hover, .comp-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comp-table th.col-highlight, .comp-table td.col-highlight {
  background: rgba(0, 229, 255, 0.05);
  border-left: 1px solid rgba(0, 229, 255, 0.2);
  border-right: 1px solid rgba(0, 229, 255, 0.2);
  font-weight: 700;
  color: #fff;
}

.payout-tag {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: var(--transition);
}

.payment-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-3px);
}

.payment-card .pay-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.payment-card .pay-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.payment-card .pay-time {
  font-size: 0.75rem;
  color: var(--color-green);
  margin-top: 0.2rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
  color: var(--color-cyan);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(12, 19, 34, 0.95) 0%, rgba(17, 30, 54, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin-top: 3rem;
  width: 100%;
}

.cta-banner h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto 2rem;
}

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

/* Promo Code Box */
.promo-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.promo-code-pill {
  background: rgba(0, 0, 0, 0.45);
  border: 2px dashed #ffb800;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: #ffb800;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Floating Sticky Footer Bar */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(11, 16, 27, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  width: 100%;
}

.sticky-footer-bar.visible {
  transform: translateY(0);
}

.sticky-bar-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.sticky-info .bonus-tag {
  background: var(--color-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2.5rem;
  margin-top: 5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 100%;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--color-cyan);
}

.risk-warning-box {
  background: rgba(255, 51, 102, 0.06);
  border: 1px solid rgba(255, 51, 102, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.825rem;
  line-height: 1.55;
  color: #fda4af;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop)
   =================================================================== */

/* Tablet & Mobile (<= 1024px) - Clean Drawer Navigation */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payment-methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .site-header {
    height: auto;
  }

  .nav-wrapper {
    height: 64px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    border-radius: 7px;
  }

  /* Hide desktop-only header buttons on tablet and mobile */
  .desktop-only {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Show mobile-only nav CTA items in drawer */
  .mobile-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 0.75rem;
  }

  /* Full Screen Slide-in Mobile Drawer */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 64px);
    background: rgba(7, 11, 19, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    white-space: normal;
    color: #fff;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .features-strip {
    margin: 1.5rem 0 2.5rem;
    padding: 0.85rem 0;
  }

  .strip-items {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    gap: 1rem;
    padding: 0 1rem;
  }

  .strip-item {
    min-width: 180px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .assets-table-wrap::after, .comparison-card::after {
    display: block;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }

  .sticky-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .sticky-info {
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Narrow Small Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.25rem;
  }

  .stat-item .stat-num {
    font-size: 1.25rem;
  }

  .stat-item .stat-label {
    font-size: 0.72rem;
  }

  .trading-mockup-card {
    padding: 1rem 0.85rem;
  }

  .chart-viewport {
    height: 190px;
  }

  .chart-overlay-price {
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
    top: 10px;
    right: 10px;
  }

  .mockup-controls {
    gap: 0.5rem;
  }

  .trade-btn {
    padding: 0.75rem 0.35rem;
  }

  .trade-btn .dir {
    font-size: 0.95rem;
  }

  .trade-btn .payout-sub {
    font-size: 0.7rem;
  }

  .promo-code-container {
    flex-direction: column;
    width: 100%;
  }

  .promo-code-pill {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .cta-banner .cta-buttons .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
