/* ==========================================================================
   dev1x — Dual-Mode (Dark / Light) Production Engineering Design System
   Featuring the Cyber-HUD Floating Dock & Architectural Light Mode
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root, [data-theme="dark"] {
  /* Color Palette: Void Cyber Dark */
  --bg-base: #090a0f;
  --bg-surface: #11131c;
  --bg-surface-elevated: #161926;
  --bg-surface-card: rgba(17, 19, 28, 0.72);
  --bg-surface-glass: rgba(13, 15, 23, 0.85);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.18);
  --accent-cyan-subtle: rgba(0, 240, 255, 0.08);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.18);
  --accent-emerald-subtle: rgba(16, 185, 129, 0.08);

  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;

  /* Typography Colors */
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --heading-color: #ffffff;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: 1px solid rgba(255, 255, 255, 0.08);
  --border-hover: 1px solid rgba(0, 240, 255, 0.35);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-cyan-glow: 0 0 25px rgba(0, 240, 255, 0.2);

  /* Grid & Canvas */
  --grid-line: rgba(255, 255, 255, 0.025);
  --canvas-bg: radial-gradient(circle at 50% 50%, rgba(17, 19, 28, 0.85) 0%, rgba(9, 10, 15, 0.95) 100%);
  --terminal-bar-bg: rgba(9, 10, 15, 0.95);
  --input-bg: rgba(9, 10, 15, 0.7);

  /* Theme Switcher Icons */
  --sun-display: none;
  --moon-display: block;

  /* Global Fonts & Metrics */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --max-width: 1240px;
  --header-height: 64px;
}

[data-theme="light"] {
  /* Color Palette: Architectural Titanium Light */
  --bg-base: #f4f6fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #e9eef6;
  --bg-surface-card: rgba(255, 255, 255, 0.88);
  --bg-surface-glass: rgba(244, 246, 250, 0.88);

  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.16);
  --accent-cyan-subtle: rgba(2, 132, 199, 0.08);

  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.16);
  --accent-emerald-subtle: rgba(5, 150, 105, 0.08);

  --text-main: #0a0f1d;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --heading-color: #0f172a;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: 1px solid rgba(15, 23, 42, 0.09);
  --border-hover: 1px solid rgba(2, 132, 199, 0.45);

  --shadow-card: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-cyan-glow: 0 0 20px rgba(2, 132, 199, 0.15);

  --grid-line: rgba(15, 23, 42, 0.035);
  --canvas-bg: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(233, 238, 246, 0.95) 100%);
  --terminal-bar-bg: #e2e8f0;
  --input-bg: #ffffff;

  --sun-display: block;
  --moon-display: none;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-base);
  scroll-behavior: auto;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-base);
  transition: background-color 0.3s ease;
}

/* Subtle Technical Grid Background (Pure CSS, 0 bytes) */
.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 60%, transparent 100%);
}

.glow-radial-cyan {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.site-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.font-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--heading-color);
}

.font-semibold {
  font-weight: 600;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. CYBER-HUD FLOATING DOCK (Unique Aerospace Architecture)
   -------------------------------------------------------------------------- */
.site-header.cyber-hud {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, calc(100% - 24px));
  height: var(--header-height);
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background-color: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled elevation state */
.site-header.cyber-hud.scrolled {
  top: 10px;
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-cyan-subtle);
}

