/* ══════════════════════════════════════════
   NEXORA — style.css (shared global stylesheet)
   Fully responsive · no duplicated rules
══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { min-width: 0; }                      /* prevents flex/grid children overflowing */
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --red: #E53935;
  --red-dark: #C62828;
  --white: #FFFFFF;
  --bg: #F8F9FB;
  --dark: #121212;
  --gray: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

html, body { max-width: 100%; overflow-x: hidden; }   /* kills sideways scroll everywhere */

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all .2s; }
img { max-width: 100%; display: block; }
table { max-width: 100%; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 64px 0; }

/* ── BUTTONS ── */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(229,57,53,0.3);
}
.btn-primary-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229,57,53,0.4);
  color: #fff;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--dark);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

/* LOGO */
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon { width: 44px; height: 40px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { font-size: 1.35rem; font-weight: 900; color: var(--white); letter-spacing: 1px; line-height: 1; }
.navbar .logo-text { color: var(--dark); }
.logo-ai { color: var(--red); font-weight: 700; }

/* NAV MENU */
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--red); background: rgba(229,57,53,0.06); }
.nav-link i { font-size: 0.65rem; transition: transform .2s; }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* MEGA DROPDOWN */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s;
  z-index: 2000;
}
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-col a { display: block; font-size: 0.85rem; color: var(--dark); padding: 6px 0; transition: color .2s; }
.mega-col a:hover { color: var(--red); }

/* NAV ACTIONS */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cart {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 0.95rem;
  transition: all .2s;
}
.nav-cart:hover { border-color: var(--red); color: var(--red); }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-login {
  padding: 8px 18px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.btn-login:hover { border-color: var(--dark); color: var(--dark); }
.btn-signup {
  padding: 8px 18px;
  font-size: 0.87rem;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-signup:hover { background: var(--red-dark); color: #fff; }
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--dark);
}

/* ── HERO ── */
.hero { background: #fff; padding-top: 64px; min-height: 500px; overflow: hidden; }
.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 64px);
  max-height: 600px;
}
.hero-left { padding: 52px 52px 52px 60px; display: flex; flex-direction: column; gap: 20px; }
.hero-headline { font-size: 2.8rem; font-weight: 900; line-height: 1.1; letter-spacing: -1px; color: var(--dark); }
.hero-red { color: var(--red); }
.hero-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.65; max-width: 440px; }

/* SEARCH */
.hero-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-width: 480px;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--dark);
  background: transparent;
  font-family: var(--font);
}
.search-input::placeholder { color: #aaa; }
.search-select {
  border: none;
  border-left: 1px solid var(--border);
  padding: 12px 12px;
  font-size: 0.82rem;
  color: var(--dark);
  background: #f9f9f9;
  outline: none;
  cursor: pointer;
  font-family: var(--font);
}
.search-btn {
  background: var(--red);
  border: none;
  padding: 12px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .2s;
}
.search-btn:hover { background: var(--red-dark); }

/* TRUST BADGES */
.hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; max-width: 460px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item > i { color: var(--gray); font-size: 1rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); line-height: 1.2; }
.trust-item span { font-size: 0.72rem; color: var(--gray); }

/* HERO CTA */
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* HERO RIGHT */
.hero-right {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #0d0d0d 100%);
  height: 100%;
  min-height: calc(100vh - 64px);
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute;
  top: 20%; left: 20%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,57,53,0.25), transparent 70%);
  pointer-events: none;
}
.hero-visual { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* Chart card */
.chart-card {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  width: 200px;
  max-width: 45%;
  backdrop-filter: blur(10px);
}
.chart-header { margin-bottom: 4px; }
.chart-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.chart-value { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.chart-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 50px; }
.bar { flex: 1; background: rgba(255,255,255,0.15); border-radius: 2px; transition: height .3s; }
.bar.up { background: var(--red); }

/* Robot area */
.robot-area { position: relative; display: flex; align-items: center; justify-content: center; }
.robot-circle {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(229,57,53,0.3), rgba(0,0,0,0.8) 70%);
  border: 2px solid rgba(229,57,53,0.3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(229,57,53,0.25);
  max-width: 80vw;
}
.robot-inner {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #333, #111);
  border: 2px solid rgba(229,57,53,0.5);
  display: flex; align-items: center; justify-content: center;
}
.robot-n { font-size: 4rem; font-weight: 900; color: var(--red); font-style: italic; text-shadow: 0 0 20px rgba(229,57,53,0.5); }
.robot-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,57,53,0.1), transparent 60%);
  pointer-events: none;
}

