@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/*
 * EnvX Global Styles
 * Pure dark obsidian developer tool design (Linear & Raycast craft standard)
 */

:root {
  /* Color Palette - Deep Obsidian & Emerald */
  --bg-base: #050506;
  --bg-surface: #090A0D;
  --bg-card: #0F1117;
  --bg-navbar: rgba(5, 5, 6, 0.85);
  
  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.15);
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan: #38BDF8;
  --cyan-dim: rgba(56, 189, 248, 0.15);
  
  --text-heading: #FFFFFF;
  --text-body: #94A3B8;
  --text-muted: #7E8B9B;
  --text-mono: #38BDF8;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  
  --danger-red: #EF4444;
  --warning-yellow: #F59E0B;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --smooth-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  caret-color: var(--emerald);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) #050506;
}

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

::selection {
  background: rgba(16, 185, 129, 0.28);
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #050506;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

body {
  background-color: var(--bg-base);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -0.02em; }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.015em; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #34D399;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Courier New', monospace;
  color: var(--text-mono);
  font-size: 0.9em;
}

/* 3. Keyframes */
@keyframes aurora-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); filter: hue-rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.08); filter: hue-rotate(25deg); }
}

@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes border-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes modal-fade-in {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* 4. Stagger classes */
.stagger-1 { animation: fade-in-up 0.5s var(--ease-out-expo) 0.05s both; }
.stagger-2 { animation: fade-in-up 0.5s var(--ease-out-expo) 0.12s both; }
.stagger-3 { animation: fade-in-up 0.5s var(--ease-out-expo) 0.18s both; }
.stagger-4 { animation: fade-in-up 0.5s var(--ease-out-expo) 0.25s both; }
.stagger-5 { animation: fade-in-up 0.6s var(--ease-out-expo) 0.32s both; }
.stagger-6 { animation: fade-in-up 0.6s var(--ease-out-expo) 0.4s both; }

/* 4.5. Scroll Reveal System */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
  will-change: opacity, transform;
}

.scroll-reveal-scale.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stagger-grid > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-grid > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-grid > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-grid > *:nth-child(4) { transition-delay: 0.28s; }
.stagger-grid > *:nth-child(5) { transition-delay: 0.36s; }
.stagger-grid > *:nth-child(6) { transition-delay: 0.44s; }

