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

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

:root {
  --void-black: #07070e;
  --void-deep: #0d0d18;
  --void-mid: #13132a;
  --slate-dark: #1a1a2e;
  --slate-mid: #252540;
  --slate-light: #3a3a5c;
  --neon-cyan: #00e5ff;
  --neon-cyan-dim: #00b8cc;
  --neon-cyan-glow: rgba(0, 229, 255, 0.25);
  --electric-purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --text-primary: #e8eaf0;
  --text-secondary: #9ca3b8;
  --text-muted: #6b7194;
  --gradient-main: linear-gradient(135deg, var(--neon-cyan), var(--electric-purple));
  --gradient-subtle: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(139,92,246,0.08));
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
}

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

body {
  font-family: var(--font-body);
  font-size: clamp(0.938rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--void-black);
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--purple-bright);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 2rem + 3.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 1.4rem + 2.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); font-weight: 600; }

p {
  color: var(--text-secondary);
  max-width: 65ch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p + p { margin-top: 1em; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  min-height: clamp(420px, 55vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(139,92,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(0,229,255,0.06) 0%, transparent 60%),
    var(--void-black);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 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;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.65rem + 0.4vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.4em 1.2em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

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

/* ── BUTTONS ── */
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--void-black);
  background: var(--gradient-main);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.85em 2em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--neon-cyan-glow);
  color: var(--void-black);
  filter: brightness(1.1);
}

.primary-button:active {
  transform: translateY(0);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 1.5px solid var(--slate-light);
  border-radius: var(--radius-md);
  padding: 0.8em 2em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover {
  border-color: var(--electric-purple);
  color: var(--text-primary);
  background: rgba(139,92,246,0.08);
  transform: translateY(-1px);
}

/* ── SECTION WRAPPER ── */
.section-wrapper {
  padding: clamp(3.5rem, 4vw + 2rem, 7rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-wrapper.section-alt {
  background: var(--void-deep);
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-alt .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-heading {
  margin-bottom: 0.75rem;
}

.section-heading .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-purple);
  margin-bottom: 0.75rem;
}

.lead-paragraph {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.body-text {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── CARD GRID & CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
  width: 100%;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  background: var(--slate-dark);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  border: 1px solid rgba(0,229,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

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

/* ── IMAGE ── */
.image {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image:hover img {
  transform: scale(1.02);
}

/* ── NAV / HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 7, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 36px;
  height: 36px;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-brand-text span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5em 1em;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links li a.active {
  color: var(--neon-cyan);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .primary-button {
  padding: 0.6em 1.5em;
  font-size: 0.85rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--void-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0,229,255,0.06);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7,7,14,0.97);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 0;
  }

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

  .nav-links li a {
    padding: 0.8em 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

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

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

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

  .primary-button,
  .secondary-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,229,255,0.1); }
  50% { box-shadow: 0 0 40px rgba(0,229,255,0.2); }
}

.glow-border {
  animation: pulse-glow 3s ease-in-out infinite;
}
/* 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}
