/* ============================================================
   TOLLO Studio — Official Website Design System
   Technology Of Logic, Learning & Optimization
   ============================================================ */


/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
  /* Dark Theme (default) */
  --bg-primary: #0a0a14;
  --bg-secondary: #0f0f1a;
  --bg-tertiary: #141422;
  --surface: rgba(20, 20, 40, 0.7);
  --surface-hover: rgba(30, 30, 55, 0.85);
  --surface-elevated: rgba(25, 25, 50, 0.9);
  --glass: rgba(15, 15, 30, 0.6);
  --glass-border: rgba(99, 102, 241, 0.12);
  --text-primary: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.65);
  --text-tertiary: rgba(240, 240, 245, 0.4);
  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-tertiary: #06b6d4;
  --accent-glow: rgba(99, 102, 241, 0.25);
  --accent-glow-strong: rgba(99, 102, 241, 0.4);
  --border: rgba(99, 102, 241, 0.12);
  --border-hover: rgba(99, 102, 241, 0.35);
  --card-glass-tint: rgba(18, 18, 38, 0.65);
  --card-ambient-glow: rgba(99, 102, 241, 0.22);
  --metric-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.18), transparent);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --gradient-brand: linear-gradient(135deg, #6366f1, #818cf8, #06b6d4);
  --gradient-surface: linear-gradient(135deg, rgba(20, 20, 40, 0.8), rgba(15, 15, 35, 0.6));
  --gradient-hero: linear-gradient(180deg, #0a0a14 0%, #0f0f1a 50%, #141422 100%);
  --gradient-text: linear-gradient(135deg, #6366f1, #818cf8, #06b6d4);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-hero: clamp(2.5rem, 5vw, 4.5rem);
  --line-height-tight: 1.15;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-theme: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;

  /* Logo colors */
  --logo-studio: #f0f0f5;

  /* Dynamic Table Defaults */
  --table-glass-bg: rgba(20, 18, 42, 0.65);
  --table-head-glow: var(--accent-glow);
  --table-accent-line: var(--accent-primary);
  --table-badge-bg: var(--accent-glow);
  --table-badge-text: var(--accent-primary);
  --table-row-hover: rgba(255, 255, 255, 0.045);
}

/* ── Light Theme ─────────────────────────────────────────────── */
[data-theme="light"] {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f1f5;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --surface-elevated: rgba(255, 255, 255, 0.98);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(99, 102, 241, 0.15);
  --text-primary: #111127;
  --text-secondary: rgba(17, 17, 39, 0.6);
  --text-tertiary: rgba(17, 17, 39, 0.35);
  --accent-primary: #4f46e5;
  --accent-secondary: #6366f1;
  --accent-tertiary: #0891b2;
  --accent-glow: rgba(79, 70, 229, 0.15);
  --accent-glow-strong: rgba(79, 70, 229, 0.25);
  --border: rgba(17, 17, 39, 0.08);
  --border-hover: rgba(79, 70, 229, 0.3);
  --card-glass-tint: rgba(255, 255, 255, 0.75);
  --card-ambient-glow: rgba(79, 70, 229, 0.12);
  --metric-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.12), transparent);
  --table-glass-bg: rgba(255, 255, 255, 0.94);
  --table-row-hover: rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.08);
  --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 252, 0.8));
  --gradient-hero: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #f0f1f5 100%);
  --logo-studio: #111127;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-tertiary);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--accent-primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--wide {
  max-width: var(--container-wide);
}

/* ── Navigation ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-brand .brand-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.nav-brand .brand-name span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand .brand-name .brand-suffix {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  font-weight: 300;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--accent-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-brand);
  color: #fff !important;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  color: var(--text-primary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-menu a:hover {
  color: var(--accent-primary);
  padding-left: var(--space-md);
}
.mobile-menu .mobile-menu-cta {
  margin-top: var(--space-xl);
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 600;
  border: none;
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-tertiary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

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

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Hero Background Visual ──────────────────────────────────── */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-image:
    radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  opacity: 0.5;
  animation: rotate-slow 120s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}
.hero-orb--1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: 20%;
  right: -5%;
}
.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: var(--accent-tertiary);
  bottom: 20%;
  left: -5%;
  animation-delay: -4s;
}
.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: var(--accent-secondary);
  top: 60%;
  right: 30%;
  animation-delay: -2s;
}

/* Floating nodes */
.hero-nodes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.hero-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}
.hero-node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  opacity: 0.2;
  transform-origin: left center;
}
.hero-node:nth-child(1) { top: 25%; left: 15%; animation-delay: 0s; }
.hero-node:nth-child(2) { top: 35%; right: 20%; animation-delay: -1s; }
.hero-node:nth-child(3) { bottom: 30%; left: 25%; animation-delay: -2s; }
.hero-node:nth-child(4) { top: 20%; right: 35%; animation-delay: -3s; }
.hero-node:nth-child(5) { bottom: 25%; right: 15%; animation-delay: -4s; }
.hero-node:nth-child(6) { top: 55%; left: 10%; animation-delay: -5s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  font-size: var(--font-size-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  color: #fff;
}

.btn--secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover {
  border-color: var(--accent-primary);
  background: var(--surface-hover);
  color: var(--text-primary);
}

.btn--ghost {
  color: var(--accent-secondary);
  padding: 0.8rem 1.2rem;
}
.btn--ghost:hover {
  background: var(--accent-glow);
}

.btn--large {
  padding: 1rem 2.2rem;
  font-size: var(--font-size-lg);
}

.btn .btn-icon-right {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon-right {
  transform: translateX(3px);
}

/* ── Section (Streamlined Spacing) ─────────────────────────── */
.section {
  padding: clamp(2.5rem, 4vw, 3.75rem) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(1.25rem, 2.5vw, 1.75rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, var(--font-size-4xl));
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, 0.45), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--card-ambient-glow, var(--accent-glow));
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55), 0 0 30px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-4px);
}
.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: var(--radius-lg);
  background: var(--accent-glow);
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

