/**
 * ROGUE LABS — Next-Generation Digital Product Engineering
 * Modern SaaS Production Stylesheet
 * 
 * Aesthetic: Obsidian glassmorphism, linear neon gradients,
 * bento-grid modularity, micro-glows, and precision typography.
 */

/* ==========================================================================
   01. DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */

/* Scroll Progress Indicator */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #4CC3F2 0%, #6366F1 50%, #8B5CF6 100%);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(76, 195, 242, 0.8);
  transition: width 0.1s linear;
}

:root {
  /* Obsidian / Deep Space Canvas */
  --bg-app: #08090D;
  --bg-surface: #0E1017;
  --bg-surface-elevated: #141722;
  --bg-surface-glass: rgba(14, 16, 23, 0.78);
  --bg-card: rgba(18, 21, 31, 0.65);
  --bg-card-hover: rgba(24, 28, 42, 0.85);

  /* Modern SaaS Neons & Accents */
  --color-cyan: #4CC3F2;           /* Rogue Signature Cyan */
  --color-cyan-glow: rgba(76, 195, 242, 0.28);
  --color-cyan-dim: rgba(76, 195, 242, 0.12);

  --color-indigo: #6366F1;         /* Electric Indigo */
  --color-violet: #8B5CF6;         /* Modern Violet */
  --color-emerald: #10B981;        /* System Healthy Green */
  --color-amber: #F59E0B;          /* Warning Amber */
  --color-rose: #F43F5E;           /* Error Rose */

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #4CC3F2 0%, #6366F1 50%, #8B5CF6 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 40%, #A5B4FC 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(76, 195, 242, 0.18) 0%, transparent 65%);
  --gradient-border: linear-gradient(135deg, rgba(76, 195, 242, 0.35), rgba(99, 102, 241, 0.15), transparent 70%);

  /* Typography Colors (WCAG AA Compliant) */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;       /* Slate 400 (Passes 5.8:1 contrast) */
  --text-muted: #64748B;           /* Slate 500 */
  --text-inverse: #08090D;

  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(76, 195, 242, 0.45);
  --border-glow: 0 0 0 1px rgba(76, 195, 242, 0.3), 0 0 20px rgba(76, 195, 242, 0.15);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Fluid Typography */
  --text-hero: clamp(2.85rem, 5.5vw + 1rem, 5.5rem);
  --text-h1: clamp(2.25rem, 4vw + 0.5rem, 3.8rem);
  --text-h2: clamp(1.85rem, 2.8vw + 0.4rem, 2.85rem);
  --text-h3: clamp(1.3rem, 1.8vw + 0.2rem, 1.75rem);
  --text-h4: clamp(1.1rem, 1.1vw + 0.1rem, 1.35rem);
  --text-body-lg: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Line Heights */
  --leading-hero: 1.05;
  --leading-tight: 1.18;
  --leading-snug: 1.35;
  --leading-body: 1.68;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Physics */
  --ease-saas: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-normal: 320ms;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(5rem, 9vw, 9rem);
}

/* ==========================================================================
   02. RESET & FOUNDATIONS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(76, 195, 242, 0.08) 0%, transparent 45%),
    linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.03));
}

::selection {
  background-color: var(--color-cyan);
  color: var(--text-inverse);
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-cyan);
  color: var(--text-inverse);
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Background Grid Overlay */
.bg-grid-mesh {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   03. MODERN SAAS BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-saas);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary Cyan-Indigo Gradient Glare Button */
.btn-primary {
  background: linear-gradient(135deg, #4CC3F2 0%, #3B82F6 100%);
  color: #08090D;
  box-shadow: 0 0 20px rgba(76, 195, 242, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(76, 195, 242, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #040508;
}

/* Glass Secondary Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(76, 195, 242, 0.4);
  transform: translateY(-2px);
}

/* Pill Announcement Badge */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  background: rgba(76, 195, 242, 0.08);
  border: 1px solid rgba(76, 195, 242, 0.25);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(76, 195, 242, 0.12);
  transition: all var(--duration-fast) ease;
}
.announcement-pill:hover {
  border-color: var(--color-cyan);
  background: rgba(76, 195, 242, 0.14);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse-glow 2s infinite;
}

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

/* ==========================================================================
   04. SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--duration-fast) ease;
}

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

.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.8rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: #34D399;
  letter-spacing: 0.02em;
}
@media (max-width: 960px) {
  .header-status-badge { display: none; }
}

/* 2.5D Dynamic Cursor Spotlight Glow */
.card-spotlight {
  position: relative;
  overflow: hidden;
}
.card-spotlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    rgba(76, 195, 242, 0.12),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.card-spotlight:hover::before {
  opacity: 1;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-emblem-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(76, 195, 242, 0.06);
  border: 1px solid rgba(76, 195, 242, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.brand-link:hover .brand-emblem-wrap {
  border-color: var(--color-cyan);
  box-shadow: 0 0 14px rgba(76, 195, 242, 0.35);
}

.brand-emblem-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.is-active {
  color: var(--color-cyan);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-cyan);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--bg-surface);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-saas);
  border-bottom: 1px solid var(--border-medium);
}

.mobile-drawer.is-open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   05. MODERN HERO & SAAS DASHBOARD STAGE
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  text-align: center;
}