[data-theme="light"] .site-header.cyber-hud {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Real-Time Laser Scroll Progress Indicator (Bottom rim) */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  box-shadow: 0 0 8px var(--accent-cyan);
  border-radius: var(--radius-full);
  z-index: 20;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Magnetic Spotlight (Tracks mouse over the capsule) */
.header-spotlight {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.site-header.cyber-hud:hover .header-spotlight {
  opacity: 1;
}

.header-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Dock (Logo + Telemetry + Command Trigger) */
.header-brand-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-dock-divider {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
  opacity: 0.6;
  margin: 0 2px;
  flex-shrink: 0;
}

/* Brand Logo & Telemetry Pill */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-symbol {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--accent-cyan-subtle);
  border: 1px solid var(--accent-cyan-glow);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  color: var(--accent-emerald);
  letter-spacing: 0.04em;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
  z-index: 2;
}

.status-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  opacity: 0.6;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Desktop Navigation & Cyber Brackets */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: clamp(4px, 0.8vw, 10px);
  padding: 0 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: clamp(0.76rem, 0.8vw, 0.83rem);
  font-weight: 500;
  padding: 4px 5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.nav-bracket {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
}

.nav-bracket-l { margin-right: 2px; }
.nav-bracket-r { margin-left: 2px; }

.nav-idx {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

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

.nav-link:hover .nav-bracket {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover .nav-idx {
  color: var(--accent-cyan);
}

/* Active State via ScrollSpy */
.nav-link.active {
  color: var(--heading-color);
}

.nav-link.active .nav-bracket {
  opacity: 1;
  transform: scale(1);
  color: var(--accent-cyan);
}

.nav-link.active .nav-idx {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Quantum Theme Switcher Button */
.theme-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  outline: none;
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(20deg) scale(1.05);
  box-shadow: 0 0 14px var(--accent-cyan-subtle);
}

.theme-toggle-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-sun {
  display: var(--sun-display);
  stroke: var(--accent-yellow);
}

.icon-moon {
  display: var(--moon-display);
  stroke: var(--accent-cyan);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-subtle);
  font-weight: 600;
}

.lang-btn:hover:not(.active) {
  color: var(--heading-color);
}

.lang-divider {
  color: var(--text-dim);
  font-size: 0.75rem;
  user-select: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--heading-color);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 15, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Prevent body scrolling when mobile navigation drawer is active */
body.mobile-menu-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: calc(14px + var(--header-height) + 8px);
  left: 12px;
  right: 12px;
  width: calc(100% - 24px);
  max-width: 480px;
  margin: 0 auto;
  max-height: calc(100vh - var(--header-height) - 32px);
  overflow-y: auto;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 18px 22px;
  z-index: 999;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 240, 255, 0.08);
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s ease;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  padding: 0;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mobile-nav-link .nav-idx {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  opacity: 0.85;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--heading-color);
  background: var(--accent-cyan-subtle);
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateX(4px);
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.mobile-theme-row,
.mobile-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 2px 4px;
}

.mobile-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.theme-toggle-mobile {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle-mobile:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
}

/* Light Mode Overrides for Mobile Navigation */
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14), 0 0 25px rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .mobile-menu-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link:active {
  color: var(--heading-color);
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .theme-toggle-mobile {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0284c7;
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

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

.btn-primary {
  background-color: var(--accent-cyan);
  color: #06080d;
  box-shadow: 0 4px 16px var(--accent-cyan-subtle);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-cyan-glow);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--heading-color);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-glow);
}

.btn-outline-cyan:hover {
  background: var(--accent-cyan-subtle);
  border-color: var(--accent-cyan);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   4. Section Common Styles
   -------------------------------------------------------------------------- */
section {
  position: relative;
  padding: 100px 0;
  scroll-margin-top: 86px;
}

.section-header {
  margin-bottom: 56px;
  max-width: 760px;
}

.section-tag {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Hero Section & Three.js Canvas
   -------------------------------------------------------------------------- */
.section-hero {
  padding-top: 124px;
  padding-bottom: 110px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--heading-color);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Three.js Canvas Container */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  height: 500px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  display: block;
  cursor: grab;
  filter: drop-shadow(0 0 35px var(--accent-cyan-subtle));
  transition: filter 0.3s ease;
}

.hero-canvas:active {
  cursor: grabbing;
}

/* Canvas Terminal HUD Overlays */
.canvas-hud {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 5;
}

.hud-top {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-surface-glass) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hud-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-surface-glass) 0%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
}

.hud-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.hud-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

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

