/* Custom variables and typography */
:root {
  --bg-dark: #07050f;
  --bg-card: rgba(18, 14, 32, 0.65);
  --brand: #00f2fe;
  --brand-violet: #7f00ff;
  --text-main: #f3f1f9;
  --text-muted: rgba(243, 241, 249, 0.6);
  --border-white: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-outfit {
  font-family: 'Outfit', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.max-width-md {
  max-width: 850px;
}

.max-width-sm {
  max-width: 580px;
}

/* Background Glowing Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-violet);
  top: -100px;
  right: -50px;
  animation: float 20s infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(0, 242, 254, 0.3);
  bottom: -200px;
  left: -100px;
  animation: float 25s infinite alternate-reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #ff007f;
  top: 40%;
  left: 45%;
  opacity: 0.15;
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

/* Header & Navigation */
header {
  background: rgba(7, 5, 15, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  color: var(--brand);
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--brand-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

nav a:hover {
  color: #fff;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #0072ff);
  color: #07050f;
  border: none;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-white);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

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

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
  border-radius: 14px;
}

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

.badge-new {
  display: inline-block;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand), #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 650px;
  margin: 0 auto 35px;
  color: var(--text-muted);
  font-size: 16px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Common Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Promos / Feature Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.promo-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.promo-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white);
  border-radius: 24px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.price-card.popular {
  border: 2px solid var(--brand);
  background: rgba(18, 14, 32, 0.85);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
}

.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #07050f;
  font-size: 9px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.tier-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.silver { background: #e2e8f0; color: #1e293b; }
.gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.premium { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.enterprise { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.ultimate { background: linear-gradient(135deg, #ec4899, #be185d); color: #fff; }

.price-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 25px;
}

.price .period {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.specs {
  list-style: none;
  font-size: 11px;
  margin-bottom: 30px;
  flex: 1;
}

.specs li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.specs li.locked {
  color: rgba(255, 255, 255, 0.25);
}

.btn-card {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-white);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s;
}

.btn-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.popular .btn-card {
  background: var(--brand);
  color: #07050f;
  border: none;
}

.popular .btn-card:hover {
  opacity: 0.9;
}

/* Glassmorphism containers */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-white);
  border-radius: 24px;
}

/* Calculator & Form layout */
.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

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

.calc-inputs {
  padding: 40px;
  border-right: 1px solid var(--border-white);
}

.calc-result {
  padding: 40px;
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.control-group {
  margin-bottom: 25px;
}

.control-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.control-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-white);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.badge {
  background: rgba(0, 242, 254, 0.1);
  color: var(--brand);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-summary {
  margin-top: 15px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-white);
  padding-bottom: 15px;
}

.line-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.line-item span:last-child {
  font-family: monospace;
}

.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 25px 0;
}

.total-bar span:first-child {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-val {
  font-size: 26px;
  font-weight: 900;
  color: var(--brand);
  font-family: monospace;
}

.w-full {
  width: 100%;
}

/* Forms */
#reg-form {
  padding: 40px;
}

.form-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-white);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
}

select option {
  background-color: #120e20;
  color: #fff;
}

.form-group input:focus, .form-group select:focus {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.readonly {
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--text-muted) !important;
  pointer-events: none;
}

.mt-4 { margin-top: 30px; }
.mt-3 { margin-top: 20px; }
.hidden { display: none !important; }

/* Invoice Box Style */
#invoice-box {
  padding: 30px;
  border-color: rgba(245, 158, 11, 0.3);
}

.invoice-header {
  border-bottom: 1px solid var(--border-white);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.status-badge {
  width: fit-content;
  font-size: 9px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.status-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.invoice-header h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.font-mono {
  font-family: monospace;
  color: var(--text-muted);
}

.inv-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 12px;
}

.inv-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.inv-row.border-top {
  border-top: 1px solid var(--border-white);
  padding-top: 12px;
  margin-top: 12px;
}

.payment-method {
  text-align: center;
  margin-bottom: 25px;
}

.qr-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: bold;
}

