@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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0f;
  color: #e0e0ea;
  line-height: 1.7;
  overflow-x: hidden;
  min-width: 320px;
}

/* ── Reset & Base ── */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: #00f0ff;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #33f6ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: #f0f0f5;
  letter-spacing: -0.02em;
}

.hero-title, .section-heading {
  display: block;
}

h1, .hero-title {
  font-size: clamp(2.8rem, 6vw + 0.5rem, 5.5rem);
  letter-spacing: -0.04em;
}

h2, .section-heading {
  font-size: clamp(2rem, 4vw + 0.3rem, 3.5rem);
  letter-spacing: -0.03em;
}

h3, .card-title {
  font-size: clamp(1.2rem, 2vw + 0.2rem, 1.6rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 1.5vw + 0.1rem, 1.3rem);
}

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

.lead-paragraph {
  font-size: clamp(1.05rem, 1.8vw + 0.1rem, 1.35rem);
  line-height: 1.65;
  color: #b0b0c8;
  max-width: 55ch;
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: #9898b0;
  margin-bottom: 1rem;
}

.eyebrow, .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00f0ff;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* ── Layout ── */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-wrapper {
  width: 100%;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.section-wrapper--bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  padding: clamp(4rem, 12vw, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem);
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, #f0f0f5 0%, #00f0ff 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw + 0.1rem, 1.5rem);
  color: #b0b0c8;
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Buttons ── */
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.primary-button {
  background: linear-gradient(135deg, #00f0ff, #00c8dd);
  color: #0a0a0f;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.primary-button:hover {
  background: linear-gradient(135deg, #33f6ff, #00f0ff);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #0a0a0f;
  text-shadow: none;
}

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

.secondary-button {
  background: transparent;
  color: #f0f0f5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.secondary-button:hover {
  border-color: #a855f7;
  color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

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

/* ── Header / Nav ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: clamp(60px, 8vw, 72px);
}

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

.header__logo-icon {
  width: 32px;
  height: 32px;
}

.header__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f0f5;
  letter-spacing: -0.02em;
}

.header__logo-text span {
  color: #00f0ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8888a0;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav__link:hover {
  color: #f0f0f5;
  background: rgba(255, 255, 255, 0.05);
  text-shadow: none;
}

.nav__link--active {
  color: #f0f0f5;
  background: rgba(0, 240, 255, 0.08);
}

.header__cta {
  flex-shrink: 0;
}

.header__cta .primary-button {
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f5;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

.nav__toggle svg {
  display: block;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
}

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0), transparent);
  transition: background 0.3s ease;
}

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

.card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card__icon--purple {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.12);
}

.card-title {
  margin-bottom: 0.6rem;
  color: #f0f0f5;
}

.card .body-text {
  margin-bottom: 0;
}

/* ── Image ── */
.image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.image--hero {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ── Stats / Metrics ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #00f0ff;
  display: block;
  line-height: 1.2;
}

.stat__label {
  font-size: 0.82rem;
  color: #8888a0;
  margin-top: 0.3rem;
  display: block;
}

/* ── Footer ── */
.footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 6, 10, 0.8);
  margin-top: auto;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand p {
  font-size: 0.9rem;
  color: #6a6a85;
  max-width: 28ch;
  margin-top: 0.75rem;
}

.footer__col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f0f0f5;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: #6a6a85;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #00f0ff;
  text-shadow: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: #4a4a60;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a6a85;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer__social-link:hover {
  border-color: rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}

/* ── Grid Lines Decoration ── */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Glow Orbs ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb--cyan {
  width: 400px;
  height: 400px;
  background: rgba(0, 240, 255, 0.08);
  top: -100px;
  right: -100px;
}

.glow-orb--purple {
  width: 350px;
  height: 350px;
  background: rgba(168, 85, 247, 0.06);
  bottom: -80px;
  left: -80px;
}

/* ── Code / Terminal Block ── */
.code-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  color: #a0a0b8;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.code-block .comment {
  color: #4a4a60;
}

.code-block .keyword {
  color: #a855f7;
}

.code-block .string {
  color: #00f0ff;
}

.code-block .number {
  color: #f0a040;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.15), transparent);
  margin: 0;
  border: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
    gap: 0;
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    padding: 0.85rem 1rem;
    width: 100%;
    text-align: left;
  }

  .nav__toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3rem;
  }

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

  .primary-button, .secondary-button {
    width: 100%;
    text-align: center;
  }

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

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

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

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

/* ── Utility ── */
.text-center {
  text-align: center;
}

.text-center .lead-paragraph,
.text-center .body-text {
  margin-left: auto;
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}
/* 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}
