/* ============================================
   KEY2 Decision Experience — Main Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.7;
  overflow-x: hidden;
  transition: opacity 0.3s;
}
body[dir="rtl"] { font-family: 'Noto Kufi Arabic', sans-serif; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* --- CSS Variables --- */
:root {
  --green-900: #0a2e1a;
  --green-800: #0f3d23;
  --green-700: #14532d;
  --green-600: #166534;
  --green-500: #1a7a40;
  --green-400: #22c55e;
  --green-300: #86efac;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e0ca7e;
  --gold-200: #ecdba0;
  --gold-100: #f5ecd0;
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;
  --white: #ffffff;
  --gradient-dark: linear-gradient(160deg, #0a2e1a 0%, #0f3d23 40%, #14532d 100%);
  --gradient-gold: linear-gradient(90deg, #c9a84c, #e0ca7e);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
  --header-h: 72px;
}

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Section --- */
.section { padding: 100px 0; }
.section-dark { background: var(--gradient-dark); color: var(--white); }
.section-light { background: var(--white); }
.section-alt { background: var(--neutral-100); }
.section-green-light { background: var(--green-50); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-500);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.section-dark .section-subtitle { color: var(--neutral-300); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 46, 26, 0.95);
  backdrop-filter: blur(12px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header.scrolled {
  background: rgba(10, 46, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}
@media (max-width: 600px) {
  .header-logo-img { height: 28px; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}
.lang-switch:hover {
  background: rgba(255,255,255,0.2);
}
.header-cta {
  background: var(--gradient-gold);
  color: var(--green-900);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}
.mobile-menu-btn {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../assets/images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,46,26,0.92) 0%, rgba(15,61,35,0.85) 40%, rgba(20,83,45,0.8) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-300);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}
.hero-title .gold { color: var(--gold-400); }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--neutral-300);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 650px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--green-900);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.btn-green {
  background: var(--green-400);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.card-body { padding: 24px; }

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  transition: all 0.3s;
}
.tab-btn:hover { border-color: var(--green-400); color: var(--green-600); }
.tab-btn.active {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

/* --- Tag --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--green-100);
  color: var(--green-700);
}
.tag-gold { background: var(--gold-100); color: #8b6914; }
.tag-blue { background: #dbeafe; color: #1e40af; }

/* --- Section 3: Guided Decision Moment --- */
.guided-section { padding: 100px 0 80px; }
.guided-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.guided-text-side {
  position: sticky;
  top: 120px;
}
.guided-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.guided-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--green-900);
  margin-bottom: 20px;
}
.guided-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.guided-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Payoff */
.guided-payoff {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--green-50), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.7s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  padding: 0 24px;
}
.guided-payoff.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 200px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.guided-payoff-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.guided-payoff p {
  font-size: 0.95rem;
  color: var(--green-800);
  font-weight: 500;
  line-height: 1.7;
}
.guided-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.guided-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Interactive Side */
.guided-interactive-side {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.guided-progress {
  height: 3px;
  background: var(--neutral-100);
  border-radius: 100px;
  margin-bottom: 32px;
  overflow: hidden;
}
.guided-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-gold);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* Question Block */
.guided-question {
  margin-bottom: 32px;
  transition: all 0.6s cubic-bezier(0.22,1,0.36,1);
}
.guided-question:last-child { margin-bottom: 0; }
.guided-q-hidden {
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  pointer-events: none;
}
.guided-q-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
  margin-bottom: 32px;
  pointer-events: auto;
}
.guided-q-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.guided-q-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}

/* Options */
.guided-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guided-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--neutral-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  text-align: start;
  font-family: inherit;
}
.guided-option:hover {
  border-color: var(--green-300);
  background: var(--green-50);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
}
.guided-option.selected {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15), 0 4px 12px rgba(201,168,76,0.1);
}
.guided-option.selected .guided-option-icon {
  color: var(--gold-500);
}
.guided-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--neutral-500);
  transition: all 0.35s;
}
.guided-option.selected .guided-option-icon {
  background: rgba(201,168,76,0.12);
}
.guided-option-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color 0.3s;
}
.guided-option.selected .guided-option-label {
  color: var(--green-900);
  font-weight: 600;
}

