@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;
}

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.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  color: #0b1a2e;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

a {
  color: #2b6ce6;
  text-decoration: none;
  transition: color 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a:hover {
  color: #1d4faa;
}

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

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Top Bar ── */
.topbar {
  background: #0b1a2e;
  border-bottom: 1px solid rgba(43,108,230,0.3);
  padding: 0.5rem 0;
  text-align: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-text {
  color: #c8d6e5;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-text .pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.topbar-cta {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: #2b6ce6;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.topbar-cta:hover {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #fff;
}

/* ── Header / Nav ── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e9ef;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #0b1a2e;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: #2b6ce6;
}

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

.main-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3d4f63;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #0b1a2e;
  background: #f0f4fa;
}

.main-nav a.nav-active {
  color: #2b6ce6;
  background: #e8f0fe;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #2b6ce6;
  color: #fff;
  box-shadow: 0 1px 3px rgba(43,108,230,0.25);
}

.btn-primary:hover {
  background: #1d5bd4;
  box-shadow: 0 4px 12px rgba(43,108,230,0.35);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #3d4f63;
  border: 1px solid #d1d9e6;
}

.btn-secondary:hover {
  background: #f5f7fa;
  border-color: #b0bdd0;
  color: #0b1a2e;
}

.btn-ghost {
  background: transparent;
  color: #3d4f63;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: #0b1a2e;
  background: #f5f7fa;
}

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

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

/* ── Hero ── */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2b6ce6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  background: #e8f0fe;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #0b1a2e;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: #2b6ce6;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #4a5e73;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #6b7f94;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(11,26,46,0.06), 0 1px 3px rgba(11,26,46,0.04);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f3f8;
}

.hero-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b1a2e;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

.status-badge.up {
  background: #ecfdf5;
  color: #059669;
}

.status-badge.up .dot {
  background: #10b981;
}

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

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f5f7fa;
}

.status-row:last-child {
  border-bottom: none;
}

.status-row-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a2332;
}

.status-row-url {
  font-size: 0.75rem;
  color: #8a9ab5;
}

.status-row-uptime {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

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

.section-wrapper.alt-bg {
  background: #f4f7fc;
}

.section-wrapper.dark-bg {
  background: #0b1a2e;
  color: #c8d6e5;
}

.section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #0b1a2e;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.dark-bg .section-heading {
  color: #ffffff;
}

.lead-paragraph {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #4a5e73;
  max-width: 640px;
  line-height: 1.7;
}

.dark-bg .lead-paragraph {
  color: #8ea4b8;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

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

.section-header.center .lead-paragraph {
  margin-left: auto;
  margin-right: auto;
}

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

.card-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Cards ── */
.card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: all 0.25s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card:hover {
  border-color: #c5d3e8;
  box-shadow: 0 8px 30px rgba(11,26,46,0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon.blue {
  background: #e8f0fe;
  color: #2b6ce6;
}

.card-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.card-icon.amber {
  background: #fffbeb;
  color: #d97706;
}

.card-icon.red {
  background: #fef2f2;
  color: #dc2626;
}

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

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b1a2e;
  margin-bottom: 0.5rem;
}

.card-body-text {
  font-size: 0.9rem;
  color: #5a6d82;
  line-height: 1.6;
}

.card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f3f8;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b6ce6;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link:hover {
  gap: 0.5rem;
}

/* Dark card */
.dark-bg .card {
  background: #112240;
  border-color: #1e3a5f;
}

.dark-bg .card:hover {
  border-color: #2b6ce6;
}

.dark-bg .card-title {
  color: #e2e8f0;
}

.dark-bg .card-body-text {
  color: #8a9ab5;
}

.dark-bg .card-icon.blue {
  background: rgba(43,108,230,0.15);
}

.dark-bg .card-icon.green {
  background: rgba(16,185,129,0.15);
}

.dark-bg .card-icon.amber {
  background: rgba(217,119,6,0.15);
}

.dark-bg .card-footer {
  border-color: #1e3a5f;
}

/* ── Body text ── */
.body-text {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #4a5e73;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── Logos bar ── */
.logos-bar {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
  background: #ffffff;
}

.logos-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8a9ab5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

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

.logos-row svg {
  height: 28px;
  width: auto;
}

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

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

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #2b6ce6;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #6b7f94;
  font-weight: 500;
}

/* ── Footer ── */
.site-footer {
  background: #0b1a2e;
  color: #8a9ab5;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e3a5f;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 300px;
  color: #6b7f94;
}

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c8d6e5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #6b7f94;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #4a5e73;
}

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

.footer-bottom-links a {
  color: #4a5e73;
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: #8a9ab5;
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  text-decoration: none;
}

.footer-logo-text span {
  color: #2b6ce6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 500px;
  }

  .card-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e9ef;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

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

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

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero-inner {
    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-meta {
    justify-content: center;
  }

  .card-grid.three-col,
  .card-grid.two-col {
    grid-template-columns: 1fr;
  }

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

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

  .topbar-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

  .hero-actions .btn {
    width: 100%;
  }

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

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid #2b6ce6;
  outline-offset: 2px;
}

/* ── Selection ── */
::selection {
  background: rgba(43,108,230,0.15);
  color: #0b1a2e;
}
/* 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}
