/* =============================
   Trade5x.com - Main Stylesheet
   ============================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #0f6fff;
  --primary-dark: #0050cc;
  --primary-light: #e8f0ff;
  --accent: #00d4aa;
  --accent-dark: #00a885;
  --dark: #0a0e1a;
  --dark2: #111827;
  --dark3: #1a2235;
  --surface: #1e2d45;
  --surface2: #243352;
  --text: #e8edf5;
  --text-muted: #8fa3bf;
  --text-dim: #5a7394;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(15,111,255,0.2);
  --gold: #f0b429;
  --green: #00d4aa;
  --red: #ff4560;
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0f1e35 50%, #0a1628 100%);
  --gradient-btn: linear-gradient(135deg, #0f6fff, #00d4aa);
  --gradient-card: linear-gradient(145deg, #1e2d45, #243352);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(15,111,255,0.2);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--dark2); }
.text-center { text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,111,255,0.12); border: 1px solid var(--border2);
  color: var(--primary); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 50px; letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.tag span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}
.section-title span { color: var(--primary); }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all 0.25s ease; border: none;
}
.btn-primary {
  background: var(--gradient-btn);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(15,111,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(15,111,255,0.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(15,111,255,0.08); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white);
}
.nav-logo img.logo-img {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(15,111,255,0.25));
}
/* fallback icon kept for other pages that still use .logo-icon */
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-btn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: white;
}
.nav-logo .logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-login {
  color: var(--text-muted); font-weight: 600; font-size: 15px;
  transition: color 0.2s;
}
.nav-actions .btn-login:hover { color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; display: block; }

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #060b18 0%, #0a1628 40%, #071220 70%, #050d1a 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
/* Perspective grid floor */
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,111,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,111,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 100%);
}
/* 3D perspective floor grid */
.hero-bg .grid-3d {
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background-image:
    linear-gradient(rgba(15,111,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,111,255,0.08) 1px, transparent 1px);
  background-size: 80px 40px;
  transform: perspective(500px) rotateX(55deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 90%);
}
/* Large glowing orbs */
.hero-bg .glow1 {
  position: absolute; top: -150px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(15,111,255,0.18) 0%, rgba(15,111,255,0.05) 45%, transparent 70%);
  border-radius: 50%;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-bg .glow2 {
  position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,170,0.14) 0%, rgba(0,212,170,0.04) 45%, transparent 70%);
  border-radius: 50%;
  animation: orb-float 10s ease-in-out infinite reverse;
}
.hero-bg .glow3 {
  position: absolute; top: 30%; left: 35%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(100,60,255,0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-float 12s ease-in-out infinite 3s;
}
/* 3D floating spheres decoration */
.hero-bg .sphere1 {
  position: absolute; top: 15%; right: 8%;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.15), rgba(15,111,255,0.4) 40%, rgba(10,30,80,0.8));
  border: 1px solid rgba(15,111,255,0.35);
  box-shadow: 0 0 30px rgba(15,111,255,0.25), inset 0 0 20px rgba(15,111,255,0.1);
  animation: orb-float 7s ease-in-out infinite;
}
.hero-bg .sphere2 {
  position: absolute; bottom: 25%; right: 15%;
  width: 55px; height: 55px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.12), rgba(0,212,170,0.4) 40%, rgba(5,30,25,0.8));
  border: 1px solid rgba(0,212,170,0.3);
  box-shadow: 0 0 20px rgba(0,212,170,0.2);
  animation: orb-float 9s ease-in-out infinite 2s;
}
.hero-bg .sphere3 {
  position: absolute; top: 55%; left: 5%;
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.1), rgba(150,80,255,0.4) 40%, rgba(20,5,50,0.8));
  border: 1px solid rgba(150,80,255,0.3);
  box-shadow: 0 0 16px rgba(150,80,255,0.2);
  animation: orb-float 11s ease-in-out infinite 4s;
}
/* Floating particles */
.hero-bg .particles { position: absolute; inset: 0; }
.hero-bg .particle {
  position: absolute; border-radius: 50%;
  background: var(--primary); opacity: 0;
  animation: particle-drift linear infinite;
}

