/* Outset Solutions — Master Sovereign Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Global OLED Canvas Palette */
  --bg-oled: #030712;
  --bg-surface: #0b1120;
  --bg-surface-elevated: #111827;
  --card-bg: rgba(17, 24, 39, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #64748b;

  /* Universal Brand Colors */
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --teal: #0d9488;

  /* Product-Specific Accent Signatures */
  --ai-dev-blue: #3b82f6;
  --ai-dev-cyan: #06b6d4;
  --quantum-purple: #a855f7;
  --quantum-cyan: #06b6d4;
  --va-emerald: #10b981;
  --va-blue: #2563eb;
  --privacy-rose: #f43f5e;
  --privacy-amber: #f59e0b;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.3);
  --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.3);
  --shadow-glow-rose: 0 0 30px rgba(244, 63, 94, 0.3);
}

/* Reset & Global Scaffolding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-oled);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container.narrow {
  max-width: 820px;
}

/* Floating Glass Island Header */
.header-island-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  padding: 0 16px;
}

.header-island {
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.brand-badge.purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.brand-badge.blue {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.brand-badge.emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.brand-badge.rose {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

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

.nav-link.active {
  color: #fff;
}

/* Button & Pill System */
.btn-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-primary-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #0b1120 !important;
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-primary-gold:hover {
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.6);
}

.btn-primary-purple {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn-primary-purple:hover {
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.6);
}

.btn-primary-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-primary-blue:hover {
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.6);
}

.btn-primary-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #030712 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-primary-emerald:hover {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.6);
}

.btn-primary-rose {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

.btn-primary-rose:hover {
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.6);
}

/* Double-Bezel Card System (Doppelrand) */
.shell-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.shell-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.inner-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* Sections & Spacing */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

h2.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

p.lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Bento Grids */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8 { grid-column: span 8; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }

@media (max-width: 1024px) {
  .bento-col-8, .bento-col-6, .bento-col-4 {
    grid-column: span 12;
  }
}

/* Stats Row */
.stats-banner {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.stat-item {
  text-align: center;
  padding: 12px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Master Global Footer */
.site-footer {
  background: #02040a;
  border-top: 1px solid var(--card-border);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 18px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

/* Billing Hub */
.billing-main { flex: 1; }
.billing-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.panel-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.billing-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.billing-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  padding: 10px 16px;
  font: inherit;
}
.billing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.billing-tab {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.billing-tab.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.billing-panel { display: none; }
.billing-panel.active { display: block; }
.billing-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 720px;
}
.billing-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.billing-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin: 12px 0;
}
.catalog-group { margin-bottom: 40px; }
.catalog-group-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #cbd5e1;
}
.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.billing-table th,
.billing-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--card-border);
}
.billing-table th {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.billing-empty {
  color: var(--text-muted);
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px dashed var(--card-border);
}
