/* ============================================================
   VibeAlerts Static Site — Design System
   ============================================================ */

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

/* === Variables === */
:root {
  --bg: #09090f;
  --bg-card: #0f0f1a;
  --bg-card-hover: #141425;
  --bg-subtle: rgba(255,255,255,0.025);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --primary: #b76dff;
  --primary-light: #ddb7ff;
  --primary-dim: rgba(183,109,255,0.15);
  --primary-border: rgba(183,109,255,0.25);
  --secondary: #5de6ff;
  --secondary-dim: rgba(93,230,255,0.12);
  --secondary-border: rgba(93,230,255,0.25);
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --text-dim: #5a6478;
  --danger: #ff4d6d;
  --danger-dim: rgba(255,77,109,0.12);
  --warning: #ffb547;
  --warning-dim: rgba(255,181,71,0.12);
  --success: #4ade80;
  --success-dim: rgba(74,222,128,0.12);
  --font-headline: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-sm: 6px;
  --shadow-glow: 0 0 40px rgba(183,109,255,0.15);
  --shadow-glow-sm: 0 0 20px rgba(183,109,255,0.1);
  --transition: all 0.2s ease;
  --max-w: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mono { font-family: var(--font-mono); font-size: 0.875em; }
.label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.logo-full {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-mobile {
  height: 36px;
  width: 36px;
  object-fit: contain;
  display: none;
}
@keyframes pulse-bg {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-signin:hover { color: var(--text); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--primary); }
.page-pad { padding-top: 64px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  padding: 10px 22px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px rgba(183,109,255,0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 40px rgba(183,109,255,0.5);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-border);
  color: var(--primary-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-subtle); }
.btn-secondary {
  background: var(--secondary-dim);
  color: var(--secondary);
  border-color: var(--secondary-border);
}
.btn-secondary:hover { background: rgba(93,230,255,0.2); }

/* === Cards === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.card-glow:hover {
  box-shadow: var(--shadow-glow-sm);
  border-color: var(--primary-border);
}
.card-featured {
  border-color: var(--primary-border);
  background: linear-gradient(135deg, rgba(183,109,255,0.06), rgba(93,230,255,0.03));
  box-shadow: var(--shadow-glow-sm);
  position: relative;
}
.card-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(183,109,255,0.3), rgba(93,230,255,0.15));
  z-index: -1;
}

/* === Badges === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.badge-primary { background: var(--primary-dim); color: var(--primary-light); border: 1px solid var(--primary-border); }
.badge-secondary { background: var(--secondary-dim); color: var(--secondary); border: 1px solid var(--secondary-border); }
.badge-danger { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(255,77,109,0.25); }
.badge-warning { background: var(--warning-dim); color: var(--warning); border: 1px solid rgba(255,181,71,0.25); }
.badge-success { background: var(--success-dim); color: var(--success); border: 1px solid rgba(74,222,128,0.25); }
.badge-muted { background: rgba(255,255,255,0.05); color: var(--text-dim); border: 1px solid var(--border); }

/* === Section Headers === */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; line-height: 1.7; }

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(183,109,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(93,230,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-pill .dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 { margin-bottom: 20px; }
.hero .subtext {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* === Alert Feed Mockup === */
.alert-feed {
  position: relative;
  margin-top: 64px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.alert-feed::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-lg) + 12px);
  background: linear-gradient(135deg, rgba(183,109,255,0.35), rgba(93,230,255,0.18));
  filter: blur(32px);
  opacity: 0.7;
  z-index: 0;
}

/* ── Rotating tracer border ── */
.feed-tracer {
  position: relative;
  z-index: 1;
  padding: 2px;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
}
.feed-tracer-beam {
  position: absolute;
  inset: -150%;
  animation: feed-tracer-spin 4.5s linear infinite;
}
.feed-tracer-beam--primary {
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 60%,
    hsl(270, 100%, 45%) 72%,
    hsl(270, 100%, 70%) 78%,
    hsl(285, 100%, 88%) 81%,
    hsl(270, 100%, 70%) 84%,
    hsl(270, 100%, 45%) 90%,
    transparent 98%
  );
}
.feed-tracer-beam--secondary {
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    transparent 75%,
    hsl(187, 100%, 55%) 83%,
    hsl(187, 100%, 75%) 86%,
    hsl(187, 100%, 55%) 89%,
    transparent 96%
  );
  opacity: 0.45;
  animation-delay: -2.25s;
}
@keyframes feed-tracer-spin {
  to { transform: rotate(360deg); }
}
.feed-tracer-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feed-window {
  position: relative;
  background: rgba(15,15,26,0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.feed-titlebar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feed-dots { display: flex; gap: 6px; }
.feed-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.feed-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.feed-title .live-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.feed-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.alert-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.alert-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.alert-critical { background: var(--danger-dim); border-color: rgba(255,77,109,0.2); }
.alert-critical::before { background: var(--danger); }
.alert-warning { background: var(--warning-dim); border-color: rgba(255,181,71,0.2); }
.alert-warning::before { background: var(--warning); }
.alert-info { background: var(--secondary-dim); border-color: rgba(93,230,255,0.15); opacity: 0.75; }
.alert-info::before { background: var(--secondary); }
.alert-icon { width: 18px; height: 18px; shrink: 0; margin-top: 2px; flex-shrink: 0; }
.alert-icon svg { width: 18px; height: 18px; }
.alert-critical .alert-icon { color: var(--danger); }
.alert-warning .alert-icon { color: var(--warning); }
.alert-info .alert-icon { color: var(--secondary); }
.alert-body { flex: 1; }
.alert-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.alert-critical .alert-title { color: var(--danger); }
.alert-warning .alert-title { color: var(--warning); }
.alert-info .alert-title { color: var(--secondary); }
.alert-msg { font-size: 0.78rem; font-family: var(--font-mono); color: var(--text-muted); }
.alert-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.alert-time { font-size: 0.7rem; color: var(--text-dim); font-family: var(--font-mono); }

/* === Feature Cards === */
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; }
.icon-security { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(255,77,109,0.2); }
.icon-perf { background: var(--secondary-dim); color: var(--secondary); border: 1px solid var(--secondary-border); }
.icon-cost { background: var(--warning-dim); color: var(--warning); border: 1px solid rgba(255,181,71,0.2); }
.icon-usage { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--primary-border); }
.icon-error { background: rgba(255,100,50,0.1); color: #ff6432; border: 1px solid rgba(255,100,50,0.2); }
.icon-shield { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--primary-border); }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '';
  width: 16px; height: 16px;
  min-width: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b76dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
}

