/* ==========================================================================
   OBM DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

/* 1. RESET & VARIABLE TOKENS */
:root {
  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. THEME DEFINITIONS */
.dark-theme {
  /* Color Variables */
  --bg-primary: #09090b;      /* Obsidian Zinc-950 */
  --bg-secondary: #0f0f13;    /* Zinc-900 custom shade */
  --card-bg: rgba(24, 24, 27, 0.65); /* Zinc-900 glass 65% */
  --card-border: rgba(63, 63, 70, 0.4); /* Zinc-700 translucent */
  
  --text-main: #f4f4f5;       /* Zinc-100 */
  --text-muted: #a1a1aa;      /* Zinc-400 */
  --text-inverse: #09090b;    /* Zinc-950 */
  
  /* Accent Colors */
  --accent-purple: #fbbf24;   /* Secondary color - Yellow */
  --accent-indigo: #22c55e;   /* Primary color - Green */
  --accent-cyan: #f97316;     /* Accent color - Orange */
  --accent-emerald: #10b981;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #22c55e 0%, #fbbf24 100%); /* Green to Yellow gradient */
  --gradient-cyan: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);   /* Orange to Yellow gradient */
  --gradient-savings: linear-gradient(135deg, #22c55e 0%, #fbbf24 100%); /* Green to Yellow gradient */
  --gradient-glow: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(0,0,0,0) 70%);
  
  /* Shadows & Glassmorphism */
  --shadow-premium: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.25);
  --glass-bg: rgba(9, 9, 11, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

.light-theme {
  /* Color Variables */
  --bg-primary: #fcfcfd;      /* Off-white */
  --bg-secondary: #f4f4f7;    /* Light-grey */
  --card-bg: rgba(255, 255, 255, 0.85); /* Semi-opaque white */
  --card-border: rgba(228, 228, 231, 0.8); /* Zinc-200 translucent */
  
  --text-main: #18181b;       /* Zinc-900 */
  --text-muted: #52525b;      /* Zinc-600 */
  --text-inverse: #ffffff;    /* White */
  
  /* Accent Colors */
  --accent-purple: #d97706;   /* Secondary color - Yellow/Amber */
  --accent-indigo: #16a34a;   /* Primary color - Safe Green */
  --accent-cyan: #ea580c;     /* Accent color - Orange */
  --accent-emerald: #059669;
  --accent-orange: #ea580c;
  --accent-red: #dc2626;
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #16a34a 0%, #d97706 100%);
  --gradient-cyan: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
  --gradient-savings: linear-gradient(135deg, #16a34a 0%, #d97706 100%);
  --gradient-glow: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, rgba(0,0,0,0) 70%);
  
  /* Shadows & Glassmorphism */
  --shadow-premium: 0 16px 40px -10px rgba(22, 163, 74, 0.08);
  --shadow-glow: 0 0 20px rgba(22, 163, 74, 0.15);
  --glass-bg: rgba(252, 252, 253, 0.8);
  --glass-border: rgba(24, 24, 27, 0.08);
}

/* 3. BASE GLOBAL STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

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

/* 4. GLOWING BACKGROUND ORBS */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -10;
  opacity: 0.45;
  pointer-events: none;
  transition: all var(--transition-slow);
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: 20%;
  background: var(--gradient-accent);
}

.orb-2 {
  width: 400px;
  height: 400px;
  top: 1000px;
  right: 10%;
  background: var(--gradient-cyan);
}

.orb-3 {
  width: 600px;
  height: 600px;
  bottom: 800px;
  left: -10%;
  background: var(--gradient-accent);
  opacity: 0.25;
}

/* 5. TYPOGRAPHY AND GRADIENTS */
.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.text-chaos {
  background-image: var(--gradient-accent);
}

.text-savings {
  background-image: var(--gradient-savings);
}

/* 6. BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--text-main);
  color: var(--bg-primary);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--card-border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-full-width {
  width: 100%;
}

/* 7. GLASS STICKY HEADER NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--glass-border);
  z-index: 100;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  height: 64px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: var(--gradient-accent);
  color: var(--text-inverse);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle styles */