@keyframes orb-float {
  0%,100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-22px) scale(1.03); }
}
@keyframes particle-drift {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}
/* 3D chart bars decoration top-right */
.hero-bg .chart-bars {
  position: absolute; right: 3%; top: 18%;
  display: flex; align-items: flex-end; gap: 6px;
  opacity: 0.12;
}
.hero-bg .chart-bars .bar {
  width: 14px; border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, #0f6fff, #00d4aa);
  animation: bar-grow 3s ease-in-out infinite;
}
@keyframes bar-grow {
  0%,100% { transform: scaleY(1); }
  50%     { transform: scaleY(1.15); }
}
/* Hexagon ring decoration */
.hero-bg .hex-ring {
  position: absolute; bottom: 10%; left: 2%;
  width: 120px; height: 120px;
  border: 2px solid rgba(15,111,255,0.12);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hex-spin 20s linear infinite;
}
.hero-bg .hex-ring2 {
  position: absolute; top: 12%; left: 12%;
  width: 60px; height: 60px;
  border: 1.5px solid rgba(0,212,170,0.15);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hex-spin 14s linear infinite reverse;
}
@keyframes hex-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* Scan line */
.hero-bg .scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15,111,255,0.4), rgba(0,212,170,0.4), transparent);
  animation: scan 6s linear infinite;
  top: 0;
}
@keyframes scan { 0% { top: 0%; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-content {}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,111,255,0.1); border: 1px solid rgba(15,111,255,0.3);
  color: var(--primary); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 20px;
}
.hero-title .highlight {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
}
.hero-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.hero-pill .pill-icon { font-size: 14px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 28px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat .stat-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white);
}
.hero-stat .stat-num span { color: var(--primary); }
.hero-stat .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ---- MARGIN CARDS (like the screenshot) ---- */
.margin-cards {
  display: flex; flex-direction: column; gap: 14px;
  margin: 28px 0 32px;
}
.margin-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(15,111,255,0.2);
  border-radius: 14px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}
.margin-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,111,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.margin-card:hover { border-color: rgba(15,111,255,0.5); transform: translateX(4px); }
.margin-card .mc-label {
  font-size: 14px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px;
}
.margin-card .mc-value {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 800; line-height: 1.1;
  color: #c8f000;
}
.margin-card .mc-value .mc-suffix {
  color: var(--white); font-size: 26px;
}
.margin-card .mc-dot {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

/* Hero chart card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow), var(--shadow-glow);
  backdrop-filter: blur(10px);
}
.hero-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.hero-card-header .pair { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.hero-card-header .live-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.3);
  color: var(--accent); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 50px;
}
.hero-card-header .live-badge .live-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 1.5s infinite; }

.ticker-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px;
}
.ticker-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.ticker-item .t-symbol { font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
.ticker-item .t-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.ticker-item .t-change { font-size: 12px; font-weight: 600; margin-top: 4px; }
.ticker-item .t-change.up { color: var(--green); }
.ticker-item .t-change.down { color: var(--red); }

.mini-chart {
  height: 80px; margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px; position: relative; overflow: hidden;
}
.mini-chart canvas { width: 100% !important; height: 100% !important; }

.hero-action-row {
  display: flex; gap: 10px;
}
.hero-action-row .btn { flex: 1; justify-content: center; }

.floating-badge {
  position: absolute;
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.floating-badge.badge-top { top: -20px; left: -30px; }
.floating-badge.badge-bot { bottom: -20px; right: -20px; }
.floating-badge .badge-icon { font-size: 18px; }

/* ---- FEATURES BAR ---- */
.features-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.features-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.feat-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 32px;
  border-right: 1px solid var(--border);
}
.feat-item:last-child { border-right: none; }
.feat-item .feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(15,111,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feat-item .feat-name { font-size: 14px; font-weight: 600; color: var(--white); }
.feat-item .feat-sub { font-size: 12px; color: var(--text-muted); }

/* ---- ABOUT/TRADING ---- */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gradient-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow);
}
.about-img-badge .badge-val { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); }
.about-img-badge .badge-lbl { font-size: 12px; color: var(--text-muted); }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text-muted);
}
.about-list li .check {
  width: 22px; height: 22px; background: rgba(0,212,170,0.12);
  border: 1px solid rgba(0,212,170,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--accent); flex-shrink: 0;
}

