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

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

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;
  color: #1a2332;
  background-color: #fafbfc;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 201, 167, 0.2);
  color: #0a1628;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

ul, ol {
  list-style: none;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 8vw, 80px);
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-brand-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #0a1628;
  letter-spacing: -0.02em;
}

.header-brand-text span {
  color: #00c9a7;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
}

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

.nav-links a {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 500;
  color: #4a5568;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0a1628;
  background: rgba(0, 201, 167, 0.08);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: clamp(0.5rem, 1.5vw, 1.5rem);
  border-left: 1px solid rgba(10, 22, 40, 0.08);
  font-size: 0.82rem;
  color: #718096;
  white-space: nowrap;
}

.header-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.header-cta {
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  font-weight: 600;
  color: #ffffff;
  background: #0a1628;
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.header-cta:hover {
  background: #00c9a7;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 201, 167, 0.3);
}

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a1628;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.page-hero {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 8vw, 6rem);
  background: linear-gradient(175deg, #ffffff 0%, #f0faf8 40%, #e8f8f4 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 22, 40, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: #00c9a7;
  background: rgba(0, 201, 167, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: #0a1628;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.hero-title .accent {
  color: #00c9a7;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 520px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-code-block {
  background: #0a1628;
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px rgba(10, 22, 40, 0.25), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
  overflow: hidden;
}

.hero-code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.code-dots span:first-child { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.hero-code-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  line-height: 1.9;
  color: #a0aec0;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero-code-text .key { color: #00c9a7; }
.hero-code-text .string { color: #ffd866; }
.hero-code-text .number { color: #ff7eb3; }
.hero-code-text .bracket { color: #63b3ed; }
.hero-code-text .bool { color: #ff7eb3; }

/* ===== BUTTONS ===== */
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: #ffffff;
  background: #0a1628;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button:hover {
  background: #00c9a7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.3);
  color: #ffffff;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: #0a1628;
  background: transparent;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  border: 2px solid rgba(10, 22, 40, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover {
  border-color: #00c9a7;
  color: #00c9a7;
  background: rgba(0, 201, 167, 0.04);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section-wrapper {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: #0a1628;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

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

.lead-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: #4a5568;
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.body-text {
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.8;
  color: #4a5568;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid rgba(10, 22, 40, 0.05);
  border-bottom: 1px solid rgba(10, 22, 40, 0.05);
}

.section-dark {
  background: #0a1628;
  color: #ffffff;
}

.section-dark .section-heading { color: #ffffff; }
.section-dark .lead-paragraph { color: #a0aec0; }
.section-dark .body-text { color: #a0aec0; }
.section-dark .eyebrow { color: #00ffd5; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.card {
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.07);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c9a7, #00ffd5);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
  border-color: rgba(0, 201, 167, 0.15);
}

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

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

.card-title {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card .body-text {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== IMAGE ===== */
.image {
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(10, 22, 40, 0.06);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  margin-top: clamp(2rem, 4vw, 3rem);
}

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

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #00c9a7;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 0.25rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0a1628;
  color: #a0aec0;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2rem);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.footer-brand-area {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

.footer-logo-text span {
  color: #00c9a7;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #718096;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: #718096;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #00c9a7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.8rem;
  color: #4a5568;
}

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

.footer-bottom-links a {
  color: #4a5568;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #00c9a7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-code-block {
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-area {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .nav-links,
  .header-contact,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

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

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }

/* ===== SUBTLE PATTERN BG ===== */
.grid-pattern {
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* 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}
