@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500&family=Barlow+Condensed:wght@400;600;700&family=Share+Tech+Mono&display=swap');

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

:root {
  --bg:      #070b12;
  --bg2:     #0c1220;
  --bg3:     #121a2c;
  --steel:   #94a3b8;
  --steel2:  #b8c8d8;
  --steel3:  #d4dfe8;
  --dim:     #4a5a6e;
  --border:  rgba(148,163,184,0.12);
  --borderh: rgba(148,163,184,0.28);
  --white:   #eef2f7;
}

html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--bg); color: var(--white); overflow-x: hidden; line-height: 1.7; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 3rem;
  background: rgba(7,11,18,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-brand img { height: 36px; width: auto; mix-blend-mode: screen; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.14em; color: var(--steel3); }
.nav-sub  { font-family: 'Barlow Condensed', sans-serif; font-size: 0.6rem; font-weight: 400; letter-spacing: 0.22em; color: var(--steel); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--steel); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { border: 1px solid var(--border) !important; padding: 0.4rem 1rem; border-radius: 2px; transition: border-color 0.2s, color 0.2s !important; }
.nav-cta:hover { border-color: var(--steel2) !important; color: var(--white) !important; }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 7rem 2rem 5rem;
  background: var(--bg);
  overflow: hidden;
}

#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--steel); border: 1px solid var(--border);
  padding: 0.3rem 1rem; border-radius: 2px; margin-bottom: 2.5rem;
}

.hero-logo-block {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.hero-shield {
  width: 140px; height: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1) contrast(1.05);
}

.hero-wordmark { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }

.hero-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--steel3);
  text-shadow: 0 0 60px rgba(180,200,220,0.15);
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--dim);
}

.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: var(--steel); line-height: 1.85;
  max-width: 520px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  background: var(--steel2); color: var(--bg);
  padding: 0.8rem 2rem; border-radius: 2px;
  text-decoration: none; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--steel3); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--steel);
  padding: 0.8rem 2rem; border-radius: 2px;
  border: 1px solid var(--border);
  text-decoration: none; font-weight: 400;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--steel); color: var(--white); }

/* STATS */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; justify-content: center; gap: 5rem;
  padding: 2rem 4rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--steel3); line-height: 1;
}
.stat-num span { color: var(--dim); }
.stat-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 0.25rem; }

/* SECTIONS */
section { padding: 6rem 4rem; max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
  line-height: 1.1; margin-bottom: 1rem; color: var(--white);
}

.section-sub { color: var(--steel); max-width: 500px; margin-bottom: 3rem; font-size: 0.95rem; font-weight: 300; }

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}

.why-card {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  transition: background 0.2s;
}
.why-card:hover { background: #18243a; }

.why-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  background: rgba(148,163,184,0.05);
}
.why-icon svg { width: 18px; height: 18px; stroke: var(--steel2); fill: none; stroke-width: 1.5; }

.why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--steel3); margin-bottom: 0.5rem;
}
.why-card p { color: var(--steel); font-size: 0.88rem; line-height: 1.75; font-weight: 300; }

/* PRODUCTS */
.products-wrap { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6rem 4rem; }
.products-inner { max-width: 1200px; margin: 0 auto; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.product-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 3px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--borderh); transform: translateY(-3px); }

.product-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel2), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover .product-line { opacity: 1; }

.product-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 0.75rem; display: block;
}

.product-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem; font-weight: 700; color: var(--steel3);
  margin-bottom: 0.5rem;
}
.product-card p { color: var(--steel); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; font-weight: 300; }

.product-link {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel2); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s, color 0.2s;
}
.product-link:hover { gap: 0.7rem; color: var(--steel3); }

/* CTA */
.cta-wrap { padding: 6rem 2rem; text-align: center; }
.cta-box {
  max-width: 640px; margin: 0 auto;
  background: var(--bg3); border: 1px solid var(--border); border-radius: 4px;
  padding: 4rem 3rem; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(148,163,184,0.06), transparent 60%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 700; margin-bottom: 1rem;
}
.cta-box p { color: var(--steel); margin-bottom: 2rem; font-size: 0.95rem; font-weight: 300; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border); background: var(--bg2);
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-shield { height: 32px; width: auto; mix-blend-mode: screen; opacity: 0.6; }
.footer-wordmark { display: flex; flex-direction: column; }
.footer-name { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em; color: var(--steel); }
.footer-sub  { font-family: 'Barlow Condensed', sans-serif; font-size: 0.55rem; letter-spacing: 0.2em; color: var(--dim); }

.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.75rem; color: var(--dim); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--steel3); }
.footer-copy { font-size: 0.72rem; color: var(--dim); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge     { animation: fadeUp 0.5s ease both; }
.hero-logo-block{ animation: fadeUp 0.5s ease 0.1s both; }
.hero-sub       { animation: fadeUp 0.5s ease 0.2s both; }
.hero-actions   { animation: fadeUp 0.5s ease 0.3s both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .stats-bar { gap: 2rem; padding: 2rem 1.5rem; }
  .products-wrap { padding: 4rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; }
}