/* Question answered state */
.guided-question.answered .guided-q-title {
  color: var(--neutral-400);
  font-size: 0.95rem;
}
.guided-question.answered .guided-q-number {
  color: var(--green-400);
}
.guided-question.answered .guided-options {
  gap: 6px;
}
.guided-question.answered .guided-option:not(.selected) {
  opacity: 0.4;
  transform: scale(0.97);
  padding: 10px 14px;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .guided-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .guided-text-side {
    position: static;
    text-align: center;
  }
  .guided-subtitle { margin-left: auto; margin-right: auto; }
  .guided-title { font-size: 1.7rem; }
  .guided-payoff { text-align: start; }
}
@media (max-width: 600px) {
  .guided-section { padding: 70px 0 60px; }
  .guided-title { font-size: 1.4rem; }
  .guided-interactive-side { padding: 24px 20px; }
  .guided-option { padding: 12px 14px; }
}

/* --- Section 5B: Yield Comparison --- */
#section-yield { padding: 80px 0; }
.yield-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.yield-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--neutral-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-600);
}
.yield-tab:hover { border-color: var(--green-300); background: var(--green-50); }
.yield-tab.active {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  color: var(--green-900);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.yield-tab-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-500);
  background: rgba(201,168,76,0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yield-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 32px;
}
.yield-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  text-align: center;
  transition: all 0.4s;
}
.yield-card-key2 {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 8px 30px rgba(201,168,76,0.12);
}
.yield-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--gradient-gold);
  color: var(--green-900);
  margin-bottom: 16px;
}
.yield-badge-market {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.yield-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-500);
  margin-bottom: 24px;
}
.yield-price-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.yield-price-item { text-align: center; }
.yield-price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--neutral-400);
  margin-bottom: 4px;
}
.yield-price-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
}
.yield-price-gold { color: var(--gold-500); }
.yield-price-unit {
  display: block;
  font-size: 0.75rem;
  color: var(--neutral-400);
  margin-top: 4px;
}
.yield-price-divider {
  font-size: 1.5rem;
  color: var(--neutral-300);
  font-weight: 300;
}
.yield-rental-box {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
}
.yield-rental-label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.yield-rental-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-900);
}
.yield-rental-value small { font-size: 0.75rem; color: var(--neutral-500); font-weight: 500; }
.yield-result-box {
  border-radius: var(--radius-md);
  padding: 20px;
}
.yield-result-gold {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25);
}
.yield-result-neutral {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
}
.yield-result-label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-bottom: 8px;
}
.yield-result-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.yield-result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
}
.yield-result-gold .yield-result-value { color: var(--gold-500); }
.yield-result-sep {
  font-size: 1.5rem;
  color: var(--neutral-300);
}
.yield-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.yield-vs-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(10,46,26,0.3);
}
/* Stronger scenario */
.yield-stronger {
  margin-bottom: 32px;
}
.yield-stronger-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.yield-stronger-icon { flex-shrink: 0; margin-top: 2px; }
.yield-stronger-title { font-size: 0.95rem; font-weight: 600; color: var(--green-900); margin-bottom: 4px; }
.yield-stronger-rent { font-size: 1.1rem; font-weight: 700; color: var(--gold-500); margin-bottom: 12px; }
.yield-stronger-yields {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.yield-stronger-yields > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.yield-stronger-badge-gold {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gradient-gold);
  color: var(--green-900);
  padding: 3px 10px;
  border-radius: 100px;
}
.yield-stronger-badge-neutral {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--neutral-100);
  color: var(--neutral-600);
  padding: 3px 10px;
  border-radius: 100px;
}
.yield-stronger-val { font-size: 1rem; font-weight: 700; color: var(--green-900); }
/* Insight */
.yield-insight {
  text-align: center;
  margin-bottom: 24px;
}
.yield-insight p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-800);
  background: linear-gradient(135deg, var(--green-50), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: inline-block;
  max-width: 700px;
}
.yield-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--neutral-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .yield-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .yield-vs {
    padding: 8px 0;
  }
  .yield-vs-circle { width: 40px; height: 40px; font-size: 0.7rem; }
  .yield-price-value { font-size: 1.4rem; }
  .yield-result-value { font-size: 1.5rem; }
  .yield-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .yield-tabs { gap: 8px; }
  .yield-tab { padding: 10px 18px; font-size: 0.85rem; }
}

/* --- Section 4: Map --- */
.map-section { padding: 100px 0 80px; }
.map-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-top: 32px;
}
#map {
  width: 100%;
  height: 550px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.map-sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 8px;
}
.map-sidebar-desc {
  font-size: 0.9rem;
  color: var(--neutral-500);
  line-height: 1.7;
  flex: 1;
}
.map-sidebar-default {
  text-align: center;
  padding: 40px 20px;
  color: var(--neutral-400);
  font-size: 0.95rem;
}
.map-back-btn {
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--green-300);
  text-align: center;
  transition: all 0.3s;
}
.map-back-btn:hover {
  background: var(--green-100);
}
.map-insight {
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green-400);
  font-size: 0.9rem;
  color: var(--green-700);
  transition: all 0.5s;
}
body[dir="rtl"] .map-insight {
  border-left: none;
  border-right: 4px solid var(--green-400);
}
.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 550px;
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 40px;
}
.map-fallback p {
  color: var(--neutral-500);
  font-size: 1rem;
}

