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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #0a0a0f;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a0a0f;
}

p {
  max-width: none;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ─── HEADER / NAV ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 10, 15, 0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #0a0a0f;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
}

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

.nav-links a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5a5a72;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0a0a0f;
  background-color: rgba(0, 229, 255, 0.06);
}

.nav-links a.nav-cta {
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  color: #0a0a0f;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.5rem 1.125rem;
}

.nav-links a.nav-cta:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #00d4f0 0%, #00a2c8 100%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a0a0f;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ─── HERO ─── */

.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: linear-gradient(180deg, #f5f5fa 0%, #fafafa 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.6875rem, 1.2vw, 0.8125rem);
  font-weight: 500;
  color: #a855f7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: rgba(168, 85, 247, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.12);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: #0a0a0f;
}

.hero-title .accent-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: #5a5a72;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

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

.hero-image {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 15, 0.08);
  box-shadow:
    0 4px 6px rgba(10, 10, 15, 0.02),
    0 20px 40px rgba(10, 10, 15, 0.06),
    0 0 0 1px rgba(0, 229, 255, 0.05);
  overflow: hidden;
  background: #0a0a0f;
}

/* ─── BUTTONS ─── */

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0f;
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  opacity: 1;
}

.primary-button:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0f;
  background: transparent;
  border: 1.5px solid rgba(10, 10, 15, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover {
  border-color: rgba(10, 10, 15, 0.25);
  background-color: rgba(10, 10, 15, 0.03);
  transform: translateY(-1px);
}

.secondary-button:focus-visible {
  outline: 2px solid #0a0a0f;
  outline-offset: 2px;
}

/* ─── SECTIONS ─── */

.section-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-heading .accent-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading .accent-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 0.75rem;
}

.lead-paragraph {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  font-weight: 300;
  color: #5a5a72;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.body-text {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: #5a5a72;
  line-height: 1.75;
  max-width: none;
}

/* ─── CARD GRID ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(10, 10, 15, 0.06);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 10, 15, 0.06);
  border-color: rgba(0, 229, 255, 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  background: rgba(0, 229, 255, 0.08);
  color: #00b4d8;
}

.card-icon.purple {
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
}

.card .body-text {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ─── STATS BAR ─── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid rgba(10, 10, 15, 0.06);
  border-bottom: 1px solid rgba(10, 10, 15, 0.06);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #00e5ff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5a5a72;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* ─── IMAGE ─── */

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.image-grid .image {
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 15, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-grid .image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(10, 10, 15, 0.08);
}

.image-grid .image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ─── CODE / MONO BLOCKS ─── */

.code-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  background: #0a0a0f;
  color: #00e5ff;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* ─── FOOTER ─── */

.site-footer {
  background: #0a0a0f;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
}

.footer-brand .body-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
}

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #00e5ff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── DIVIDER ─── */

.section-divider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section-divider hr {
  border: none;
  height: 1px;
  background: rgba(10, 10, 15, 0.06);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    border-bottom: 1px solid rgba(10, 10, 15, 0.06);
    gap: 0.125rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    width: 100%;
  }

  .nav-links a.nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    max-width: none;
  }

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

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── ACCESSIBILITY ─── */

:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── GLOW DECORATION ─── */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

.glow-orb.cyan {
  width: 300px;
  height: 300px;
  background: rgba(0, 229, 255, 0.15);
}

.glow-orb.purple {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.12);
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