.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 195, 242, 0.15) 0%, rgba(99, 102, 241, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: var(--leading-hero);
  letter-spacing: -0.03em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* SaaS Product Terminal / Dashboard Preview Stage */
.hero-preview-stage {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.terminal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(76, 195, 242, 0.12);
  overflow: hidden;
  text-align: left;
}

.terminal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.terminal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-emerald);
}

.terminal-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.terminal-copy-btn:hover {
  background: rgba(76, 195, 242, 0.12);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}
.terminal-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #10B981;
}

.terminal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1.5rem;
  gap: 1.5rem;
  background: rgba(8, 9, 13, 0.6);
}

.code-window {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.7;
  color: #E2E8F0;
  overflow-x: auto;
}

.code-window .kw { color: #818CF8; }
.code-window .fn { color: #38BDF8; }
.code-window .str { color: #34D399; }
.code-window .num { color: #F472B6; }
.code-window .cm { color: #64748B; }

.telemetry-preview-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.telemetry-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.telemetry-stat-label {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.telemetry-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.telemetry-delta {
  font-size: var(--text-xs);
  color: var(--color-emerald);
  font-weight: 600;
}

/* ==========================================================================
   06. SOCIAL PROOF / CLIENT STRIP
   ========================================================================== */

.clients-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
}

.clients-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.clients-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.client-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.75;
  transition: opacity var(--duration-fast) ease, color var(--duration-fast) ease;
}
.client-badge-item:hover {
  opacity: 1;
  color: var(--text-primary);
}

/* ==========================================================================
   07. CAPABILITIES & BENTO GRID
   ========================================================================== */

.bento-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: var(--leading-body);
}

/* Modern SaaS Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: all var(--duration-normal) var(--ease-saas);
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(76, 195, 242, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(76, 195, 242, 0.12);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(76, 195, 242, 0.08);
  border: 1px solid rgba(76, 195, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  margin-bottom: 1.5rem;
}

.bento-title {
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

/* ==========================================================================
   08. SELECTED CASE STUDIES
   ========================================================================== */

.work-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-saas);
  cursor: pointer;
}

.work-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 25px rgba(76, 195, 242, 0.1);
}

.work-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0D0F16;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-saas);
  filter: brightness(0.92);
}

.work-card:hover .work-img {
  transform: scale(1.04);
  filter: brightness(1);
}

.work-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-cyan);
}

.work-body {
  padding: 2rem;
}

.work-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
}

.work-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.work-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.work-metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.work-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-cyan);
}

.work-metric-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ==========================================================================
   09. INTERACTIVE SAAS WORKBENCH / ESTIMATOR
   ========================================================================== */

.workbench-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
}

.workbench-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.workbench-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3vw, 3rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.bench-group {
  margin-bottom: 1.5rem;
}

