/* ── CODEFOCUZ SHARED STYLES ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A0F1E;
  --navy2:   #111827;
  --navy3:   #1A2236;
  --navy4:   #243048;
  --cyan:    #00D4FF;
  --emerald: #10B981;
  --white:   #F0F6FF;
  --muted:   #7A8BA8;
  --border:  #1E2D47;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  font-size: 0.875rem; font-weight: 600; color: var(--navy);
  background: var(--cyan); padding: 0.55rem 1.25rem;
  border-radius: 6px; text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #33DDFF; transform: translateY(-1px); }
.nav-mobile-btn {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--white);
}
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--navy2); border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; z-index: 99; flex-direction: column; gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; color: var(--muted); text-decoration: none;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--cyan); }

/* ─── PAGE HERO ──────────────────────────── */
.page-hero {
  padding: 9rem 5% 5rem;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(0,212,255,0.06) 0%, transparent 70%),
    var(--navy);
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--cyan);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.page-hero-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--cyan);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: normal; color: var(--cyan); }
.page-hero p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 560px; line-height: 1.75;
}

/* ─── SECTION BASE ──────────────────────────── */
section { padding: 5rem 5%; }
.section-label {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 540px;
}
.section-header { margin-bottom: 3.5rem; }
.bg2 { background: var(--navy2); }

/* ─── BUTTONS ──────────────────────────────── */
.btn-primary {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--navy); background: var(--cyan);
  padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #33DDFF; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.25);
}
.btn-ghost {
  display: inline-block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.95rem; color: var(--white); background: transparent;
  padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
  border: 1px solid var(--border); transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,212,255,0.04); }

/* ─── TAGS ─────────────────────────────────── */
.tag {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan);
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15);
  padding: 0.2rem 0.55rem; border-radius: 4px;
}
.tag-em {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--emerald);
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15);
  padding: 0.2rem 0.55rem; border-radius: 4px;
}

/* ─── CARDS ─────────────────────────────────── */
.card {
  background: var(--navy3); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.icon-cyan    { background: rgba(0,212,255,0.1);  color: var(--cyan); }
.icon-emerald { background: rgba(16,185,129,0.1); color: var(--emerald); }
.icon-purple  { background: rgba(139,92,246,0.1); color: #A78BFA; }
.icon-amber   { background: rgba(251,191,36,0.1); color: #FBB024; }
.card h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; margin-bottom: 0.6rem;
}
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ─── GRID LAYOUTS ──────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }

/* ─── CTA STRIP ─────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(16,185,129,0.08) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 4rem 5%; text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.75rem;
}
.cta-strip p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--navy2); border-top: 1px solid var(--border); padding: 3rem 5% 2rem;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 700; color: var(--white); margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--cyan); }
.footer-desc { font-size: 0.85rem; color: var(--muted); max-width: 240px; line-height: 1.65; }
.footer-links-group h5 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem;
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--navy3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─── FADE IN ──────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
  section { padding: 4rem 5%; }
}