/* stat cards overlay */
.stat-card {
  position: absolute;
  background: rgba(18,18,18,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  backdrop-filter: blur(10px);
}
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: #fff; }
.stat-value.red { color: var(--red); }
.stat-value.green { color: var(--success); }
.profit-card { bottom: 80px; left: 30px; }
.win-card { bottom: 30px; left: 180px; }

/* ── CATEGORIES ── */
.categories { background: #fff; }
.section-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; }
.section-title-wrap { display: flex; align-items: center; gap: 10px; }
.section-bar { width: 4px; height: 22px; background: var(--red); border-radius: 2px; display: block; }
.view-all, .section-viewall {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.view-all:hover, .section-viewall:hover { gap: 8px; color: var(--red-dark); }

.categories-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.cat-card:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(229,57,53,0.12); transform: translateY(-2px); }
.cat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(229,57,53,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--red);
  transition: all .2s;
}
.cat-card:hover .cat-icon { background: var(--red); color: #fff; }
.cat-name { font-size: 0.78rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.cat-sub { font-size: 0.68rem; color: var(--gray); }

/* ── FEATURED BOTS ── */
.featured { background: var(--bg); }
.bots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bot-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}
.bot-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.bot-image { position: relative; height: 160px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.nexus-bg { background: linear-gradient(135deg, #0d1f0d 0%, #0a2a0a 50%, #082008 100%); }
.alpha-bg { background: linear-gradient(135deg, #0d0a1a 0%, #1a0a2e 50%, #10082a 100%); }
.bitcoin-bg { background: linear-gradient(135deg, #1a0d00 0%, #2a1400 50%, #1f1000 100%); }
.quantum-bg { background: linear-gradient(135deg, #001020 0%, #001a30 50%, #001530 100%); }
.wishlist-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all .2s;
  backdrop-filter: blur(4px);
}
.wishlist-btn:hover { background: var(--red); }
.bot-image-title { position: absolute; bottom: 14px; left: 14px; }
.bot-img-name { font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: 0.5px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.bot-img-name span { color: var(--success); }
.bot-img-name.purple { color: #fff; }
.bot-img-name.purple span { color: #b98dff; }
.bot-img-name.orange { color: #fff; }
.bot-img-name.orange span { color: #f5a623; font-size: 1.4rem; }
.bot-img-name.blue { color: #fff; }
.bot-img-name.blue span { color: #60c8ff; }
.chart-mini { position: absolute; bottom: 0; right: 0; width: 60%; height: 60%; opacity: 0.4; }
.green-chart { background: linear-gradient(135deg, transparent, rgba(16,185,129,0.3)); clip-path: polygon(0 100%, 20% 60%, 40% 70%, 60% 30%, 80% 50%, 100% 10%, 100% 100%); }
.bot-body { padding: 14px; }
.bot-type { font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; letter-spacing: 0.5px; }
.forex-tag { background: rgba(45,108,223,0.1); color: #2d6cdf; }
.crypto-tag { background: rgba(229,57,53,0.1); color: var(--red); }
.bot-name { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.bot-seller { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--gray); margin-bottom: 10px; }
.seller-verified { color: var(--red); font-size: 0.72rem; }
.bot-rating { color: #f59e0b; font-weight: 600; }
.bot-rating i { font-size: 0.7rem; }
.bot-reviews { color: var(--gray); }
.bot-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.stat-lbl { font-size: 0.65rem; color: var(--gray); margin-bottom: 2px; }
.stat-val { font-size: 0.82rem; font-weight: 700; }
.stat-val.green { color: var(--success); }
.stat-val.red { color: var(--red); }
.bot-footer { display: flex; align-items: center; justify-content: space-between; }
.bot-price { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.add-cart-btn {
  background: var(--red);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.add-cart-btn:hover { background: var(--red-dark); color: #fff; }

/* ── STATS STRIP ── */
.stats-strip { background: #111; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-icon-wrap { font-size: 1.4rem; color: var(--red); margin-bottom: 6px; }
.stat-number { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.stat-number.red { color: var(--red); }
.stat-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── AI TOOLS ── */
.ai-tools { background: #fff; }
.ai-tools-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: center; }
.ai-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.ai-headline { font-size: 2rem; font-weight: 800; line-height: 1.15; color: var(--dark); letter-spacing: -0.5px; margin-bottom: 14px; }
.ai-headline .red { color: var(--red); }
.ai-sub { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; max-width: 320px; }
.ai-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.ai-features li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; color: var(--dark); }
.ai-features li i { color: var(--red); font-size: 0.75rem; }
.ai-widget-card { background: #111; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.2fr 0.8fr; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 280px; }
.ai-widget-left { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.widget-title { font-size: 1.2rem; font-weight: 800; color: #fff; }
.widget-sub { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.widget-form { display: flex; flex-direction: column; gap: 10px; }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.wf-group { display: flex; flex-direction: column; gap: 5px; }
.wf-group label { font-size: 0.72rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.wf-select { position: relative; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; }
.wf-select select { width: 100%; background: transparent; border: none; outline: none; padding: 9px 28px 9px 10px; font-size: 0.8rem; color: #fff; font-family: var(--font); appearance: none; cursor: pointer; }
.wf-select i { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.4); font-size: 0.65rem; pointer-events: none; }
.find-btn { padding: 9px 16px; font-size: 0.82rem; white-space: nowrap; }
.ai-widget-right { background: linear-gradient(135deg, #1a0505 0%, #0d0d0d 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 20px; }
.ai-globe { position: relative; display: flex; align-items: center; justify-content: center; }
.globe-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(229,57,53,0.25); animation: spin-slow linear infinite; }
.ring1 { width: 120px; height: 120px; animation-duration: 12s; }
.ring2 { width: 160px; height: 160px; animation-duration: 18s; animation-direction: reverse; border-color: rgba(229,57,53,0.15); }
.ring3 { width: 200px; height: 200px; animation-duration: 24s; border-color: rgba(229,57,53,0.08); }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.globe-core { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #333, #111); border: 2px solid rgba(229,57,53,0.5); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(229,57,53,0.3); z-index: 2; }
.globe-n { font-size: 1.6rem; font-weight: 900; color: var(--red); font-style: italic; }
.ai-float-icons { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 160px; height: 160px; }
.ai-fi { position: absolute; background: rgba(229,57,53,0.12); border: 1px solid rgba(229,57,53,0.3); border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 0.85rem; }
.ai-fi:nth-child(1) { top: 0; right: 0; }
.ai-fi:nth-child(2) { top: 50%; right: -16px; transform: translateY(-50%); }
.ai-fi:nth-child(3) { bottom: 0; left: 0; }

/* ── BOTTOM SECTION ── */
.bottom-section { background: var(--bg); }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sellers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seller-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; align-items: flex-start; gap: 10px; transition: all .2s; box-shadow: var(--shadow-sm); }
.seller-card:hover { box-shadow: var(--shadow-md); border-color: rgba(229,57,53,0.2); }
.seller-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.forex-av { background: rgba(45,108,223,0.1); color: #2d6cdf; }
.algo-av { background: rgba(245,158,11,0.1); color: #f59e0b; }
.crypto-av { background: rgba(229,57,53,0.1); color: var(--red); }
.ai-av { background: rgba(16,185,129,0.1); color: var(--success); font-size: 0.72rem; }
.seller-sname { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.seller-rating { font-size: 0.72rem; color: #f59e0b; margin-bottom: 4px; }
.seller-rating span { color: var(--gray); }
.seller-meta { font-size: 0.72rem; color: var(--gray); }
.seller-earned { font-size: 0.72rem; color: var(--success); font-weight: 600; }
.testimonial-card-wrap { position: relative; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.testimonial-card:not(.active-review) { display: none; }
.t-stars { display: flex; gap: 2px; color: #f59e0b; font-size: 0.8rem; margin-bottom: 12px; }
.t-text { font-size: 0.9rem; color: var(--dark); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.t-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.t-badge { font-size: 0.7rem; color: var(--success); font-weight: 600; }
.t-badge i { font-size: 0.65rem; }
.t-dots { display: flex; gap: 6px; margin-top: 16px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s; }
.t-dot.active { background: var(--red); width: 20px; border-radius: 4px; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, #111 0%, #1a0505 50%, #0d0d0d 100%); padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-headline { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.3px; margin-bottom: 4px; }
.cta-sub { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.cta-right { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: #0d0d0d; padding: 56px 0 24px; }
.footer-logo-link .logo-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin: 14px 0 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.82rem; transition: all .2s; }
.footer-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--red); }

/* ══════════════════════════════════════════
   RESPONSIVE — single set of breakpoints
══════════════════════════════════════════ */

/* ≤1200px — large tablets / small laptops */
@media(max-width:1200px) {
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .bots-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-container { max-height: none; }
}

/* ≤1024px — tablets: collapse nav to hamburger */
@media(max-width:1024px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; max-height: none; }
  .hero-right { min-height: 340px; order: -1; }
  .ai-tools-grid { grid-template-columns: 1fr; }
  .ai-widget-card { grid-template-columns: 1fr; }
  .ai-widget-right { min-height: 200px; }
  .bottom-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3,1fr); }
}

/* ≤768px — phones (landscape) / large phones */
@media(max-width:768px) {
  .section-pad { padding: 48px 0; }
  .hero-left { padding: 40px 24px; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { max-width: 100%; }
  .hero-search { max-width: 100%; }
  .hero-trust { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .bots-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .sellers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-right { justify-content: center; width: 100%; }
  .wf-row { grid-template-columns: 1fr; }
  .chart-card { display: none; }   /* hide floating overlay on small hero */
}

/* ≤560px — small phones: tidy the top bar */
@media(max-width:560px) {
  .nav-container { gap: 10px; padding: 0 16px; }
  .container { padding: 0 16px; }
  .nav-actions .btn-login,
  .nav-actions .btn-signup { display: none; }  /* still in mobile menu + footer */
  .cta-right { flex-direction: column; }
  .cta-right .btn-primary-red,
  .cta-right .btn-outline-white,
  .cta-right .btn-outline-dark { width: 100%; justify-content: center; }
  .bots-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ≤480px — smallest phones */
@media(max-width:480px) {
  .hero-headline { font-size: 1.7rem; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .hero-trust { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; align-items: stretch; }
  .hero-search .search-input,
  .hero-search .search-select,
  .hero-search .search-btn { width: 100%; }
  .search-select { border-left: none; border-top: 1px solid var(--border); }
  .search-btn { padding: 12px; }
}

/* ── MOBILE NAV DRAWER ── */
.nav-menu.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: #fff;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 999;
  gap: 4px;
}
.nav-menu.mobile-open .nav-item { width: 100%; }
.nav-menu.mobile-open .nav-link { padding: 13px 16px; font-size: 1rem; border-radius: var(--radius-sm); justify-content: space-between; }
.nav-menu.mobile-open .nav-item:hover .nav-link i { transform: none; }       /* no hover-rotate on mobile */
.nav-menu.mobile-open .nav-item.open > .nav-link i { transform: rotate(180deg); }
.nav-menu.mobile-open .mega-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: var(--bg);
  padding: 10px 0 10px 16px;
  display: none;
  min-width: 0;
}
.nav-menu.mobile-open .nav-item.open .mega-dropdown { display: block; }