/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0f172a;
  --bg-alt:      #111827;
  --bg-card:     #1e293b;
  --bg-card2:    #162032;
  --border:      rgba(255,255,255,0.08);
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --blue:        #3b82f6;
  --blue-dark:   #2563eb;
  --blue-glow:   rgba(59,130,246,0.18);
  --purple:      #8b5cf6;
  --green:       #10b981;
  --orange:      #f59e0b;
  --red:         #ef4444;
  --teal:        #06b6d4;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.35);
  --transition:  0.2s ease;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm  { padding: 7px 16px; font-size: 13px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-full{ width: 100%; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-wrapper.scrolled {
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-logo:hover { opacity: 0.9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links li a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links li a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}
.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 ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.badge-pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59,130,246,0.08);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-pill-dark {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 40px;
  max-width: 680px;
  margin: 0 auto;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 28px;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Severity bar ──────────────────────────────────────────────────────────── */
.sev-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.sev-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sev-chip {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
}
.sev-chip.critical { background: #b91c1c; }
.sev-chip.high     { background: #c2410c; }
.sev-chip.medium   { background: #b45309; }
.sev-chip.low      { background: #15803d; }
.sev-chip.info     { background: #1d4ed8; }
.sev-copy {
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 6px;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-alt); }
.section-alt  { background: var(--bg-card2); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 12px 0 14px;
}
.section-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Feature cards ─────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; }
.icon-purple { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.icon-green  { background: rgba(16,185,129,0.15);  color: #34d399; }
.icon-orange { background: rgba(245,158,11,0.15);  color: #fbbf24; }
.icon-red    { background: rgba(239,68,68,0.15);   color: #f87171; }
.icon-teal   { background: rgba(6,182,212,0.15);   color: #22d3ee; }
.icon-k8s    { background: rgba(50,108,229,0.15);  color: #6b9eff; }
.icon-linux  { background: rgba(245,158,11,0.15);  color: #fbbf24; }
.icon-web    { background: rgba(16,185,129,0.15);  color: #34d399; }
.icon-indigo { background: rgba(99,102,241,0.15);  color: #a5b4fc; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Platform callouts ─────────────────────────────────────────────────────── */
.callouts-section { padding: 0 0 96px; }

.callouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.callout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius);
  padding: 28px 32px;
}
.callout-k8s   { background: linear-gradient(135deg, rgba(50,108,229,0.07) 0%, transparent 70%); border: 1px solid rgba(50,108,229,0.2); }
.callout-linux { background: linear-gradient(135deg, rgba(245,158,11,0.07) 0%, transparent 70%); border: 1px solid rgba(245,158,11,0.2); }
.callout-web   { background: linear-gradient(135deg, rgba(16,185,129,0.07) 0%, transparent 70%); border: 1px solid rgba(16,185,129,0.2); }

.callout-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.callout-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.callout-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.callout-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.k8s-chip {
  padding: 4px 10px;
  border: 1px solid rgba(50,108,229,0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #6b9eff;
  background: rgba(50,108,229,0.08);
}
.linux-chip {
  padding: 4px 10px;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245,158,11,0.08);
}
.web-chip {
  padding: 4px 10px;
  border: 1px solid rgba(16,185,129,0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  background: rgba(16,185,129,0.08);
}

/* ── How it works steps ────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.step-arrow {
  font-size: 24px;
  color: var(--text-dim);
  align-self: center;
  flex-shrink: 0;
}

/* ── Platform strip (hero) ─────────────────────────────────────────────────── */
.platform-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.platform-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 20px;
  gap: 2px;
}
.pstrip-label {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.2px;
}
.pstrip-sub {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 500;
  white-space: nowrap;
}
.pstrip-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Cloud provider cards ──────────────────────────────────────────────────── */
.clouds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.cloud-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.cloud-card:hover { transform: translateY(-3px); }

.cloud-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.aws-header   { border-top: 3px solid #FF9900; }
.azure-header { border-top: 3px solid #0078D4; }
.gcp-header   { border-top: 3px solid #4285F4; }
.k8s-header   { border-top: 3px solid #326CE5; }
.linux-header { border-top: 3px solid #f59e0b; }
.web-header   { border-top: 3px solid #10b981; }

.cloud-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cloud-card-label {
  font-size: 15px;
  font-weight: 700;
}
.cloud-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .3px;
}
.cloud-service-list {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cloud-service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.cloud-service-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}


/* ── Pricing cards ─────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 40px rgba(59,130,246,0.2);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.plan-price {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}
.price-period {
  font-size: 16px;
  color: var(--text-muted);
}
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.plan-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li .check  { color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-features li .muted  { color: var(--text-dim); flex-shrink: 0; }

/* ── CTA section ───────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-inner {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--blue); }
.footer-bottom a:hover { text-decoration: underline; }

/* ── Scroll reveal ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 16px; display: block; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 8px 14px; }
  .stat-divider { display: none; }

  .steps { flex-direction: column; }
  .step-arrow { display: none; }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }

  .sev-copy { display: none; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -0.5px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
}
