:root {
  --bg: #152338;
  --panel: #1c2f4a;
  --card: #233a5a;
  --accent: #8cf7ea;
  --accent-2: #ff826f;
  --text: #f3f7fd;
  --muted: #bfd0e8;
  --stroke: rgba(255,255,255,0.14);
  --glow: 0 12px 40px rgba(111,255,227,0.12);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 20px 80px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Manrope', 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(140,247,234,0.12), transparent 34%),
              radial-gradient(circle at 80% 0%, rgba(255,130,111,0.1), transparent 30%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Manrope', sans-serif; margin: 0; letter-spacing: -0.02em; }
p { color: var(--muted); margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #8fffee; }

.hero { padding: 32px clamp(16px, 4vw, 48px) 72px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(249,95,83,0.15), transparent 50%); pointer-events: none; }

.hero-grid,
.section-head,
.map-wrap,
.brand-marquee,
.industry-grid,
.card.wide,
.grid {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.top-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: rgba(15,27,46,0.8); border: 1px solid var(--stroke); border-radius: var(--radius); backdrop-filter: blur(8px); position: sticky; top: 16px; z-index: 10; }
.nav-links { display: flex; gap: 16px; }
.nav-links a { padding: 10px 14px; border-radius: 12px; color: var(--text); border: 1px solid transparent; transition: all 0.2s ease; }
.nav-links a:hover { border-color: var(--stroke); background: rgba(255,255,255,0.04); }
.brand-mark { display: flex; gap: 10px; align-items: center; }
.brand-mark .dot { width: 12px; height: 12px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 18px var(--accent-2); }
.logo-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #102132;
  background: linear-gradient(135deg, #8cf7ea, #ffb199);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.brand-name { margin: 0; font-weight: 700; }

.hero-grid { margin-top: 32px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.hero-copy h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.hero-copy .lede { margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease; }
.btn.primary { background: linear-gradient(120deg, var(--accent-2), #ff857c); color: #0a101a; box-shadow: 0 12px 35px rgba(249,95,83,0.35); }
.btn.ghost { border-color: var(--stroke); color: var(--text); background: rgba(255,255,255,0.03); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--glow); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 12px; }
.stat { padding: 14px; border: 1px solid var(--stroke); border-radius: 12px; background: rgba(255,255,255,0.02); }
.stat span { font-size: 20px; font-weight: 700; color: var(--text); }
.stat small { color: var(--muted); display: block; margin-top: 6px; }

.hero-panel .card { background: rgba(19,36,58,0.9); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.card-head h3 { margin: 4px 0 0; font-size: 22px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.label { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 4px; }
.inline-note { border-top: 1px solid var(--stroke); padding-top: 14px; }
.license-slot { border-top: none; padding-top: 0; }
.license-box { border: none; border-radius: 14px; padding: 0; text-align: center; background: transparent; }
.license-box img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto; }

.section { padding: 64px clamp(16px, 4vw, 48px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); margin: 6px 0; }
.lede { color: var(--muted); max-width: 70ch; }
.controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toggle { display: inline-flex; border: 1px solid var(--stroke); border-radius: 12px; padding: 4px; background: rgba(255,255,255,0.03); }
.toggle-btn { border: none; background: transparent; color: var(--muted); padding: 10px 14px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.toggle-btn.active { background: rgba(111,255,227,0.12); color: var(--text); }
input[type="search"] { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--stroke); border-radius: 12px; padding: 12px 14px; min-width: 220px; }
input[type="search"]::placeholder { color: #9fb0cc; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid.slim { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.view { margin-top: 12px; }
.card.supply { background: rgba(19,36,58,0.8); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.card.supply h3 { font-size: 18px; margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(111,255,227,0.08); color: var(--text); font-size: 13px; border: 1px solid var(--stroke); }
.badge.hot { background: rgba(249,95,83,0.12); border-color: rgba(249,95,83,0.3); }
.badge.muted { background: rgba(255,255,255,0.04); color: var(--muted); }
.group-title { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.nested { display: flex; flex-wrap: wrap; gap: 6px; }
.nested .badge { background: rgba(255,255,255,0.05); }

.type-stack { display: flex; flex-direction: column; gap: 8px; }
.type-item { border: 1px solid var(--stroke); border-radius: 12px; background: rgba(255,255,255,0.02); overflow: hidden; }
.type-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; cursor: pointer; color: var(--text); position: relative; }
.type-item summary::-webkit-details-marker { display: none; }
.type-item summary::after { content: '+'; color: var(--muted); font-weight: 700; }
.type-item[open] summary::after { content: '-'; }
.type-item .muted { color: var(--muted); font-size: 13px; }
.type-item[open] { background: rgba(111,255,227,0.06); border-color: rgba(111,255,227,0.35); }
.type-item .brands { padding: 0 14px 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.type-item .brands .badge { background: rgba(111,255,227,0.08); }

.hidden { display: none; }

.map-wrap { position: relative; margin-top: 18px; }
.map-frame { position: relative; overflow: hidden; border: 1px solid var(--stroke); border-radius: 20px; box-shadow: var(--shadow); background: radial-gradient(circle at 20% 20%, rgba(111,255,227,0.08), transparent 40%), radial-gradient(circle at 80% 10%, rgba(249,95,83,0.08), transparent 40%), #0a1424; aspect-ratio: 2000 / 857; }
.leaflet-map { width: 100%; height: 100%; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45)); }
.leaflet-container { background: #0a1424; }
.leaflet-control-container .leaflet-bottom.leaflet-right { right: 8px; bottom: 8px; }
.leaflet-control-attribution { background: rgba(15,27,46,0.8); color: var(--muted); border-radius: 8px; border: 1px solid var(--stroke); padding: 4px 8px; font-size: 11px; }
.leaflet-control-attribution { display: none !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #101b2d; color: var(--text); border: 1px solid var(--stroke); }
.leaflet-popup-content { margin: 8px 10px; }
.leaflet-marker-icon, .leaflet-marker-shadow { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35)); }
.map-tooltip { background: #101b2d; color: var(--text); border: 1px solid var(--stroke); box-shadow: var(--shadow); border-radius: 10px; padding: 8px 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(255,255,255,0.05); border: 1px solid var(--stroke); color: var(--text); padding: 8px 10px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.chip.active { background: rgba(111,255,227,0.14); border-color: rgba(111,255,227,0.45); }

.card.wide { display: grid; grid-template-columns: 2fr 1.1fr; gap: 18px; background: rgba(19,36,58,0.85); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); align-items: start; }
.card.wide > :only-child { grid-column: 1 / -1; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.cta-box { background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 14px; }

.brand-marquee {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px;
  animation: marquee 24s linear infinite;
}

.brand-logo {
  flex: 0 0 auto;
  min-width: 140px;
  text-align: center;
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.03);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.industry-card {
  overflow: hidden;
  padding: 18px;
  background: rgba(19,36,58,0.62);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
}

.industry-icon {
  width: fit-content;
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #8cf7ea;
}

.industry-icon svg {
  width: 56px;
  height: 56px;
}

.industry-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-card .card-head h3 {
  font-size: 17px;
  line-height: 1.3;
}

.industry-card .lede {
  font-size: 14px;
  line-height: 1.5;
}

.industry-card .btn.ghost {
  margin-top: 2px;
  padding: 10px 12px;
  font-size: 14px;
  background: transparent;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 1600px) {
  .hero,
  .section {
    padding-left: clamp(72px, 10vw, 260px);
    padding-right: clamp(72px, 10vw, 260px);
  }

  .hero-copy h1 {
    max-width: 16ch;
  }
}

@media (max-width: 1200px) {
  .hero,
  .section {
    padding-left: clamp(16px, 3vw, 28px);
    padding-right: clamp(16px, 3vw, 28px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .map-frame {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 992px) {
  .top-nav {
    position: sticky;
    top: 10px;
    padding: 10px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 8px;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 14px;
  }

  .card.wide {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-frame {
    aspect-ratio: 4 / 3;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    min-width: 124px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .top-nav {
    top: 6px;
  }

  .brand-name {
    font-size: 14px;
  }

  .logo-badge {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}