/* === Platform Logos === */
.platforms {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.platforms p {
  text-align: center;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  opacity: 0.5;
  transition: opacity 0.4s;
}
.platform-logos:hover { opacity: 0.8; }
.platform-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

/* === Code Blocks === */
.code-block {
  background: #080810;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.code-lang {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.code-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.code-copy:hover { border-color: var(--primary-border); color: var(--primary); }
.code-copy.copied { color: var(--success); border-color: rgba(74,222,128,0.3); }
.code-body {
  padding: 20px 24px;
  overflow-x: auto;
}
.code-body pre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre;
}
.tok-key { color: var(--primary-light); }
.tok-str { color: var(--secondary); }
.tok-cmt { color: var(--text-dim); font-style: italic; }
.tok-kw { color: var(--primary); }
.tok-num { color: var(--warning); }
.tok-method { color: var(--success); }

/* === Steps === */
.steps { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; gap: 20px; }
.step-num {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; }
.step-divider {
  width: 40px;
  min-width: 40px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-card.featured {
  border-color: var(--primary-border);
  background: linear-gradient(160deg, rgba(183,109,255,0.07), rgba(93,230,255,0.03));
  box-shadow: var(--shadow-glow-sm);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pricing-featured .pricing-name { color: var(--primary-light); }
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 6px;
}
.pricing-price .amount {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-price .period {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.pricing-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 24px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pricing-feature .check { color: var(--primary); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.pricing-feature .check-muted { color: var(--text-dim); flex-shrink: 0; margin-top: 1px; }

/* === SOC2 === */
.soc2-section { background: linear-gradient(135deg, rgba(183,109,255,0.04), rgba(93,230,255,0.02)); }
.soc2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.soc2-controls-preview { display: flex; flex-direction: column; gap: 10px; }
.control-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.control-row:hover { border-color: var(--primary-border); }
.control-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(183,109,255,0.7);
  width: 50px;
  flex-shrink: 0;
}
.control-label { font-size: 0.82rem; font-weight: 500; flex: 1; color: var(--text); }
.control-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 600;
}

/* === Tables === */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead tr { background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.025); }
tbody td { padding: 12px 16px; color: var(--text-muted); vertical-align: top; }
.td-code { font-family: var(--font-mono); font-size: 0.78rem; }
.td-label { font-weight: 500; color: var(--text); font-size: 0.85rem; }
.td-sev { text-align: center; }

/* === Accordion === */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.03); color: var(--primary-light); }
.accordion-trigger .chevron {
  width: 18px; height: 18px;
  color: var(--text-dim);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.accordion-trigger.open .chevron { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.open { max-height: 2000px; }
.accordion-body {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.accordion-body p { color: var(--text-muted); }

/* === Tabs === */
.tab-bar {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 18px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: var(--primary-dim);
  color: var(--primary-light);
  border: 1px solid var(--primary-border);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === Alert Type Tags === */
.alert-type-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.alert-type-tag:hover { border-color: var(--primary-border); color: var(--primary); }
.alert-type-tag .sev-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sev-emergency { background: #ff2d55; }
.sev-critical { background: var(--danger); }
.sev-warning { background: var(--warning); }
.sev-info { background: var(--secondary); }

/* === CTA Section === */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(183,109,255,0.12), transparent);
}
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; margin-bottom: 32px; }

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: rgba(255,255,255,0.01);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 100px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 0%, rgba(183,109,255,0.1), transparent 60%);
  pointer-events: none;
}