/* 5. Dot grid background */
.dot-grid-bg {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* 6. Glassmorphism */
.glass {
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* 7. Card hover */
.card-hover {
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 32px -10px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

/* 7.5. Spotlight Card (Raycast / Linear Mouse Follow) */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    rgba(16, 185, 129, 0.45),
    transparent 55%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: inherit;
  z-index: 0;
  pointer-events: none;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* 8. Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25;
  cursor: pointer;
  transition: all 0.2s var(--smooth-ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.05s;
}

.btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background-color: var(--text-heading);
  color: var(--bg-base);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
  color: var(--bg-base);
}

.btn-emerald {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34D399, #10B981);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.55);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--text-heading);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-body);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-heading);
  background-color: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  border-radius: 6px;
}

.btn-md {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

.w-full {
  width: 100%;
}

/* 9. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.navbar-scrolled {
  background-color: rgba(7, 10, 16, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--cyan) 50%, #3B82F6 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  z-index: 101;
}


.navbar-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.45));
}

.nav-wordmark {
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

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

.nav-link:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* Mobile Hamburger Button */
.nav-burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.nav-burger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-burger-btn:active {
  transform: scale(0.95);
}

.nav-burger-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.nav-burger-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--emerald);
}

.nav-burger-btn .burger-icon-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-burger-btn .burger-icon-close {
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-burger-btn.active .burger-icon-open {
  display: none;
}

.nav-burger-btn.active .burger-icon-close {
  display: flex;
}

/* Mobile Slide-Down Drawer */
.nav-mobile-drawer {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(9, 10, 13, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  padding: 1.5rem 1.5rem 2rem;
  display: none;
  transition: transform 0.25s var(--ease-out-expo), opacity 0.25s var(--ease-out-expo);
}

.nav-mobile-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-mobile-inner a {
  text-decoration: none;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-mobile-link:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  transform: translateX(4px);
}

.nav-mobile-link.nav-mobile-signin {
  color: var(--text-body);
  background: transparent;
  border-color: transparent;
}

.nav-mobile-link.nav-mobile-signin:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.nav-mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

.nav-mobile-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* 10. Hero Section */
.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 600px;
  max-width: 1100px;
  background: radial-gradient(ellipse at 50% 20%, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.04) 45%, rgba(5, 5, 6, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 1.25rem auto 2.25rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-mockup {
  max-width: 1040px;
  width: 100%;
  margin: 4rem auto 0;
  text-align: left;
  position: relative;
}

/* 11. App Mockup Window */
.mockup-window {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background-color: #0A0D14;
  overflow: hidden;
  box-shadow: 0 35px 90px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background-color: #0E121C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  user-select: none;
}

.mockup-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

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

.mockup-dot.red { background-color: #EF4444; }
.mockup-dot.yellow { background-color: #F59E0B; }
.mockup-dot.green { background-color: #10B981; }

.title-text {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.title-app {
  color: var(--text-heading);
  font-weight: 600;
}

.title-ws {
  color: rgba(255, 255, 255, 0.9);
}

.title-file {
  color: #38BDF8;
}

.title-sep {
  color: rgba(255, 255, 255, 0.2);
}

.title-tag {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mockup-body {
  display: flex;
  min-height: 400px;
  text-align: left;
  background-color: #07090E;
}

.mockup-sidebar {
  width: 230px;
  background-color: #0B0E17;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.15rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-align: left;
}

.sidebar-title {
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 0.5rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 0.825rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  border-left: 2px solid transparent;
}

.sidebar-item:hover {
  background-color: rgba(255, 255, 255, 0.035);
  color: var(--text-heading);
}

.sidebar-item.active {
  background-color: rgba(16, 185, 129, 0.08);
  color: #FFFFFF;
  font-weight: 600;
  border-left-color: var(--emerald);
}

.sidebar-item-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sidebar-name {
  font-size: 0.825rem;
  font-weight: 500;
}

.env-dots-group {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

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

.dot-indicator.dot-prod {
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.65);
}

.dot-indicator.dot-staging {
  background-color: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.55);
}

.dot-indicator.dot-dev {
  background-color: #38BDF8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.55);
}

.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #07090E;
  position: relative;
}

/* Mobile Workspaces Bar (Visible on < 640px) */
.mockup-mobile-workspaces-bar {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-ws-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.mobile-ws-scroll {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.mobile-ws-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.mobile-ws-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
}

.mobile-ws-chip.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald);
  font-weight: 600;
}

/* Gitignore Safety Guard Banner */
.gitignore-guard-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.25rem;
  background: rgba(16, 185, 129, 0.04);
  border-bottom: 1px solid rgba(16, 185, 129, 0.14);
}

.guard-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guard-text-box {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.guard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.guard-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.guard-status-badge {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-dot 2s infinite;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

.toolbar-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-heading);
}

.toolbar-badge {
  font-size: 0.725rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.env-table-wrap {
  flex: 1;
  padding: 0.25rem 0;
  overflow-x: auto;
}

.mockup-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.env-row {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-size: 0.825rem;
  transition: background-color 0.15s ease;
  border-left: 2px solid transparent;
}

.env-row:hover:not(.env-header) {
  background-color: rgba(255, 255, 255, 0.025);
  border-left-color: var(--emerald);
}

.env-row.env-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.env-key {
  width: 36%;
  font-weight: 600;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.env-value {
  flex: 1;
  color: var(--text-body);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.env-actions-hdr {
  width: 80px;
  text-align: right;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.env-action-cell {
  width: 80px;
  display: flex;
  justify-content: flex-end;
}

.copy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  border-color: rgba(255, 255, 255, 0.18);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
}

.copy-btn.copied {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10B981;
}

.copied-feedback {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #10B981;
  font-weight: 600;
}

.copy-action {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.secret-masked {
  filter: blur(4px);
  user-select: none;
  opacity: 0.5;
  transition: filter 0.25s ease, opacity 0.25s ease;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.secret-visible {
  filter: blur(0);
  user-select: text;
  opacity: 1;
  transition: filter 0.25s ease, opacity 0.25s ease;
  color: #34D399;
}

.mockup-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem;
  background-color: #0B0E17;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.725rem;
}

.status-badge.safe {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.osd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  user-select: none;
  color: var(--text-muted);
}

.osd-trigger:hover {
  border-color: var(--emerald);
  color: var(--text-heading);
  background: rgba(16, 185, 129, 0.08);
}

.kbd-key {
  background-color: #161F30;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-heading);
  font-family: inherit;
}

/* OSD Floating Modal */
.osd-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background-color: rgba(10, 13, 20, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(16, 185, 129, 0.12);
  padding: 1.25rem;
  z-index: 100;
  animation: modal-fade-in 0.25s var(--ease-out-expo) forwards;
}

.osd-title {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.osd-title-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--emerald);
}

.close-osd-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.3rem;
  border-radius: 4px;
}
.close-osd-btn:hover {
  color: #FFF;
}

.osd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.osd-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.825rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.osd-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
}

.osd-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  font-weight: 600;
  border-color: rgba(16, 185, 129, 0.25);
}

.osd-label {
  flex: 1;
}

.osd-shortcut {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.osd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.osd-dot.dev { background-color: #10B981; }
.osd-dot.staging { background-color: #38BDF8; }
.osd-dot.prod { background-color: #EF4444; }

/* 12. Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: pulse-dot 2s infinite;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: pulse-dot 2s infinite;
  display: inline-block;
}

/* 13. Features Section */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.section-header p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

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

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--emerald);
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.25s var(--ease-out-expo);
}

.feature-title {
  margin: 0 0 0.5rem 0;
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-description {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feature-preview-wrap {
  margin-top: 1.5rem;
  width: 100%;
}

/* Micro Terminal Preview (Gitignore Guard) */
.micro-terminal {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.micro-term-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.micro-term-cmd {
  color: var(--text-heading);
}

.micro-term-cmd .term-prompt {
  color: var(--emerald);
  font-weight: 700;
}

.micro-term-blocked {
  color: var(--danger-red);
  font-weight: 600;
  font-size: 0.76rem;
}

.micro-term-fixed {
  color: var(--emerald);
  font-weight: 500;
  font-size: 0.76rem;
}

.micro-term-footer {
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.micro-term-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.micro-term-link:hover {
  color: var(--emerald);
}

/* Micro Hotkey Keycaps (OSD) */
.micro-hotkey-wrap {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.keycaps-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.keycap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  padding: 0.25rem 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  user-select: none;
}

.keycap-accent {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  border-bottom-color: var(--emerald);
  color: var(--emerald);
}

.keycap-cmd {
  display: none;
}

.os-mac .keycap-ctrl {
  display: none !important;
}

.os-mac .keycap-cmd {
  display: inline-flex !important;
}

.keycap-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.osd-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.stat-number,
.stat-value,
.metric-val,
.matrix-text {
  font-variant-numeric: tabular-nums;
}

/* Micro Crypto Box */
.micro-crypto-box {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.crypto-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crypto-tag {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.crypto-tag.tag-cipher {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}

.crypto-val-plain {
  color: var(--text-heading);
}

.crypto-val-cipher {
  color: var(--emerald);
  word-break: break-all;
  opacity: 0.9;
}

.crypto-arrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--emerald);
  padding-left: 0.25rem;
}

/* Micro Workspaces List */
.micro-workspaces-list {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

.micro-ws-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ws-item-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-heading);
}

.ws-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.ws-status-tag.status-prod {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.ws-status-tag.status-dev {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
}

.ws-status-tag.status-staging {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning-yellow);
}

.status-dot-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot-mini.dot-prod {
  background-color: #10B981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.7);
}

.status-dot-mini.dot-staging {
  background-color: #F59E0B;
  box-shadow: 0 0 5px rgba(245, 158, 11, 0.6);
}

.status-dot-mini.dot-dev {
  background-color: #38BDF8;
  box-shadow: 0 0 5px rgba(56, 189, 248, 0.6);
}

/* 14. Engineering Benchmarks & Telemetry */
.stats-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

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

.stats-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stats-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stats-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 0.25rem;
}

.stats-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 15. FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-heading);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.15s ease;
  user-select: none;
}

.faq-question:hover {
  color: var(--emerald);
}

.faq-question:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-item.open .faq-question {
  color: var(--emerald);
}

.faq-chevron {
  transition: transform 0.3s var(--spring-ease);
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--spring-ease);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 1.25rem;
}

/* 16. Pricing */
.pricing-section {
  padding-top: 8rem;
}

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

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.35rem;
  gap: 0.35rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.billing-toggle-option,
.billing-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  outline: none;
  user-select: none;
}

.billing-toggle-option:hover,
.billing-toggle-btn:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.billing-toggle-option:active,
.billing-toggle-btn:active {
  transform: scale(0.97);
}

.billing-toggle-option:focus-visible,
.billing-toggle-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.billing-toggle-option.active,
.billing-toggle-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Micro-pill badges inside billing toggle */
.billing-badge,
.billing-toggle-option .badge,
.billing-toggle-btn .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.billing-badge.badge-save,
.badge.badge-save,
.badge-save {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34D399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.billing-badge.badge-onetime,
.badge.badge-onetime,
.badge-onetime {
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #22D3EE;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.billing-toggle-option.active .badge-save,
.billing-toggle-btn.active .badge-save {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.7);
  color: #A7F3D0;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.billing-toggle-option.active .badge-onetime,
.billing-toggle-btn.active .badge-onetime {
  background: rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.7);
  color: #A5F3FC;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.pricing-card {
  display: flex;
  position: relative;
  padding: 2.25rem 1.85rem;
  border-radius: 20px;
  overflow: hidden;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--smooth-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Elevated 3D Centerpiece for Pro Plan */
.pricing-card.featured-card {
  padding: 3rem 2.25rem;
  transform: translateY(-16px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 17, 23, 0.98) 28%);
  box-shadow: 0 24px 60px -10px rgba(16, 185, 129, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.35);
  z-index: 2;
}

.pricing-card.featured-card:hover {
  transform: translateY(-20px);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 32px 70px -10px rgba(16, 185, 129, 0.38), 0 0 0 1px rgba(16, 185, 129, 0.5);
}

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

.pricing-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-heading);
  transition: all 0.3s var(--spring-ease);
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pricing-top-icon svg {
  display: block;
  transition: transform 0.3s var(--spring-ease), stroke 0.2s ease, filter 0.2s ease;
}

.pricing-card:hover .pricing-top-icon svg {
  transform: scale(1.1);
}

/* Tier: Community (Silver / Crisp White Glow) */
.pricing-top-icon.icon-community {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pricing-top-icon.icon-community svg {
  stroke: #FFFFFF !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
}

.pricing-card:hover .pricing-top-icon.icon-community {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Tier: Pro (High-Voltage Neon Emerald Glow) */
.pricing-top-icon.icon-pro,
.pricing-top-icon.featured-icon {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.32), rgba(16, 185, 129, 0.09));
  border: 1px solid rgba(16, 185, 129, 0.65);
  color: #34D399;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(16, 185, 129, 0.4);
}

.pricing-top-icon.icon-pro svg,
.pricing-top-icon.featured-icon svg {
  stroke: #34D399 !important;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.7));
}

.pricing-card:hover .pricing-top-icon.icon-pro,
.pricing-card:hover .pricing-top-icon.featured-icon {
  border-color: rgba(16, 185, 129, 0.85);
  box-shadow: 0 0 38px rgba(16, 185, 129, 0.65), inset 0 1px 0 rgba(16, 185, 129, 0.5);
}

/* Tier: Team (Electric Cyan Glow) */
.pricing-top-icon.icon-team {
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.32), rgba(6, 182, 212, 0.09));
  border: 1px solid rgba(6, 182, 212, 0.65);
  color: #38BDF8;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(6, 182, 212, 0.4);
}

.pricing-top-icon.icon-team svg {
  stroke: #38BDF8 !important;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.7));
}

.pricing-card:hover .pricing-top-icon.icon-team {
  border-color: rgba(6, 182, 212, 0.85);
  box-shadow: 0 0 38px rgba(6, 182, 212, 0.65), inset 0 1px 0 rgba(6, 182, 212, 0.5);
}

.pricing-top-icon-spacer {
  height: 52px;
}

/* Elevated High-Contrast Most Popular Badge */
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-block;
  box-shadow: 0 0 6px #FFFFFF;
  animation: pulse-dot-white 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot-white {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px #FFFFFF;
  }
  50% {
    opacity: 0.5;
    transform: scale(1.35);
    box-shadow: 0 0 10px #FFFFFF;
  }
}

.pricing-name {
  margin: 0 0 0.4rem 0;
  color: var(--text-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0 0 1.5rem 0;
  min-height: 2.6rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  color: var(--text-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-cta-top {
  margin-bottom: 1.75rem;
}

.pricing-main-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  text-decoration: none;
}

.pricing-highlight-metric {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}

.pricing-card.featured-card .pricing-highlight-metric {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
}

.highlight-metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem 0 1.25rem 0;
}

.pricing-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-divider-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.pricing-features {
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-feature .feature-label {
  flex: 1;
}

.pricing-feature .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--emerald-dim);
  color: var(--emerald);
  flex-shrink: 0;
}

.feature-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: 'JetBrains Mono', monospace;
}

/* Trust Assurance Footer */
.pricing-trust-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.shimmer-border {
  position: relative;
  border-radius: 16px;
  background-color: var(--bg-card);
  z-index: 1;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--emerald));
  background-size: 200% auto;
  z-index: -1;
  animation: border-shimmer 4s linear infinite;
  opacity: 0.6;
}