/* ── Philosophy Cards (TOLLO meaning) ────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.philosophy-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.philosophy-card .card-letter {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--font-size-2xl);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.philosophy-brand {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.philosophy-brand h3 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.philosophy-brand p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
}

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

/* ── Featured Product Section ────────────────────────────────── */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.product-info .product-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--accent-glow);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.product-info h2 {
  font-size: clamp(2rem, 4vw, var(--font-size-5xl));
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.product-info .product-tagline {
  font-size: var(--font-size-xl);
  color: var(--accent-tertiary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.product-info .product-desc {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

.product-features-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.product-features-mini .feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: var(--space-sm);
}
.product-features-mini .feature-item .feature-check {
  color: var(--accent-tertiary);
  font-size: 16px;
}

/* Browser Mockup */
.browser-mockup {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-address {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-align: center;
}

.browser-content {
  padding: var(--space-2xl);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-lg);
  background:
    radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.mockup-clock {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mockup-greeting {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
}

.mockup-search {
  width: 80%;
  max-width: 350px;
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  text-align: left;
}

.mockup-widgets {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.mockup-widget {
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .browser-mockup {
    order: -1;
  }
}

/* ── Feature Grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-md);
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
}

.feature-card .feature-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature-card .feature-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.feature-card .feature-badge {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 2px 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--accent-tertiary);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, var(--font-size-4xl));
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-question:hover {
  color: var(--accent-primary);
}
.faq-question .faq-icon {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-md);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}
.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--text-secondary);
}
.contact-detail .detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  font-size: 18px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder {
  color: var(--text-tertiary);
}

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

.form-error {
  color: #ef4444;
  font-size: var(--font-size-xs);
  margin-top: var(--space-xs);
  display: none;
}
.form-group.error .form-control {
  border-color: #ef4444;
}
.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  color: var(--accent-tertiary);
  font-weight: 500;
}

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

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}
.footer-brand .footer-logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand .footer-logo .brand-suffix {
  background: none;
  -webkit-text-fill-color: var(--text-primary);
  font-weight: 300;
}

.footer-brand .footer-tagline {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

.footer-column h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-column a:hover {
  color: var(--accent-secondary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

/* ── Back to Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
  cursor: pointer;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-fade-in {
  animation: fade-in-up 0.6s ease-out forwards;
}
.anim-fade-in-delay-1 { animation: fade-in-up 0.6s ease-out 0.15s forwards; opacity: 0; }
.anim-fade-in-delay-2 { animation: fade-in-up 0.6s ease-out 0.3s forwards; opacity: 0; }
.anim-fade-in-delay-3 { animation: fade-in-up 0.6s ease-out 0.45s forwards; opacity: 0; }

/* ── Privacy / Terms / Legal Pages ───────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-5xl);
  min-height: 100vh;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  max-height: calc(100vh - var(--nav-height) - var(--space-2xl));
  overflow-y: auto;
}

.legal-toc h3 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.legal-toc a {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}
.legal-toc a:hover, .legal-toc a.active {
  color: var(--accent-primary);
  background: var(--accent-glow);
}

.legal-content {
  max-width: 800px;
}

.legal-content .legal-updated {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.legal-content h1 {
  font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.legal-content .legal-intro {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: var(--space-3xl);
  scroll-margin-top: calc(var(--nav-height) + var(--space-xl));
}

.legal-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.legal-section h2 .section-number {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--accent-primary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.legal-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

.legal-section ul {
  list-style: none;
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}
.legal-section li {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-lg);
}
.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.5;
}

.legal-section .info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-section .info-box.info-box--highlight {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
}

.legal-section a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    max-height: none;
    margin-bottom: var(--space-xl);
  }
}

/* ── About Page ──────────────────────────────────────────────── */
.about-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, var(--font-size-5xl));
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.about-hero p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.vision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.vision-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.vision-card .vision-icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
}
.vision-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

/* ── Products Page ───────────────────────────────────────────── */
.product-card-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}
.product-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.product-card-large:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

@media (max-width: 768px) {
  .product-card-large { grid-template-columns: 1fr; }
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.coming-soon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0.7;
}
.coming-soon-card .cs-icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}
.coming-soon-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}
.coming-soon-card p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}
.coming-soon-card .cs-badge {
  display: inline-block;
  margin-top: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
}

/* ── Services Page ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ── TOLLO Tab Product Page ──────────────────────────────────── */
.product-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.product-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.product-hero-info h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-6xl));
  font-weight: 900;
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.product-hero-info .product-hero-tagline {
  font-size: var(--font-size-2xl);
  color: var(--accent-tertiary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.product-hero-info .product-hero-desc {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

@media (max-width: 768px) {
  .product-hero .container { grid-template-columns: 1fr; text-align: center; }
  .product-hero-info .product-hero-desc { margin-left: auto; margin-right: auto; }
}

/* Product Page Stats/Highlights */
.product-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.highlight-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.highlight-card .highlight-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}
.highlight-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.highlight-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

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

/* ── Reduced Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-orb, .hero-node, .hero-grid { animation: none; }
}

/* ── Page Header (for inner pages) ───────────────────────────── */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, var(--font-size-5xl));
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* ── Product Philosophy ──────────────────────────────────────── */
.philosophy-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.philosophy-list .phil-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.philosophy-list .phil-item .phil-icon {
  color: var(--accent-tertiary);
}

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

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

/* ── Dynamic Projects Hub & Colorful Cards ───────────────────── */
.studio-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.metric-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  overflow: hidden;
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--card-ambient-glow, var(--accent-glow));
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--metric-glow, linear-gradient(135deg, var(--accent-glow), transparent));
  opacity: 0.4;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.metric-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.5), 0 0 32px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px 0 rgba(255, 255, 255, 0.24);
}

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

.studio-metrics > .metric-card:nth-child(1) { --metric-glow: linear-gradient(135deg, var(--accent-glow), transparent); }
.studio-metrics > .metric-card:nth-child(2) { --metric-glow: linear-gradient(135deg, var(--accent-glow-strong), transparent); }
.studio-metrics > .metric-card:nth-child(3) { --metric-glow: linear-gradient(135deg, var(--accent-glow), transparent); }
.studio-metrics > .metric-card:nth-child(4) { --metric-glow: linear-gradient(135deg, var(--accent-glow-strong), transparent); }

.metric-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  position: relative;
}

.metric-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  position: relative;
}

.metric-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  position: relative;
}

@media (max-width: 900px) {
  .studio-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .studio-metrics { grid-template-columns: 1fr; }
}

/* Filter & Search Controls */
.projects-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  align-items: center;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.filter-tab.active {
  color: #ffffff;
  background: var(--tab-gradient, var(--gradient-brand));
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-tab.active .filter-count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.project-search-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.project-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
  font-size: 1rem;
}

.project-search-input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  outline: none;
  transition: all var(--transition-base);
}

.project-search-input::placeholder {
  color: var(--text-tertiary);
}

.project-search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Dynamic Project Grid & Colorful Animated Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  overflow: hidden;
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--card-ambient-glow, var(--accent-glow));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-base), box-shadow 0.32s ease;
  animation: cardFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-gradient, var(--gradient-brand));
  opacity: 0.9;
  transition: height var(--transition-fast);
}

.project-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--card-accent, var(--accent-primary));
  opacity: 0.12;
  filter: blur(34px);
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--border-hover));
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.55), 0 0 32px var(--card-glow, var(--accent-glow)), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
}