.bento-card {
  position: relative;
  background-color: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bento-card-wide {
  grid-column: span 1;
}

.bento-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .bento-card:hover {
  border-color: rgba(2, 132, 199, 0.28);
}

.bento-card:hover .bento-glow {
  opacity: 1;
}

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bento-badge {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
  border: 1px solid var(--accent-cyan-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.bento-index {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.bento-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Feature Checklists */
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.check-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.bento-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.bento-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.bento-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. Tech Stack Section (Monospace Terminal Cards)
   -------------------------------------------------------------------------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stack-card {
  background-color: var(--bg-surface);
  border: var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-bar {
  background-color: var(--terminal-bar-bg);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  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-red { background-color: #ef4444; }
.t-yellow { background-color: #f59e0b; }
.t-green { background-color: #10b981; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-content {
  padding: 24px;
}

.stack-category-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
}

/* --------------------------------------------------------------------------
   8. Cases / References Section
   -------------------------------------------------------------------------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.case-tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
}

.case-index {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.case-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.case-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-metrics {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.metric-icon {
  font-weight: 700;
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   9. Philosophy Section
   -------------------------------------------------------------------------- */
.philosophy-box {
  background: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-card);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.philosophy-item {
  display: flex;
  flex-direction: column;
}

.philosophy-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.philosophy-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.philosophy-item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Contact Section & AJAX Form
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: flex-start;
}

.contact-info {
  min-width: 0;
}

.direct-contact-card {
  background: var(--bg-surface);
  border: var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.direct-card-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.direct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.direct-row:hover {
  border-color: var(--border-hover);
}

.direct-row-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.direct-row-main svg,
.channel-link svg {
  flex-shrink: 0;
}

.direct-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.direct-phone-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-emerald);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.direct-phone-link:hover {
  text-decoration: underline;
}

.direct-email-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.direct-email-link:hover {
  text-decoration: underline;
}

.direct-meta {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Terminal Status Card */
.terminal-status-card {
  background: var(--terminal-bar-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.term-prompt {
  color: var(--accent-cyan);
  margin-right: 6px;
}

.term-success {
  color: var(--accent-emerald);
}

.term-info {
  color: #3b82f6;
}

/* Form Container */
.contact-form-wrapper {
  background: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-cyan);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-subtle);
  background: var(--bg-surface);
}

.select-wrapper {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  max-width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

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

/* Form Alert Banners */
.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

.alert-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  padding: 80px 0 40px 0;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 200px;
  background: radial-gradient(ellipse at bottom, var(--accent-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}

[data-theme="light"] .footer-glow {
  display: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.status-text {
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

.footer-col-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

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

.footer-nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-cyan);
}

.footer-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-email a {
  color: var(--heading-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-email a:hover {
  color: var(--accent-cyan);
}

.contact-meta {
  font-size: 0.8rem;
}

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

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   10B. Founder & Developer Profile (Cyber Passport Card)
   -------------------------------------------------------------------------- */
.section-founder {
  position: relative;
  padding: 100px 0 60px 0;
}

.cyber-passport-card {
  position: relative;
  background: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-passport-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6), 0 0 24px var(--accent-cyan-subtle);
}

[data-theme="light"] .cyber-passport-card:hover {
  border-color: rgba(2, 132, 199, 0.28);
}

/* Technical HUD Corner Markers (+) */
.hud-corner-accent {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  opacity: 0.7;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.corner-tl { top: 14px; left: 16px; }
.corner-tr { top: 14px; right: 16px; }
.corner-bl { bottom: 14px; left: 16px; }
.corner-br { bottom: 14px; right: 16px; }

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

/* Founder Identity & Monogram Avatar */
.founder-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.founder-avatar-frame {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-orbit-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1.5px dashed var(--accent-cyan);
  opacity: 0.7;
  animation: orbit-spin 20s linear infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.avatar-monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-subtle);
}

.avatar-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  border: 2.5px solid var(--bg-surface);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.founder-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.founder-role {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.founder-tag-pill {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Quick Channels */
.founder-quick-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.quick-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.channel-phone {
  background: var(--accent-emerald-subtle);
  border-color: rgba(16, 185, 129, 0.3);
}

.channel-phone:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 16px var(--accent-emerald-subtle);
}

.channel-email {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
}

.channel-email:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 16px var(--accent-cyan-subtle);
}

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-color);
  transition: color 0.2s ease;
  min-width: 0;
}

.phone-number {
  white-space: nowrap;
}

.email-address {
  white-space: nowrap;
}

.channel-phone .channel-link {
  color: var(--accent-emerald);
}

.channel-phone .channel-link:hover {
  text-decoration: underline;
}

.channel-email .channel-link {
  color: var(--heading-color);
}

.channel-email .channel-link:hover {
  color: var(--accent-cyan);
}

.channel-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.channel-action-badge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.channel-action-badge:hover {
  background: rgba(16, 185, 129, 0.35);
  border-color: var(--accent-emerald);
}

/* Universal Copy Button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  line-height: 1;
}

.copy-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
  box-shadow: 0 2px 8px var(--accent-cyan-subtle);
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0) scale(0.96);
}

.copy-btn .copy-icon,
.copy-btn .check-icon {
  flex-shrink: 0;
}

.copy-btn .check-icon {
  display: none;
  color: var(--accent-emerald);
}

.copy-btn.copied {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: var(--accent-emerald) !important;
  color: var(--accent-emerald) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(0);
}

.copy-btn.copied .check-icon {
  display: inline-block;
  animation: copyCheckPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.copy-btn.copied .copy-icon {
  display: none;
}

@keyframes copyCheckPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.quick-channel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding-left: 6px;
}

/* Founder Details & Bio */
.founder-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Guarantees Grid */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guarantee-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.2s ease;
}

.guarantee-card:hover {
  border-color: var(--border-hover);
}

.guarantee-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.guarantee-tick {
  color: var(--accent-cyan);
}

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

/* Legal Notice Card (IČO v registraci / Živnost) */
.legal-notice-card {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

[data-theme="light"] .legal-notice-card {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.legal-notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}

.legal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f59e0b;
}

.legal-pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f59e0b;
  opacity: 0.7;
  animation: pulse-ring 2s infinite;
}

.legal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-notice-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Direct Contact Updates */
.direct-founder-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.direct-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.direct-phone-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-emerald);
  text-decoration: none;
  transition: color 0.2s;
}

.direct-phone-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.section-faq {
  position: relative;
  padding: 60px 0 90px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: start;
}

.faq-sticky-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-sticky-sidebar .section-tag {
  margin-bottom: 2px;
}

.faq-sticky-sidebar .section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.25;
}

.faq-sticky-sidebar .section-subtitle {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-sidebar-callout {
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-card);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .faq-sidebar-callout {
  background: rgba(2, 132, 199, 0.05);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-sidebar-callout .callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
}

.faq-sidebar-callout .callout-icon {
  font-size: 1.1rem;
}

.faq-sidebar-callout .callout-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.faq-sidebar-callout .btn {
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-sidebar-callout .btn:hover {
  background: var(--accent-cyan);
  color: #090a0f;
  box-shadow: 0 0 16px var(--accent-cyan);
  transform: translateY(-1px);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface-card);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(2, 132, 199, 0.28);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4), 0 0 16px var(--accent-cyan-subtle);
}

[data-theme="light"] .faq-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08), 0 0 16px var(--accent-cyan-subtle);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--heading-color);
  outline: none;
  transition: color 0.2s ease;
  user-select: none;
}

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

