/* ==========================================================================
   OopsBase — Official Cloud Platform & Backend Suite
   Design System: Obsidian Emerald Trust (Inspired by Duyo, Linear & Vercel)
   Typography: Plus Jakarta Sans (Headings) & Inter (Body) & JetBrains Mono (Code)
   ========================================================================== */

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

:root {
  /* Surface & Base Palette - Obsidian Emerald Dark */
  --bg-primary: #080A08;
  --bg-secondary: #0E120E;
  --bg-card: rgba(18, 23, 18, 0.85);
  --bg-card-hover: rgba(24, 32, 24, 0.95);
  --bg-elevated: #161D16;
  --bg-surface: #0B0F0B;
  --bg-glass: rgba(10, 14, 10, 0.85);
  --bg-glass-card: rgba(22, 29, 22, 0.7);

  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: #222B22;
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(62, 207, 142, 0.35);
  --border-focus: rgba(62, 207, 142, 0.6);

  /* Brand Accents */
  --brand: #3ECF8E;
  --brand-hover: #4DE09D;
  --brand-dim: #24B47E;
  --brand-glow: rgba(62, 207, 142, 0.25);
  --brand-soft: rgba(62, 207, 142, 0.12);

  /* Supporting Accents */
  --cyan: #38BDF8;
  --cyan-soft: rgba(56, 189, 248, 0.12);
  --cyan-glow: rgba(56, 189, 248, 0.25);

  --purple: #A855F7;
  --purple-soft: rgba(168, 85, 247, 0.12);
  --purple-glow: rgba(168, 85, 247, 0.25);

  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);

  --rose: #EF4444;
  --rose-soft: rgba(239, 68, 68, 0.12);
  --rose-glow: rgba(239, 68, 68, 0.25);

  /* Typography Colors */
  --text-primary: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  /* Typography Font Stacks */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, monospace;

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(62, 207, 142, 0.2);
  --shadow-cyan: 0 0 30px rgba(56, 189, 248, 0.2);

  /* Navigation & Layout */
  --nav-height: 64px;
  --max-width: 1240px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1.25rem);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  padding-top: var(--nav-height);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(ellipse at 25% 10%, rgba(62, 207, 142, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 35%, rgba(56, 189, 248, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 40% 75%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
}

/* Ambient Radial Mesh Grid (Fixed Background Underlay) */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

/* Typography Hierarchy (Supabase Inter Developer Typography) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-feature-settings: 'cv02' 1, 'cv03' 1, 'cv04' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

code, pre {
  font-family: var(--font-mono);
}

/* Gradient Text Utilities */
.gradient-text-supabase {
  background: linear-gradient(135deg, #3ECF8E 0%, #24B47E 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #6ee7b7 0%, var(--brand) 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-white {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-card);
  background: rgba(18, 23, 18, 0.8);
  backdrop-filter: blur(12px);
}

.badge-brand {
  border-color: rgba(62, 207, 142, 0.3);
  color: var(--brand);
  background: var(--brand-soft);
}

.badge-cyan {
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--cyan);
  background: var(--cyan-soft);
}

.badge-purple {
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple);
  background: var(--purple-soft);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-hover), var(--brand));
  color: #04140B;
  box-shadow: 0 4px 15px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(62, 207, 142, 0.45);
  background: linear-gradient(135deg, #6ee7b7, var(--brand-hover));
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-card);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}

