/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg: #07090f;
  --bg2: #0d1117;
  --bg3: #111820;
  --surface: #131c27;
  --border: rgba(255,255,255,0.07);
  --green: #4ade80;
  --green-dim: #166534;
  --blue: #38bdf8;
  --text: #f0f4f8;
  --muted: #7d8fa3;
  --radius: 14px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max: 1160px;
  --nav-h: 68px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
input, textarea, select, button { font-family: inherit; }

/* ── Utilities ───────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.body-text {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* ── Gradient text ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Reveal animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--green) !important;
  color: #07090f !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem;
  transition: opacity 0.2s, transform 0.2s !important;
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hex-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(74, 222, 128, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 20% 70%, rgba(56, 189, 248, 0.06) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.stat span { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--green); }
.stat p { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 52px;
  border: 2px solid var(--border);
  border-radius: 100px;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--green);
  border-radius: 100px;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-6px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--green);
  color: #07090f;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-primary.large { font-size: 1.0625rem; padding: 16px 36px; }
.btn-primary.full { width: 100%; justify-content: center; margin-top: 8px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  background: transparent;
  color: var(--text);
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.molecule {
  width: 280px;
  height: 280px;
  animation: moleculeSpin 20s linear infinite;
}
@keyframes moleculeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about-tag {
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 8px 20px;
  border-radius: 8px;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ── PRODUCTS ────────────────────────────────────────────────── */
.products { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent, var(--green)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.product-card:hover {
  border-color: var(--accent, var(--green));
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.product-card:hover::before { opacity: 0.06; }
.card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent, var(--green));
  margin-bottom: 18px;
}
.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent, var(--green));
  background: rgba(74, 222, 128, 0.07);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(74, 222, 128, 0.15);
}

/* ── WHY ─────────────────────────────────────────────────────── */
.why { background: var(--bg2); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.why-text { position: sticky; top: calc(var(--nav-h) + 32px); }
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: rgba(74, 222, 128, 0.3); transform: translateY(-2px); }
.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.08);
  border-radius: 10px;
  color: var(--green);
}
.feature h4 {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* ── REGIONS ─────────────────────────────────────────────────── */
.regions { background: var(--bg); }
.regions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.region-card:hover { border-color: rgba(74, 222, 128, 0.3); transform: translateY(-3px); }
.region-flag { font-size: 2rem; margin-bottom: 12px; }
.region-card h4 {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.region-card p { font-size: 0.78125rem; color: var(--muted); line-height: 1.6; }

/* ── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0d1f14 0%, #07090f 100%);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  border-bottom: 1px solid rgba(74, 222, 128, 0.12);
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-inner p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 36px; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.contact-item svg { color: var(--green); flex-shrink: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8fa3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--bg2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #3f5060; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8125rem; color: var(--muted); text-align: center; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 0.875rem; margin-top: 12px; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; }
.footer-links h5 {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-text { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; border-top: none; padding-top: 48px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .stat:last-child { border-bottom: none; }
  .why-features { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
}
