/* =================================================================
   NetRoach — Corporate Homepage Styles (netroach.com)
   ================================================================= */

:root {
  --bg: #000000;
  --bg-raised: #111111;
  --bg-card: #1c1c1e;
  --panel: rgba(28, 28, 30, 0.95);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f5f7;
  --muted: #86868b;
  --muted-strong: #d2d2d7;
  --cyan: #2997ff;
  --cyan-soft: rgba(41, 151, 255, 0.12);
  --blue: #6ec0ff;
  --purple: #bf5af2;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 980px;
  --max-w: 1160px;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  transition: background 280ms ease, color 280ms ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SHELL ─────────────────────────────────────────────────────── */
.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
.font-display,
.site-hero h1,
.section-label,
.product-card__name,
.pillar h3,
.nav-logo-name {
  font-family: 'Space Grotesk', sans-serif;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-copy strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav-logo-copy span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: box-shadow 180ms ease, transform 180ms ease, opacity 150ms ease;
  box-shadow: 0 4px 16px rgba(41, 151, 255, 0.28);
}

.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { transform: translateY(-1px); opacity: 0.88; box-shadow: 0 8px 28px rgba(41, 151, 255, 0.4); }

/* ── HERO ──────────────────────────────────────────────────────── */
.site-hero {
  padding: clamp(80px, 12vw, 148px) 0 clamp(60px, 9vw, 110px);
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 28px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.25);
}

.hero-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

.site-hero h1 {
  margin: 0 auto 24px;
  max-width: 18ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero-lead {
  margin: 0 auto 48px;
  max-width: 56ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 4px 16px rgba(41, 151, 255, 0.28);
}

.btn--primary:hover { opacity: 0.88; box-shadow: 0 8px 28px rgba(41, 151, 255, 0.4); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover { background: var(--cyan-soft); border-color: var(--cyan); color: var(--cyan); }

.hero-scroll {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}

.hero-scroll__line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  opacity: 0.35;
}

/* ── TRUST BAR ─────────────────────────────────────────────────── */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted-strong);
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

.trust-sep {
  width: 1px;
  height: 20px;
  background: var(--line);
}

/* ── PRODUCT SPOTLIGHT ─────────────────────────────────────────── */
.product-section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin: 10px 0 14px;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(28, 28, 30, 0.95);
  box-shadow: var(--shadow);
}

.product-card__copy {
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.25);
  width: fit-content;
  margin-bottom: 20px;
}

.product-card__badge svg { width: 13px; height: 13px; }

.product-card__name {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.product-card__sub {
  font-size: 0.9rem;
  color: var(--cyan);
  margin: 0 0 20px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-card__desc {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted-strong);
  margin: 0 0 32px;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 12px;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.product-feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-card__visual {
  background: rgba(17, 17, 17, 0.9);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(36px, 5vw, 60px) 36px;
  gap: 28px;
}

.mock-window {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 28, 30, 0.95);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.mock-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.mock-window__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mock-window__bar span:nth-child(1) { background: #ff5f57; }
.mock-window__bar span:nth-child(2) { background: #febc2e; }
.mock-window__bar span:nth-child(3) { background: #28c840; }

.mock-window__title {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 6px;
}

.mock-window__body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(28, 28, 30, 0.8);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.mock-row svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
  flex-shrink: 0;
}

.mock-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-row__label { color: var(--muted); }
.mock-row__value { font-weight: 700; color: var(--text); font-size: 0.82rem; }
.mock-row__value--mono { font-family: 'Space Grotesk', monospace; letter-spacing: 0.15em; }

.mock-row--active {
  background: rgba(41, 151, 255, 0.1);
  border-color: rgba(41, 151, 255, 0.22);
}

.product-stat-row {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.stat-tile {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(28, 28, 30, 0.8);
  text-align: center;
}

.stat-tile__val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-tile__label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── PILLARS ───────────────────────────────────────────────────── */
.pillars-section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(28, 28, 30, 0.9);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.pillar:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--cyan-soft);
  border: 1px solid rgba(41, 151, 255, 0.2);
  color: var(--cyan);
  margin-bottom: 22px;
}

.pillar__icon svg { width: 24px; height: 24px; }

.pillar h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--muted);
}

/* ── CANADA BAND ───────────────────────────────────────────────── */
.canada-band {
  padding: clamp(52px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
}

.canada-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.canada-band h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 16px;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.canada-band p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted-strong);
  margin: 0 0 28px;
}

.canada-features {
  display: grid;
  gap: 14px;
}

.canada-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(28, 28, 30, 0.8);
}

.canada-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--cyan-soft);
  color: var(--cyan);
}

.canada-feature__icon svg { width: 18px; height: 18px; }

.canada-feature__text h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.canada-feature__text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: transparent;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.footer-logo__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-logo__copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 180ms ease;
}

.footer-links a svg { width: 13px; height: 13px; opacity: 0.7; }
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-inner {
    gap: 16px;
  }

  .nav-logo-copy span {
    display: none;
  }

  .nav-cta {
    padding-inline: 16px;
  }

  .product-card,
  .canada-band__inner {
    grid-template-columns: 1fr;
  }

  .product-card__visual {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-w), calc(100% - 24px));
  }

  .nav-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-logo {
    width: 100%;
  }

  .nav-logo-copy strong {
    font-size: 0.95rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; }

  .button-row {
    flex-direction: column;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .trust-sep { display: none; }
}