.theme-toggle-btn {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--text-main);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--glass-border);
}

/* Toggle Sun/Moon icons depending on active class */
.dark-theme .sun-icon { display: block; }
.dark-theme .moon-icon { display: none; }
.light-theme .sun-icon { display: none; }
.light-theme .moon-icon { display: block; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 8. HERO SECTION */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

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

.badge-container {
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-purple);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--card-border);
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-right: -8px;
}

.social-proof-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero browser preview card style */
.hero-preview {
  perspective: 1000px;
}

.browser-frame {
  background-color: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium), 0 0 50px rgba(99, 102, 241, 0.15);
  transform: rotateY(-10deg) rotateX(8deg);
  transition: transform var(--transition-normal);
}

.browser-frame:hover {
  transform: rotateY(0) rotateX(0) scale(1.02);
}

.browser-header {
  background-color: #121214;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

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

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

.dot.red { background-color: var(--accent-red); }
.dot.yellow { background-color: var(--accent-orange); }
.dot.green { background-color: var(--accent-emerald); }

.browser-address {
  background-color: #1a1a1e;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  padding: 4px 20px;
  border-radius: 4px;
  margin: 0 auto;
  width: 200px;
  text-align: center;
  font-family: monospace;
}

.browser-body {
  height: 380px;
  display: flex;
}

.mock-sidebar {
  width: 150px;
  background-color: #0e0e11;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 16px;
}

.mock-logo {
  width: 14px;
  height: 14px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.mock-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.mock-menu-item.active {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
}

.mock-menu-item i {
  width: 14px;
  height: 14px;
}

.mock-main {
  flex: 1;
  padding: 20px;
  background-color: #070709;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

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

.mock-main-header h3 {
  font-size: 1rem;
  color: #fff;
}

.run-count-badge {
  background-color: rgba(99,102,241,0.1);
  color: var(--accent-indigo);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(99,102,241,0.2);
}

.mock-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-card {
  background-color: #121216;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.run-title {
  font-size: 0.85rem;
  color: #fff;
}

.run-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.status-badge.progress {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

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

.mock-steps-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar-container {
  flex: 1;
  height: 6px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-accent);
}

.progress-bar-fill.done {
  background: var(--gradient-savings);
}

.step-fraction {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.mock-current-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #17171e;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.7rem;
}

.step-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-indicator.current {
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

.step-indicator.done {
  background-color: var(--accent-emerald);
  color: #fff;
  font-size: 8px;
}

.step-label {
  color: #fff;
  font-weight: 500;
}

.step-assignee {
  color: rgba(255,255,255,0.4);
}

/* 9. THE SECTION GENERIC LAYOUTS */
section {
  padding: 100px 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-pretitle {
  color: var(--accent-indigo);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
}

/* 10. COMPARISON CHAOS VS ORDER SECTION */
.comparison-section {
  background-color: var(--bg-secondary);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
  position: relative;
}

.toggle-container-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.toggle-button-group {
  display: flex;
  background-color: var(--bg-primary);
  border: 1px solid var(--card-border);
  padding: 6px;
  border-radius: 9999px;
  box-shadow: var(--shadow-premium);
}

.toggle-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-select-btn.active {
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid var(--card-border);
}

.comparison-view-container {
  min-height: 400px;
}

.comparison-card {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.comparison-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Chaos View grid styles */
.chaos-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.chaos-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chaos-title {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.chaos-title i {
  color: var(--accent-orange);
}

/* Chat bubble styling */
.whatsapp-bubble-container {
  background-color: var(--card-bg);
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 0.85rem;
}

.chat-bubble.left {
  background-color: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.chat-bubble.right {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--text-main);
  align-self: flex-end;
  border-top-right-radius: 0;
}

.chat-meta {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

/* Excel Sheet styling */
.excel-table-mock {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.excel-table-mock table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.excel-table-mock th, .excel-table-mock td {
  padding: 12px;
  border-bottom: 1px solid var(--card-border);
}

.excel-table-mock th {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  font-weight: 600;
}

.excel-error-row {
  background-color: rgba(239, 68, 110, 0.03);
}

.excel-cell-alert {
  color: var(--accent-red);
  font-weight: 700;
}

.chaos-footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.danger-tag {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 4px;
}

/* Order View styles */
.order-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
}

.order-title {
  color: var(--text-main);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-title i {
  color: var(--accent-emerald);
}

.order-desc {
  margin-top: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.order-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-chk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.order-chk-item.done {
  background-color: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.1);
}

.order-chk-item.current {
  background-color: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
}

.order-chk-item.pending {
  opacity: 0.5;
}

.chk-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.order-chk-item.done .chk-num {
  background-color: var(--accent-emerald);
  color: #fff;
}

.order-chk-item.current .chk-num {
  background-color: var(--accent-indigo);
  color: #fff;
}

.order-chk-item h5 {
  font-size: 0.9rem;
  color: var(--text-main);
}

.order-chk-item p {
  font-size: 0.75rem;
}

.order-preview-pane {
  background-color: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.order-pane-header {
  background-color: var(--bg-secondary);
  border-bottom: 1.5px solid var(--card-border);
  padding: 16px 20px;
}

.pane-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-indigo);
  font-weight: 700;
  display: block;
}

.order-pane-header h5 {
  font-size: 1rem;
  color: var(--text-main);
}

.pane-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--text-main);
}

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

.pane-action-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
}

.action-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.mock-input-field {
  background-color: var(--bg-primary);
  border: 1.5px solid var(--card-border);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mock-input-field strong {
  color: var(--text-main);
}

.pane-buttons {
  display: flex;
  justify-content: flex-end;
}

.badge-approved {
  background-color: var(--accent-emerald);
  color: #fff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pane-audit-log {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
}

.pane-audit-log h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.log-entry {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.log-time {
  color: var(--accent-indigo);
  font-weight: 600;
}

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

/* 11. THE LIVE PIPELINE BUILDER SANDBOX SECTION */
.sandbox-section {
  position: relative;
}

.sandbox-layout {
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  gap: 24px;
  margin-top: 20px;
}

.sandbox-sidebar {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title {
  font-size: 1.15rem;
  color: var(--text-main);
}

.sidebar-subtitle {
  font-size: 0.8rem;
}

.step-category-tabs {
  border-bottom: 1.5px solid var(--card-border);
  padding-bottom: 8px;
}

.cat-tab {
  background: transparent;
  border: none;
  color: var(--accent-indigo);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.step-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.btn-add-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.btn-add-step:hover {
  border-color: var(--accent-indigo);
  transform: translateX(4px);
  background-color: var(--bg-secondary);
}

.btn-add-step i {
  color: var(--accent-indigo);
  padding: 8px;
  background-color: var(--card-border);
  border-radius: 6px;
}

.btn-txt-wrap {
  display: flex;
  flex-direction: column;
}

.btn-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

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

.sandbox-actions-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pipeline Editor Canvas (Middle) */
.sandbox-canvas {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  min-height: 550px;
}

.canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--card-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

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

.canvas-title strong {
  color: var(--text-main);
}

.version-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--card-border);
  padding: 2px 8px;
  border-radius: 4px;
}

.pipeline-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  overflow-y: auto;
  max-height: 480px;
  padding: 10px 0;
}

.pipeline-node {
  width: 100%;
  max-width: 320px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: all var(--transition-fast);
}

.pipeline-node.start-node, .pipeline-node.finish-node {
  background-color: var(--bg-secondary);
}

.pipeline-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.node-icon {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-info h5 {
  font-size: 0.85rem;
  color: var(--text-main);
}

.node-info p {
  font-size: 0.7rem;
}

.node-connector {
  width: 2px;
  height: 24px;
  background-color: var(--card-border);
  position: relative;
  transition: background-color var(--transition-fast);
}

.node-connector.highlighted {
  background-color: var(--accent-indigo);
  box-shadow: 0 0 8px var(--accent-indigo);
}

/* User custom-added node styles */
.pipeline-node.custom-node {
  border-left: 4px solid var(--accent-indigo);
}

.pipeline-node.custom-node.active-highlight {
  border-color: var(--accent-indigo);
  background-color: rgba(99,102,241,0.08);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pipeline-node.custom-node.done-highlight {
  border-left-color: var(--accent-emerald);
  background-color: rgba(16,185,129,0.03);
}

.node-delete-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.pipeline-node:hover .node-delete-btn {
  opacity: 1;
}

.node-delete-btn:hover {
  color: var(--accent-red);
}

#dynamic-steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Sandbox Simulation Terminal (Right) */
.sandbox-terminal {
  background-color: #070709;
  border: 1px solid #1f1f23;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 550px;
}

.terminal-header {
  background-color: #0d0d11;
  border-bottom: 1.5px solid #1f1f23;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #a1a1aa;
  font-weight: 600;
}

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

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

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

.terminal-dot.bg-red { background-color: var(--accent-red); }
.terminal-dot.bg-yellow { background-color: var(--accent-orange); }
.terminal-dot.bg-green { background-color: var(--accent-emerald); }

.terminal-body {
  flex: 1;
  padding: 20px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #e4e4e7;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
}

.terminal-line {
  line-height: 1.5;
  word-break: break-word;
}

.terminal-line.system-line {
  color: #71717a;
}

.terminal-line.spacer {
  margin-top: 8px;
}

.terminal-line.hint-line {
  color: var(--accent-indigo);
  background-color: rgba(99,102,241,0.06);
  padding: 8px;
  border-radius: 6px;
  border: 1px dashed rgba(99,102,241,0.2);
}

.terminal-line.log-success {
  color: #34d399;
}

.terminal-line.log-warning {
  color: #fbbf24;
}

.terminal-line.log-header {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px dashed #27272a;
  padding-bottom: 4px;
  margin-top: 8px;
}

.terminal-action-btn-line {
  margin-top: 8px;
  background-color: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-btn {
  background-color: #f59e0b;
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity var(--transition-fast);
}

.t-btn:hover {
  opacity: 0.9;
}

/* 12. SIX MODULES PILLARS SECTION */
.modules-section {
  background-color: var(--bg-secondary);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.module-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: all var(--transition-normal);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

.module-icon.bg-indigo { background-color: var(--accent-indigo); }
.module-icon.bg-purple { background-color: var(--accent-purple); }
.module-icon.bg-cyan { background-color: var(--accent-cyan); }
.module-icon.bg-blue { background-color: #3b82f6; }
.module-icon.bg-emerald { background-color: var(--accent-emerald); }
.module-icon.bg-orange { background-color: var(--accent-orange); }

.module-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.module-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 13. TIME SAVED ROI CALCULATOR SECTION */
.calculator-section {
  position: relative;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

.calc-pre {
  color: var(--accent-indigo);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.calc-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.calc-text {
  font-size: 1rem;
  margin-bottom: 32px;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.val-display {
  color: var(--accent-indigo);
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: var(--card-border);
  outline: none;
  margin: 10px 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  cursor: pointer;
  transition: transform var(--transition-fast);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-note-hint {
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Calculator results panel */
.calc-results-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.results-header {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--card-border);
  padding-bottom: 14px;
}

.results-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 4px;
}

.results-illustration {
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 16px;
}

.productivity-guarantee {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.8rem;
}

.guarantee-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  padding: 8px;
  border-radius: 8px;
}

.productivity-guarantee h6 {
  color: var(--text-main);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* 14. DATA OWNERSHIP & SECURITY GRID */
.security-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.security-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.security-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 260px;
}

.s-card {
  position: absolute;
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-premium);
  transition: transform var(--transition-normal);
}

.s-card:hover {
  transform: scale(1.03) translateY(-4px);
  z-index: 10;
}

.sc-1 {
  top: 0;
  left: 0;
  z-index: 2;
  border-left: 4px solid var(--accent-indigo);
}

.sc-2 {
  bottom: 0;
  right: -20px;
  z-index: 1;
  border-left: 4px solid var(--accent-emerald);
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--card-border);
  padding-bottom: 8px;
}

.sc-header i {
  color: var(--accent-indigo);
}

.sc-2 .sc-header i {
  color: var(--accent-emerald);
}

.sc-body p {
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.mock-downloads {
  display: flex;
  gap: 10px;
}

.download-badge {
  background-color: var(--bg-primary);
  border: 1px solid var(--card-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.role-badge.worker {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
}

.role-badge.manager {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
}

.role-perm {
  font-size: 0.65rem;
}

.security-pre {
  color: var(--accent-indigo);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.security-title {
  font-size: 2.4rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.list-bullet {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-list strong {
  color: var(--text-main);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.security-list p {
  font-size: 0.85rem;
}

/* 15. PRICING TIER SECTION */
.pricing-section {
  background-color: var(--bg-secondary);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-premium);
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium), 0 20px 40px -10px rgba(0,0,0,0.15);
}

.pricing-card.recommended {
  border: 2px solid var(--accent-indigo);
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-premium), 0 20px 45px -10px rgba(99, 102, 241, 0.15);
}

.pricing-badge-accent {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--text-inverse);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tier-head h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-tier-head p {
  font-size: 0.85rem;
  min-height: 48px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  margin-top: 16px;
  color: var(--text-main);
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-val {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-heading);
  line-height: 1;
}

.price-custom {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background-color: var(--card-border);
  margin: 28px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.pricing-features li i {
  color: var(--accent-indigo);
  width: 16px;
  height: 16px;
}

.recommended .pricing-features li i {
  color: var(--accent-emerald);
}

.font-bold-highlights strong {
  color: var(--text-main);
}

/* 16. FAQ ACCORDION SECTION */
.faq-section {
  position: relative;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-icon {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
}

.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Active FAQ Item adjustments */
.faq-item.active {
  border-color: var(--accent-indigo);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-indigo);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* 17. FINAL BOTTOM CTA SECTION */
.cta-bottom-section {
  background: linear-gradient(rgba(9, 9, 11, 0.8), rgba(9, 9, 11, 0.9)), var(--gradient-glow);
  padding: 120px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.cta-title {
  font-size: 2.8rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 18. FOOTER STYLINGS */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1.5px solid var(--card-border);
  padding: 80px 0 32px;
}

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

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

.footer-tagline {
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  background-color: var(--card-border);
  color: var(--text-muted);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--accent-indigo);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 32px;
  font-size: 0.8rem;
}

/* 19. ANIMATION AND EFFECTS CHEATSHEET */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
  }
}

/* Scroll Fade Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 20. RESPONSIVE DESIGN MEDIA QUERIES */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-social-proof {
    justify-content: center;
  }
  
  .hero-preview {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .browser-frame {
    transform: none;
  }
  
  .browser-frame:hover {
    transform: scale(1.02);
  }

  .sandbox-layout {
    grid-template-columns: 1fr;
  }
  
  .sandbox-sidebar {
    max-height: none;
  }
  
  .step-buttons-grid {
    grid-template-columns: 1fr 1fr;
    max-height: none;
  }
  
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .calculator-wrapper {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .pricing-card.recommended {
    grid-row: 1;
    grid-column: 1 / span 2;
  }
  
  .security-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .security-card-stack {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  
  section {
    padding: 60px 0;
  }
  
  .navbar-container {
    padding: 0 16px;
  }
  
  .nav-menu {
    display: none; /* Hide standard links on mobile */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile navbar toggling standard view logic */
  .navbar.mobile-active {
    height: 100vh;
    background-color: var(--bg-primary);
  }
  
  .navbar.mobile-active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 24px;
    gap: 24px;
    align-items: center;
  }
  
  .navbar.mobile-active .nav-menu .nav-link {
    font-size: 1.2rem;
  }

  .nav-btn-desktop {
    display: none;
  }
  
  .chaos-grid {
    grid-template-columns: 1fr;
  }
  
  .order-view {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .step-buttons-grid {
    grid-template-columns: 1fr;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.recommended {
    grid-row: auto;
    grid-column: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