/* === Callout Boxes === */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid;
}
.callout-primary { background: var(--primary-dim); border-color: var(--primary-border); }
.callout-secondary { background: var(--secondary-dim); border-color: var(--secondary-border); }
.callout-warning { background: var(--warning-dim); border-color: rgba(255,181,71,0.25); }
.callout-success { background: var(--success-dim); border-color: rgba(74,222,128,0.25); }
.callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.callout-body h4 { font-size: 0.9rem; margin-bottom: 4px; }
.callout-body p { font-size: 0.85rem; }

/* === Progress Bar === */
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 1s ease;
}

/* === Stat Grid === */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label { font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-mono); }

/* === Channel Icons === */
.channels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.channel-card:hover { border-color: var(--primary-border); }
.channel-icon {font-size: 1.2rem; max-width: 30%; margin-bottom: 6px; margin: auto; padding-bottom: 10px; display: block;}
.channel-name { font-size: 0.85rem; color: var(--text-dim); font-family: var(--font-mono); }

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* === Responsive === */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .soc2-grid { grid-template-columns: 1fr; gap: 48px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-signin { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .logo-full { display: none; }
  .logo-mobile { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  :root { --max-w: 100%; }
  .container { padding: 0 16px; }
  h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.8rem; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-price .amount { font-size: 2rem; }
}

/* === Scroll Progress Bar === */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s;
}

/* === Utility === */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(183,109,255,0.2), rgba(93,230,255,0.1));
  border: 1px solid var(--primary-border);
  color: var(--primary-light);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