/* 17. Auth */
.auth-container {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  margin-bottom: 1.75rem;
}

.input-group {
  margin-bottom: 1.25rem;
}

.input-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.input-field {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-heading);
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px var(--emerald-dim);
}

.error-message {
  color: var(--danger-red);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.success-container {
  margin-top: 1.25rem;
  text-align: center;
}

.success-message {
  color: var(--emerald);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.auth-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.link-emerald {
  color: var(--emerald);
  font-weight: 500;
  cursor: pointer;
}

.link-emerald:hover {
  text-decoration: underline;
}

/* 18. Dashboard */
.dashboard-section {
  padding-top: 8rem;
  min-height: 85vh;
}

.dashboard-welcome {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.35rem;
  margin-bottom: 2.5rem;
}

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

.dashboard-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-card h3 {
  font-size: 1.15rem;
}

.license-key-display {
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--cyan);
  word-break: break-all;
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--emerald);
  color: var(--text-heading);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.copy-btn.copied {
  color: var(--emerald);
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
}

/* 19. Footer */
.footer {
  background-color: #070A10;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-heading);
  text-decoration: none;
}

.footer-brand-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-heading {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--emerald);
}

.footer-link:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.footer-badges {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

/* 20. Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 1.5rem auto 0;
  }
  .pricing-card.featured-card {
    transform: none;
    margin: 1rem 0;
  }
  .pricing-card.featured-card:hover {
    transform: translateY(-4px);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: none !important;
  }
  .nav-burger-btn {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .nav-burger-btn {
    display: none !important;
  }
  .nav-mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 6.5rem 1rem 3.5rem;
  }
  .section {
    padding: 4.5rem 1rem;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-mobile-workspaces-bar {
    display: flex;
  }
  .stats-container {
    padding: 1.75rem 1.25rem;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
  }
  .pricing-card {
    padding: 1.75rem 1.25rem;
  }
  .pricing-card.featured-card {
    padding: 2rem 1.25rem;
  }
  .hero-cli-box {
    padding: 0.6rem 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   22. Hero Download Buttons & CLI Install Tabs
   ========================================================================== */

.hero-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.hero-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.75rem;
  text-align: left;
}

