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

:root {
  --navy:    #0A0F1E;
  --navy2:   #111827;
  --cyan:    #00D4FF;
  --cyan-dim:#007A94;
  --steel:   #C8D8E8;
  --offwhite:#F0F4F8;
  --slate:   #4A5568;
  --slate2:  #2D3748;
  --radius:  12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--offwhite);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 2px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--offwhite);
}

.logo-text span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--steel);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.btn-login {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 22px;
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

/* hide nav links on small screens */
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 2rem 80px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* animated circuit grid — the signature element */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-drift 20s linear infinite;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 60%, transparent 30%, var(--navy) 80%);
}

@keyframes grid-drift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  background: rgba(0,212,255,0.05);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

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

.btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s;
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0,212,255,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  background: rgba(255,255,255,0.05);
  color: var(--offwhite);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

/* ── MAIN CONTENT AREA ───────────────────────────── */
main {
  flex: 1;
  padding: 0 2rem 5rem;
}

.content-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--navy2);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 4px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  min-height: 420px;
}

.content-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,212,255,0.1);
}

.content-card-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--offwhite);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.placeholder-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.placeholder-tile:hover {
  border-color: rgba(0,212,255,0.25);
  background: rgba(0,212,255,0.04);
}

.tile-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.tile-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 0.4rem;
}

.tile-desc {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
}

.content-notice {
  text-align: center;
  color: var(--slate);
  font-size: 0.85rem;
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,0.07);
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.footer-logo span { color: var(--cyan-dim); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--slate);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--offwhite); }

@media (max-width: 500px) {
  footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}
