/* ============================================
   BT Square — Corporate Website CSS
   btsquare.io | Dark Premium Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #7C5CFC;
  --primary-light: #9D7FFF;
  --primary-dark: #5B3FD4;
  --teal: #1ABC9C;
  --teal-dark: #0E8B73;
  --gold: #E2B857;
  --blue: #60A5FA;
  --red: #EF4444;
  --bg: #03060F;
  --surface-1: #080E1E;
  --surface-2: #0C1428;
  --text: #F8FAFF;
  --text-muted: #8892A4;
  --border-subtle: rgba(255,255,255,0.05);
  --purple-glow: rgba(124,92,252,0.4);
  --purple-dim: rgba(124,92,252,0.1);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-xs: 6px;
  --transition: all 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* --- Grid Background --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* --- Container --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* --- Animated Orbs (Hero) --- */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; left: -100px; animation: drift1 14s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: var(--teal); top: -100px; right: -80px; animation: drift2 18s ease-in-out infinite; }
.orb-3 { width: 450px; height: 450px; background: var(--blue); bottom: -200px; left: 50%; transform: translateX(-50%); animation: drift3 12s ease-in-out infinite; }

@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }
@keyframes drift3 { 0%, 100% { transform: translateX(-50%) translate(0, 0); } 50% { transform: translateX(-50%) translate(20px, -30px); } }

/* --- Logo --- */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  box-shadow: 0 0 28px var(--purple-glow);
}
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #9D7FFF, #7C5CFC, #5B3FD4);
  color: #fff;
  border: none;
  box-shadow: 0 8px 36px rgba(124,92,252,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { box-shadow: 0 12px 48px rgba(124,92,252,0.7), inset 0 1px 0 rgba(255,255,255,0.2); transform: translateY(-2px); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(124,92,252,0.3); color: var(--text); }
.btn-teal {
  background: linear-gradient(135deg, #20D9B8, #1ABC9C, #0E8B73);
  color: #fff;
  border: none;
  box-shadow: 0 6px 28px rgba(26,188,156,0.35);
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(26,188,156,0.5); color: #fff; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--text); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Cards --- */
.card {
  background: rgba(8,14,30,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(124,92,252,0.3); transform: translateY(-3px); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8,14,30,0.95);
  border-top: 2px solid var(--purple-glow);
  backdrop-filter: blur(20px);
  z-index: 9999;
  padding: 20px 0;
  display: none;
}
.cookie-banner.active { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 14px; color: var(--text-muted); min-width: 300px; }
.cookie-text a { color: var(--primary-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* --- Live Ticker --- */
.ticker {
  background: rgba(124,92,252,0.06);
  border-bottom: 1px solid rgba(124,92,252,0.15);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-wrap { display: flex; align-items: center; width: max-content; animation: tickerScroll 60s linear infinite; }
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  padding: 0 20px;
  flex-shrink: 0;
}
.ticker-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.ticker-item {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 32px;
  white-space: nowrap;
  position: relative;
}
.ticker-item::after { content: '\00b7'; position: absolute; right: 0; color: rgba(124,92,252,0.3); }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(32px);
  background: rgba(3,6,15,0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.header.scrolled { background: rgba(3,6,15,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 140px;
  display: none;
  z-index: 200;
}
.lang-dropdown.active { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.lang-option:hover { background: var(--purple-dim); color: var(--text); }
.lang-option.active { color: var(--primary); }

/* --- Mobile Menu --- */
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; padding: 8px; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,6,15,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--text); }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text); font-size: 28px; }

/* --- Hero --- */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero .accent { background: linear-gradient(135deg, var(--primary-light), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 20px; color: var(--text); font-weight: 500; margin-bottom: 12px; }
.hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; max-width: 500px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.hero-urgency { font-size: 13px; color: var(--gold); font-weight: 600; }

/* --- Demo Player --- */
.demo-player {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #EF4444; }
.demo-dots span:nth-child(2) { background: var(--gold); }
.demo-dots span:nth-child(3) { background: #22C55E; }
.demo-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', monospace;
}
.demo-scene { padding: 24px; min-height: 300px; position: relative; display: none; }
.demo-scene.active { display: block; }
.demo-scene-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-scene-title { font-size: 16px; font-weight: 700; }
.demo-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.demo-badge-progress { background: var(--purple-dim); color: var(--primary-light); }
.demo-badge-gold { background: rgba(226,184,87,0.15); color: var(--gold); }
.demo-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.demo-kpi {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xs);
  padding: 12px;
  text-align: center;
}
.demo-kpi-value { font-size: 20px; font-weight: 800; font-family: var(--font-heading); }
.demo-kpi-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.demo-kpi.purple .demo-kpi-value { color: var(--primary); }
.demo-kpi.teal .demo-kpi-value { color: var(--teal); }
.demo-kpi.gold .demo-kpi-value { color: var(--gold); }
.demo-kpi.red .demo-kpi-value { color: var(--red); }
.demo-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-bottom: 16px; }
.demo-chart-bar {
  flex: 1;
  background: rgba(124,92,252,0.3);
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
}
.demo-chart-bar.glow { background: var(--primary); box-shadow: 0 0 12px var(--purple-glow); }
.demo-maya-popup {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--surface-2);
  border: 1px solid var(--purple-glow);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.demo-maya-popup .maya-icon { font-size: 16px; flex-shrink: 0; }
.demo-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.demo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  min-width: 100px;
}
.demo-step-icon { font-size: 24px; }
.demo-step-text { font-size: 11px; color: var(--text-muted); }
.demo-step-hash { font-size: 10px; color: var(--primary-light); font-family: monospace; }
.demo-arrow { font-size: 18px; color: var(--text-muted); }
.demo-agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.demo-agents-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; max-width: 66%; margin-left: auto; margin-right: auto; }
.demo-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xs);
  font-size: 12px;
}
.demo-agent-icon { font-size: 20px; }
.demo-consensus {
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.demo-properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.demo-property-mini {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xs);
  padding: 10px;
  position: relative;
}
.demo-property-mini .demo-tag { font-size: 9px; text-transform: uppercase; color: var(--teal); font-weight: 700; letter-spacing: 0.05em; }
.demo-property-mini .demo-name { font-size: 12px; font-weight: 600; margin: 4px 0; }
.demo-property-mini .demo-yield { font-size: 16px; font-weight: 800; color: var(--teal); }
.demo-property-mini .demo-phase-bar { height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.demo-property-mini .demo-phase-fill { height: 100%; border-radius: 2px; }

/* Demo Controls */
.demo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-subtle);
}
.demo-play-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}
.demo-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.demo-progress-fill { height: 100%; background: var(--primary); border-radius: 2px; transition: width 0.1s linear; }
.demo-scene-dots { display: flex; gap: 6px; }
.demo-scene-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.demo-scene-dot.active { background: var(--primary); }
.demo-counter { font-size: 12px; color: var(--text-muted); min-width: 28px; }
.demo-cc-btn, .demo-sound-btn, .demo-lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: var(--transition);
}
.demo-cc-btn.active, .demo-sound-btn.active { color: var(--primary); background: var(--purple-dim); }