.hero-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-main-label {
  font-size: 1rem;
  font-weight: 700;
}

.btn-sub-label {
  font-size: 0.7rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Hero Terminal CLI Box */
.hero-cli-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cli-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
  width: 100%;
}

.cli-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cli-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cli-tab:hover {
  color: var(--text-heading);
}

.cli-tab:active {
  transform: scale(0.96);
}

.cli-tab:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
}

.cli-tab.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--emerald);
  font-weight: 600;
}

.cli-copy-btn {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cli-copy-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
}

.cli-copy-btn:active {
  transform: scale(0.95);
}

.cli-copy-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
}

.cli-code-line {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: background 0.15s ease;
  width: 100%;
}

.cli-code-line:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cli-prompt {
  color: var(--emerald);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  user-select: none;
}

.cli-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-heading);
  text-align: center;
}

/* ==========================================================================
   24. Visual Comparison Matrix
   ========================================================================== */

.compare-section {
  padding: 6rem 0;
  position: relative;
}

.matrix-mobile-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-right: 0.5rem;
}

@media (max-width: 768px) {
  .matrix-mobile-hint {
    display: flex;
  }
}

.matrix-table-wrap {
  overflow-x: auto;
  padding-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  min-width: 780px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.matrix-row {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.matrix-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-row:hover .matrix-col-feature {
  background: var(--bg-card);
}

.matrix-header-row {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.matrix-col {
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.matrix-col-feature {
  padding-left: 1.5rem;
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--bg-card);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.45);
}

.matrix-header-row .matrix-col-feature {
  background: var(--bg-surface);
  border-top-left-radius: 15px;
  z-index: 4;
}

.matrix-header-row .matrix-col:last-child {
  border-top-right-radius: 15px;
}

.matrix-row:last-child {
  border-bottom: none;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.matrix-row:last-child .matrix-col-feature {
  border-bottom-left-radius: 15px;
}

.matrix-row:last-child .matrix-col:last-child {
  border-bottom-right-radius: 15px;
}

.matrix-col-envx {
  background: rgba(16, 185, 129, 0.06);
  border-left: 1px solid rgba(16, 185, 129, 0.25);
  border-right: 1px solid rgba(16, 185, 129, 0.25);
  position: relative;
  align-items: center;
  text-align: center;
}

.matrix-header-row .matrix-col-envx {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.matrix-row:hover .matrix-col-envx {
  background: rgba(16, 185, 129, 0.09);
}

.matrix-col-other {
  align-items: center;
  text-align: center;
}

.matrix-head-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
}

.matrix-head-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.matrix-envx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.9rem;
}

.envx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.feature-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.feature-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.matrix-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.matrix-check.envx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.matrix-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.matrix-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

.matrix-text.envx-highlight {
  font-weight: 700;
  color: var(--emerald);
  font-size: 0.875rem;
}

.matrix-text.positive {
  color: #34D399;
}

.matrix-text.negative {
  color: #F87171;
  opacity: 0.9;
}


@media (max-width: 640px) {
  .hero-cli-box {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .mockup-titlebar {
    padding: 0.6rem 0.85rem;
  }
  .title-sep,
  .title-app {
    display: none;
  }
  .osd-card {
    width: calc(100% - 1.5rem);
    padding: 1rem;
  }
  .cli-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .cli-copy-btn {
    position: static;
  }
}

/* ==========================================================================
   25. Legal & Compliance Pages (Terms, Privacy, Refund, Security)
   ========================================================================== */

.legal-page {
  background-color: var(--bg-primary);
  min-height: 100vh;
}

.legal-header-section {
  padding: 8rem 0 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08), transparent 70%);
}

.legal-header-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.legal-header-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}