.project-card:hover::after {
  opacity: 0.25;
  transform: scale(1.25);
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.project-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: var(--card-gradient, var(--gradient-brand));
  box-shadow: 0 8px 20px -6px var(--card-glow, var(--accent-glow));
  flex-shrink: 0;
}

.project-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.status-badge--beta {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge--soon {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.35); }
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--live .status-dot {
  animation: pulseDot 1.8s infinite ease-in-out;
}

.project-card-title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.project-card-tagline {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--card-accent, var(--accent-tertiary));
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-lg);
}

.tech-tag {
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--accent-glow);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.project-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.project-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  background: var(--card-gradient, var(--gradient-brand));
  color: #ffffff;
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.project-btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px var(--card-glow, var(--accent-glow));
}

.project-btn-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.project-btn-privacy:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
}

/* ── Project Detail Modal ────────────────────────────────────── */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 14, 0.75);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.project-modal {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%), var(--card-glass-tint, var(--bg-secondary));
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px rgba(255, 255, 255, 0.18);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-modal-backdrop.open .project-modal {
  transform: scale(1) translateY(0);
}

.project-modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.project-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-right: 2.5rem;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.modal-spec-box {
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.modal-spec-box:hover {
  border-color: var(--border-hover);
  background: var(--accent-glow);
}

.modal-spec-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.modal-spec-value {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.modal-section-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.modal-features-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: var(--space-xl);
}

.modal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.modal-features-list li span.check {
  color: #34d399;
  font-weight: 800;
}

.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .modal-specs { grid-template-columns: repeat(2, 1fr); }
  .modal-header { flex-direction: column; align-items: flex-start; }
  .project-modal { padding: var(--space-xl); }
}

/* ── App Privacy Center / Play Store Directory ───────────────── */
.privacy-switcher {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.privacy-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-base);
}

.privacy-app-card:hover,
.privacy-app-card.active {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
  box-shadow: 0 8px 24px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.copy-url-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.copy-url-text {
  font-family: monospace;
  font-size: var(--font-size-sm);
  color: var(--accent-tertiary);
  word-break: break-all;
}

/* ============================================================
   V2.5 VIBRANT DYNAMIC STUDIO OVERHAUL
   Multi-Color Vibes, 3D Tech Orbit, Bento Grid, Marquee & Tabs
   ============================================================ */

/* ── Color Vibe Themes (Dark Mode / Default) ───────────────────── */
[data-vibe="violet"] {
  --accent-primary: #8b5cf6;
  --accent-secondary: #ec4899;
  --accent-tertiary: #06b6d4;
  --accent-glow: rgba(139, 92, 246, 0.32);
  --accent-glow-strong: rgba(236, 72, 153, 0.46);
  --border: rgba(139, 92, 246, 0.28);
  --border-hover: rgba(139, 92, 246, 0.65);
  --card-glass-tint: rgba(26, 20, 52, 0.6);
  --card-inner-glow: rgba(139, 92, 246, 0.2);
  --card-ambient-glow: rgba(139, 92, 246, 0.3);
  --metric-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.28), transparent);
  --table-accent-line: #8b5cf6;
  --table-head-glow: rgba(139, 92, 246, 0.25);
  --table-badge-bg: rgba(139, 92, 246, 0.16);
  --table-badge-text: #c084fc;
  --table-row-hover: rgba(139, 92, 246, 0.08);
  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #22d3ee 100%);
}

[data-vibe="emerald"] {
  --accent-primary: #10b981;
  --accent-secondary: #06b6d4;
  --accent-tertiary: #3b82f6;
  --accent-glow: rgba(16, 185, 129, 0.32);
  --accent-glow-strong: rgba(6, 182, 212, 0.46);
  --border: rgba(16, 185, 129, 0.28);
  --border-hover: rgba(16, 185, 129, 0.65);
  --card-glass-tint: rgba(12, 34, 28, 0.6);
  --card-inner-glow: rgba(16, 185, 129, 0.2);
  --card-ambient-glow: rgba(16, 185, 129, 0.3);
  --metric-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.28), transparent);
  --table-accent-line: #10b981;
  --table-head-glow: rgba(16, 185, 129, 0.25);
  --table-badge-bg: rgba(16, 185, 129, 0.16);
  --table-badge-text: #34d399;
  --table-row-hover: rgba(16, 185, 129, 0.08);
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #34d399 0%, #22d3ee 50%, #60a5fa 100%);
}

[data-vibe="cyan"] {
  --accent-primary: #06b6d4;
  --accent-secondary: #6366f1;
  --accent-tertiary: #a855f7;
  --accent-glow: rgba(6, 182, 212, 0.32);
  --accent-glow-strong: rgba(99, 102, 241, 0.46);
  --border: rgba(6, 182, 212, 0.28);
  --border-hover: rgba(6, 182, 212, 0.65);
  --card-glass-tint: rgba(10, 28, 44, 0.6);
  --card-inner-glow: rgba(6, 182, 212, 0.2);
  --card-ambient-glow: rgba(6, 182, 212, 0.3);
  --metric-glow: linear-gradient(135deg, rgba(6, 182, 212, 0.28), transparent);
  --table-accent-line: #06b6d4;
  --table-head-glow: rgba(6, 182, 212, 0.25);
  --table-badge-bg: rgba(6, 182, 212, 0.16);
  --table-badge-text: #22d3ee;
  --table-row-hover: rgba(6, 182, 212, 0.08);
  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #a855f7 100%);
  --gradient-text: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #c084fc 100%);
}

[data-vibe="sunset"] {
  --accent-primary: #f59e0b;
  --accent-secondary: #ef4444;
  --accent-tertiary: #ec4899;
  --accent-glow: rgba(245, 158, 11, 0.32);
  --accent-glow-strong: rgba(239, 68, 68, 0.46);
  --border: rgba(245, 158, 11, 0.28);
  --border-hover: rgba(245, 158, 11, 0.65);
  --card-glass-tint: rgba(38, 20, 16, 0.6);
  --card-inner-glow: rgba(245, 158, 11, 0.2);
  --card-ambient-glow: rgba(245, 158, 11, 0.3);
  --metric-glow: linear-gradient(135deg, rgba(245, 158, 11, 0.28), transparent);
  --table-accent-line: #f59e0b;
  --table-head-glow: rgba(245, 158, 11, 0.25);
  --table-badge-bg: rgba(245, 158, 11, 0.16);
  --table-badge-text: #fbbf24;
  --table-row-hover: rgba(245, 158, 11, 0.08);
  --gradient-brand: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-text: linear-gradient(135deg, #fbbf24 0%, #f87171 50%, #f472b6 100%);
}

/* ── Light Mode Vibe Overrides (Luminous, Pure White Frosted Glass with Vibrant Accents) ── */
[data-theme="light"][data-vibe="violet"] {
  --accent-primary: #7c3aed;
  --accent-secondary: #db2777;
  --accent-tertiary: #0891b2;
  --accent-glow: rgba(124, 58, 237, 0.16);
  --accent-glow-strong: rgba(219, 39, 119, 0.24);
  --border: rgba(124, 58, 237, 0.24);
  --border-hover: rgba(124, 58, 237, 0.6);
  --card-glass-tint: rgba(255, 255, 255, 0.94);
  --card-inner-glow: rgba(124, 58, 237, 0.08);
  --card-ambient-glow: rgba(124, 58, 237, 0.18);
  --metric-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.14), transparent);
  --table-accent-line: #7c3aed;
  --table-head-glow: rgba(124, 58, 237, 0.14);
  --table-badge-bg: rgba(124, 58, 237, 0.09);
  --table-badge-text: #6d28d9;
  --table-row-hover: rgba(124, 58, 237, 0.045);
  --gradient-brand: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #0891b2 100%);
  --gradient-text: linear-gradient(135deg, #6d28d9 0%, #be185d 50%, #0e7490 100%);
}