.qr-code {
  display: inline-block;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.qr-mock {
  width: 140px;
  height: 140px;
  border: 3px solid #000;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.qr-square {
  width: 100px;
  height: 100px;
  border: 2px solid #000;
  background-image: repeating-linear-gradient(45deg, #000, #000 4px, #fff 4px, #fff 8px);
}

.qr-label {
  font-size: 7px;
  font-weight: 900;
  color: #000;
  margin-top: 4px;
}

/* Footer */
/* GTM & Partnership Section */
.gtm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.gtm-card {
  padding: 30px;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.gtm-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gtm-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gtm-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.gtm-tag {
  font-size: 8px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.badge-b2g {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-b2b {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-si {
  background: rgba(0, 242, 254, 0.15);
  color: var(--brand);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-white);
  font-size: 11px;
  color: var(--text-muted);
}

/* Theme Button Styles */
.theme-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-white);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* Light Theme Variable Overrides */
body.light-theme {
  --bg-dark: #f1f5f9; /* Soft, eye-friendly slate background instead of pure white */
  --bg-card: #ffffff; /* Clean white cards */
  --text-main: #1e293b; /* Soft slate-800 instead of black */
  --text-muted: #5e6e82; /* Legible slate-600 */
  --border-white: rgba(15, 23, 42, 0.06);
}

body.light-theme header {
  background: rgba(241, 245, 249, 0.85);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.light-theme .orb {
  opacity: 0.08; /* Subdued background glow */
}

body.light-theme .logo {
  color: #1e293b;
}

body.light-theme select option {
  background-color: #ffffff;
  color: #1e293b;
}

body.light-theme .badge-new {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}

body.light-theme .gradient-text {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .btn-primary {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #ffffff;
}

body.light-theme .btn-primary:hover {
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

body.light-theme .form-group input, 
body.light-theme .form-group select, 
body.light-theme .control-group select {
  background: #ffffff;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .form-group input:focus, 
body.light-theme .form-group select:focus, 
body.light-theme .control-group select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.15);
}

body.light-theme .glass,
body.light-theme .price-card,
body.light-theme .promo-card,
body.light-theme .gtm-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .price {
  color: #1e293b;
}

body.light-theme .price-val {
  color: #2563eb;
}

body.light-theme .readonly {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .theme-btn {
  background: #ffffff;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .theme-btn:hover {
  background: #f1f5f9;
}

body.light-theme .inv-details {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .specs li.locked {
  color: rgba(30, 41, 59, 0.45);
}

body.light-theme .btn-card {
  background: #f1f5f9;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .btn-card:hover {
  background: #e2e8f0;
}

body.light-theme .popular .btn-card {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #ffffff;
  border: none;
}

/* Interactive Demo Section */
.demo-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
}

@media (max-width: 900px) {
  .demo-box {
    grid-template-columns: 1fr;
  }
}

.demo-media {
  padding: 40px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-white);
}

.media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: #000;
  max-width: 100%;
}

.screenshot-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 5, 15, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.media-overlay:hover {
  background: rgba(7, 5, 15, 0.2);
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--brand);
  color: #07050f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  padding-left: 4px;
  box-shadow: 0 0 20px var(--brand);
  transition: all 0.3s;
}

.media-overlay:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--brand);
}

.media-overlay span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.demo-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.narrative-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-white);
  padding-bottom: 15px;
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: var(--brand);
  color: #07050f;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

.narrative-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.narrative-pane.active {
  display: block;
}

.narrative-pane h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.meta-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.narrative-pane p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.narrative-list {
  list-style: none;
  font-size: 12px;
}

.narrative-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.narrative-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* ROI Stats */
.roi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.roi-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand);
  display: block;
  font-family: 'Outfit', sans-serif;
}

.stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

/* Light Theme overrides for Demo Section */
body.light-theme .demo-media {
  background: #f8fafc;
}

body.light-theme .narrative-pane h3 {
  color: #1e293b;
}

body.light-theme .meta-tag {
  color: #2563eb;
}

body.light-theme .nav-tab:hover {
  color: #1e293b;
  background: #f1f5f9;
}