.legal-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-divider {
  opacity: 0.4;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--emerald);
  font-weight: 600;
  transition: color 0.15s ease;
  cursor: pointer;
}

.legal-back-link:hover {
  text-decoration: underline;
}

.legal-body-section {
  padding: 4rem 0 7rem;
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.015em;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.legal-list {
  padding-left: 1.25rem;
  margin: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-list li strong {
  color: var(--text-heading);
}

.legal-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 12px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.legal-callout.safe {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--text-heading);
}

.legal-callout.safe strong {
  color: var(--emerald);
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  width: fit-content;
}

.security-spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-row:last-child {
  border-bottom: none;
}

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

.spec-val {
  color: var(--emerald);
  font-weight: 600;
}

/* ==========================================================================
   26. Developer 404 Not Found Page
   ========================================================================== */

.not-found-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.not-found-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
}

.not-found-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.not-found-card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.not-found-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.not-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EF4444;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  width: fit-content;
}

.not-found-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}

.not-found-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.not-found-terminal-box {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-line.error { color: #EF4444; }
.terminal-line.dim { color: var(--text-muted); }
.terminal-line.ok { color: var(--emerald); }

.term-prompt {
  opacity: 0.75;
  user-select: none;
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ==========================================================================
   27. Privacy-First Trust Notice Banner
   ========================================================================== */

.privacy-banner-wrap {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 980;
  animation: privacy-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes privacy-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-banner-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem 0.65rem 1.15rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(16px);
  color: var(--text-body);
  font-size: 0.825rem;
  max-width: 520px;
}

.privacy-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-pill-content {
  flex: 1;
  line-height: 1.35;
}

.privacy-strong {
  font-weight: 700;
  color: var(--emerald);
}

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

.privacy-learn-more {
  color: var(--emerald);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.privacy-learn-more:hover {
  color: #34D399;
}

.privacy-dismiss-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.privacy-dismiss-btn:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.5rem;
  }
  .legal-header-content h1 {
    font-size: 2.15rem;
  }
  .privacy-banner-wrap {
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
  }
  .privacy-banner-pill {
    max-width: 100%;
    border-radius: 12px;
  }
}

/* ==========================================================================
   Plan Badges & Quota Styling
   ========================================================================== */

.plan-summary-badge {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.plan-summary-badge.free-badge {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.plan-summary-badge.pro-badge {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.plan-summary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.plan-summary-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}

.plan-summary-text {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin: 0;
}

.launch-desktop-action {
  margin-top: 1rem;
}

.launch-desktop-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Dashboard Plan & Quota Card */
.plan-quota-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.quota-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.quota-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

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

.quota-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}

.device-binding-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  gap: 0.75rem;
}

.device-status-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.8rem !important;
  font-size: 0.8rem !important;
}

.upgrade-cta-box {
  margin-top: 0.25rem;
  padding: 0.85rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upgrade-cta-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Email Verification Page & Dashboard Banner
   ========================================================================== */

.verify-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg-base);
}