[data-theme="light"][data-vibe="emerald"] {
  --accent-primary: #059669;
  --accent-secondary: #0891b2;
  --accent-tertiary: #2563eb;
  --accent-glow: rgba(5, 150, 105, 0.16);
  --accent-glow-strong: rgba(8, 145, 178, 0.24);
  --border: rgba(5, 150, 105, 0.24);
  --border-hover: rgba(5, 150, 105, 0.6);
  --card-glass-tint: rgba(255, 255, 255, 0.94);
  --card-inner-glow: rgba(5, 150, 105, 0.08);
  --card-ambient-glow: rgba(5, 150, 105, 0.18);
  --metric-glow: linear-gradient(135deg, rgba(5, 150, 105, 0.14), transparent);
  --table-accent-line: #059669;
  --table-head-glow: rgba(5, 150, 105, 0.14);
  --table-badge-bg: rgba(5, 150, 105, 0.09);
  --table-badge-text: #047857;
  --table-row-hover: rgba(5, 150, 105, 0.045);
  --gradient-brand: linear-gradient(135deg, #059669 0%, #0891b2 50%, #2563eb 100%);
  --gradient-text: linear-gradient(135deg, #047857 0%, #0e7490 50%, #1d4ed8 100%);
}

[data-theme="light"][data-vibe="cyan"] {
  --accent-primary: #0891b2;
  --accent-secondary: #4f46e5;
  --accent-tertiary: #9333ea;
  --accent-glow: rgba(8, 145, 178, 0.16);
  --accent-glow-strong: rgba(79, 70, 229, 0.24);
  --border: rgba(8, 145, 178, 0.24);
  --border-hover: rgba(8, 145, 178, 0.6);
  --card-glass-tint: rgba(255, 255, 255, 0.94);
  --card-inner-glow: rgba(8, 145, 178, 0.08);
  --card-ambient-glow: rgba(8, 145, 178, 0.18);
  --metric-glow: linear-gradient(135deg, rgba(8, 145, 178, 0.14), transparent);
  --table-accent-line: #0891b2;
  --table-head-glow: rgba(8, 145, 178, 0.14);
  --table-badge-bg: rgba(8, 145, 178, 0.09);
  --table-badge-text: #0e7490;
  --table-row-hover: rgba(8, 145, 178, 0.045);
  --gradient-brand: linear-gradient(135deg, #0891b2 0%, #4f46e5 50%, #9333ea 100%);
  --gradient-text: linear-gradient(135deg, #0e7490 0%, #4338ca 50%, #7e22ce 100%);
}

[data-theme="light"][data-vibe="sunset"] {
  --accent-primary: #d97706;
  --accent-secondary: #dc2626;
  --accent-tertiary: #db2777;
  --accent-glow: rgba(217, 119, 6, 0.16);
  --accent-glow-strong: rgba(220, 38, 38, 0.24);
  --border: rgba(217, 119, 6, 0.24);
  --border-hover: rgba(217, 119, 6, 0.6);
  --card-glass-tint: rgba(255, 255, 255, 0.94);
  --card-inner-glow: rgba(217, 119, 6, 0.08);
  --card-ambient-glow: rgba(217, 119, 6, 0.18);
  --metric-glow: linear-gradient(135deg, rgba(217, 119, 6, 0.14), transparent);
  --table-accent-line: #d97706;
  --table-head-glow: rgba(217, 119, 6, 0.14);
  --table-badge-bg: rgba(217, 119, 6, 0.09);
  --table-badge-text: #b45309;
  --table-row-hover: rgba(217, 119, 6, 0.045);
  --gradient-brand: linear-gradient(135deg, #d97706 0%, #dc2626 50%, #db2777 100%);
  --gradient-text: linear-gradient(135deg, #b45309 0%, #b91c1c 50%, #be185d 100%);
}

/* Vibe Switcher Button in Navbar */
.vibe-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition-base);
}

.vibe-switcher:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}

.vibe-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 8px var(--accent-primary);
}

.vibe-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ── Mouse Follower Glow & Interactive Canvas ────────────────── */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  opacity: 0.65;
  transition: width 0.3s, height 0.3s;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── Split Hero with 3D Interactive Tech Orbit ───────────────── */
.hero--vibrant {
  position: relative;
  min-height: min(85vh, 760px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 1.25rem);
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(139, 92, 246, 0.22), transparent),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(6, 182, 212, 0.2), transparent),
    radial-gradient(ellipse 50% 50% at 50% 85%, rgba(236, 72, 153, 0.16), transparent);
  animation: auroraPulse 10s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  100% { transform: scale(1.08) rotate(2deg); opacity: 1; }
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-split-left {
  text-align: left;
}

.hero-split-left h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.dynamic-word-wrap {
  display: inline-block;
  min-width: 280px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-right: 3px solid var(--accent-tertiary);
  padding-right: 6px;
  animation: blinkCaret 0.9s step-end infinite;
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

.hero-stats-mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.hero-stat-item strong {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-item span {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Tech Orbit Scene */
.tech-orbit-scene {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-core {
  position: relative;
  z-index: 5;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 50px var(--accent-glow-strong), inset 0 0 20px rgba(255, 255, 255, 0.35);
  animation: coreFloat 4s ease-in-out infinite;
}

.orbit-core-letter {
  font-size: 2.6rem;
  line-height: 1;
}

.orbit-core-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

@keyframes coreFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring--1 {
  width: 250px;
  height: 250px;
  border-color: rgba(6, 182, 212, 0.35);
  animation: orbitSpin 22s linear infinite;
}

.orbit-ring--2 {
  width: 380px;
  height: 380px;
  border-color: rgba(236, 72, 153, 0.28);
  animation: orbitSpinReverse 32s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.orbit-planet {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--surface-elevated);
  border: 1px solid var(--border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px var(--planet-glow, rgba(99, 102, 241, 0.3));
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.orbit-ring--1 .orbit-planet {
  animation: orbitSpinReverse 22s linear infinite;
}

.orbit-ring--2 .orbit-planet {
  animation: orbitSpin 32s linear infinite;
}

.orbit-planet--top { top: -20px; left: 50%; transform: translateX(-50%); }
.orbit-planet--bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.orbit-planet--left { left: -40px; top: 50%; transform: translateY(-50%); }
.orbit-planet--right { right: -40px; top: 50%; transform: translateY(-50%); }

@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split-left {
    text-align: center;
  }
  .hero-stats-mini {
    justify-content: center;
  }
  .tech-orbit-scene {
    width: 320px;
    height: 320px;
  }
  .orbit-ring--1 { width: 200px; height: 200px; }
  .orbit-ring--2 { width: 300px; height: 300px; }
}

/* ── Infinite Glowing Tech Stack Marquee ─────────────────────── */
.tech-marquee-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: var(--space-lg);
  animation: marqueeScroll 30s linear infinite;
}

.tech-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.marquee-pill:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ── Colorful Bento Box Grid ─────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
}

.bento-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  overflow: hidden;
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 18px 42px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--card-ambient-glow, var(--accent-glow));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-base), box-shadow 0.35s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bento-gradient, var(--gradient-brand));
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6), 0 0 32px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px 0 rgba(255, 255, 255, 0.26);
}