/* ==========================================================================
/* ==========================================================================
   Navigation Bar (Supabase & Appwrite Developer Precision Header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(8, 10, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(62, 207, 142, 0.25);
  background: rgba(8, 10, 8, 0.96);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

/* Brand Identity */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.nav-brand:hover {
  opacity: 0.92;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #182218, #0E150E);
  border: 1px solid rgba(62, 207, 142, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--brand-glow);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.brand-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-brand:hover .brand-icon {
  border-color: var(--brand);
  box-shadow: 0 0 18px rgba(62, 207, 142, 0.45);
  transform: scale(1.04);
}

.brand-name {
  color: #ffffff;
}

.brand-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 7px;
  background: rgba(62, 207, 142, 0.12);
  color: var(--brand);
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop Navigation Menu Links (Supabase Minimalist Links) */
.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-link {
  color: #A1A1AA;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--brand);
  font-weight: 600;
  background: rgba(62, 207, 142, 0.1);
  border-color: rgba(62, 207, 142, 0.22);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Live Operational Status Pill */
.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.22);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-status-pill:hover {
  background: rgba(62, 207, 142, 0.14);
  border-color: rgba(62, 207, 142, 0.4);
}

.status-latency {
  color: #9CA3AF;
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Header Text Button (Sign In) */
.nav-login-link {
  color: #D1D5DB;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 12px;
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-login-link:hover {
  color: #ffffff;
}

/* Header Primary Launch CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3ECF8E;
  color: #041C10;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 6px;
  border: 1px solid rgba(62, 207, 142, 0.45);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 16px rgba(62, 207, 142, 0.25);
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: #4DE09D;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.4);
  color: #02140A;
}

/* Animated Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--brand);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--brand);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--brand);
}

/* Mobile Slide-Out Drawer & Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 330px;
  background: #0A0D0A;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-top: calc(1.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.mobile-drawer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-group-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  padding-left: 0.5rem;
  margin-top: 6px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.mobile-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
  padding-left: 1rem;
}

.mobile-link.active {
  color: var(--brand);
  background: var(--brand-soft);
  border-left-color: var(--brand);
  padding-left: 1rem;
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mobile-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers & Architectural Rhythm
   ========================================================================== */
.marketing-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.75rem;
}

.section-eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(62, 207, 142, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-lead, .section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hero Section — Supabase & Appwrite Sovereign Cloud Architecture
   ========================================================================== */
.hero-section {
  padding: 80px 0 90px;
  position: relative;
  overflow: visible;
  text-align: center;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(62, 207, 142, 0.12) 0%, transparent 60%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Supabase Announcement Pill */
.hero-announcement-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.hero-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  background: rgba(18, 24, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.84rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-announcement-pill:hover {
  border-color: rgba(62, 207, 142, 0.45);
  background: rgba(22, 30, 22, 0.95);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.2);
  transform: translateY(-1px);
}

.announcement-tag {
  background: rgba(62, 207, 142, 0.15);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(62, 207, 142, 0.3);
  letter-spacing: 0.04em;
}

.announcement-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.announcement-text {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.announcement-arrow {
  color: var(--brand);
  transition: transform var(--transition-fast);
}

.hero-announcement-pill:hover .announcement-arrow {
  transform: translateX(3px);
}

/* Supabase Asymmetric Display Headline & Pitch */
.hero-header-stack {
  max-width: 920px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-size: clamp(3rem, 6.2vw, 4.85rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #F9FAFB;
  font-feature-settings: 'cv02' 1, 'cv03' 1, 'cv04' 1, 'cv11' 1;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  color: #9CA3AF;
  max-width: 780px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-subtitle strong {
  color: #F9FAFB;
  font-weight: 600;
}

/* Supabase CTA Buttons */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-supabase-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3ECF8E;
  color: #041C10;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid rgba(62, 207, 142, 0.5);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 4px 18px rgba(62, 207, 142, 0.28);
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-supabase-primary:hover {
  background: #4DE09D;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(62, 207, 142, 0.45);
  color: #02140A;
}

.btn-supabase-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #F9FAFB;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-supabase-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transform: translateY(-1.5px);
}

.btn-supabase-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-supabase-ghost:hover {
  color: var(--brand);
  background: rgba(62, 207, 142, 0.06);
  border-color: rgba(62, 207, 142, 0.2);
}

/* Supabase Hero Subsystem Quick-Bar */
.hero-quick-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 21, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hero-quick-pill:hover {
  background: rgba(26, 36, 26, 0.9);
  border-color: rgba(62, 207, 142, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-quick-pill.active {
  background: rgba(62, 207, 142, 0.12);
  border-color: rgba(62, 207, 142, 0.5);
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 0 16px rgba(62, 207, 142, 0.18);
}

.quick-pill-icon {
  font-size: 0.88rem;
}

.quick-pill-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.hero-quick-pill.active .quick-pill-status {
  background: rgba(62, 207, 142, 0.2);
  color: var(--brand);
}

/* ==========================================================================
   Appwrite-Inspired 3D Perspective Console Showcase Stage
   ========================================================================== */
.hero-3d-stage {
  perspective: 1400px;
  perspective-origin: 50% 35%;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 50px auto 0;
  padding: 24px 20px 0;
}

.hero-3d-console {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 3.5deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  background: #0B0E0B;
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 35px 85px -20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(62, 207, 142, 0.12);
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.hero-3d-console:hover {
  box-shadow: 0 40px 95px -20px rgba(0, 0, 0, 0.95), 0 0 65px rgba(62, 207, 142, 0.18);
  border-color: rgba(62, 207, 142, 0.4);
}

/* Appwrite Floating 3D Depth Cards */
.floating-3d-card {
  position: absolute;
  z-index: 10;
  background: rgba(14, 18, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(62, 207, 142, 0.1);
  transform-style: preserve-3d;
  transform: translateZ(var(--tz, 45px)) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  pointer-events: none;
  text-align: left;
  width: max-content;
}

.floating-3d-card:hover {
  border-color: rgba(62, 207, 142, 0.5);
}

.float-top-left {
  top: -4px;
  left: -20px;
  border-left: 3px solid var(--brand);
}

.float-top-right {
  top: -4px;
  right: -20px;
  border-right: 3px solid var(--brand);
}

.float-bottom-left {
  bottom: 24px;
  left: -24px;
  border-left: 3px solid var(--cyan);
}

.float-bottom-right {
  bottom: 24px;
  right: -24px;
  border-right: 3px solid var(--amber);
}

.float-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(62, 207, 142, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand);
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.float-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.float-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-stat-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.float-stat-highlight {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand);
}

.float-stat-version {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
}

.float-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.float-card-bar {
  margin-top: 8px;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.float-card-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  border-radius: 2px;
}

.float-card-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: 4px;
  color: var(--brand);
  width: fit-content;
}

/* ==========================================================================
   Supabase & Appwrite Framework Ecosystem Ribbon
   ========================================================================== */
.hero-frameworks-ribbon {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ribbon-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #6B7280;
  text-transform: uppercase;
}

.framework-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 960px;
}

.framework-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: default;
}

.framework-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(62, 207, 142, 0.35);
  color: #ffffff;
  transform: translateY(-1.5px);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive adjustments for 3D Hero */
@media (max-width: 1100px) {
  .floating-3d-card {
    display: none;
  }
  .hero-3d-stage {
    padding: 0;
    margin-top: 36px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0 60px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-3d-stage {
    perspective: none;
  }
  .hero-3d-console {
    transform: none !important;
    border-radius: 12px;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-supabase-primary,
  .btn-supabase-secondary,
  .btn-supabase-ghost {
    width: 100%;
    justify-content: center;
  }
}

.console-topbar {
  background: #0E130E;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.traffic-red { background: #EF4444; }
.traffic-yellow { background: #F59E0B; }
.traffic-green { background: #10B981; }

.console-nav-tabs {
  display: flex;
  gap: 6px;
  background: #070907;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.console-tab-btn {
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.console-tab-btn:hover {
  color: #ffffff;
}

.console-tab-btn.active {
  background: #182218;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.console-meta-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.console-latency {
  color: var(--brand);
  font-weight: 600;
}

.console-body {
  padding: 24px;
  min-height: 380px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: #090C09;
}

.console-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-item:hover, .sidebar-item.active {
  background: #131A13;
  color: #ffffff;
}

.sidebar-item.active {
  color: var(--brand);
  font-weight: 600;
}

.console-main-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Console Data Table View */
.console-table-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #070907;
}

.console-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.console-table th {
  background: #0E130E;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.console-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.console-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.pill-active {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
}

/* Console BI Analytics & AI Simulator */
.bi-ai-prompt-bar {
  background: var(--brand-soft);
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bi-ai-prompt-input {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 260px;
}

.bi-ai-icon {
  font-size: 1rem;
  color: var(--brand);
}

.bi-ai-text {
  font-size: 0.8125rem;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1.4;
}

.bi-ai-prompt-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bi-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.1fr;
  gap: 12px;
}

@media (max-width: 900px) {
  .bi-widgets-grid {
    grid-template-columns: 1fr;
  }
}

.bi-widget-card {
  background: #080B08;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color var(--transition-fast);
}

.bi-widget-card:hover {
  border-color: rgba(62, 207, 142, 0.3);
}

.bi-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bi-widget-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.bi-widget-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bi-action-pill {
  font-size: 0.65rem;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.bi-icon-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bi-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.bi-kpi-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.bi-kpi-trend {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bi-trend-up {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.bi-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 95px;
  padding-top: 10px;
}

.bi-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}

.bi-bar-fill {
  width: 100%;
  background: rgba(56, 189, 248, 0.35);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: all 0.2s ease;
}

.bi-bar-fill:hover {
  background: var(--cyan);
}

.bi-donut-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.bi-donut-chart {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0% 55%, var(--cyan) 55% 82%, var(--purple) 82% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bi-donut-inner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #080B08;
}

.bi-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.bi-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bi-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* ==========================================================================
   Dual-Track Persona Switcher Section
   ========================================================================== */
.persona-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.persona-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.persona-toggle-bar {
  display: inline-flex;
  padding: 5px;
  background: #090D09;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  gap: 6px;
}

.persona-btn {
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.persona-btn.active {
  background: var(--bg-elevated);
  color: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.persona-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.persona-card:hover::before {
  opacity: 1;
}

.persona-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.persona-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--brand-soft);
  border: 1px solid rgba(62, 207, 142, 0.3);
  color: var(--brand);
}

.persona-track-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.persona-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  min-height: 3.2rem;
  display: flex;
  align-items: flex-start;
  letter-spacing: -0.02em;
}

.persona-card p {
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.62;
  min-height: 5.2rem;
}

.persona-stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.persona-stat-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(62, 207, 142, 0.25);
}

/* ==========================================================================
   Comprehensive 15-Subsystem Bento Grid (Symmetrical 3-Column Architecture)
   ========================================================================== */
.catalog-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.catalog-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 3.5rem;
}

.catalog-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.catalog-filter-btn:hover {
  border-color: var(--border-highlight);
  color: #ffffff;
}

.catalog-filter-btn.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(62, 207, 142, 0.4);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(62, 207, 142, 0.15);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.catalog-card:hover::before {
  opacity: 1;
}

.catalog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.catalog-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--brand-soft);
  border: 1px solid rgba(62, 207, 142, 0.3);
  color: var(--brand);
  flex-shrink: 0;
}

.catalog-icon-box.cyan {
  background: var(--cyan-soft);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--cyan);
}

.catalog-icon-box.purple {
  background: var(--purple-soft);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--purple);
}

.catalog-icon-box.amber {
  background: var(--amber-soft);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber);
}

.subsystem-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
}

.catalog-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-primary);
  min-height: 3.2rem;
  display: flex;
  align-items: flex-start;
}

.catalog-card p {
  color: var(--text-secondary);
  font-size: 0.90rem;
  line-height: 1.62;
  margin-bottom: 1.35rem;
  min-height: 4.8rem;
}

/* Micro-Card Feature Items (Adopted from Duyo) */
.catalog-feature-list, .product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.35rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-height: 62px;
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: var(--brand-soft);
  border-color: rgba(62, 207, 142, 0.35);
  transform: translateY(-1px);
}

