/* ============================================================
   Real Estate Payment Plan — Production Stylesheet
   Bilingual (EN/AR), LTR/RTL, optimized for Cloudflare + Hostinger
   ============================================================ */

/* ----- CSS Custom Properties ----- */
: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;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  --radius:      12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);

  --font: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--neutral-50);
  color: var(--neutral-800);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ----- Utility ----- */
.container { max-width: 1100px; margin: 0 auto; }
.text-gold { color: var(--gold-400); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}
.section-label--center { justify-content: center; }
.section-label--center::before { display: none; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title--center { text-align: center; }

.section-subtitle {
  font-size: 17px;
  color: var(--neutral-500);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 46, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

.nav-brand {
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-400);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active {
  background: rgba(201,168,76,0.2);
  color: var(--gold-300);
}

/* Language toggle */
.lang-toggle {
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-400);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 12px;
}
.lang-toggle:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold-400);
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: 64px; left: 0; right: 0;
  height: 3px;
  background: rgba(201, 168, 76, 0.15);
  z-index: 999;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  width: 0%;
  transition: width 0.15s linear;
  will-change: width;
}

/* ===== SECTIONS ===== */
section { padding: 100px 24px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 40%, var(--green-700) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(34,197,94,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-stats { display: flex; gap: 32px; }

.hero-stat {
  text-align: center;
  padding: 20px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.hero-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ownership-ring {
  width: 340px;
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ownership-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1005.3;
  stroke-dashoffset: 1005.3;
  transition: stroke-dashoffset 2s var(--ease);
}

.ring-center {
  text-align: center;
  position: relative;
  z-index: 1;
}
.ring-percent {
  font-size: 64px;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}
.ring-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ===== JOURNEY ===== */
.journey-section { background: var(--white); }

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-400), var(--gold-500));
  opacity: 0.25;
  border-radius: 2px;
}

.journey-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-400);
}
.journey-card.active {
  border-color: var(--gold-500);
  background: linear-gradient(to bottom, rgba(201,168,76,0.04), var(--white));
  box-shadow: var(--shadow-lg);
}

.journey-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  background: var(--green-900);
  color: var(--gold-400);
  border: 3px solid var(--gold-400);
  position: relative;
  z-index: 1;
}

.journey-step {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.journey-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}
.journey-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-500);
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 12px;
}
.journey-desc {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.7;
}

.journey-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 0;
}
.journey-card.active .journey-detail {
  max-height: 200px;
  margin-top: 16px;
}
.journey-detail-inner {
  padding-top: 16px;
  border-top: 1px solid var(--neutral-200);
  font-size: 13px;
  color: var(--neutral-600);
  line-height: 1.8;
}

/* ===== EQUITY GROWTH ===== */
.equity-section {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--white);
}
.equity-section .section-title { color: var(--white); }
.equity-section .section-subtitle { color: rgba(255,255,255,0.6); }

.equity-bar-container {
  margin-top: 48px;
  padding: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

.equity-bar-track {
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
}
.equity-bar-fill {
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  width: 0%;
  transition: width 1.5s var(--ease);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  min-width: 60px;
}
.equity-bar-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-900);
  white-space: nowrap;
}

.equity-milestones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.equity-milestone {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  color: inherit;
  font-family: inherit;
}
.equity-milestone:hover,
.equity-milestone.active {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold-500);
}

.equity-milestone-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-400);
}
.equity-milestone-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ===== PAYMENT MODELS ===== */
.models-section { background: var(--white); }

.model-tabs {
  display: flex;
  gap: 8px;
  margin: 40px 0 32px;
  background: var(--neutral-100);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.model-tab {
  padding: 12px 32px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--neutral-500);
  transition: var(--transition);
}
.model-tab.active {
  background: var(--green-900);
  color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.model-same-note {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(34,197,94,0.06));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.model-same-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.model-same-text {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.7;
}
.model-same-text strong { color: var(--green-900); }

.model-panel { display: none; }
.model-panel.active { display: block; }

.model-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.model-info {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.model-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-900);
  color: var(--gold-400);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}
.model-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 8px;
}
.model-info-sub {
  font-size: 14px;
  color: var(--neutral-500);
  margin-bottom: 28px;
}

.model-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--neutral-200);
}
.model-detail-row:last-child { border-bottom: none; }

