/* ── ATRANETX IT — SHARED DESIGN SYSTEM ── */

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

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

:root {
  --navy:   #050D1A;
  --navy2:  #0A1628;
  --slate:  #1A2744;
  --slate2: #243357;
  --cyan:   #00D4FF;
  --blue:   #0066FF;
  --white:  #F0F8FF;
  --muted:  #8FA0BE;
  --border: rgba(0,212,255,0.13);
  --glow:   0 0 30px rgba(0,212,255,0.22);
  --glow-lg: 0 0 70px rgba(0,212,255,0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  background: rgba(5,13,26,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--white);
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800; color: var(--navy);
  flex-shrink: 0;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  background: var(--cyan); color: var(--navy) !important;
  font-family: var(--font-display);
  font-weight: 700 !important; font-size: 0.82rem !important;
  letter-spacing: 0.04em;
  padding: 8px 20px !important; border-radius: 6px !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: #33DDFF !important; box-shadow: var(--glow) !important; }
.nav-hamburger {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--white); border-radius: 6px; padding: 6px 10px;
  cursor: pointer; font-size: 1.1rem;
}

/* ── PAGE HERO ── */
.page-hero {
  min-height: 56vh; display: flex; align-items: center;
  padding: 110px 60px 72px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(0,102,255,0.14) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 20px;
}
.eyebrow-dot { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--cyan); }
.page-hero p {
  font-size: 1.05rem; color: var(--muted);
  max-width: 560px; line-height: 1.75;
  margin-bottom: 36px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; border-radius: var(--radius-sm);
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.22s; letter-spacing: 0.02em;
  padding: 13px 28px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--navy);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-lg); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost {
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.3); padding: 10px 22px;
}
.btn-ghost:hover { background: rgba(0,212,255,0.08); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── SECTION ── */
.section { padding: 96px 60px; }
.section-alt { background: var(--navy2); }
.section-slate { background: var(--slate); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.section-header .eyebrow { margin-bottom: 14px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--cyan); }
.section-sub { color: var(--muted); max-width: 560px; line-height: 1.75; font-size: 0.975rem; }

/* ── CARDS ── */
.card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 36px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: rgba(0,212,255,0.35); box-shadow: var(--glow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: rgba(0,212,255,0.08); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 1.5rem;
  margin-bottom: 22px; transition: all 0.3s;
}
.card:hover .card-icon { border-color: var(--cyan); box-shadow: var(--glow); }
.card-title {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 700; margin-bottom: 12px;
}
.card-body { color: var(--muted); font-size: 0.9rem; line-height: 1.72; }

/* ── TAGS ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  background: rgba(0,212,255,0.07); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px; padding: 4px 13px;
  font-size: 0.71rem; color: var(--cyan); font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── STAT BLOCK ── */
.stat-block { padding: 32px; }
.stat-num {
  font-family: var(--font-display); font-size: 2.6rem;
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,22,40,0.6); padding: 16px 0;
}
.ticker-track {
  display: flex; gap: 52px; width: max-content;
  animation: ticker 26s linear infinite;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.ticker-sep { color: var(--cyan); opacity: 0.4; }

/* ── FOOTER ── */
footer {
  background: var(--navy2); border-top: 1px solid var(--border);
  padding: 64px 60px 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 52px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand-desc {
  color: var(--muted); font-size: 0.875rem; line-height: 1.72;
  margin-top: 14px; max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; margin-bottom: 18px; letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 0.78rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--cyan); }
.footer-legal { display: flex; gap: 20px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CANVAS BG ── */
.canvas-hero { position: absolute; inset: 0; z-index: 0; opacity: 0.35; }

/* ── MISC ── */
.cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
strong { font-weight: 600; color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(5,13,26,0.97); padding: 20px 24px 28px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .page-hero, .section { padding-left: 24px; padding-right: 24px; }
  .grid-2, .grid-3, .grid-4, .grid-2-1 { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 48px 24px 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; padding-top: 96px; }
}