.faq-idx {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.faq-question {
  font-size: 1.02rem;
  font-weight: 700;
  flex-grow: 1;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-icon-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon-indicator {
  transform: rotate(45deg);
  background: var(--accent-cyan);
  color: #090a0f;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.faq-answer-panel {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px 60px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   11B. Interactive Mouse Spotlight System (Linear & Vercel Signature)
   -------------------------------------------------------------------------- */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --spotlight-x: -999px;
  --spotlight-y: -999px;
  --spotlight-size: 380px;
  --spotlight-border: rgba(0, 240, 255, 0.85);
  --spotlight-aura: rgba(0, 240, 255, 0.05);
}

[data-theme="light"] .spotlight-card {
  --spotlight-border: rgba(2, 132, 199, 0.9);
  --spotlight-aura: rgba(2, 132, 199, 0.04);
}

/* 1. Ambient holographic aura under cursor */
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    var(--spotlight-size) circle at var(--spotlight-x) var(--spotlight-y),
    var(--spotlight-aura),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

/* 2. Razor-sharp perimeter border laser line */
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    var(--spotlight-size) circle at var(--spotlight-x) var(--spotlight-y),
    var(--spotlight-border),
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
  opacity: 1;
}

/* Ensure card children and HUD markers remain fully clickable and on top */
.spotlight-card > * {
  position: relative;
  z-index: 3;
}

.spotlight-card > .hud-corner-accent {
  position: absolute;
  z-index: 4;
}

.spotlight-card > .bento-glow {
  position: absolute;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   11. Cyber Command Palette (Ctrl+K Quick HUD)
   -------------------------------------------------------------------------- */
/* Desktop Header Trigger Button */
.command-palette-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  user-select: none;
}

.command-palette-trigger:hover {
  border-color: var(--accent-cyan);
  color: var(--heading-color);
  box-shadow: 0 0 16px var(--accent-cyan-subtle);
  transform: translateY(-1px);
}

.palette-trigger-icon {
  color: var(--accent-cyan);
}

.palette-trigger-kbd {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* Mobile Drawer Trigger Button */
.command-palette-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.command-palette-mobile-trigger:hover,
.command-palette-mobile-trigger:active {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
}

/* Fullscreen Overlay */
.command-palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
}

.command-palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Frosted Glass Backdrop */
.command-palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
}

/* Command Window Capsule */
.command-palette-window {
  position: relative;
  z-index: 2001;
  width: 100%;
  max-width: 620px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 240, 255, 0.12);
  transform: scale(0.96) translateY(-14px);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.command-palette-overlay.open .command-palette-window {
  transform: scale(1) translateY(0);
}

/* Top Search Bar */
.palette-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.palette-search-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.96rem;
  color: var(--heading-color);
  caret-color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.palette-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-sans);
}

.palette-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.palette-esc-badge {
  font-size: 0.70rem;
  letter-spacing: 0.05em;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

.palette-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.palette-close-btn:hover {
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.08);
}

/* Palette Body & Groups */
.palette-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px 10px;
  overscroll-behavior: contain;
}

