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

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

:root {
  --orange: #f06800;
  --orange-light: #ff8a30;
  --orange-glow: rgba(240, 104, 0, 0.35);
  --blue: #0080ff;
  --blue-glow: rgba(0, 128, 255, 0.2);
  --blue-dim: rgba(0, 128, 255, 0.08);
  --bg: #0c0c10;
  --bg-raised: #111116;
  --card: #16161c;
  --card-hover: #1c1c24;
  --border: #222230;
  --border-blue: rgba(0, 128, 255, 0.15);
  --border-orange: rgba(240, 104, 0, 0.2);
  --text: #a8a8b8;
  --text-dim: #55556a;
  --white: #eeeef2;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ========== NAV ========== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 90px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  overflow: visible;
}
.nav-logo {
  width: 420px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
  margin: -20px 0 -80px 0;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-links a.active {
  color: var(--orange);
  background: rgba(240, 104, 0, 0.06);
  border: 1px solid rgba(240, 104, 0, 0.15);
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-outline {
  font-family: 'Chakra Petch', sans-serif;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--text); color: var(--white); }
.btn-primary {
  font-family: 'Chakra Petch', sans-serif;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--orange-light); box-shadow: 0 0 20px var(--orange-glow); }

/* ========== HERO ========== */
.hero {
  padding: 70px 40px 60px;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.2;
}
.hero-left { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  background: var(--card);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 .hl { color: var(--orange); }
.hero h1 .bl { color: var(--blue); }
.hero p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-btn-big {
  font-family: 'Chakra Petch', sans-serif;
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px var(--orange-glow);
  text-decoration: none;
}
.hero-btn-big:hover { background: var(--orange-light); box-shadow: 0 6px 30px var(--orange-glow); }
.hero-btn-secondary {
  font-family: 'Chakra Petch', sans-serif;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 15px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  text-decoration: none;
}
.hero-btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* ===== HUD SEARCH PANEL ===== */
.hud-panel {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.04), rgba(240, 104, 0, 0.04));
}
.hud-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hud-status {
  font-size: 11px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.hud-body { padding: 20px; }
.hud-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.hud-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.hud-input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-dim); }
.hud-input::placeholder { color: var(--text-dim); }
.hud-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 12px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  min-width: 130px;
}
.hud-go {
  background: var(--orange);
  border: none;
  border-radius: 6px;
  padding: 12px 22px;
  color: #fff;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}
.hud-go:hover { background: var(--orange-light); }
.hud-results { display: grid; gap: 6px; }
.hud-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.hud-item:hover { border-color: var(--border-orange); background: rgba(240,104,0,0.02); }
.hud-thumb {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-dim), rgba(240,104,0,0.06));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hud-item-info { flex: 1; min-width: 0; }
.hud-item-name { font-size: 13px; font-weight: 600; color: var(--white); }
.hud-item-sys { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.hud-item-prices { display: flex; gap: 8px; }
.hud-price {
  text-align: center;
  padding: 4px 8px;
  background: rgba(240, 104, 0, 0.05);
  border: 1px solid rgba(240, 104, 0, 0.08);
  border-radius: 4px;
  min-width: 52px;
}
.hud-price-label { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.hud-price-val { font-family: 'Chakra Petch', sans-serif; font-size: 16px; font-weight: 700; color: var(--orange); }
.hud-add-btn {
  font-size: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.hud-add-btn:hover { border-color: var(--orange); color: var(--orange); }

/* ===== BLUE LIGHT DIVIDER ===== */
.blue-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--orange), transparent);
  opacity: 0.4;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}
.stat-box {
  background: var(--card);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.2s;
}
.stat-box:hover { background: var(--card-hover); }
.stat-val {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}
.stat-val .blue { color: var(--blue); }
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-header h2 .hl { color: var(--orange); }
.section-header p { color: var(--text-dim); font-size: 15px; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.step-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}
.step-card:hover::before { opacity: 1; }
.step-badge {
  display: inline-block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 10px;
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  background: var(--blue-dim);
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.step-card p { color: var(--text); font-size: 14px; line-height: 1.7; }

/* ===== WHAT WE BUY ===== */
.buy-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.buy-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s;
}
.buy-card:hover {
  border-color: var(--border-orange);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.buy-icon-box {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-dim), rgba(240,104,0,0.06));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.buy-card h3 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.buy-card p { color: var(--text-dim); font-size: 13px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  max-width: 1240px;
  margin: 0 auto 80px;
  padding: 0 40px;
}
.cta-inner {
  background: linear-gradient(135deg, var(--card) 0%, rgba(240,104,0,0.08) 100%);
  border: 1px solid var(--border-orange);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--blue));
}
.cta-text h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cta-text h2 span { color: var(--orange); }
.cta-text p { color: var(--text); font-size: 15px; max-width: 500px; }
.cta-big-btn {
  font-family: 'Chakra Petch', sans-serif;
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 18px 44px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 20px var(--orange-glow);
  text-decoration: none;
  display: inline-block;
}
.cta-big-btn:hover { background: var(--orange-light); box-shadow: 0 6px 30px var(--orange-glow); }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 40px 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer-brand {}
.footer-logo { height: 40px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; max-width: 280px; line-height: 1.6; }
.footer-cols { display: flex; gap: 60px; }
.footer-col h4 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--blue), var(--orange), transparent); opacity: 0.3; margin-bottom: 20px; }
.footer-bottom { text-align: center; color: var(--text-dim); font-size: 13px; }