.model-detail-key {
  font-size: 13px;
  color: var(--neutral-500);
  font-weight: 500;
}
.model-detail-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-900);
}
.model-detail-value.gold { color: var(--gold-500); }

.model-example {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.model-example h4 {
  font-size: 14px;
  color: var(--gold-400);
  margin-bottom: 24px;
  font-weight: 600;
}
.model-example-price {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.model-example-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}
.model-example-unit {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  margin-bottom: 28px;
}

.model-example-breakdown {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
}
.model-example-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.model-example-row span:last-child {
  color: var(--white);
  font-weight: 600;
}

/* ===== CALCULATOR ===== */
.calc-section { background: var(--neutral-50); }

.calc-container {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}
.calc-header {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  padding: 32px 40px;
  color: var(--white);
}
.calc-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.calc-header p { font-size: 13px; color: rgba(255,255,255,0.6); }

.calc-body { padding: 40px; }

.calc-input-group { margin-bottom: 28px; }
.calc-input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  margin-bottom: 8px;
  display: block;
}
.calc-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
  font-family: inherit;
  transition: var(--transition);
}
.calc-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}
.calc-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-400);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-result-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.calc-result-card.highlight {
  background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(201,168,76,0.02));
  border-color: var(--gold-400);
}
.calc-result-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  margin-bottom: 8px;
}
.calc-result-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-900);
}
.calc-result-value.gold { color: var(--gold-500); }
.calc-result-note {
  font-size: 11px;
  color: var(--neutral-400);
  margin-top: 4px;
}

/* ===== BENEFITS ===== */
.benefits-section { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold-500);
  opacity: 0;
  transition: var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-400);
}
.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.benefit-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.8;
}

/* ===== LEGAL ===== */
.legal-section {
  background: var(--neutral-50);
  padding: 60px 24px;
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.legal-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  text-align: start;
}
.legal-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--neutral-500);
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--neutral-200);
}
.legal-check {
  color: var(--green-500);
  font-weight: 700;
  flex-shrink: 0;
}

.legal-cta {
  margin-top: 40px;
  padding: 24px 40px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--radius-lg);
  color: var(--white);
  display: inline-block;
}
.legal-cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-400);
}
.legal-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-timeline::before { display: none; }
  .model-card { grid-template-columns: 1fr; }
  .equity-milestones { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 60px 16px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Mobile nav open state */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10, 46, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    animation: slideDown 0.3s ease;
  }
  .nav-links.open a {
    padding: 12px 16px;
    font-size: 15px;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { flex: 1; min-width: 120px; }
  .journey-timeline { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-body { padding: 24px; }
  .calc-header { padding: 24px; }
  .equity-milestones { grid-template-columns: repeat(2, 1fr); }
  .ownership-ring { width: 260px; height: 260px; }
  .ring-percent { font-size: 48px; }
  .model-tabs { width: 100%; }
  .model-tab { flex: 1; text-align: center; }
  .model-same-note { flex-direction: column; text-align: center; }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .section-label {
  flex-direction: row-reverse;
}
[dir="rtl"] .section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}
[dir="rtl"] .section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

[dir="rtl"] .nav-brand,
[dir="rtl"] .nav-links a,
[dir="rtl"] .model-detail-key,
[dir="rtl"] .benefit-desc {
  text-align: right;
}

[dir="rtl"] .hero-grid {
  direction: rtl;
}

[dir="rtl"] .progress-fill {
  background: linear-gradient(270deg, var(--gold-500), var(--gold-300));
}

[dir="rtl"] .journey-timeline::before {
  background: linear-gradient(270deg, var(--gold-500), var(--green-400), var(--gold-500));
}

[dir="rtl"] .equity-bar-fill {
  background: linear-gradient(270deg, var(--gold-500), var(--gold-300));
  justify-content: flex-start;
  padding: 0 20px;
}

[dir="rtl"] .model-detail-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .model-example-breakdown {
  direction: rtl;
}

[dir="rtl"] .model-example-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .legal-item {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .legal-items {
  text-align: right;
}

[dir="rtl"] .benefit-card {
  text-align: right;
}

[dir="rtl"] .model-same-note {
  text-align: center;
}

[dir="rtl"] .calc-input-wrapper {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-toggle {
  margin: 0 -12px 0 12px;
}