.palette-body::-webkit-scrollbar {
  width: 5px;
}

.palette-body::-webkit-scrollbar-track {
  background: transparent;
}

.palette-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.palette-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.palette-group {
  margin-bottom: 8px;
}

.palette-group-title {
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 10px 4px;
  font-weight: 600;
}

.palette-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Palette Item */
.palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.palette-item-icon {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: all 0.2s ease;
}

.palette-icon-action {
  color: var(--accent-emerald);
  background: var(--accent-emerald-subtle);
  border-color: rgba(16, 185, 129, 0.25);
}

.palette-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.palette-item-title {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.palette-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.palette-item-kbd {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s ease;
}

.palette-item-badge {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Item Active / Hover State */
.palette-item:hover,
.palette-item.active {
  background: var(--accent-cyan-subtle);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateX(3px);
}

.palette-item:hover .palette-item-title,
.palette-item.active .palette-item-title {
  color: var(--heading-color);
}

.palette-item:hover .palette-item-icon,
.palette-item.active .palette-item-icon {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-subtle);
}

.palette-item:hover .palette-item-kbd,
.palette-item.active .palette-item-kbd {
  opacity: 1;
  transform: translateX(0);
}

/* Empty Search State */
.palette-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.palette-empty-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.palette-empty-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-color);
}

.palette-empty-desc {
  font-size: 0.80rem;
  color: var(--text-muted);
}

/* Palette Footer */
.palette-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.70rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
}

.palette-footer-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.palette-footer-hint {
  display: flex;
  align-items: center;
  gap: 4px;
}

.palette-kbd-hint {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--text-main);
  font-size: 0.70rem;
  font-family: var(--font-mono);
}

/* Body Scroll Lock for Command Palette */
body.command-palette-open {
  overflow: hidden !important;
  touch-action: none;
}

/* --------------------------------------------------------------------------
   Command Palette — Light Mode Overrides
   -------------------------------------------------------------------------- */
[data-theme="light"] .command-palette-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .command-palette-window {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15), 0 0 30px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .palette-header {
  background: rgba(248, 250, 252, 0.8);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .palette-esc-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

[data-theme="light"] .command-palette-trigger {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .palette-trigger-kbd {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0284c7;
}

[data-theme="light"] .command-palette-mobile-trigger {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0284c7;
}

[data-theme="light"] .palette-item:hover,
[data-theme="light"] .palette-item.active {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .palette-footer {
  background: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .palette-kbd-hint {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .telemetry-pill {
    display: none;
  }

  .nav-list {
    gap: 6px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .header-brand-dock .header-dock-divider,
  .header-brand-dock .command-palette-trigger,
  .header-actions .header-dock-divider {
    display: none;
  }

  .command-palette-overlay {
    padding: 16px 10px 10px;
    align-items: flex-start;
  }

  .command-palette-window {
    max-height: 88vh;
    border-radius: var(--radius-lg);
  }

  .palette-body {
    max-height: calc(88vh - 130px);
  }

  .palette-footer-group {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .command-palette-trigger .palette-trigger-kbd {
    display: none;
  }

  .command-palette-trigger {
    padding: 0 8px;
  }
}

@media (max-width: 1024px) {
  .site-header.cyber-hud {
    width: calc(100% - 24px);
    top: 10px;
  }

  .mobile-menu {
    top: calc(10px + var(--header-height) + 8px);
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .canvas-wrapper {
    max-width: 100%;
    height: 380px;
  }

  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-card-wide {
    grid-column: span 1;
  }

  .stack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .guarantees-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .faq-sticky-sidebar {
    position: static;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 58px;
  }

  section {
    padding: 64px 0;
  }

  .section-hero {
    padding-top: 96px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .cyber-passport-card {
    padding: 32px 20px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .philosophy-box {
    padding: 32px 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .faq-answer-inner {
    padding: 0 16px 20px 48px;
  }

  .faq-trigger {
    padding: 16px 16px;
    gap: 12px;
  }

  .faq-question {
    font-size: 0.96rem;
  }

  .faq-sidebar-callout {
    padding: 20px 18px;
  }
}

@media (max-width: 480px) {
  .channel-action-badge {
    display: none;
  }

  .direct-contact-card {
    padding: 18px 14px;
  }

  .quick-channel-item,
  .direct-row {
    padding: 9px 10px;
    gap: 6px;
  }

  .channel-link,
  .direct-row-main {
    gap: 8px;
  }

  .channel-link,
  .direct-phone-link,
  .direct-email-link {
    font-size: 0.86rem;
  }

  .copy-btn {
    padding: 4px 7px;
    font-size: 0.65rem;
  }
}


