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

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

:root {
  --color-bg: #F4F7FB;
  --color-surface: #FFFFFF;
  --color-primary: #0B1426;
  --color-secondary: #142240;
  --color-accent: #8CD845;
  --color-accent-glow: rgba(140, 216, 69, 0.25);
  --color-accent-dark: #6BB830;
  --color-alert: #FF4757;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-border: #E2E8F0;
  --color-hero-bg: #0B1426;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(11,20,38,0.06);
  --shadow-md: 0 4px 16px rgba(11,20,38,0.08);
  --shadow-lg: 0 8px 32px rgba(11,20,38,0.12);
  --shadow-glow: 0 0 24px rgba(140,216,69,0.3);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: clamp(0.938rem, 0.9rem + 0.25vw, 1.063rem);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== HEADER / NAV ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: -0.02em;
}

.nav-brand__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-brand__icon svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

.nav-links a.active {
  color: #FFFFFF;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: var(--color-primary) !important;
}

.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: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */

.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #0B1426 0%, #0E1E3D 40%, #132A52 70%, #0B1426 100%);
  padding: 120px clamp(1.25rem, 4vw, 3.5rem) 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140,216,69,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140,216,69,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,216,69,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,216,69,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(140, 216, 69, 0.1);
  border: 1px solid rgba(140, 216, 69, 0.2);
  border-radius: 50px;
  color: var(--color-accent);
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow__dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  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(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--color-accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw + 0.3rem, 1.3rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.hero-stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw + 0.3rem, 2.1rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.hero-stat__value .accent {
  color: var(--color-accent);
}

.hero-stat__label {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* Floating status badges */
.hero-float {
  position: absolute;
  z-index: 1;
  padding: 10px 18px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.813rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(1) {
  top: 22%;
  left: 5%;
  animation-delay: 0s;
}

.hero-float:nth-child(2) {
  top: 30%;
  right: 6%;
  animation-delay: -2s;
}

.hero-float:nth-child(3) {
  bottom: 25%;
  left: 8%;
  animation-delay: -4s;
}

.hero-float__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-float__status--ok {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(140,216,69,0.5);
}

.hero-float__status--warn {
  background: #FFB800;
  box-shadow: 0 0 8px rgba(255,184,0,0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ===== BUTTONS ===== */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.primary-button:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  white-space: nowrap;
}

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

.secondary-button--dark {
  color: var(--color-text);
  border-color: var(--color-border);
}

.secondary-button--dark:hover {
  border-color: var(--color-text-muted);
  background: rgba(11,20,38,0.03);
}

/* ===== SECTIONS ===== */

.section-wrapper {
  padding: clamp(60px, 8vw + 20px, 110px) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-wrapper--dark {
  background: var(--color-primary);
  max-width: 100%;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.section-wrapper--dark .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw + 0.3rem, 2.6rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-heading .accent {
  color: var(--color-accent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

.section-wrapper--dark .section-label {
  color: var(--color-accent);
}

.section-label__line {
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.lead-paragraph {
  font-size: clamp(1.05rem, 1.5vw + 0.2rem, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

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

.body-text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== CARDS ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  width: 100%;
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(140,216,69,0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(140,216,69,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card .body-text {
  font-size: 0.938rem;
  line-height: 1.65;
}

.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.card--dark .card-title {
  color: #FFFFFF;
}

.card--dark .body-text {
  color: rgba(255,255,255,0.45);
}

.card--dark:hover {
  border-color: rgba(140,216,69,0.25);
  background: rgba(255,255,255,0.06);
}

/* ===== IMAGE ===== */

.image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ===== DIVIDER ===== */

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== STATUS BADGE ===== */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge--ok {
  background: rgba(140,216,69,0.12);
  color: var(--color-accent-dark);
}

.status-badge--ok .status-badge__dot {
  background: var(--color-accent);
}

.status-badge--alert {
  background: rgba(255,71,87,0.12);
  color: var(--color-alert);
}

.status-badge--alert .status-badge__dot {
  background: var(--color-alert);
}

.status-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ===== FOOTER ===== */

.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.5);
  padding: 64px clamp(1.25rem, 4vw, 3.5rem) 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.813rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col__links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.813rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__copy {
  color: rgba(255,255,255,0.3);
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
}

.footer-bottom__links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom__links a:hover {
  color: var(--color-accent);
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-float {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11,20,38,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 8px;
  }

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

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 16px;
    padding: 14px 28px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
  }

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

/* ===== UTILITIES ===== */

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

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

.mb-0 {
  margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
/* 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}
