/* ==========================================================================
   UnitaGo - Landing Page Premium Design System
   Aesthetic: Ultra-sleek, Dark & Glassmorphism with Vibrant Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root, [data-theme="dark"] {
  --l-bg: #070913;
  --l-bg-secondary: #0d1222;
  --l-bg-card: rgba(15, 23, 42, 0.7);
  --l-bg-card-hover: rgba(26, 38, 66, 0.85);
  --l-border: rgba(255, 255, 255, 0.08);
  --l-border-hover: rgba(99, 102, 241, 0.4);
  
  --l-text: #f8fafc;
  --l-text-muted: #94a3b8;
  --l-text-dim: #64748b;
  
  --l-primary: #6366f1;
  --l-primary-glow: rgba(99, 102, 241, 0.35);
  --l-cyan: #06b6d4;
  --l-cyan-glow: rgba(6, 182, 212, 0.3);
  --l-emerald: #10b981;
  --l-purple: #a855f7;
  
  --l-gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --l-gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --l-shadow-glow: 0 0 50px -10px rgba(99, 102, 241, 0.25);
  --l-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --l-bg: #f8fafc;
  --l-bg-secondary: #f1f5f9;
  --l-bg-card: rgba(255, 255, 255, 0.85);
  --l-bg-card-hover: #ffffff;
  --l-border: rgba(0, 0, 0, 0.08);
  --l-border-hover: rgba(99, 102, 241, 0.4);
  
  --l-text: #0f172a;
  --l-text-muted: #475569;
  --l-text-dim: #94a3b8;
  
  --l-primary: #4f46e5;
  --l-primary-glow: rgba(79, 70, 229, 0.2);
  --l-cyan: #0891b2;
  --l-cyan-glow: rgba(8, 145, 178, 0.15);
  --l-emerald: #059669;
  --l-purple: #9333ea;
  
  --l-gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  --l-gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --l-shadow-glow: 0 0 40px -10px rgba(79, 70, 229, 0.15);
  --l-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--l-bg);
  color: var(--l-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Gradients */
.bg-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, var(--l-primary-glow) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-middle {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, var(--l-cyan-glow) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.75);
  border-bottom: 1px solid var(--l-border);
  transition: all 0.3s ease;
}

[data-theme="light"] .landing-nav {
  background: rgba(248, 250, 252, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--l-text);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.unita-brand-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.unita-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.unita-brand-wrapper:hover .unita-logo {
  transform: scale(1.05);
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--l-border);
  margin: 0 2px;
}

/* Light / Dark Mode logo switching */
.logo-dark-mode {
  display: inline-block;
}
.logo-light-mode {
  display: none;
}

[data-theme="light"] .logo-dark-mode,
html[data-theme="light"] .logo-dark-mode {
  display: none !important;
}
[data-theme="light"] .logo-light-mode,
html[data-theme="light"] .logo-light-mode {
  display: inline-block !important;
}

[data-theme="dark"] .logo-dark-mode,
html[data-theme="dark"] .logo-dark-mode {
  display: inline-block !important;
}
[data-theme="dark"] .logo-light-mode,
html[data-theme="dark"] .logo-light-mode {
  display: none !important;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--l-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--l-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

.btn-theme-toggle {
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  color: var(--l-text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
  border-color: var(--l-border-hover);
  transform: translateY(-1px);
}

.btn-portal-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l-gradient-primary);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--l-primary-glow);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-portal-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--l-primary-glow);
}

.btn-admin-access {
  background: transparent;
  color: var(--l-text-muted);
  border: 1px solid var(--l-border);
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-admin-access:hover {
  color: var(--l-text);
  border-color: var(--l-border-hover);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--l-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 950px;
  margin: 0 auto 20px;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--l-text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--l-gradient-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 30px var(--l-primary-glow);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--l-primary-glow);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--l-bg-card);
  color: var(--l-text);
  border: 1px solid var(--l-border);
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--l-primary);
  background: var(--l-bg-card-hover);
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.metric-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  border-radius: 9999px;
  font-size: 0.88rem;
  color: var(--l-text-muted);
  font-weight: 500;
}

.metric-chip strong {
  color: var(--l-text);
}

/* ==========================================================================
   Hero Interactive Simulator Widget
   ========================================================================== */
.hero-preview-wrapper {
  margin-top: 50px;
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  box-shadow: var(--l-shadow-glow), var(--l-shadow-card);
  overflow: hidden;
  text-align: left;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--l-border);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.preview-tabs {
  display: flex;
  gap: 8px;
}