.bench-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.bench-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bench-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.bench-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.bench-pill.is-active {
  background: rgba(76, 195, 242, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(76, 195, 242, 0.25);
}

.bench-result-panel {
  background: rgba(8, 9, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.bench-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   10. SYSTEM TELEMETRY & NUMBERS
   ========================================================================== */

.telemetry-section {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.t-stat-num {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.t-stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.t-stat-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   11. TESTIMONIALS
   ========================================================================== */

.testimonials-section {
  padding: var(--section-pad) 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast) ease;
}

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

.quote-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quote-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-pic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  object-fit: cover;
}

.author-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.author-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   12. SAAS ENGAGEMENT TIERS
   ========================================================================== */

.pricing-section {
  padding: var(--section-pad) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--duration-normal) var(--ease-saas);
}

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

.pricing-card.featured {
  background: var(--bg-surface-elevated);
  border-color: var(--color-cyan);
  box-shadow: 0 0 40px rgba(76, 195, 242, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cyan);
  color: var(--text-inverse);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tier-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 44px;
}

.tier-price-box {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  list-style: none;
}

.tier-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.tier-check {
  color: var(--color-emerald);
  font-weight: 700;
}

/* Pricing Hub Header Controls */
.pricing-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem auto 2.5rem;
  max-width: 980px;
}

.pricing-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(14, 16, 23, 0.7);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.pricing-tab-pill {
  padding: 0.5rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.pricing-tab-pill:hover {
  color: var(--text-primary);
}

.pricing-tab-pill.is-active {
  background: rgba(76, 195, 242, 0.14);
  border-color: rgba(76, 195, 242, 0.4);
  color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(76, 195, 242, 0.15);
}

.currency-toggle-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.currency-toggle-btn {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.currency-toggle-btn.is-active {
  background: var(--color-cyan);
  color: var(--text-inverse);
  box-shadow: 0 0 10px rgba(76, 195, 242, 0.4);
}

/* Category View Switcher */
.pricing-category-view {
  display: none;
  animation: fadeInSaas 0.35s var(--ease-saas);
}

.pricing-category-view.is-active {
  display: block;
}

@keyframes fadeInSaas {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Comprehensive Rate Cards Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast) var(--ease-saas);
  position: relative;
}

.catalog-card:hover {
  border-color: rgba(76, 195, 242, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.catalog-card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.catalog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.catalog-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.catalog-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.catalog-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.catalog-price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* How You Pay (Milestone Roadmap Banner) */
.how-you-pay-banner {
  margin-top: 3.5rem;
  background: rgba(14, 16, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.how-you-pay-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4CC3F2 0%, #6366F1 50%, #10B981 100%);
}

.milestone-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.milestone-step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all var(--duration-fast) ease;
}

.milestone-step-card:hover {
  border-color: rgba(76, 195, 242, 0.4);
  background: rgba(76, 195, 242, 0.04);
}

.milestone-pct {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-cyan);
  font-family: var(--font-sans);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.milestone-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.milestone-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .milestone-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .milestone-steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-tabs-bar {
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   12b. ENTERPRISE FAQ ACCORDION (AIDA / PAS OBJECTION HANDLING)
   ========================================================================== */

.faq-section {
  padding: var(--section-pad) 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 16, 23, 0.45) 50%, transparent 100%);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.75rem;
}

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

.faq-item:hover, .faq-item.is-open {
  border-color: rgba(76, 195, 242, 0.35);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.faq-trigger:hover {
  color: var(--color-cyan);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: -2px;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
  transition: transform 0.35s var(--ease-saas);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease-saas), padding 0.38s var(--ease-saas);
  padding: 0 1.75rem;
}

.faq-item.is-open .faq-content {
  max-height: 280px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Form Smooth Highlight Pulse */
@keyframes formHighlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 195, 242, 0.8); }
  50% { box-shadow: 0 0 40px 6px rgba(76, 195, 242, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(76, 195, 242, 0); }
}

.form-highlight-pulse {
  animation: formHighlightPulse 1.8s var(--ease-saas);
}

/* ==========================================================================
   13. CONTACT & ENGAGEMENT INQUIRY
   ========================================================================== */

.contact-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-dossier {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(76, 195, 242, 0.08);
  border: 1px solid rgba(76, 195, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 1.2rem;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.saas-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: all var(--duration-fast) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(76, 195, 242, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-err {
  font-size: var(--text-xs);
  color: var(--color-rose);
  display: none;
}
.form-group.has-err .form-err {
  display: block;
}

.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--color-emerald);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  color: #D1FAE5;
  font-size: var(--text-sm);
}
.form-success-banner.is-visible {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* ==========================================================================
   14. SITE FOOTER
   ========================================================================== */

.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

.footer-link-item a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.footer-link-item a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
}

.back-to-top-btn {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.back-to-top-btn:hover {
  color: var(--color-cyan);
}

/* ==========================================================================
   15. CASE STUDY DETAIL MODAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(76, 195, 242, 0.15);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-saas);
}

.modal-backdrop.is-open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.modal-close-btn:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}

.modal-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.modal-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-cyan);
}
.modal-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   16. LEGAL & 404 SAAS PAGES
   ========================================================================== */

.legal-header {
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-wrap {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.legal-card h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.legal-card p, .legal-card ul {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.5rem;
}

/* 404 */
.error-section {
  text-align: center;
  padding: 8rem 1rem;
}

.error-title {
  font-size: clamp(6rem, 15vw, 11rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: flex; }
  .terminal-body { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }
  .workbench-wrap { grid-template-columns: 1fr; }
  .telemetry-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bento-grid,
  .work-grid,
  .testimonials-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}