/* ===== FLASH MESSAGES ===== */
.flash-message {
  padding: 12px 20px;
  margin: 0;
  text-align: center;
  font-size: 14px;
}
.alert-success { background: rgba(74, 222, 128, 0.1); color: #4ade80; border-bottom: 1px solid rgba(74, 222, 128, 0.2); }
.alert-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-bottom: 1px solid rgba(239, 68, 68, 0.2); }
.alert-info { background: rgba(0, 128, 255, 0.1); color: var(--blue); border-bottom: 1px solid rgba(0, 128, 255, 0.2); }

/* ===== CART BADGE ===== */
.nav-cart { position: relative; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; }
.cart-count {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 50px 20px; }
  .hero h1 { font-size: 30px; }
  .steps-row { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: 0; }
  .footer-grid { flex-direction: column; }
  .footer-cols { flex-direction: column; gap: 30px; }
  .cta-inner { flex-direction: column; text-align: center; padding: 32px; }
  nav { padding: 0 16px; }
  .mobile-menu-toggle { display: flex; }

  /* Nav: logo + hamburger only, links/actions move to dropdown */
  .nav-logo { width: 220px; margin: -10px 0 -40px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-raised);
    border-bottom: 2px solid var(--orange);
    flex-direction: row;
    justify-content: center;
    padding: 16px 24px;
    gap: 12px;
    z-index: 199;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  }
  .nav-actions.open { display: flex; }
  .nav-actions .btn-outline,
  .nav-actions .btn-primary {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */

@media (max-width: 600px) {
  /* === HIDE DESKTOP SECTIONS ON MOBILE === */
  .hero,
  .blue-divider,
  .buy-section,
  .how-section,
  .cta-banner,
  .stats-bar {
    display: none !important;
  }

  /* === SHOW MOBILE-ONLY SECTIONS === */
  .mobile-only {
    display: block !important;
  }

  /* === NAV (keep existing working nav styles) === */
  nav { height: 64px; padding: 0 14px; overflow: visible; }
  .nav-logo { width: auto; height: 120px; margin: -28px 0 -28px -4px; position: relative; z-index: 101; }
  .mobile-menu-toggle { padding: 10px; }
  .mobile-menu-toggle span { width: 22px; height: 2px; }

  /* === HERO MOBILE === */
  .hero-mobile {
    padding: 28px 16px 20px;
    text-align: center;
    position: relative;
  }
  .hero-mobile::before {
    content: '';
    position: absolute;
    top: -80px; left: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 128, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
  }
  .hero-mobile h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #eeeef2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 8px;
    position: relative;
  }
  .hero-mobile h1 .hl { color: #f06800; }
  .hero-mobile .subtitle {
    font-size: 13px;
    color: #a8a8b8;
    line-height: 1.5;
    margin-bottom: 0;
  }

  /* === SEARCH PANEL === */
  .search-panel-mobile {
    margin: 0 16px 20px;
    background: #16161c;
    border: 1px solid #222230;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  }
  .search-header-m {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #222230;
    background: linear-gradient(90deg, rgba(0, 128, 255, 0.04), rgba(240, 104, 0, 0.04));
  }
  .search-title-m {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #f06800;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  .search-status-m {
    font-size: 10px;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
  }
  .status-dot-m {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80;
    animation: pulse-m 2s infinite;
  }
  @keyframes pulse-m {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 0 5px transparent; }
  }
  .search-body-m { padding: 14px; }

  /* Search input row with barcode scanner */
  .search-input-row-m {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
    border: 1px solid #222230;
    border-radius: 8px;
    overflow: hidden;
    background: #0c0c10;
    transition: border-color 0.2s;
  }
  .search-input-row-m:focus-within {
    border-color: #0080ff;
    box-shadow: 0 0 0 2px rgba(0, 128, 255, 0.08);
  }
  .search-input-row-m input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px;
    color: #eeeef2;
    font-size: 16px;
    outline: none;
    font-family: 'Space Grotesk', sans-serif;
  }
  .search-input-row-m input::placeholder { color: #55556a; }

  .scan-btn-m {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    background: rgba(240, 104, 0, 0.06);
    border: none;
    border-left: 1px solid #222230;
    color: #f06800;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
  }
  .scan-btn-m:active { background: rgba(240, 104, 0, 0.15); }
  .scan-btn-m svg { width: 22px; height: 22px; }
  .scan-btn-m .scan-label {
    position: absolute;
    bottom: 2px;
    font-size: 7px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f06800;
    opacity: 0.8;
  }

  /* Platform + Search row */
  .search-action-row-m {
    display: flex;
    gap: 8px;
  }
  .platform-select-m {
    flex: 1;
    background: #0c0c10;
    border: 1px solid #222230;
    border-radius: 8px;
    padding: 12px;
    color: #a8a8b8;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    cursor: pointer;
  }
  .search-go-m {
    background: #f06800;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(240, 104, 0, 0.35);
  }

  /* Quick action pills */
  .quick-actions-m {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #222230;
  }
  .quick-pill-m {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: #0c0c10;
    border: 1px solid #222230;
    border-radius: 8px;
    color: #a8a8b8;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
  }
  .quick-pill-m:active { border-color: #f06800; color: #f06800; }
  .quick-pill-m .pill-icon { font-size: 14px; }

  /* Sample results */
  .results-list-m { display: grid; gap: 6px; margin-top: 12px; }
  .result-item-m {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #0c0c10;
    border: 1px solid #222230;
    border-radius: 8px;
  }
  .result-thumb-m {
    width: 36px; height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.08), rgba(240,104,0,0.06));
    border: 1px solid #222230;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
  }
  .result-info-m { flex: 1; min-width: 0; }
  .result-name-m { font-size: 12px; font-weight: 600; color: #eeeef2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .result-sys-m { font-size: 10px; color: #55556a; }
  .result-price-m { text-align: right; }
  .result-price-label-m { font-size: 8px; color: #55556a; text-transform: uppercase; letter-spacing: 0.5px; }
  .result-price-val-m { font-family: 'Chakra Petch', sans-serif; font-size: 16px; font-weight: 700; color: #f06800; }

  /* === COMPACT STATS STRIP === */
  .stats-strip-m {
    display: flex;
    gap: 1px;
    background: #222230;
    margin: 0 16px 20px;
    border-radius: 10px;
    overflow: hidden;
  }
  .stat-item-m {
    flex: 1;
    background: #16161c;
    padding: 14px 8px;
    text-align: center;
  }
  .stat-num-m {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #f06800;
  }
  .stat-num-m .blue { color: #0080ff; }
  .stat-lbl-m {
    font-size: 8px;
    color: #55556a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-top: 2px;
  }

  /* === HOW IT WORKS — VERTICAL STACK === */
  .how-section-m { padding: 24px 16px; text-align: center; }
  .section-title-m {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #eeeef2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }
  .section-title-m .hl { color: #f06800; }
  .steps-scroll-m {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .step-card-m {
    background: #16161c;
    border: 1px solid #222230;
    border-radius: 10px;
    padding: 16px;
  }
  .step-badge-m {
    display: inline-block;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #0080ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 8px;
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 4px;
    background: rgba(0, 128, 255, 0.08);
    margin-bottom: 10px;
  }
  .step-card-m h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #eeeef2;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .step-card-m p { font-size: 12px; color: #a8a8b8; line-height: 1.6; }

  /* === CTA MOBILE === */
  .cta-mobile-m {
    margin: 0 16px 24px;
    background: linear-gradient(135deg, #16161c 0%, rgba(240,104,0,0.08) 100%);
    border: 1px solid rgba(240, 104, 0, 0.2);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-mobile-m::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0080ff, #f06800, #0080ff);
  }
  .cta-mobile-m h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #eeeef2;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .cta-mobile-m h2 span { color: #f06800; }
  .cta-mobile-m p { font-size: 12px; color: #a8a8b8; margin-bottom: 16px; }
  .cta-btn-m {
    display: block;
    width: 100%;
    background: #f06800;
    border: none;
    border-radius: 8px;
    padding: 14px;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(240, 104, 0, 0.35);
    text-decoration: none;
    text-align: center;
  }

  /* === MOBILE FOOTER === */
  footer {
    border-top: 1px solid #222230;
    background: #111116;
    padding: 24px 16px 20px;
    text-align: center;
  }
  footer p { color: #55556a; font-size: 11px; }
}