/* Bento card harmonious gradient variations based on active vibe */
.bento-grid > .bento-card:nth-child(1) {
  --bento-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}
.bento-grid > .bento-card:nth-child(2) {
  --bento-gradient: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
}
.bento-grid > .bento-card:nth-child(3) {
  --bento-gradient: linear-gradient(135deg, var(--accent-tertiary), var(--accent-primary));
}
.bento-grid > .bento-card:nth-child(4) {
  --bento-gradient: var(--gradient-brand);
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }

@media (max-width: 992px) {
  .bento-span-7, .bento-span-5, .bento-span-4, .bento-span-8 {
    grid-column: span 12;
  }
}

.code-terminal {
  margin-top: var(--space-lg);
  background: rgba(8, 8, 18, 0.82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.7;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.code-terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.platform-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.platform-mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.platform-mini-card:hover {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
  box-shadow: 0 6px 20px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  color: #ffffff;
}

.bento-focus-box {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.bento-focus-box:hover {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.bento-focus-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.bento-focus-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── 4-Step Engineering Pipeline ─────────────────────────────── */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.pipeline-step {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.45), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px var(--card-ambient-glow, var(--accent-glow));
  transition: all var(--transition-base);
}

.pipeline-step:hover {
  transform: translateY(-6px);
  border-color: var(--step-color, var(--accent-primary));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.55), 0 0 32px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
}

.pipeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--step-gradient, var(--gradient-brand));
  color: #ffffff;
  font-weight: 900;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-md);
  box-shadow: 0 8px 22px var(--card-ambient-glow, var(--accent-glow)), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Pipeline steps harmonious variations derived from active vibe */
.pipeline-grid > .pipeline-step:nth-child(1) {
  --step-color: var(--accent-primary);
  --step-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}
.pipeline-grid > .pipeline-step:nth-child(2) {
  --step-color: var(--accent-secondary);
  --step-gradient: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
}
.pipeline-grid > .pipeline-step:nth-child(3) {
  --step-color: var(--accent-tertiary);
  --step-gradient: linear-gradient(135deg, var(--accent-tertiary), var(--accent-primary));
}
.pipeline-grid > .pipeline-step:nth-child(4) {
  --step-color: var(--accent-primary);
  --step-gradient: var(--gradient-brand);
}

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

@media (max-width: 560px) {
  .pipeline-grid { grid-template-columns: 1fr; }
  .platform-pills-grid { grid-template-columns: 1fr; }
}

/* ── Integrated Product Detail + Privacy Tabs ────────────────── */
.product-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-tab-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-tab-btn:hover {
  color: var(--text-primary);
}

.product-tab-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.product-tab-panel {
  display: none;
  animation: cardFadeUp 0.3s ease both;
}

.product-tab-panel.active {
  display: block;
}

.changelog-item {
  padding: var(--space-lg);
  background: var(--surface);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

/* ============================================================
   V3.0 ULTRA-DYNAMIC HOLOGRAPHIC CHOREOGRAPHY
   Floating Capsule Navbar, Scroll-Driven 3D Quantum Stage,
   Scroll-Scrub Manifesto, Sticky Stacking Cards & 3D Tilt
   ============================================================ */

/* ── 1. Top Rainbow Laser Scroll Progress Bar ────────────────── */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  z-index: 3000;
  background: linear-gradient(90deg, #8b5cf6, #ec4899, #06b6d4, #10b981, #f59e0b);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.7), 0 0 24px rgba(6, 182, 212, 0.5);
  transition: width 0.08s linear;
}

/* ── 2. Floating Glass Capsule Navbar ────────────────────────── */
.navbar {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(94vw, 1260px);
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(13, 13, 28, 0.68);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid var(--border-hover);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), 0 0 25px var(--accent-glow);
  padding: 0 var(--space-lg);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 10px 30px rgba(17, 17, 39, 0.08);
}

.navbar.scrolled {
  top: 10px;
  border-color: var(--accent-primary);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 30px var(--accent-glow);
}

/* ── 3. Inline Kinetic Hero Pills ────────────────────────────── */
.kinetic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.12em 0.55em;
  margin: 0 0.12em;
  border-radius: var(--radius-full);
  font-size: 0.72em;
  font-weight: 800;
  vertical-align: middle;
  color: #ffffff;
  background: var(--pill-bg, var(--gradient-brand));
  box-shadow: 0 6px 24px var(--pill-glow, rgba(139, 92, 246, 0.45)), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  animation: pillFloat 3.6s ease-in-out infinite;
}

.kinetic-pill--2 { animation-delay: 0.9s; }
.kinetic-pill--3 { animation-delay: 1.8s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1.5deg); }
}

/* ── 4. Scroll-Driven 3D Quantum Layer Expansion Stage ───────── */
.quantum-section {
  position: relative;
  padding: clamp(2.25rem, 3.5vw, 3rem) 0;
  overflow: hidden;
}

.quantum-stage {
  perspective: 1400px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: var(--space-xl);
}

.quantum-deck {
  position: relative;
  width: min(100%, 880px);
  height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}