.feature-check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(62, 207, 142, 0.25);
  box-shadow: 0 0 10px rgba(62, 207, 142, 0.15);
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.card-action-btn {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.card-action-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* ==========================================================================
   Sovereign Cloud Architecture — High-Performance Bento Grid
   ========================================================================== */
.arch-spotlight-section {
  padding: 6.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 50% 25%, rgba(62, 207, 142, 0.07) 0%, transparent 60%);
}

/* Architecture Pipeline Flow Strip */
.arch-pipeline-wrap {
  background: rgba(14, 18, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.arch-pipeline-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.arch-pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.pipeline-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.pipeline-node:hover {
  border-color: rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.05);
  transform: translateY(-1px);
}

.pipeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.pipeline-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pipeline-step {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pipeline-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pipeline-stat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
}

.connector-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(62, 207, 142, 0.2), rgba(62, 207, 142, 0.6));
}

.connector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  box-shadow: 0 0 6px var(--brand);
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Bento Grid */
.arch-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: rgba(14, 18, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(62, 207, 142, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(62, 207, 142, 0.1);
  transform: translateY(-2px);
}

.bento-card-wide {
  grid-column: span 2;
  padding: 36px;
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bento-pill-emerald {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.bento-pill-cyan {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.bento-pill-amber {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.bento-pill-purple {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.bento-pill-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9CA3AF;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.bento-metric-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #9CA3AF;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

.bento-card-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.bento-card-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

.bento-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bento Hero Split Card */
.bento-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.bento-hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bento-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.bento-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: #E5E7EB;
}

/* Bento Terminal Inspector */
.bento-terminal-window {
  background: #060907;
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}

.terminal-topbar {
  background: #0B0F0C;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9CA3AF;
  font-weight: 500;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--brand);
  background: rgba(62, 207, 142, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.terminal-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: #E5E7EB;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terminal-footer {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.terminal-timing {
  color: var(--brand);
  font-weight: 600;
}

.terminal-status {
  color: var(--text-dim);
}

.code-keyword {
  color: #F472B6;
  font-weight: 600;
}

.code-func {
  color: #38BDF8;
  font-weight: 600;
}

.code-type {
  color: #A78BFA;
}

.code-string {
  color: #34D399;
}

.code-number {
  color: #FBBF24;
}

.code-comment {
  color: #6B7280;
  font-style: italic;
}

/* Micro-Benchmark Latency Comparison Graphic */
.bench-comparison-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bench-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bench-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E5E7EB;
}

.bench-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.bench-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bench-bar-bad {
  height: 100%;
  background: linear-gradient(90deg, #F87171, #EF4444);
  border-radius: 3px;
}

.bench-bar-good {
  height: 100%;
  background: linear-gradient(90deg, #34D399, #3ECF8E);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(62, 207, 142, 0.5);
}

.bench-subtext {
  font-size: 0.72rem;
  color: #9CA3AF;
  line-height: 1.4;
}

/* Network Feature Badges */
.network-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 4px 0;
}

.net-badge-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.net-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.net-badge-metric {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.net-badge-label {
  font-size: 0.72rem;
  color: #9CA3AF;
}

/* Security Audit List */
.security-audit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}

.audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.audit-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.audit-pass {
  background: rgba(62, 207, 142, 0.15);
  color: var(--brand);
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.audit-desc {
  color: #E5E7EB;
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.4;
}

.audit-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #9CA3AF;
  flex-shrink: 0;
}

/* Rollback Timeline */
.rollback-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}

.rollback-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.rollback-node.active {
  border-color: rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.04);
}

.rollback-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6B7280;
  flex-shrink: 0;
}

.rollback-node.active .rollback-dot {
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

.rollback-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.rollback-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.rollback-meta {
  font-size: 0.72rem;
  color: #9CA3AF;
}

.rollback-badge-active {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(62, 207, 142, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.rollback-badge-ready {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #9CA3AF;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Interactive Cloud Economics & ROI Calculator
   ========================================================================== */
.calculator-section {
  padding: 6.5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 5%, rgba(62, 207, 142, 0.06), transparent 50%), var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Section Eyebrow Dot Pulse */
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-glow 2.2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Workload Presets Selector Bar */
.calc-presets-bar {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.calc-presets-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.calc-presets-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 14, 0.8);
  border: 1px solid var(--border-card);
  padding: 5px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.calc-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
  user-select: none;
}

.calc-preset-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.calc-preset-btn.active {
  background: rgba(62, 207, 142, 0.12);
  border-color: rgba(62, 207, 142, 0.4);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(62, 207, 142, 0.2);
  font-weight: 600;
}

.preset-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.preset-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  background: var(--brand);
  color: #04140b;
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.3;
}

/* Calculator Main Grid */
.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  margin-top: 40px;
  align-items: stretch;
}

/* Pane Headings */
.calc-pane-heading {
  margin-bottom: 20px;
}

.pane-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pane-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  margin-top: 2px;
}

.pane-badge.badge-emerald {
  background: rgba(62, 207, 142, 0.12);
  color: var(--brand);
  border-color: rgba(62, 207, 142, 0.3);
}

.pane-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.pane-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* Left: Slider Cards */
.calc-inputs-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-slider-card {
  background: rgba(18, 23, 18, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-slider-card:hover {
  border-color: rgba(62, 207, 142, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.calc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.calc-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(62, 207, 142, 0.1);
  color: var(--brand);
  border: 1px solid rgba(62, 207, 142, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-card-icon-box.icon-cyan {
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.25);
}

.calc-card-icon-box.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.calc-slider-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.calc-slider-sub {
  display: block;
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.calc-badge-val {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.calc-display-val {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.calc-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Range Input Styling */
.calc-slider-wrapper {
  padding: 6px 0;
}

.calc-range-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: #182218;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 25%, var(--brand) 30%);
  border: 2px solid #080a08;
  box-shadow: 0 0 14px rgba(62, 207, 142, 0.75);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 20px rgba(62, 207, 142, 0.95);
}

.calc-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 25%, var(--brand) 30%);
  border: 2px solid #080a08;
  box-shadow: 0 0 14px rgba(62, 207, 142, 0.75);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-penalty-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calc-penalty-tag svg {
  color: var(--rose);
  flex-shrink: 0;
}

/* Right Column: Output & Comparisons */
.calc-output-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-vendor-card {
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  transition: all var(--transition-normal);
}

.card-fragmented {
  background: rgba(24, 15, 17, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-oopsbase {
  background: rgba(14, 25, 18, 0.85);
  border: 1px solid rgba(62, 207, 142, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 25px rgba(62, 207, 142, 0.1);
}

.vendor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.vendor-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

.vendor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-rose {
  background: var(--rose);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.dot-emerald {
  background: var(--brand);
  box-shadow: 0 0 8px rgba(62, 207, 142, 0.8);
}

.vendor-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.pill-rose {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pill-emerald {
  background: rgba(62, 207, 142, 0.15);
  color: var(--brand);
  border: 1px solid rgba(62, 207, 142, 0.35);
}

.vendor-cost-big {
  margin-bottom: 16px;
}

.vendor-cost-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
}

.number-rose {
  color: var(--rose);
}

.number-emerald {
  color: var(--brand);
}

.vendor-cost-caption {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Receipt items in fragmented card */
.vendor-receipt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.receipt-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #f87171;
}

/* Feature checklist in OopsBase card */
.vendor-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(62, 207, 142, 0.2);
}

.vendor-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  color: var(--text-secondary);
}

.vendor-features li svg {
  flex-shrink: 0;
}

/* Grand Capital Retained Banner */
.calc-grand-savings {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 26, 18, 0.95), rgba(9, 14, 10, 0.98));
  border: 1px solid rgba(62, 207, 142, 0.45);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(62, 207, 142, 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.savings-glow-overlay {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(62, 207, 142, 0.2), transparent 70%);
  pointer-events: none;
}

.savings-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.savings-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.savings-pulse-ring {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-glow 2s infinite ease-in-out;
}

.savings-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
  font-family: var(--font-mono);
}

.savings-percent-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #38bdf8);
  color: #04140b;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(62, 207, 142, 0.4);
  letter-spacing: 0.03em;
}

.savings-value-block {
  position: relative;
  z-index: 1;
}

.savings-num {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(62, 207, 142, 0.3);
}

.savings-horizon-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.savings-reinvest-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(62, 207, 142, 0.07);
  border: 1px solid rgba(62, 207, 142, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.savings-reinvest-box svg {
  flex-shrink: 0;
}

.savings-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.calc-cta-btn {
  box-shadow: 0 4px 18px var(--brand-glow);
}

/* ==========================================================================
   Objective Competitive Matrix Table
   ========================================================================== */
.comparison-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.table-scroller {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 900px;
}

.matrix-table th,
.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  vertical-align: middle;
}

.matrix-table th {
  background: #090D09;
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.matrix-table th.highlight-col,
.matrix-table td.highlight-col {
  background: var(--brand-soft);
  border-left: 1px solid rgba(62, 207, 142, 0.25);
  border-right: 1px solid rgba(62, 207, 142, 0.25);
}

.matrix-table td.highlight-col {
  font-weight: 600;
  color: var(--text-primary);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.icon-check {
  color: var(--brand);
  font-weight: 600;
}

.icon-cross {
  color: var(--text-dim);
}

.icon-warn {
  color: var(--amber);
}

/* ==========================================================================
   Multi-Language SDK Tabs & Migration Banner
   ========================================================================== */
.sdk-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.sdk-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sdk-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0D120D;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
}

.sdk-lang-tabs {
  display: flex;
  gap: 6px;
}

.sdk-lang-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sdk-lang-btn:hover {
  color: #ffffff;
}

.sdk-lang-btn.active {
  background: #182218;
  color: var(--brand);
  font-weight: 600;
}

.sdk-code-pane {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
}

.sdk-copy-btn {
  background: #141A14;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  padding: 6px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.sdk-copy-btn:hover {
  color: #ffffff;
  border-color: var(--brand);
}

/* 1-Click Migration Banner */
.migration-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(62, 207, 142, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(62, 207, 142, 0.3);
  border-radius: var(--radius-xl);
  padding: 38px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.migration-info h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.migration-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.migration-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.migration-checklist li svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item.active {
  border-color: var(--brand);
}

.faq-header {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  letter-spacing: -0.01em;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--brand);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-content {
  padding: 0 24px 22px 24px;
  max-height: 400px;
}

/* ==========================================================================
   Call to Action (CTA) Banner
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.cta-card {
  background: radial-gradient(circle at 50% 0%, rgba(62, 207, 142, 0.2) 0%, rgba(14, 18, 14, 0.95) 75%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 64px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.cta-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 660px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Global Footer (Supabase & Appwrite Sovereign Cloud Directory)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050705;
  padding: 80px 0 40px;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

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

.footer-brand {
  margin-bottom: 2px;
}

.footer-tagline {
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.65;
  font-size: 0.86rem;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.22);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  width: fit-content;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-icon:hover {
  color: var(--brand);
  border-color: rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.08);
  transform: translateY(-1.5px);
}

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F9FAFB;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

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

.footer-link-list a {
  color: var(--text-muted);
  font-size: 0.84rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link-list a:hover {
  color: var(--brand);
}

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

.footer-sub-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-tech-stack {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #6B7280;
}

.footer-sub-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-sub-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-sub-dot {
  color: #4B5563;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0E140E;
  border: 1px solid var(--brand);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  box-shadow: var(--shadow-glow);
  z-index: 1000;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .persona-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .arch-bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bento-card-wide {
    grid-column: span 1;
  }
  .bento-hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .arch-pipeline-flow {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }
  .pipeline-node {
    min-width: 210px;
  }
  .calc-box,
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .migration-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .calc-comparison-cards {
    grid-template-columns: 1fr;
  }
  .calc-presets-bar {
    flex-direction: column;
    align-items: center;
  }
  .calc-presets-group {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-lg);
  }
  .savings-num {
    font-size: 2.5rem;
  }
  .calc-slider-card {
    padding: 18px 16px;
  }
  .hero-section {
    padding: 80px 0 50px;
  }
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 4px;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-row {
    gap: 10px 14px;
    font-size: 0.75rem;
  }
  .hero-console-wrap {
    margin: 32px 0 0;
    border-radius: var(--radius-lg);
  }
  .console-topbar {
    padding: 10px 12px;
    gap: 8px;
  }
  .console-meta-stats {
    display: none;
  }
  .console-nav-tabs {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }
  .console-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .console-body {
    grid-template-columns: 1fr;
    padding: 16px 12px;
  }
  .console-sidebar {
    display: none;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .section-lead, .section-subtitle {
    font-size: 0.95rem;
    padding: 0 4px;
  }
  .nav-status-pill,
  .nav-login-link,
  .nav-btn-secondary {
    display: none;
  }
  .brand-pill {
    display: none;
  }
  .nav-cta-btn,
  .nav-btn-primary {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .persona-deck {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .persona-card {
    padding: 22px 18px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .catalog-card {
    padding: 22px 18px;
  }
  .calc-box {
    padding: 24px 16px;
    gap: 24px;
  }
  .calc-grand-savings .savings-num {
    font-size: 2.25rem;
  }
  .migration-banner {
    padding: 28px 18px;
  }
  .sdk-nav-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .sdk-lang-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sdk-lang-tabs::-webkit-scrollbar {
    display: none;
  }
  .table-scroller {
    border-radius: var(--radius-lg);
    -webkit-overflow-scrolling: touch;
  }
  .matrix-table th,
  .matrix-table td {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-sub {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .arch-spotlight-section {
    padding: 60px 0;
  }
  .arch-pipeline-wrap {
    padding: 18px 16px;
    margin-bottom: 28px;
  }
  .bento-card,
  .bento-card-wide {
    padding: 22px 18px;
  }
  .bento-title {
    font-size: 1.25rem;
  }
  .bento-card-heading {
    font-size: 1.15rem;
  }
  .bento-terminal-window {
    border-radius: 8px;
  }
  .terminal-body {
    padding: 12px 14px;
    font-size: 0.72rem;
  }
  .audit-row {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .audit-desc {
    width: 100%;
    order: 3;
  }
}

@media (max-width: 640px) {
  .persona-toggle-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    width: 100%;
    padding: 4px;
  }
  .persona-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.8125rem;
  }
  .catalog-filter-bar {
    gap: 6px;
  }
  .catalog-filter-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .nav-cta-btn,
  .nav-btn-primary {
    display: none;
  }
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .cta-card {
    padding: 40px 18px;
  }
  .cta-title {
    font-size: 2rem;
  }
  .calc-metric-num {
    font-size: 1rem;
  }
  .savings-num {
    font-size: 2rem;
  }
  .network-badge-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bench-comparison-wrap {
    padding: 12px;
  }
  .bento-badge-group {
    gap: 6px;
  }
}