/* --- Section 5: Market Evidence --- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.market-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  cursor: pointer;
  transition: all 0.3s;
}
.market-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.market-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--neutral-100);
}
.market-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.market-card-price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-900);
  color: var(--gold-300);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
body[dir="rtl"] .market-card-price { right: auto; left: 12px; }
.market-card-body { padding: 20px; }
.market-card-type {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 8px;
}
.market-card-meta {
  font-size: 0.85rem;
  color: var(--neutral-500);
  margin-bottom: 12px;
}
.market-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.market-card-analysis {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100);
}
.market-strip {
  margin-top: 48px;
  padding: 32px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-100);
}
.market-strip h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 16px;
}
.market-strip-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.market-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.6;
}
.market-strip-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--green-400);
  margin-top: 8px;
}

/* --- Section 6: Unit Roles --- */
.unit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.unit-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.unit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}
.unit-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.unit-card-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.unit-card-badge.yield { background: #dcfce7; color: #166534; }
.unit-card-badge.balance { background: #dbeafe; color: #1e40af; }
.unit-card-badge.scarcity { background: var(--gold-100); color: #8b6914; }
.unit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}
.unit-card h4 {
  font-size: 1rem;
  color: var(--gold-500);
  font-weight: 500;
  margin-bottom: 20px;
}
.unit-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.unit-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.6;
}
.unit-card-list li::before {
  content: '✓';
  color: var(--green-400);
  font-weight: 700;
  margin-top: 1px;
}

/* --- Section 7: Quiz --- */
.quiz-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.quiz-step {
  display: none;
  animation: fadeSlide 0.5s ease;
}
.quiz-step.active { display: block; }
.quiz-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 8px;
}
.quiz-question-num {
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 24px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--neutral-700);
  text-align: start;
  transition: all 0.3s;
}
.quiz-option:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}
.quiz-option.selected {
  border-color: var(--green-400);
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 500;
}
.quiz-result {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: fadeSlide 0.5s ease;
}
.quiz-result.active { display: block; }
.quiz-result-path {
  font-size: 0.9rem;
  color: var(--gold-500);
  font-weight: 500;
  margin-bottom: 8px;
}
.quiz-result-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}
.quiz-result-desc {
  font-size: 1rem;
  color: var(--neutral-500);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-result-unit {
  display: inline-block;
  padding: 12px 32px;
  background: var(--green-50);
  border: 2px solid var(--green-300);
  border-radius: var(--radius-md);
  color: var(--green-700);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}
.quiz-progress-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--neutral-200);
  transition: all 0.3s;
}
.quiz-progress-dot.active { background: var(--green-400); }

/* --- Section 8: Rental Lab --- */
.rental-lab {
  max-width: 900px;
  margin: 0 auto;
}
.rental-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.rental-level-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid var(--neutral-200);
  color: var(--neutral-600);
  background: var(--white);
  transition: all 0.3s;
}
.rental-level-btn:hover { border-color: var(--gold-400); }
.rental-level-btn.active {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}
.rental-ranges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.rental-range-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  text-align: center;
  transition: all 0.4s;
}
.rental-range-card:hover { box-shadow: var(--shadow-md); }
.rental-range-type {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 4px;
}
.rental-range-label {
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 20px;
}
.rental-range-bar {
  height: 8px;
  background: var(--neutral-100);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.rental-range-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-gold);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.rental-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--neutral-500);
}
.rental-range-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-500);
  margin: 16px 0 4px;
}
.rental-range-unit {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

/* --- Section 9: Value Factors --- */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.factor-item {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--neutral-200);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.factor-item:hover { border-color: var(--green-300); }
.factor-item.active {
  border-color: var(--green-400);
  background: var(--green-50);
}
.factor-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: transparent;
}
.factor-item.active .factor-check {
  background: var(--green-400);
  border-color: var(--green-400);
  color: var(--white);
}
.factor-label {
  font-size: 0.9rem;
  color: var(--neutral-700);
}
.factor-result {
  margin-top: 32px;
  padding: 24px 32px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-200);
  text-align: center;
  transition: all 0.5s;
}
.factor-result-text {
  font-size: 1rem;
  color: var(--green-700);
  line-height: 1.8;
}