.quantum-center-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) translateZ(40px);
  width: 290px;
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), var(--card-glass-tint, rgba(20, 18, 45, 0.92));
  border: 2px solid var(--accent-primary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 50px var(--accent-glow-strong), inset 0 1px 1px rgba(255, 255, 255, 0.22);
  text-align: center;
  z-index: 5;
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

[data-theme="light"] .quantum-center-core {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.95));
  box-shadow: 0 20px 50px rgba(17, 17, 39, 0.12), 0 0 35px var(--accent-glow);
}

.quantum-layer-card {
  position: absolute;
  width: 255px;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--layer-color, var(--border-hover));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 28px var(--layer-glow, var(--accent-glow)), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
}

.quantum-layer-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 42px var(--accent-glow-strong), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Quantum layers harmonious variations derived from active vibe */
.quantum-deck > .quantum-layer--tl {
  --layer-color: var(--accent-primary);
  --layer-glow: var(--accent-glow);
}
.quantum-deck > .quantum-layer--tr {
  --layer-color: var(--accent-secondary);
  --layer-glow: var(--accent-glow-strong);
}
.quantum-deck > .quantum-layer--bl {
  --layer-color: var(--accent-tertiary);
  --layer-glow: var(--accent-glow);
}
.quantum-deck > .quantum-layer--br {
  --layer-color: var(--accent-primary);
  --layer-glow: var(--accent-glow-strong);
}

.quantum-layer--tl { top: 15px; left: 20px; }
.quantum-layer--tr { top: 15px; right: 20px; }
.quantum-layer--bl { bottom: 15px; left: 20px; }
.quantum-layer--br { bottom: 15px; right: 20px; }

@media (max-width: 860px) {
  .quantum-stage { min-height: auto; perspective: none; }
  .quantum-deck {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    transform: none !important;
  }
  .quantum-center-core,
  .quantum-layer-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none !important;
  }
}

/* ── 5. Scroll-Scrub Kinetic Illuminated Manifesto ───────────── */
.manifesto-section {
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  position: relative;
}

.kinetic-manifesto {
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.scrub-word {
  display: inline-block;
  margin-right: 0.24em;
  color: var(--text-tertiary);
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.scrub-word.lit {
  color: var(--text-primary);
}

.scrub-word.lit-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
}

/* ── 6. Sticky Stacking Philosophy Deck (Streamlined 3D Rising Layers) ── */
.stack-deck {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

.stack-card {
  position: sticky;
  top: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.2vw, 1.65rem) clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-2xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(20, 18, 42, 0.65));
  border: 1px solid var(--stack-border, var(--border));
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.42), 0 0 32px var(--stack-glow, var(--accent-glow)), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stack-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.55), 0 0 42px var(--accent-glow-strong), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Light Mode Overrides for Stacking Cards */
[data-theme="light"] .stack-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(124, 58, 237, 0.08)) 0%, transparent 80%),
              var(--card-glass-tint, rgba(255, 255, 255, 0.94));
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08), 0 0 24px var(--stack-glow, var(--accent-glow)), inset 0 1px 2px rgba(255, 255, 255, 1);
  border: 1px solid var(--border);
}

[data-theme="light"] .stack-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .stack-card p {
  color: #475569 !important;
}

[data-theme="light"] .stack-step-badge {
  background: rgba(15, 23, 42, 0.05) !important;
  border: 1px solid var(--border) !important;
  color: var(--accent-primary) !important;
}

/* Dynamic Stacking offsets & harmonious vibe-reactive variations */
.stack-deck > .stack-card:nth-child(1) {
  top: 86px;
  --stack-orb: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --stack-glow: var(--accent-glow);
  --stack-border: var(--accent-primary);
}
.stack-deck > .stack-card:nth-child(2) {
  top: 108px;
  --stack-orb: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
  --stack-glow: var(--accent-glow-strong);
  --stack-border: var(--accent-secondary);
}
.stack-deck > .stack-card:nth-child(3) {
  top: 130px;
  --stack-orb: linear-gradient(135deg, var(--accent-tertiary), var(--accent-primary));
  --stack-glow: var(--accent-glow);
  --stack-border: var(--accent-tertiary);
}
.stack-deck > .stack-card:nth-child(4) {
  top: 152px;
  --stack-orb: var(--gradient-brand);
  --stack-glow: var(--accent-glow-strong);
  --stack-border: var(--accent-primary);
}

.stack-letter-orb {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  background: var(--stack-orb, var(--gradient-brand));
  box-shadow: 0 10px 24px var(--stack-glow, var(--accent-glow)), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.stack-step-badge {
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .stack-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-lg);
    gap: var(--space-md);
  }
  .stack-letter-orb { margin: 0 auto; }
}

/* ── Dynamic Vibe-Reactive Glass Table Architecture ───────────── */
.table-glass-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%),
              radial-gradient(ellipse 95% 75% at 50% 0%, var(--card-inner-glow, rgba(139, 92, 246, 0.18)) 0%, transparent 80%),
              var(--table-glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4), 0 0 32px var(--table-head-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: border-color var(--transition-theme), box-shadow var(--transition-theme), background var(--transition-theme);
  margin: var(--space-md) 0;
}

table.data-table {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--font-size-sm);
  text-align: left;
}

table.data-table thead th {
  padding: 1.1rem 1.35rem;
  font-weight: 800;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-bottom: 2px solid var(--table-accent-line);
  white-space: nowrap;
  position: relative;
  transition: border-color var(--transition-theme), color var(--transition-theme);
}

table.data-table thead th:first-child {
  border-top-left-radius: var(--radius-2xl);
}
table.data-table thead th:last-child {
  border-top-right-radius: var(--radius-2xl);
}

table.data-table tbody tr {
  transition: background var(--transition-fast);
}

table.data-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

table.data-table tbody tr:hover {
  background: var(--table-row-hover);
}

table.data-table tbody td {
  padding: 1rem 1.35rem;
  color: var(--text-secondary);
  vertical-align: middle;
  line-height: var(--line-height-normal);
  transition: color var(--transition-theme);
}

table.data-table tbody td strong {
  color: var(--text-primary);
  font-weight: 700;
  display: inline-block;
  font-size: 0.95rem;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--table-badge-bg);
  color: var(--table-badge-text);
  border: 1px solid var(--table-accent-line);
  box-shadow: 0 0 14px var(--table-head-glow);
  transition: all var(--transition-theme);
  white-space: nowrap;
}

/* Light Mode Overrides for Table Architecture */
[data-theme="light"] .table-glass-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07), 0 0 24px var(--table-head-glow), inset 0 1px 2px rgba(255, 255, 255, 1);
  border: 1px solid var(--border);
}