/* Demo Subtitles */
.demo-subtitles {
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 36px;
  display: none;
}
.demo-subtitles.active { display: block; }

/* --- Stats Bar --- */
.stats-bar { padding: 32px 0; position: relative; z-index: 1; }
.stats-glass {
  background: rgba(8,14,30,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 32px; font-weight: 900; font-family: var(--font-heading); color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* --- Hook Section --- */
.hook { padding: 80px 0; position: relative; z-index: 1; }
.hook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hook blockquote {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-heading);
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--text);
}
.hook-text { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.hook-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hook-stat {
  background: rgba(8,14,30,0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.hook-stat-value { font-size: 28px; font-weight: 900; font-family: var(--font-heading); color: var(--primary-light); }
.hook-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* --- Bento Grid --- */
.bento { padding: 80px 0; position: relative; z-index: 1; }
.bento .section-title { text-align: center; font-size: 36px; margin-bottom: 48px; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-card {
  background: rgba(8,14,30,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.bento-card:hover { border-color: rgba(124,92,252,0.3); transform: translateY(-3px); }
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}
.bento-card:hover::before { opacity: 1; }
.bc-1 { grid-column: 1 / 4; }
.bc-2 { grid-column: 4 / 7; }
.bc-3 { grid-column: 1 / 3; }
.bc-4 { grid-column: 3 / 5; }
.bc-5 { grid-column: 5 / 7; }
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.bento-icon.purple-bg { background: var(--purple-dim); }
.bento-icon.gold-bg { background: rgba(226,184,87,0.1); }
.bento-icon.teal-bg { background: rgba(26,188,156,0.1); }
.bento-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.bento-label.purple { color: var(--primary-light); }
.bento-label.gold { color: var(--gold); }
.bento-label.teal { color: var(--teal); }
.bento-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bento-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bento-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-muted);
}
.bento-price {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--purple-dim);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* --- Tech Pillars --- */
.tech-pillars { padding: 80px 0; position: relative; z-index: 1; }
.tech-pillars .section-title { text-align: center; font-size: 36px; margin-bottom: 48px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar-card {
  background: rgba(8,14,30,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card:hover { transform: translateY(-3px); }
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.pillar-card.purple-border::before { background: var(--primary); }
.pillar-card.teal-border::before { background: var(--teal); }
.pillar-card.gold-border::before { background: var(--gold); }
.pillar-card.blue-border::before { background: var(--blue); }
.pillar-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.pillar-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pillar-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- CertiK Badge --- */
.certik-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(226,184,87,0.1);
  border: 1px solid rgba(226,184,87,0.25);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  cursor: help;
  letter-spacing: 0.04em;
}

/* --- Calculator --- */
.calculator { padding: 80px 0; position: relative; z-index: 1; }
.calculator .section-title { text-align: center; font-size: 36px; margin-bottom: 8px; }
.calculator .section-sub { text-align: center; font-size: 16px; color: var(--text-muted); margin-bottom: 48px; }
.calc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.calc-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}
.calc-product:hover { border-color: rgba(124,92,252,0.3); }
.calc-product.checked { border-color: var(--primary); background: var(--purple-dim); }
.calc-product input[type="checkbox"] { display: none; }
.calc-check {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 11px;
  color: transparent;
}
.calc-product.checked .calc-check { background: var(--primary); border-color: var(--primary); color: #fff; }
.calc-product-name { flex: 1; font-weight: 500; color: var(--text); }
.calc-product-price { font-weight: 700; color: var(--primary-light); font-size: 12px; }
.calc-controls { margin-bottom: 24px; }
.calc-controls-label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.calc-period-btns, .calc-currency-btns { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.calc-period-btn, .calc-currency-btn {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.calc-period-btn.active, .calc-currency-btn.active {
  background: var(--purple-dim);
  border-color: var(--primary);
  color: var(--primary-light);
}
.calc-result {
  background: rgba(8,14,30,0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
}
.calc-result-label { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.calc-result-total { font-size: 42px; font-weight: 900; font-family: var(--font-heading); color: var(--primary); }
.calc-result-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; margin-left: 12px; }
.calc-result-discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  background: rgba(26,188,156,0.1);
  border-radius: 20px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
}
.calc-result-saving { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.calc-result-hint { font-size: 13px; color: var(--gold); margin-top: 8px; }

/* --- Standalone Modules --- */
.standalone-modules { padding: 80px 0; position: relative; z-index: 1; }
.standalone-modules .section-title { text-align: center; font-size: 36px; margin-bottom: 8px; }
.standalone-modules .section-sub { text-align: center; font-size: 16px; color: var(--text-muted); margin-bottom: 48px; }
.standalone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standalone-card {
  background: rgba(8,14,30,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.standalone-card:hover { border-color: rgba(124,92,252,0.3); transform: translateY(-3px); }
.standalone-card-icon { font-size: 36px; margin-bottom: 16px; }
.standalone-card-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.standalone-card-price { font-size: 28px; font-weight: 900; color: var(--primary); font-family: var(--font-heading); margin-bottom: 4px; }
.standalone-card-period { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.standalone-card-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.standalone-card-note { font-size: 11px; color: var(--primary-light); background: var(--purple-dim); display: inline-block; padding: 4px 10px; border-radius: 20px; margin-bottom: 16px; }

/* --- DRM Section --- */
.drm { padding: 80px 0; position: relative; z-index: 1; }
.drm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.drm-badge-teal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(26,188,156,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.drm h2 { font-size: 32px; margin-bottom: 12px; }
.drm-text { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.drm-disclaimer-box {
  background: rgba(226,184,87,0.06);
  border: 1px solid rgba(226,184,87,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.6;
}
.drm-legal-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 16px; line-height: 1.6; }
.drm-properties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drm-property-card {
  background: rgba(8,14,30,0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  transition: var(--transition);
}
.drm-property-card:hover { border-color: rgba(26,188,156,0.3); }
.drm-demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(226,184,87,0.15);
  padding: 3px 8px;
  border-radius: 4px;
}
.drm-type { font-size: 10px; text-transform: uppercase; color: var(--teal); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.drm-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.drm-location { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.drm-yield { font-size: 22px; font-weight: 900; color: var(--teal); font-family: var(--font-heading); margin-bottom: 8px; }
.drm-phase-bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; margin-bottom: 6px; overflow: hidden; }
.drm-phase-fill { height: 100%; border-radius: 3px; }
.drm-phase-fill.phase-1 { background: linear-gradient(90deg, var(--gold), rgba(226,184,87,0.5)); }
.drm-phase-fill.phase-2 { background: linear-gradient(90deg, var(--teal), rgba(26,188,156,0.5)); }
.drm-phase-fill.phase-3 { background: linear-gradient(90deg, #20D9B8, var(--teal)); }
.drm-phase-fill.phase-4 { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.drm-phase-label { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.drm-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
.drm-status.open { background: rgba(26,188,156,0.1); color: var(--teal); }
.drm-status.soon { background: rgba(226,184,87,0.1); color: var(--gold); }
.drm-status.funded { background: var(--purple-dim); color: var(--primary-light); }

/* --- CTA Final --- */
.cta-final {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,252,0.15), transparent 70%);
  pointer-events: none;
}
.cta-final::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,188,156,0.08), transparent 70%);
  pointer-events: none;
}
.cta-final-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0 auto 32px;
}
.cta-final h2 { font-size: 42px; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-final .accent { background: linear-gradient(135deg, var(--primary-light), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-final p { font-size: 18px; color: var(--text-muted); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-final .urgency { color: var(--gold); font-weight: 600; font-size: 14px; }
.cta-final-btns { display: flex; gap: 14px; justify-content: center; margin-top: 28px; position: relative; z-index: 1; flex-wrap: wrap; }

/* --- Footer --- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-desc { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.footer-col-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-separator { height: 1px; background: var(--border-subtle); margin-bottom: 20px; }
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom { text-align: center; font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }

/* --- Investment Disclaimer Modal --- */
.inv-disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.inv-disclaimer-overlay.active { display: flex; }
.inv-disclaimer-modal {
  background: var(--surface-1);
  border: 1px solid rgba(226,184,87,0.3);
  border-radius: 16px;
  padding: 40px;
  max-width: 560px;
  width: 90%;
}
.inv-disclaimer-icon { font-size: 40px; text-align: center; margin-bottom: 16px; }
.inv-disclaimer-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 16px; }
.inv-disclaimer-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.inv-disclaimer-text p { margin-bottom: 12px; }

/* --- Section helpers --- */
.section-title { font-family: var(--font-heading); }
.section-sub { color: var(--text-muted); }

/* --- Scroll Animations --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Maya Chat Widget --- */
.maya-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
}
.maya-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9D7FFF, #7C5CFC, #5B3FD4);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(124,92,252,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.maya-widget-btn:hover { transform: scale(1.1); }
.maya-chat {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 480px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.maya-chat.active { display: flex; }
.maya-chat-header {
  padding: 14px 18px;
  background: rgba(124,92,252,0.08);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.maya-chat-title { font-size: 15px; font-weight: 700; }
.maya-chat-close { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; }
.maya-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.maya-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.maya-msg.bot { background: rgba(124,92,252,0.1); align-self: flex-start; color: var(--text); }
.maya-msg.user { background: var(--primary); align-self: flex-end; color: #fff; }
.maya-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}
.maya-chat-input input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
}
.maya-chat-input input::placeholder { color: var(--text-muted); }
.maya-chat-input button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 14px;
}

/* --- RTL Support --- */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .hook blockquote { border-left: none; border-right: 3px solid var(--primary); padding-left: 0; padding-right: 24px; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .demo-maya-popup { right: auto; left: 16px; }
[dir="rtl"] .drm-demo-badge { right: auto; left: 12px; }

/* --- Responsive: 1200px --- */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bc-1 { grid-column: 1 / 3; }
  .bc-2 { grid-column: 3 / 5; }
  .bc-3 { grid-column: 1 / 3; }
  .bc-4 { grid-column: 3 / 5; }
  .bc-5 { grid-column: 1 / 3; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .standalone-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Responsive: 1024px --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hook-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-grid { grid-template-columns: 1fr; }
  .drm-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .mobile-toggle { display: block; }
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bc-1, .bc-2, .bc-3, .bc-4, .bc-5 { grid-column: span 2; }
  .calc-products { grid-template-columns: repeat(2, 1fr); }
  .drm-properties { grid-template-columns: 1fr; }
  .stats-glass { flex-wrap: wrap; gap: 16px; }
  .stat-item { border-right: none; flex: unset; width: 45%; }
  .hook-stats { grid-template-columns: 1fr; }
  .demo-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .standalone-grid { grid-template-columns: 1fr; }
  .cta-final h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero-ctas { flex-direction: column; }
  .bento-grid { grid-template-columns: 1fr; }
  .bc-1, .bc-2, .bc-3, .bc-4, .bc-5 { grid-column: span 1; }
  .calc-products { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stat-item { width: 100%; }
  .demo-agents-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-properties-grid { grid-template-columns: 1fr; }
  .maya-chat { width: 300px; }
  .cookie-inner { flex-direction: column; text-align: center; }
}