/* ---- MARKETS ---- */
.markets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.market-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px; cursor: pointer;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.market-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-btn); transform: scaleX(0); transition: transform 0.3s;
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--shadow-glow); border-color: var(--border2); }
.market-card:hover::before { transform: scaleX(1); }
.market-icon { font-size: 32px; margin-bottom: 14px; }
.market-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.market-arrow { color: var(--primary); font-size: 18px; }
.market-items { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.market-items li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted);
}
.market-items li::before { content: ''; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }

/* ---- WHY CHOOSE ---- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.3s;
}
.why-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(15,111,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.why-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- PLATFORM ---- */
.platform-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.platform-tabs { display: flex; gap: 10px; margin-bottom: 30px; }
.platform-tab {
  padding: 9px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all 0.2s;
}
.platform-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.stat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.stat-box {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.stat-box .sval {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--primary);
}
.stat-box .slbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.platform-visual { position: relative; }
.platform-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--border);
}
.platform-img-wrap img { width: 100%; }

/* ---- STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center; position: relative;
  transition: all 0.3s;
}
.step-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 800;
  color: rgba(15,111,255,0.15); line-height: 1; margin-bottom: 16px;
}
.step-icon { font-size: 36px; margin-bottom: 16px; }
.step-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-connector {
  position: absolute; top: 50%; right: -15px; transform: translateY(-50%);
  color: var(--primary); font-size: 22px; z-index: 2;
}

/* ---- TESTIMONIALS ---- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.3s;
}
.testi-card:hover { border-color: var(--border2); }
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.testi-name { font-size: 15px; font-weight: 700; color: var(--white); }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border2); }
.faq-q {
  padding: 20px 24px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; color: var(--white);
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(15,111,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px; transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 24px; font-size: 15px; color: var(--text-muted); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(15,111,255,0.08) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.cta-title span { color: var(--primary); }
.cta-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 13px; color: var(--text-dim); }

/* ---- FOOTER ---- */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-about { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 15px; transition: all 0.2s;
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(15,111,255,0.1); }
.footer-heading { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-muted);
}
.footer-contact-item .icon { color: var(--primary); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-disclaimer { font-size: 12px; color: var(--text-dim); max-width: 550px; line-height: 1.5; }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 990;
  background: rgba(10,14,26,0.98);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--white); }
.mobile-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer;
}

/* ---- SCROLL ANIMATION ---- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- MOBILE STICKY BOTTOM BAR (login/register like screenshot) ---- */
.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
}
.mobile-bottom-bar .mbb-inner {
  display: grid; grid-template-columns: 1fr 1fr;
}
.mobile-bottom-bar .mbb-login {
  background: #0a0e1a;
  color: var(--white);
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  padding: 18px 0; text-align: center;
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
  text-transform: uppercase;
}
.mobile-bottom-bar .mbb-login:hover { background: #131928; }
.mobile-bottom-bar .mbb-register {
  background: #c8f000;
  color: #000000;
  font-size: 15px; font-weight: 800; letter-spacing: 0.5px;
  padding: 18px 0; text-align: center;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  text-transform: uppercase;
}
.mobile-bottom-bar .mbb-register:hover { background: #d4ff00; }

/* WhatsApp float moves up on mobile */

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 40px; }
  .hero-stats { gap: 20px; }
  .about-inner, .platform-inner { grid-template-columns: 1fr; gap: 40px; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .markets-grid, .why-grid, .steps-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .features-bar-inner { flex-direction: column; align-items: flex-start; }
  .feat-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .feat-item:last-child { border-bottom: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-boxes { grid-template-columns: 1fr; }
  /* Show sticky bottom bar on mobile */
  .mobile-bottom-bar { display: block; }
  /* Add bottom padding so content isn't hidden behind bar */
  body { padding-bottom: 64px; }
  /* Move WhatsApp button above the bar */
  .wa-float { bottom: 80px; right: 18px; width: 48px; height: 48px; font-size: 22px; }
  /* Nav logo image slightly smaller on mobile */
  .nav-logo img.logo-img { height: 36px; }
  /* Hero margin cards etc */
  .hero-pill { font-size: 12px; padding: 5px 11px; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 15px; }
  /* Margin cards */
  .margin-cards { gap: 12px; }
  .margin-card { padding: 18px 16px; }
  .margin-card .mc-label { font-size: 13px; }
  .margin-card .mc-value { font-size: 28px; }
}