[data-theme="light"] table.data-table thead th {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  color: #0f172a;
  border-bottom: 2px solid var(--table-accent-line);
}

[data-theme="light"] table.data-table tbody td {
  color: #475569;
}

[data-theme="light"] table.data-table tbody td strong {
  color: #0f172a;
}

[data-theme="light"] table.data-table tbody tr:hover {
  background: var(--table-row-hover);
}

/* ── 7. 3D Mouse-Tilt & Glare Effect on Cards ────────────────── */
.tilt-active {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ── 8. Vertical Studio Kinetic Watermark Rail ────────────────── */
#vertical-studio-rail {
  position: fixed;
  left: clamp(12px, 2.2vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  height: min(88vh, 800px);
  width: 60px;
  z-index: 45;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail-hairline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  background: linear-gradient(180deg, transparent, var(--accent-primary) 15%, var(--accent-tertiary) 85%, transparent);
  opacity: 0.35;
  z-index: 1;
}

.rail-letters-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.rail-node {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 900;
  -webkit-text-stroke: 0.6px currentColor;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-tertiary);
  opacity: 0.32;
  will-change: transform, opacity;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.12s ease, text-shadow 0.2s ease;
  transform-origin: left center;
}

.rail-divider {
  font-size: 15px;
  -webkit-text-stroke: 0;
  color: var(--accent-tertiary);
}

.rail-node.rail-active {
  color: #ffffff;
  -webkit-text-stroke: 0.8px transparent;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px var(--accent-glow-strong));
  text-shadow: 0 0 22px var(--accent-primary);
}

[data-theme="light"] .rail-node {
  color: #111127;
}

[data-theme="light"] .rail-node.rail-active {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================================
   LIGHT MODE CARD ENHANCEMENTS (দিন মুড — Pure White Frosted Glass & Saturated Vibe Glow)
   ============================================================ */
[data-theme="light"] .card,
[data-theme="light"] .bento-card,
[data-theme="light"] .project-card,
[data-theme="light"] .pipeline-step,
[data-theme="light"] .metric-card,
[data-theme="light"] .quantum-layer-card,
[data-theme="light"] .privacy-app-card,
[data-theme="light"] .stack-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.92) 100%),
              radial-gradient(ellipse 90% 70% at 50% 0%, var(--card-inner-glow, rgba(124, 58, 237, 0.08)) 0%, transparent 80%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px -6px rgba(15, 23, 42, 0.06), inset 0 1px 1px 0 #ffffff, 0 0 24px var(--card-ambient-glow) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

[data-theme="light"] .card:hover,
[data-theme="light"] .bento-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .pipeline-step:hover,
[data-theme="light"] .metric-card:hover,
[data-theme="light"] .quantum-layer-card:hover,
[data-theme="light"] .privacy-app-card:hover,
[data-theme="light"] .stack-card:hover {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 18px 42px -6px rgba(15, 23, 42, 0.12), inset 0 1px 1px 0 #ffffff, 0 0 35px var(--card-ambient-glow) !important;
  transform: translateY(-6px);
}

/* Light Mode Card Typography & Elements */
[data-theme="light"] .card-title,
[data-theme="light"] .project-card-title,
[data-theme="light"] .bento-card h3,
[data-theme="light"] .quantum-layer-card h4,
[data-theme="light"] .stack-card h3,
[data-theme="light"] .pipeline-step .card-title,
[data-theme="light"] .bento-focus-title {
  color: #0f172a !important;
}

[data-theme="light"] .card-text,
[data-theme="light"] .project-card-desc,
[data-theme="light"] .bento-card p,
[data-theme="light"] .quantum-layer-card p,
[data-theme="light"] .stack-card p,
[data-theme="light"] .pipeline-step .card-text,
[data-theme="light"] .bento-focus-desc,
[data-theme="light"] .metric-label {
  color: #475569 !important;
}

[data-theme="light"] .tech-tag {
  background: var(--accent-glow) !important;
  color: var(--accent-primary) !important;
  border: 1px solid var(--border) !important;
  font-weight: 600;
}

[data-theme="light"] .category-pill {
  background: rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
  border: 1px solid var(--border) !important;
}

[data-theme="light"] .status-badge--live {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.35) !important;
}

[data-theme="light"] .status-badge--beta {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #d97706 !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
}

[data-theme="light"] .status-badge--soon {
  background: rgba(124, 58, 237, 0.12) !important;
  color: #7c3aed !important;
  border: 1px solid rgba(124, 58, 237, 0.35) !important;
}

[data-theme="light"] .platform-mini-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--border) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .platform-mini-card:hover {
  background: var(--accent-glow) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

[data-theme="light"] .platform-mini-card div div:last-child {
  color: #64748b !important;
}

[data-theme="light"] .bento-focus-box {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .bento-focus-box:hover {
  background: var(--accent-glow) !important;
  border-color: var(--accent-primary) !important;
}

[data-theme="light"] .code-terminal {
  background: #0d1117 !important;
  border: 1px solid var(--border) !important;
  color: #e6edf3 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .stack-step-badge {
  background: rgba(15, 23, 42, 0.05) !important;
  border: 1px solid var(--border) !important;
  color: #475569 !important;
}

[data-theme="light"] .project-btn-privacy {
  background: var(--accent-glow) !important;
  color: var(--accent-primary) !important;
  border: 1px solid var(--border) !important;
}

[data-theme="light"] .project-btn-privacy:hover {
  background: var(--accent-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .project-modal-backdrop {
  background: rgba(15, 23, 42, 0.45) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
}

[data-theme="light"] .project-modal {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%) !important;
  border: 1px solid var(--border-hover) !important;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18), 0 0 45px var(--card-ambient-glow) !important;
}

[data-theme="light"] .modal-spec-box {
  background: rgba(241, 245, 249, 0.85) !important;
  border: 1px solid var(--border) !important;
}

[data-theme="light"] .modal-spec-label {
  color: #64748b !important;
}

[data-theme="light"] .modal-spec-value {
  color: #0f172a !important;
}

[data-theme="light"] .project-modal-close {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: #0f172a !important;
}

[data-theme="light"] .modal-section-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-features-list li {
  color: #334155 !important;
}

[data-theme="light"] .product-detail-tabs {
  background: rgba(241, 245, 249, 0.85) !important;
  border: 1px solid var(--border) !important;
}

[data-theme="light"] .product-tab-btn {
  color: #64748b !important;
}

[data-theme="light"] .product-tab-btn:hover {
  color: #0f172a !important;
}

[data-theme="light"] .product-tab-btn.active {
  background: var(--gradient-brand) !important;
  color: #ffffff !important;
}

[data-theme="light"] .changelog-item {
  background: rgba(248, 250, 255, 0.95) !important;
  border: 1px solid var(--border) !important;
  border-left: 4px solid var(--accent-primary) !important;
}

[data-theme="light"] .copy-url-bar {
  background: rgba(248, 250, 255, 0.95) !important;
  border: 1px solid var(--border) !important;
}


/* ============================================================
   V3.1 — Responsive, Cross-Browser & Upcoming-Product Layer
   ============================================================ */

/* Never allow sideways scrolling on any device */
html { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
img, svg, video, canvas { max-width: 100%; height: auto; }
canvas#hero-canvas { height: 100%; }
.container > *, .legal-layout > *, .footer-grid > * { min-width: 0; }
h1, h2, h3, p, li, a { overflow-wrap: anywhere; }
code { word-break: break-all; }

/* Bangla typography */
:root { --font-bn: 'Noto Sans Bengali', 'Kalpurush', 'SolaimanLipi', 'Nirmala UI', 'Vrinda', sans-serif; }
[lang="bn"], .bn-inline, .bn { font-family: var(--font-bn); line-height: 1.7; letter-spacing: 0; }
.bn-inline { font-size: 0.8em; font-weight: 600; color: var(--text-secondary); white-space: normal; }

/* Layout injection helpers */
.noscript-nav { display: flex; gap: 1rem; flex-wrap: wrap; padding: 1rem; background: var(--bg-secondary); }
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; height: 100vh; height: 100dvh; padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0px)); }
.mobile-menu a.active { color: var(--accent-primary); }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; }
.nav-links a[aria-current="page"] { color: var(--accent-primary); }
.footer-contact { margin-top: var(--space-md); font-size: var(--font-size-sm); }
.footer-tag {
  display: inline-block; margin-left: 0.35rem; padding: 0.05rem 0.45rem; border-radius: 999px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(14, 165, 233, 0.16); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.35); vertical-align: middle;
}
.footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }

