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

/* ── Reset ── */
*, *::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-size: clamp(0.875rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.7;
  color: #c8cad8;
  background: #06080f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ── Utility ── */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #f0f1f7;
  line-height: 1.15;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 2rem + 3vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.35rem); }

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

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 8, 15, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(57, 255, 20, 0.08);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: #f0f1f7;
  flex-shrink: 0;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.site-logo .logo-accent {
  color: #39ff14;
}

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

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #9497b0;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #f0f1f7;
  background: rgba(57, 255, 20, 0.07);
}

.nav-link.active {
  color: #39ff14;
}

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

/* Mobile nav toggle */
.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: #c8cad8;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #39ff14 0%, #00cc6a 100%);
  color: #06080f;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f0f1f7;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #9497b0;
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: #39ff14;
}

/* ── Hero ── */
.page-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, rgba(57, 255, 20, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #39ff14;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-label .pulse-dot {
  width: 7px;
  height: 7px;
  background: #39ff14;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(57, 255, 20, 0); }
}

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

.hero-title .gradient-text {
  background: linear-gradient(135deg, #39ff14 0%, #8b5cf6 50%, #39ff14 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: #8b8fa8;
  max-width: 600px;
  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-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 700;
  color: #f0f1f7;
}

.stat-number .accent-green { color: #39ff14; }
.stat-number .accent-purple { color: #8b5cf6; }

.stat-label {
  font-size: 0.82rem;
  color: #6b6f8a;
  margin-top: 0.25rem;
}

/* ── Sections ── */
.section-wrapper {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-wrapper.alt-bg {
  background: rgba(255, 255, 255, 0.015);
}

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

.section-heading .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b5cf6;
  margin-bottom: 0.75rem;
}

.section-description {
  text-align: center;
  color: #6b6f8a;
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.05rem);
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.4), rgba(139, 92, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(57, 255, 20, 0.08);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #f0f1f7;
}

.card-text {
  color: #8b8fa8;
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.08);
  color: #39ff14;
}

.card-tag.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* ── Eyebrow / Label ── */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b5cf6;
}

.eyebrow.green {
  color: #39ff14;
}

/* ── Lead paragraph ── */
.lead-paragraph {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  color: #a0a3b8;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ── Body text ── */
.body-text {
  color: #8b8fa8;
  line-height: 1.75;
}

/* ── Image ── */
.image {
  display: block;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Feature list ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.feature-list li:hover {
  border-color: rgba(57, 255, 20, 0.12);
}

.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ── Two column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

/* ── Code / Terminal block ── */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-block .comment { color: #4a4e6a; }
.code-block .keyword { color: #8b5cf6; }
.code-block .string { color: #39ff14; }
.code-block .number { color: #f0a500; }

/* ── Banner / CTA section ── */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(57, 255, 20, 0.06) 100%);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #8b8fa8;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ── Footer ── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}

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

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

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #6b6f8a;
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6f8a;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: #8b8fa8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #39ff14;
}

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

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

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #6b6f8a;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
}

/* ── Status badge ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
}

.status-badge.live {
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
}

.status-badge.upcoming {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col.reverse {
    direction: ltr;
  }

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

@media (max-width: 700px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.25rem;
  }

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

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #06080f;
}

::-webkit-scrollbar-thumb {
  background: #1a1f3e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a2f5e;
}

/* ── Selection ── */
::selection {
  background: rgba(57, 255, 20, 0.2);
  color: #f0f1f7;
}
/* 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}