.verify-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.verify-card {
  width: 100%;
  max-width: 480px;
  background-color: #09090B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.verify-icon-halo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-halo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.success-halo {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
}

.error-halo {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
}

.verify-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--emerald);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.verify-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.verify-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.verify-actions {
  display: flex;
  justify-content: center;
}

.verify-cta-btn {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.verify-resend-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: left;
}

.resend-box-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.resend-input-row {
  display: flex;
  gap: 0.5rem;
}

.resend-input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
}

.resend-btn {
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
}

.resend-status-msg {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  color: var(--emerald);
  line-height: 1.4;
}

.verify-back-link {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.verify-back-link a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.verify-back-link a:hover {
  color: #FFFFFF;
}

/* Dashboard Unverified Banner */
.unverified-banner {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.25rem;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.unverified-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.unverified-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
  flex-shrink: 0;
}

.unverified-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.unverified-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FBBF24;
}

.unverified-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.unverified-actions {
  display: flex;
  align-items: center;
}

.unverified-resend-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.14) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #FDE68A !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.unverified-resend-btn:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #FFFFFF !important;
}

.unverified-status-toast {
  margin-top: -1rem;
  margin-bottom: 1.25rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
}

/* ==========================================================================
   26. Reduced Motion (WCAG 2.3.3 Vestibular Safety)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  /* Suppress continuous infinite animations */
  .aurora-pulse,
  .pulse-dot,
  .pulse-dot-sm,
  .badge-pulse-dot,
  .shimmer-border {
    animation: none !important;
  }

  /* Ground spatial reveal translations into clean immediate opacity */
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.15s ease !important;
  }

  .card-hover:hover,
  .spotlight-card:hover,
  .pricing-card.featured-card:hover {
    transform: none !important;
  }

  .faq-chevron {
    transition: transform 0.1s ease !important;
  }
}