/* "Upcoming" status */
.status-badge--upcoming {
  background: rgba(14, 165, 233, 0.14); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.38);
}
.status-badge--upcoming .status-dot { animation: pulseDot 1.8s ease-in-out infinite; }
[data-theme="light"] .status-badge--upcoming { background: rgba(2, 132, 199, 0.1); color: #0369a1; border-color: rgba(2, 132, 199, 0.35); }
[data-theme="light"] .footer-tag { background: rgba(2, 132, 199, 0.1); color: #0369a1; border-color: rgba(2, 132, 199, 0.35); }

.upcoming-banner {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem; margin: 0 0 var(--space-lg);
  border-radius: var(--radius-lg); font-size: var(--font-size-sm); line-height: 1.55;
  background: rgba(14, 165, 233, 0.1); border: 1px solid rgba(14, 165, 233, 0.35); color: var(--text-secondary);
}
.upcoming-banner strong { color: var(--text-primary); }
.upcoming-banner-icon { font-size: 1.3rem; line-height: 1.2; }

/* Notify / upcoming CTA card */
.notify-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: var(--space-2xl) var(--space-xl); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--border);
}
.notify-card h3 { font-size: var(--font-size-xl); font-weight: 800; margin-bottom: var(--space-sm); }
.notify-card p { color: var(--text-secondary); margin-bottom: var(--space-lg); }
.btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; pointer-events: none; }

/* Policy blocks (shared by modal, project page, app privacy center) */
.policy-block { margin-bottom: var(--space-xl); scroll-margin-top: calc(var(--nav-height) + var(--space-lg)); }
.policy-meta { font-size: 0.78rem; color: var(--accent-tertiary); font-weight: 600; margin-bottom: 0.5rem; }
.policy-text { font-size: var(--font-size-sm); color: var(--text-secondary); line-height: var(--line-height-relaxed); margin-bottom: var(--space-sm); }
.policy-link { color: var(--accent-tertiary); font-weight: 600; text-decoration: underline; }
.policy-title { font-size: var(--font-size-3xl, 2rem); font-weight: 800; margin-bottom: var(--space-sm); }
.copy-url-label { font-size: 0.72rem; color: var(--text-tertiary); font-weight: 700; text-transform: uppercase; margin-bottom: 0.2rem; }
.modal-section-title--sub { margin-top: var(--space-md); }

/* Legal TOC + switcher: no overflow, friendly on phones */
.legal-toc a { overflow-wrap: anywhere; }
.privacy-switcher { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (max-width: 768px) {
  .legal-toc { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .legal-toc h3 { width: 100%; margin-bottom: 0.25rem; }
  .legal-toc a { display: inline-block; margin: 0; border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.7rem; }
  .copy-url-bar { flex-direction: column; align-items: stretch; }
  .copy-url-text { word-break: break-all; }
}

/* Phone fixes */
@media (max-width: 992px) {
  .hero-split-right { overflow: hidden; padding: 0 0.5rem; }
}
@media (max-width: 560px) {
  .tech-orbit-scene { width: 260px; height: 260px; }
  .orbit-ring--1 { width: 160px; height: 160px; }
  .orbit-ring--2 { width: 240px; height: 240px; }
  .orbit-planet { font-size: 0.62rem; padding: 0.25rem 0.5rem; }
  .orbit-planet--left { left: -24px; }
  .orbit-planet--right { right: -24px; }
  .hero-orb { max-width: 70vw; max-height: 70vw; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .project-card-actions { flex-direction: column; }
  .project-card-actions > * { width: 100%; }
  .modal-footer-actions { flex-direction: column; }
  .modal-footer-actions .btn { width: 100%; justify-content: center; }
  .product-detail-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .product-tab-btn { white-space: nowrap; }
}
/* Modal: fit short / notched screens */
.project-modal { max-height: 92vh; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Touch devices: comfortable tap targets, no hover-only affordances */
@media (hover: none) and (pointer: coarse) {
  .btn, .filter-tab, .product-tab-btn, .theme-toggle, .mobile-menu-btn { min-height: 44px; }
  .cursor-glow { display: none !important; }
}


/* Respect reduced-motion preferences everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .tech-marquee-track { animation: none !important; }
}

/* Wide tables scroll inside their own box instead of being clipped */
@media (max-width: 768px) {
  .data-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table th, .data-table td { min-width: 120px; }
}

/* Navbar brand must never wrap; product heroes clear the floating navbar */
.nav-brand, .brand-name { white-space: nowrap; flex-shrink: 0; }
.navbar .container { gap: 0.5rem; }
@media (max-width: 340px) { .brand-suffix { display: none; } }
.product-hero { padding-top: calc(var(--nav-height) + var(--space-3xl)); }
@media (max-width: 768px) { .product-hero { padding-top: calc(var(--nav-height) + var(--space-2xl)); } }
.product-tab-btn { flex: 0 0 auto; }

/* Studio rail must not collide with the floating navbar */
