@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&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-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a2d4a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: #00d4ff;
  color: #0a1628;
}

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

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

ul, ol {
  list-style: none;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 45, 74, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #6366f1);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #1a2d4a;
}

.nav-link:hover::after {
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-shrink: 0;
  padding: 0 1.5rem;
}

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

.header-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a1628;
  letter-spacing: -0.03em;
}

.header-logo-text span {
  color: #00d4ff;
}

.header-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  background: #0a1628;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: #1a2d4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.3);
}

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

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

/* ===== HERO ===== */
.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

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

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(400px, 60vw, 800px);
  height: clamp(400px, 60vw, 800px);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(99, 102, 241, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  background: rgba(0, 212, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #00d4ff;
  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(1.4); }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #0a1628;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0a1628;
  letter-spacing: -0.02em;
  font-family: 'JetBrains Mono', monospace;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: #7a8ba3;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #00d4ff 0%, #00b4d8 100%);
  color: #0a1628;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
  white-space: nowrap;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  background: transparent;
  color: #1a2d4a;
  border: 1.5px solid #d1d9e6;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

.section-wrapper.alt-bg {
  background: #f8fafc;
  max-width: 100%;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00d4ff;
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #00d4ff;
  border-radius: 1px;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0a1628;
  margin-bottom: 1rem;
}

.lead-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: #4a5568;
  line-height: 1.7;
}

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

.card-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 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, #00d4ff, #6366f1);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 102, 241, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.65;
}

/* ===== IMAGE ===== */
.image {
  border-radius: 12px;
  overflow: hidden;
}

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

/* ===== CODE / MONO ===== */
.code-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  background: #0a1628;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.7;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.code-block .keyword {
  color: #00d4ff;
}

.code-block .string {
  color: #a5f3c4;
}

/* ===== BODY TEXT ===== */
.body-text {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.75;
  max-width: 65ch;
}

.body-text + .body-text {
  margin-top: 1rem;
}

/* ===== METRIC BADGE ===== */
.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.08);
  color: #0096c7;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #6366f1);
  border-radius: 2px;
  margin: 0 auto;
}

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

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

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

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

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

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

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #7a8ba3;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #7a8ba3;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: #4a5568;
}

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

.footer-social a {
  color: #7a8ba3;
  transition: color 0.25s ease;
}

.footer-social a:hover {
  color: #00d4ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
  }

  .header-inner {
    justify-content: center;
  }

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

@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

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

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

.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;
}
/* 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}
