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

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

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

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

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

ul, ol {
  list-style: none;
}

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

/* === PAGE / BODY === */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(0.938rem, 0.9rem + 0.25vw, 1.063rem);
  line-height: 1.7;
  color: #0F172A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0F172A;
}

.page-hero .hero-title,
.hero-title {
  font-size: clamp(2.5rem, 2rem + 3.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading {
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.card-title {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.eyebrow-label,
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-paragraph {
  font-size: clamp(1.063rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  color: #475569;
}

.body-text {
  font-size: clamp(0.938rem, 0.9rem + 0.2vw, 1.063rem);
  line-height: 1.7;
  color: #475569;
}

.hero-subtitle {
  font-size: clamp(1.063rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.section-wrapper {
  padding: clamp(4rem, 5vw + 2rem, 7rem) 0;
}

.section-wrapper--gray {
  background: #F8FAFC;
}

.section-wrapper--dark {
  background: #0B1426;
  color: #FFFFFF;
}

.section-wrapper--dark .section-heading {
  color: #FFFFFF;
}

.section-wrapper--dark .body-text,
.section-wrapper--dark .lead-paragraph {
  color: rgba(255, 255, 255, 0.65);
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.site-header--scrolled .nav-link {
  color: #334155;
}

.site-header--scrolled .nav-link:hover {
  color: #0F172A;
}

.site-header--scrolled .logo-text {
  color: #0F172A;
}

.site-header--scrolled .logo-dot {
  color: #00D47E;
}

.site-header--scrolled .header-cta {
  background: #0F172A;
  color: #FFFFFF;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  z-index: 1001;
}

.logo-text {
  color: #FFFFFF;
  transition: color 0.35s ease;
}

.logo-dot {
  color: #00D47E;
  transition: color 0.35s ease;
}

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

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

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.938rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.938rem;
  font-weight: 600;
  background: #00D47E;
  color: #0B1426;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: #00E68A;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: background 0.35s ease;
}

.site-header--scrolled .menu-toggle span {
  background: #0F172A;
}

/* === HERO === */
.page-hero {
  position: relative;
  padding: clamp(8rem, 12vw + 3rem, 11rem) 0 clamp(5rem, 8vw + 2rem, 7rem);
  background: #0B1426;
  overflow: hidden;
}

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

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 126, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-glow--left {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 126, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(0, 212, 126, 0.1);
  border: 1px solid rgba(0, 212, 126, 0.25);
  border-radius: 100px;
  width: fit-content;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D47E;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-badge-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.813rem;
  font-weight: 500;
  color: #00D47E;
  letter-spacing: 0.02em;
}

.hero-title {
  color: #FFFFFF;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* Hero visual / mockup area */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  display: none;
}

/* === BUTTONS === */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.813rem 1.75rem;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.primary-button {
  background: #00D47E;
  color: #0B1426;
  box-shadow: 0 1px 2px rgba(0, 212, 126, 0.2), 0 4px 16px rgba(0, 212, 126, 0.15);
}

.primary-button:hover {
  background: #00E68A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 212, 126, 0.25), 0 8px 24px rgba(0, 212, 126, 0.2);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.secondary-button--light {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}

.secondary-button--light:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
}

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

.card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0FDF4;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: #00D47E;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-description {
  font-size: 0.938rem;
  line-height: 1.6;
  color: #64748B;
}

/* === STATUS INDICATOR (decorative motif) === */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.813rem;
  font-weight: 500;
  color: #16A34A;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-indicator--warning {
  background: #FFFBEB;
  border-color: #FEF3C7;
  color: #D97706;
}

.status-indicator--warning .status-indicator-dot {
  background: #F59E0B;
}

.status-indicator--error {
  background: #FEF2F2;
  border-color: #FEE2E2;
  color: #DC2626;
}

.status-indicator--error .status-indicator-dot {
  background: #EF4444;
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 0;
  opacity: 0.4;
}

.trust-bar-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: clamp(4rem, 6vw + 2rem, 7rem) 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.cta-section .section-heading {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .lead-paragraph {
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* === IMAGE === */
.image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.image--rounded {
  border-radius: 16px;
}

/* === CODE BLOCK (for docs/technical feel) === */
.code-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  background: #0F172A;
  color: #E2E8F0;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.7;
}

.code-block .code-key {
  color: #00D47E;
}

.code-block .code-value {
  color: #93C5FD;
}

/* === FOOTER === */
.site-footer {
  background: #0B1426;
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

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

.footer-brand-text {
  font-size: 0.938rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.938rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #00D47E;
}

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

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

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    background: #0B1426;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
  }

  .nav-list--open {
    transform: translateX(0);
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .header-actions {
    display: none;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

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

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

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

/* === ANIMATION UTILITIES === */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* === DIVIDER === */
.divider {
  width: 100%;
  height: 1px;
  background: #E2E8F0;
  margin: 0;
}

.divider--dark {
  background: rgba(255, 255, 255, 0.06);
}
/* 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}