body.light-theme .nav-tab.active {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

body.light-theme .narrative-list li::before {
  color: #2563eb;
}

body.light-theme .stat-num {
  color: #2563eb;
}

body.light-theme .roi-stat-card {
  background: #f8fafc;
}

/* ==========================================
   SIMULATOR LAYOUT & ANIMATIONS (PREMIUM)
   ========================================== */
.simulator-container {
  width: 100%;
  max-width: 500px;
  perspective: 1000px;
}

.simulator-screen {
  background: rgba(10, 8, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.sim-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sim-dot.red { background: #ff5f56; }
.sim-dot.yellow { background: #ffbd2e; }
.sim-dot.green { background: #27c93f; }

.sim-title {
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
  margin-left: 10px;
}

.sim-content {
  padding: 25px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Idle Screen */
.sim-idle {
  text-align: center;
  padding: 40px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sim-idle-icon {
  font-size: 48px;
  margin-bottom: 20px;
  animation: pulseGlow 2s infinite alternate;
}

.sim-idle h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.sim-idle p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Active Screen */
.sim-active {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.sim-step-badge {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
  align-self: center;
}

/* Network Nodes Graphics */
.sim-graphics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.sim-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.node-icon {
  font-size: 28px;
  background: rgba(255, 255, 255, 0.05);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.sim-node.active .node-icon {
  background: var(--brand);
  box-shadow: 0 0 15px var(--brand);
  border-color: var(--brand);
  transform: scale(1.1);
}

.sim-node.active-success .node-icon {
  background: var(--success);
  box-shadow: 0 0 15px var(--success);
  border-color: var(--success);
  transform: scale(1.1);
}

.node-label {
  font-size: 9px;
  font-weight: 700;
  margin-top: 6px;
  color: #fff;
  white-space: nowrap;
}

.node-status {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sim-node.active .node-status {
  color: var(--brand);
}

/* Connection Lines */
.sim-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 10px;
}

.sim-line .sim-pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  display: none;
}

.sim-line.flowing .sim-pulse {
  display: block;
  animation: dataFlow 1.5s infinite linear;
}

/* Simulated Mobile Screen */
.sim-phone-container {
  display: flex;
  justify-content: center;
}

.sim-phone-screen {
  width: 220px;
  height: 180px;
  background: #0f172a;
  border: 4px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  font-family: sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  background: #1e293b;
  font-size: 8px;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-app-content {
  padding: 12px;
  font-size: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow-y: auto;
}

.sim-wo-card {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--brand);
  padding: 8px;
  border-radius: 4px;
}

.sim-wo-title {
  font-weight: bold;
}

.sim-wo-desc {
  font-size: 8px;
  color: var(--text-muted);
}

/* QR Scanner Animation */
.sim-qr-box {
  width: 80px;
  height: 80px;
  border: 2px solid var(--brand);
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.sim-qr-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: qrScan 2s infinite ease-in-out;
}

/* Checklist form simulation */
.sim-form-checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-form-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 6px;
  border-radius: 4px;
}

.sim-form-row.checked {
  border-left: 2px solid var(--success);
  background: rgba(16, 185, 129, 0.05);
}

.sim-form-row span {
  font-size: 8px;
}

/* Upload sync screen */
.sim-sync-view {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.sim-progress-fill {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 0.1s linear;
}

/* WhatsApp Message Simulation */
.sim-wa-bubble {
  background: #0b141a;
  border-radius: 8px;
  padding: 8px;
  border-left: 4px solid #25d366;
  max-width: 90%;
  align-self: flex-start;
  animation: popIn 0.3s ease-out forwards;
}

.sim-wa-header {
  color: #25d366;
  font-size: 8px;
  font-weight: bold;
  margin-bottom: 4px;
}

.sim-wa-body {
  font-size: 9px;
  color: #e9edef;
  white-space: pre-line;
  line-height: 1.3;
}

/* Logs console */
.sim-terminal {
  background: #000;
  border-radius: 8px;
  padding: 10px 15px;
  font-family: monospace;
  font-size: 9px;
  color: #10b981;
  min-height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-line {
  margin-bottom: 2px;
}

/* Keyframes */
@keyframes pulseGlow {
  from { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.2)); }
  to { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--brand)); }
}

@keyframes dataFlow {
  0% { left: 0%; }
  100% { left: 100%; }
}

@keyframes qrScan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Light Theme overrides for simulator */
body.light-theme .simulator-screen {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.light-theme .sim-header {
  background: #f1f5f9;
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
body.light-theme .sim-idle h3 {
  color: #1e293b;
}
body.light-theme .sim-graphics {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.06);
}
body.light-theme .node-icon {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
}
body.light-theme .node-label {
  color: #1e293b;
}
body.light-theme .sim-phone-screen {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}
body.light-theme .phone-status-bar {
  background: #e2e8f0;
  color: #475569;
}
body.light-theme .sim-wo-card {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
body.light-theme .sim-wa-bubble {
  background: #e1f5fe;
  border-left-color: #0288d1;
}
body.light-theme .sim-wa-header {
  color: #0288d1;
}
body.light-theme .sim-wa-body {
  color: #1e293b;
}
body.light-theme .sim-terminal {
  background: #1e293b;
  color: #38bdf8;
}