/* --- Section 10: Decision Studio --- */
.decision-studio {
  max-width: 900px;
  margin: 0 auto;
}
.decision-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.decision-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-600);
  margin-bottom: 8px;
}
.decision-field select,
.decision-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--neutral-700);
  background: var(--white);
  transition: all 0.3s;
  font-family: inherit;
}
.decision-field select:focus,
.decision-field input:focus {
  outline: none;
  border-color: var(--green-400);
}
.decision-output {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: fadeSlide 0.5s ease;
}
.decision-output.active { display: block; }
.decision-output-header {
  text-align: center;
  margin-bottom: 32px;
}
.decision-output-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-900);
}
.decision-output-subtitle {
  font-size: 0.9rem;
  color: var(--neutral-500);
}
.decision-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.decision-output-item {
  padding: 20px;
  background: var(--neutral-50);
  border-radius: var(--radius-md);
}
.decision-output-item h4 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neutral-400);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.decision-output-item p {
  font-size: 0.95rem;
  color: var(--neutral-700);
  line-height: 1.6;
}

/* --- Section 11: FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--green-300); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-900);
  cursor: pointer;
  transition: all 0.3s;
}
.faq-question:hover { color: var(--green-600); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--neutral-400);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green-400); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--neutral-600);
  line-height: 1.8;
}

/* --- Section 12: Why KEY2 --- */
.why-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.why-point {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}
.why-point-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.why-point h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.why-point p {
  font-size: 0.9rem;
  color: var(--neutral-300);
  line-height: 1.7;
}

/* --- Section 13: CTA --- */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--gradient-dark);
}
.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1rem;
  color: var(--neutral-300);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-helper {
  font-size: 0.85rem;
  color: var(--neutral-400);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--neutral-900);
  padding: 40px 0;
  text-align: center;
}
.footer-text {
  font-size: 0.85rem;
  color: var(--neutral-500);
  line-height: 1.8;
}
.footer-disclaimer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--neutral-800);
  font-size: 0.8rem;
  color: var(--neutral-600);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}
.modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--neutral-500);
  transition: all 0.3s;
}
.modal-close:hover { background: var(--neutral-200); }
.modal-img {
  margin: 16px 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 300px;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal-body { padding: 0 24px 24px; }
.modal-field {
  padding: 12px 0;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.modal-field-label {
  font-size: 0.85rem;
  color: var(--neutral-400);
}
.modal-field-value {
  font-size: 0.9rem;
  color: var(--neutral-700);
  font-weight: 500;
  text-align: end;
}
.modal-takeaway {
  margin-top: 16px;
  padding: 16px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
}
.modal-takeaway h4 {
  font-size: 0.8rem;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-takeaway p {
  font-size: 0.9rem;
  color: var(--green-700);
  line-height: 1.6;
}
.modal-privacy {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--neutral-400);
  font-style: italic;
}

/* --- Animations --- */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .map-container { grid-template-columns: 1fr; }
  .map-sidebar { min-height: auto; }
  #map { height: 400px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .hero-content { padding: 40px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .decision-form { grid-template-columns: 1fr; }
  .decision-output-grid { grid-template-columns: 1fr; }
  .unit-cards { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 350px; justify-content: center; }
  #map { height: 350px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.4rem; }
  .hero-title { font-size: 1.6rem; }
  .tabs { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.8rem; }
}

/* --- RTL Adjustments --- */
body[dir="rtl"] {
  text-align: right;
}
body[dir="rtl"] .hero-content,
body[dir="rtl"] .section-subtitle { text-align: right; }
body[dir="rtl"] .unit-card-list li { flex-direction: row; }
body[dir="rtl"] .market-strip-item { flex-direction: row; }
body[dir="rtl"] .faq-question { flex-direction: row-reverse; }
body[dir="rtl"] .why-point { flex-direction: row; }
body[dir="rtl"] .factor-item { flex-direction: row; }
body[dir="rtl"] .modal-field { flex-direction: row-reverse; }

/* --- Mapbox Custom --- */
.mapboxgl-popup-content {
  padding: 12px 16px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}
.mapboxgl-popup-close-button {
  font-size: 18px;
  padding: 4px 8px;
}
.map-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s;
}
.map-marker:hover { transform: scale(1.2); }
.map-marker-key2 {
  width: 44px;
  height: 44px;
  background: var(--gold-500);
  animation: pulse 2s infinite;
}