.preview-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--l-text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-tab-btn.active {
  background: rgba(99, 102, 241, 0.2);
  color: var(--l-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

.preview-content {
  padding: 32px;
  min-height: 380px;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* WhatsApp Simulator Bubble */
.whatsapp-chat-demo {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wa-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  max-width: 85%;
}

.wa-client {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-bottom-right-radius: 4px;
}

.wa-bot {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  float: right;
  margin-top: 6px;
  margin-left: 10px;
}

/* Scanner Simulator & Code Box */
.scanner-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scanner-doc-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .scanner-doc-card {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.scanner-calc-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: auto;
}

[data-theme="light"] .scanner-calc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.scanner-json-card {
  background: #080d1a;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .scanner-json-card {
  background: #0f172a;
  border: 1px solid #334155;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
}

.scanner-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--l-emerald);
}

.badge-tag.badge-json {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.45);
}

.scanner-status-tag {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.code-box {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  color: #f1f5f9;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
}

.json-key { color: #38bdf8; font-weight: 600; }
.json-str { color: #c4b5fd; }
.json-num { color: #34d399; font-weight: 600; }
.json-brace, .json-bracket { color: #94a3b8; font-weight: 600; }

/* Copilot Demo Card */
.copilot-demo-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--l-border);
}

[data-theme="light"] .copilot-demo-card {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.copilot-user-bubble {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  border: 1px solid var(--l-border);
}

[data-theme="light"] .copilot-user-bubble {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* Light Theme Overrides for Preview Showcase */
[data-theme="light"] .hero-preview-wrapper {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .preview-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .preview-tab-btn {
  color: var(--l-text-muted);
}

[data-theme="light"] .preview-tab-btn.active {
  background: rgba(79, 70, 229, 0.1);
  color: var(--l-primary);
  border-color: rgba(79, 70, 229, 0.3);
}

/* ==========================================================================
   Section: The 4 Pillars Grid
   ========================================================================== */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--l-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--l-text-muted);
}

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

.pillar-card {
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  border-radius: 18px;
  padding: 36px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--l-border-hover);
  box-shadow: 0 16px 40px -10px var(--l-primary-glow);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.pillar-icon-box.green {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.pillar-icon-box.cyan {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.pillar-icon-box.purple {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
}

.pillar-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-desc {
  color: var(--l-text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.pillar-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.pillar-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--l-text);
}

.pillar-feature-list li span.check {
  color: var(--l-emerald);
  font-weight: bold;
}

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

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

/* ==========================================================================
   Section: ROI Calculator
   ========================================================================== */
.roi-card {
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--l-shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 600;
}

.slider-value-badge {
  background: rgba(99, 102, 241, 0.2);
  color: var(--l-primary);
  padding: 2px 10px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.roi-slider {
  width: 100%;
  accent-color: var(--l-primary);
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.roi-results-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}

.roi-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--l-emerald);
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.roi-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--l-text);
}

.roi-breakdown {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--l-border);
  padding-top: 20px;
}

.roi-stat-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--l-text);
  font-family: 'JetBrains Mono', monospace;
}

.roi-stat-item p {
  font-size: 0.85rem;
  color: var(--l-text-muted);
}

/* ==========================================================================
   Section: Delphi & Desktop ERP Integration
   ========================================================================== */
.delphi-section {
  background: var(--l-bg-secondary);
  border-top: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
}

.delphi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.delphi-code-wrapper {
  background: #050811;
  border: 1px solid var(--l-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.delphi-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--l-border);
}

.code-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--l-text-muted);
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--l-border);
  color: var(--l-text);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.15);
}

.delphi-code-content {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  color: #38bdf8;
  line-height: 1.6;
  overflow-x: auto;
}

/* ==========================================================================
   Modal: Client Login
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--l-bg-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 36px;
  box-shadow: var(--l-shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--l-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--l-text-muted);
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--l-text);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--l-border);
  border-radius: 10px;
  color: var(--l-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--l-primary);
  box-shadow: 0 0 0 3px var(--l-primary-glow);
}

.btn-submit-modal {
  width: 100%;
  padding: 13px;
  background: var(--l-gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--l-primary-glow);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-submit-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--l-primary-glow);
}

.demo-login-shortcut {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--l-border);
  text-align: center;
}

.btn-quick-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--l-border);
  color: var(--l-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick-demo:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.landing-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--l-border);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.92rem;
  color: var(--l-text-muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--l-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .roi-card { grid-template-columns: 1fr; }
  .delphi-grid { grid-template-columns: 1fr; }
  .scanner-demo-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .roi-number { font-size: 2.6rem; }
}
