/* ============================================================
   MIDNIGHT VAULT — Dark Luxury Fintech Design System
   ============================================================ */

:root {
  --bg: #080A10;
  --surface: #0D1018;
  --surface-alt: #111520;
  --surface-glass: rgba(13,16,24,0.75);
  --border: rgba(212,170,30,0.06);
  --border-hover: rgba(212,170,30,0.14);
  --border-gold: rgba(212,170,30,0.28);
  --text-primary: #EDE5D5;
  --text-secondary: #A09888;
  --text-muted: #635C50;
  --accent: #00C97B;
  --accent-light: rgba(0,201,123,0.1);
  --accent-dark: #00A866;
  --highlight: #D4A51A;
  --highlight-bright: #F5C842;
  --highlight-light: rgba(212,165,26,0.1);
  --blue: #4E9AFF;
  --blue-light: rgba(78,154,255,0.1);
  --red: #FF5252;
  --amber: #E8834A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 40px rgba(212,165,26,0.2);
  --shadow-accent: 0 8px 40px rgba(0,201,123,0.18);
  --glow-gold: 0 0 60px rgba(201,168,76,0.15);
  --glow-accent: 0 0 60px rgba(0,214,143,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(201,168,76,0.3);
  color: #fff;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  background: rgba(6,6,11,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  background: rgba(6,6,11,0.95);
}

.navbar .logo {
  font-family: 'Tajawal', sans-serif;
  font-size: 18px; font-weight: 800; color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.3px;
}
.navbar .logo .logo-dot {
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(201,168,76,0.5); }
  50% { box-shadow: 0 0 24px rgba(201,168,76,0.8); }
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: 'Tajawal', sans-serif; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--highlight); text-shadow: 0 0 20px rgba(201,168,76,0.3); }

.navbar .nav-cta {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  font-family: 'Tajawal', sans-serif; font-size: 13px; font-weight: 700;
  padding: 9px 24px; border-radius: var(--radius-sm); text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 12px rgba(201,168,76,0.2);
}
.navbar .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.mobile-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  color: #fff;
  display: flex; align-items: center;
  padding: 140px 40px 100px;
  position: relative; overflow: hidden;
}

/* Animated gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -20%;
  width: 140%; height: 140%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(212,165,26,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(0,201,123,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 45% at 60% 20%, rgba(232,131,74,0.05) 0%, transparent 60%);
  animation: meshFloat 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

/* Geometric grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-curve { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; overflow: hidden; }
.hero-curve svg { position: absolute; bottom: -1px; width: 100%; height: 120px; }

.hero-center {
  max-width: 840px; margin: 0 auto; width: 100%;
  text-align: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--highlight-bright);
  font-size: 13px; font-weight: 600;
  padding: 10px 24px; border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  animation: badgeGlow 4s ease-in-out infinite alternate;
}
@keyframes badgeGlow {
  0% { box-shadow: 0 0 20px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 40px rgba(201,168,76,0.1); }
}

.hero-center h1 {
  font-family: 'Tajawal', sans-serif;
  font-size: 52px; font-weight: 900; line-height: 1.45;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-center h1 .gold {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright), #F5D76E);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-center h1 .accent-text {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0,214,143,0.3);
}

.hero-center .subtitle {
  font-size: 18px; color: rgba(255,255,255,0.5); line-height: 2;
  margin-bottom: 44px; max-width: 620px; margin-left: auto; margin-right: auto;
  font-weight: 400;
}

.hero-btns {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  padding: 16px 36px; border-radius: 14px; font-weight: 800; font-size: 16px;
  text-decoration: none; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
  position: relative; overflow: hidden;
}
.hero-btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.hero-btn-primary:hover::before { transform: translateX(100%); }
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(201,168,76,0.45);
}
.hero-btn-primary svg { width: 18px; height: 18px; }

.hero-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03); color: #fff;
  padding: 16px 36px; border-radius: 14px; font-weight: 700; font-size: 16px;
  text-decoration: none; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.hero-btn-outline:hover {
  border-color: var(--highlight);
  background: rgba(201,168,76,0.05);
  box-shadow: 0 0 30px rgba(201,168,76,0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-bottom: 44px;
}
.hero-stat {
  text-align: center;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.hero-stat:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}
.hero-stat .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .stat-label { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }

.hero-trust {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.35);
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.04);
}
.hero-trust span svg { width: 16px; height: 16px; color: var(--highlight); }

/* Hero Form (if present) */
.hero-form-wrapper {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  backdrop-filter: blur(20px);
}
.hero-form-wrapper h3 {
  font-family: 'Tajawal', sans-serif; font-size: 18px; font-weight: 700;
  margin-bottom: 6px; color: #fff;
}
.hero-form-wrapper .form-subtitle {
  font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 24px;
}

.hero-form .field { margin-bottom: 14px; }
.hero-form .field label {
  display: block; font-family: 'Tajawal', sans-serif;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); margin-bottom: 6px;
}
.hero-form .field input,
.hero-form .field select {
  width: 100%; padding: 13px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: #fff; font-family: 'Tajawal', sans-serif; font-size: 15px;
  outline: none; transition: all 0.3s;
  -webkit-appearance: none;
}
.hero-form .field select option { background: var(--bg); color: #fff; }
.hero-form .field input::placeholder { color: rgba(255,255,255,0.6); }
.hero-form .field input:focus,
.hero-form .field select:focus {
  border-color: var(--highlight);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 20px rgba(201,168,76,0.08);
}

.submit-btn {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  font-family: 'Tajawal', sans-serif; font-size: 15px; font-weight: 800;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.submit-btn i { width: 18px; height: 18px; }

.form-note { text-align: center; font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 12px; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-title { text-align: center; margin-bottom: 64px; }
.section-title .overline {
  font-family: 'Tajawal', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--highlight);
  letter-spacing: 3px; margin-bottom: 14px; display: block;
  text-transform: uppercase;
}
.section-title h2 {
  font-family: 'Tajawal', sans-serif; font-size: 36px; font-weight: 900;
  color: var(--text-primary); line-height: 1.45;
  letter-spacing: -0.3px;
}
.section-title p {
  font-size: 15px; color: var(--text-muted);
  margin-top: 12px; max-width: 560px;
  margin-left: auto; margin-right: auto; line-height: 1.9;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 110px 40px;
  background: var(--surface);
  position: relative;
}
.how-it-works::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(0,214,143,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.steps {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}

.step {
  text-align: center; padding: 40px 22px 32px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.step .step-num {
  position: absolute; top: -14px; right: 20px;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.step .step-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px; color: var(--accent);
  background: var(--accent-light);
  transition: all 0.3s;
}
.step:hover .step-icon {
  box-shadow: var(--glow-accent);
  border-color: rgba(0,214,143,0.2);
}
.step .step-icon i { width: 24px; height: 24px; }
.step h3 {
  font-family: 'Tajawal', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.85; }

/* ============================================================
   CTA + REGISTER FORM
   ============================================================ */
.cta-section {
  padding: 100px 40px;
  background: linear-gradient(160deg, #0D0A06 0%, #1A1408 40%, #0F1510 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(212,165,26,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 50%, rgba(0,201,123,0.06) 0%, transparent 60%);
  pointer-events: none;
}
/* Geometric pattern for CTA */
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1; max-width: 560px; margin: 0 auto; text-align: center;
}
.cta-section h2 {
  font-family: 'Tajawal', sans-serif; font-size: 32px; font-weight: 900;
  margin-bottom: 14px; line-height: 1.45;
}
.cta-section > .cta-inner > p { font-size: 15px; color: rgba(255,255,255,0.45); margin-bottom: 40px; }

.cta-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px 30px; text-align: right;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.cta-form .field { margin-bottom: 16px; }
.cta-form .field label {
  display: block; font-family: 'Tajawal', sans-serif;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); margin-bottom: 8px;
}
.cta-form .field input,
.cta-form .field select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #fff; font-family: 'Tajawal', sans-serif; font-size: 15px;
  outline: none; transition: all 0.3s;
  -webkit-appearance: none;
}
.cta-form .field select option { background: var(--bg); color: #fff; }
.cta-form .field input::placeholder { color: rgba(255,255,255,0.2); }
.cta-form .field input:focus,
.cta-form .field select:focus {
  border-color: var(--highlight);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 0 20px rgba(201,168,76,0.08);
}

/* ============================================================
   MARKET BENEFITS
   ============================================================ */
.benefits {
  padding: 110px 40px 60px;
  background: var(--bg);
  position: relative;
}

.benefits-grid {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.benefit-card:hover::before { opacity: 1; }
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.benefit-card .card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(0,214,143,0.1);
  transition: all 0.3s;
}
.benefit-card:hover .card-icon {
  box-shadow: var(--glow-accent);
}
.benefit-card .card-icon i { width: 24px; height: 24px; }

.benefit-card h3 {
  font-family: 'Tajawal', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 10px;
}
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.9; }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  padding: 60px 40px 110px;
  background: var(--bg);
  position: relative;
}

.ai-content {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}

.ai-text h3 {
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--highlight); margin-bottom: 14px;
  letter-spacing: 1px;
}
.ai-text h2 {
  font-family: 'Tajawal', sans-serif; font-size: 30px; font-weight: 900;
  color: var(--text-primary); line-height: 1.45; margin-bottom: 18px;
}
.ai-text > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; }

.ai-features { list-style: none; }
.ai-features li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; font-size: 14.5px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.ai-features li:last-child { border-bottom: none; }
.ai-features li .feat-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid rgba(0,214,143,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.ai-features li .feat-icon i { width: 16px; height: 16px; }

.ai-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  color: #fff; position: relative; overflow: hidden;
}
.ai-visual::before {
  content: '';
  position: absolute; top: -40%; right: -30%; width: 80%; height: 180%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.ai-visual-inner { position: relative; z-index: 1; }

.ai-visual .ai-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.3s;
}
.ai-visual .ai-stat:last-child { margin-bottom: 0; }
.ai-visual .ai-stat:hover {
  border-color: var(--border-gold);
  background: rgba(201,168,76,0.03);
}
.ai-visual .ai-stat .stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--highlight-light);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--highlight);
}
.ai-visual .ai-stat .stat-icon i { width: 22px; height: 22px; }
.ai-visual .ai-stat .stat-info .stat-val {
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700;
  line-height: 1.3; color: var(--text-primary);
}
.ai-visual .ai-stat .stat-info .stat-desc { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   BROKERS
   ============================================================ */
.brokers {
  padding: 110px 40px;
  background: var(--surface);
  position: relative;
}
.brokers::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(201,168,76,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.brokers-grid {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative;
}

.broker-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 26px; text-align: center;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.broker-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--highlight), var(--accent), var(--blue));
  opacity: 0; transition: opacity 0.4s;
}
.broker-card:hover::before { opacity: 1; }
.broker-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-gold);
}

.broker-card.recommended { border: 1px solid var(--border-gold); }
.broker-card .rec-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  font-family: 'Tajawal', sans-serif; font-size: 11px; font-weight: 700;
  padding: 5px 18px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

.broker-logo {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.broker-card:hover .broker-logo {
  border-color: var(--border-gold);
}

.broker-card h3 {
  font-family: 'Tajawal', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 6px;
}

.broker-license {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Tajawal', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--accent); background: var(--accent-light);
  border: 1px solid rgba(0,214,143,0.1);
  padding: 4px 12px; border-radius: 8px; margin-bottom: 18px;
}
.broker-license i { width: 12px; height: 12px; }

.broker-features { list-style: none; text-align: right; margin-bottom: 22px; }
.broker-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 13px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.broker-features li:last-child { border-bottom: none; }
.broker-features li i { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.broker-meta {
  display: flex; justify-content: center; gap: 24px;
  padding: 16px 0; margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.broker-meta .meta-item { text-align: center; }
.broker-meta .meta-val {
  font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.broker-meta .meta-label { font-size: 11px; color: var(--text-muted); }

.broker-btn {
  display: block; width: 100%; padding: 13px; text-align: center;
  border-radius: var(--radius-sm); font-family: 'Tajawal', sans-serif;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); cursor: pointer; border: none;
}
.broker-btn.btn-primary {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  box-shadow: 0 4px 16px rgba(201,168,76,0.2);
}
.broker-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.broker-btn.btn-outline {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}
.broker-btn.btn-outline:hover {
  border-color: var(--highlight);
  color: var(--highlight);
  background: rgba(212,165,26,0.04);
  box-shadow: 0 0 20px rgba(212,165,26,0.08);
}

/* More Brokers card */
.broker-card.broker-more {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  border: 2px dashed var(--border-gold);
  background: var(--highlight-light);
}
.broker-card.broker-more h3 { margin-bottom: 8px; }
.broker-card.broker-more p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.broker-card.broker-more .broker-btn { margin-top: 16px; }
.broker-more-plus {
  font-size: 3rem; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 900;
}

/* ============================================================
   WHY LICENSED
   ============================================================ */
.why-licensed {
  padding: 90px 40px;
  background: var(--bg);
}

.why-grid {
  max-width: 840px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.why-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.why-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}
.why-card .why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--highlight-light);
  border: 1px solid var(--border-gold);
  color: var(--highlight);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-card .why-icon i { width: 20px; height: 20px; }
.why-card h4 {
  font-family: 'Tajawal', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 6px;
}
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.85; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 100px 40px;
  background: var(--surface);
  position: relative;
}
.testimonials-grid {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 18px;
}
.testimonial-stars svg {
  width: 16px; height: 16px;
  fill: var(--highlight) !important;
  stroke: var(--highlight);
}
.testimonial-card.hidden-card { display: none; }
.show-more-btn {
  display: block; margin: 36px auto 0;
  padding: 13px 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}
.show-more-btn:hover {
  border-color: var(--highlight);
  color: var(--highlight);
  background: rgba(201,168,76,0.04);
}

/* Add Review Form */
.add-review-wrap {
  max-width: 560px; margin: 48px auto 0;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.add-review-wrap h3 {
  font-family: 'Tajawal', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 24px; text-align: center;
  color: var(--text-primary);
}
.review-field { margin-bottom: 18px; }
.review-field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
  font-family: 'Tajawal', sans-serif;
}
.review-field input,
.review-field textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'Tajawal', sans-serif;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary); direction: rtl;
  box-sizing: border-box; outline: none;
  transition: all 0.3s;
}
.review-field input:focus,
.review-field textarea:focus {
  border-color: var(--highlight);
  background: rgba(201,168,76,0.03);
}
.review-field textarea { min-height: 100px; resize: vertical; }
.review-stars-input { display: flex; gap: 6px; direction: ltr; margin-top: 4px; }
.review-stars-input span {
  font-size: 28px; cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s; user-select: none;
}
.review-stars-input span.active { color: var(--highlight); text-shadow: 0 0 12px rgba(201,168,76,0.4); }
.review-submit-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  color: #0A0A0F;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer; transition: all 0.3s; margin-top: 8px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.2);
}
.review-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.review-msg {
  text-align: center; font-size: 14px;
  margin-top: 14px; font-family: 'Tajawal', sans-serif;
  display: none;
}
.review-msg.success { color: var(--accent); display: block; }
.review-msg.error { color: var(--red); display: block; }

.testimonial-card blockquote {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.95; margin-bottom: 22px; font-style: normal;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--highlight-light);
  border: 1px solid var(--border-gold);
  color: var(--highlight);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px; font-weight: 800; flex-shrink: 0;
}
.testimonial-author .author-name {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--text-primary);
}
.testimonial-author .author-loc { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   COMPARISON TABLE (if used)
   ============================================================ */
.comparison { padding: 80px 40px; background: var(--bg); }
.comparison-wrapper { max-width: 1000px; margin: 0 auto; overflow-x: auto; }
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-family: 'Tajawal', sans-serif; font-size: 13px; min-width: 700px;
}
.comparison-table thead th {
  background: var(--surface); color: var(--highlight);
  padding: 14px 16px; font-weight: 700; font-size: 12px;
  text-align: center; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th:first-child { border-radius: 0 10px 0 0; text-align: right; }
.comparison-table thead th:last-child { border-radius: 10px 0 0 0; }
.comparison-table tbody td {
  padding: 14px 16px; text-align: center;
  border-bottom: 1px solid var(--border); color: var(--text-secondary);
}
.comparison-table tbody td:first-child {
  text-align: right; font-weight: 700; color: var(--text-primary);
}
.comparison-table tbody tr:hover { background: rgba(201,168,76,0.03); }
.comparison-table .check-yes { color: var(--accent); font-weight: 700; }

/* ============================================================
   OUR ROLE / MATCHING
   ============================================================ */
.our-role {
  padding: 100px 40px;
  background: var(--surface);
  position: relative; overflow: hidden;
}
.our-role::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 0% 50%, rgba(0,201,123,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 100% 30%, rgba(212,165,26,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.role-content {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  position: relative;
}

.role-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; position: relative;
}

.role-visual .match-step {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 14px;
  transition: all 0.3s;
}
.role-visual .match-step:last-child { margin-bottom: 0; }
.role-visual .match-step:hover {
  transform: translateX(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.match-step .ms-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--border);
}
.match-step .ms-icon i { width: 22px; height: 22px; }
.match-step .ms-icon.green {
  background: var(--accent-light); color: var(--accent);
  border-color: rgba(0,214,143,0.1);
}
.match-step .ms-icon.gold {
  background: var(--highlight-light); color: var(--highlight);
  border-color: var(--border-gold);
}
.match-step .ms-icon.blue {
  background: var(--blue-light); color: var(--blue);
  border-color: rgba(59,130,246,0.1);
}

.match-step .ms-text strong {
  display: block; font-family: 'Tajawal', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px;
}
.match-step .ms-text span { font-size: 12.5px; color: var(--text-muted); }

.match-arrow {
  text-align: center; color: var(--text-muted); margin: 8px 0;
  font-size: 18px; opacity: 0.4;
}

.role-text h3 {
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--highlight); margin-bottom: 14px; letter-spacing: 1px;
}
.role-text h2 {
  font-family: 'Tajawal', sans-serif; font-size: 30px; font-weight: 900;
  color: var(--text-primary); line-height: 1.45; margin-bottom: 18px;
}
.role-text > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; line-height: 2; }

.role-points { list-style: none; }
.role-points li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; font-size: 14.5px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.role-points li:last-child { border-bottom: none; }
.role-points li .rp-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--highlight-light);
  border: 1px solid var(--border-gold);
  color: var(--highlight);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 3px;
}
.role-points li .rp-icon i { width: 15px; height: 15px; }

.role-cta {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-accent);
}
.role-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,214,143,0.3);
}
.role-cta i { width: 18px; height: 18px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 110px 40px 100px;
  background: var(--surface);
}

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%; background: none; border: none; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-family: 'Tajawal', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  text-align: right; gap: 16px; transition: color 0.3s;
}
.faq-question:hover { color: var(--highlight); }

.faq-question .faq-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-question .faq-icon i { width: 16px; height: 16px; color: var(--text-muted); }

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--highlight-light);
  border-color: var(--border-gold);
}
.faq-item.active .faq-question .faq-icon i { color: var(--highlight); }
.faq-item.active .faq-question { color: var(--highlight); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-answer p { font-size: 14.5px; color: var(--text-secondary); line-height: 2; padding-left: 50px; }

/* ============================================================
   RESOURCES
   ============================================================ */
.resources {
  padding: 100px 40px;
  background: var(--bg);
}
.resources-grid {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px; text-align: center;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.resource-card:hover::before { opacity: 1; }
.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,214,143,0.15);
  box-shadow: var(--glow-accent);
}
.resource-card .res-icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border: 1px solid var(--border);
}
.resource-card .res-icon.orange {
  background: rgba(230,126,34,0.08); color: #E67E22;
  border-color: rgba(230,126,34,0.15);
}
.resource-card .res-icon.blue {
  background: var(--blue-light); color: var(--blue);
  border-color: rgba(59,130,246,0.15);
}
.resource-card .res-icon.green {
  background: var(--accent-light); color: var(--accent);
  border-color: rgba(0,214,143,0.15);
}
.resource-card .res-icon i { width: 28px; height: 28px; }
.resource-card h3 {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 10px;
}
.resource-card p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 20px;
}
.resource-card .res-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--accent); text-decoration: none;
  transition: all 0.3s;
}
.resource-card .res-link:hover { gap: 12px; color: var(--highlight); }
.resource-card .res-link i { width: 16px; height: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: rgba(255,255,255,0.4);
  padding: 56px 40px 32px;
}

.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: start; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  font-family: 'Tajawal', sans-serif; font-size: 18px; font-weight: 800; color: #fff;
  margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.footer-brand .footer-logo .logo-dot {
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-bright));
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.footer-brand p { font-size: 13px; max-width: 300px; line-height: 1.9; }

.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-family: 'Tajawal', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: all 0.3s;
}
.footer-links a:hover { color: var(--highlight); }

.footer-disclaimer {
  max-width: 960px; margin: 28px auto 0;
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.footer-disclaimer p { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 2; }

.footer-copyright {
  max-width: 960px; margin: 24px auto 0; text-align: center;
  font-size: 12px; font-family: 'Tajawal', sans-serif; color: rgba(255,255,255,0.2);
}


/* Social proof notification removed */

/* Urgency bar removed */

/* ============================================================
   DARK MODE TOGGLE
   ============================================================ */
.theme-toggle {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.5);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  margin-right: 8px;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.08);
  color: var(--highlight);
  border-color: var(--border-gold);
}
.theme-toggle i { width: 18px; height: 18px; }

/* ============================================================
   LIGHT MODE — "Warm Ivory" — Luxurious, Human, Organic
   ============================================================ */
body.dark-mode {
  --bg: #F8F3EB;
  --surface: #FFFBF3;
  --surface-alt: #F0E9DC;
  --surface-glass: rgba(255,251,243,0.85);
  --border: rgba(44,35,24,0.07);
  --border-hover: rgba(44,35,24,0.14);
  --border-gold: rgba(160,120,20,0.2);
  --text-primary: #2C2318;
  --text-secondary: #6B5E4E;
  --text-muted: #9C8F7F;
  --accent: #1A7A4C;
  --accent-light: rgba(26,122,76,0.07);
  --accent-dark: #14633C;
  --highlight: #B8860B;
  --highlight-bright: #D4A51A;
  --highlight-light: rgba(184,134,11,0.07);
  --blue: #3A6FB5;
  --blue-light: rgba(58,111,181,0.07);
  --shadow-sm: 0 2px 8px rgba(44,35,24,0.04);
  --shadow-md: 0 8px 32px rgba(44,35,24,0.06);
  --shadow-lg: 0 16px 48px rgba(44,35,24,0.08);
  --shadow-gold: 0 8px 32px rgba(184,134,11,0.12);
  --shadow-accent: 0 8px 32px rgba(26,122,76,0.1);
  --glow-gold: 0 0 40px rgba(184,134,11,0.08);
  --glow-accent: 0 0 40px rgba(26,122,76,0.06);
}

/* Remove noise overlay in light mode */
body.dark-mode::after { opacity: 0; }

/* Navbar */
body.dark-mode .navbar {
  background: rgba(248,243,235,0.92);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: rgba(44,35,24,0.06);
}
body.dark-mode .navbar .logo { color: #2C2318; }
body.dark-mode .navbar .logo .logo-dot {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  box-shadow: 0 0 10px rgba(184,134,11,0.4);
}
body.dark-mode .nav-links a { color: #9C8F7F; }
body.dark-mode .nav-links a:hover { color: #B8860B; }
body.dark-mode .navbar .nav-cta {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  color: #FFFBF3;
  box-shadow: 0 2px 12px rgba(184,134,11,0.2);
}
body.dark-mode .mobile-toggle { color: #2C2318; }
body.dark-mode .theme-toggle {
  background: rgba(44,35,24,0.04);
  border-color: rgba(44,35,24,0.08);
  color: #9C8F7F;
}
body.dark-mode .theme-toggle:hover {
  background: rgba(44,35,24,0.08);
  color: #B8860B;
  border-color: rgba(184,134,11,0.2);
}

/* Hero — warm ivory gradient with golden glow */
body.dark-mode .hero {
  background: linear-gradient(160deg, #F5EFE3 0%, #EDE4D3 35%, #E6DBCA 70%, #E0D5C2 100%);
  color: #2C2318;
}
body.dark-mode .hero::before {
  background:
    radial-gradient(ellipse 50% 50% at 25% 35%, rgba(184,134,11,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 75% 65%, rgba(26,122,76,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 50% 20%, rgba(200,160,60,0.04) 0%, transparent 50%);
}
body.dark-mode .hero::after {
  background-image:
    linear-gradient(rgba(44,35,24,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,35,24,0.03) 1px, transparent 1px);
}
body.dark-mode .hero-badge {
  background: rgba(184,134,11,0.08);
  border-color: rgba(184,134,11,0.2);
  color: #B8860B;
}
body.dark-mode .hero-center h1 .accent-text {
  color: #1A7A4C;
  text-shadow: none;
}
body.dark-mode .hero-center h1 .gold {
  background: linear-gradient(135deg, #96700A, #B8860B, #D4A51A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.dark-mode .hero-center .subtitle { color: #9C8F7F; }
body.dark-mode .hero-btn-primary {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  color: #FFFBF3;
  box-shadow: 0 4px 24px rgba(184,134,11,0.25);
}
body.dark-mode .hero-btn-primary:hover {
  box-shadow: 0 8px 36px rgba(184,134,11,0.35);
}
body.dark-mode .hero-btn-outline {
  border-color: rgba(44,35,24,0.15);
  color: #2C2318;
  background: rgba(255,251,243,0.5);
}
body.dark-mode .hero-btn-outline:hover {
  border-color: #B8860B;
  background: rgba(184,134,11,0.05);
}
body.dark-mode .hero-stat {
  background: rgba(255,251,243,0.6);
  border-color: rgba(44,35,24,0.06);
  backdrop-filter: blur(10px);
}
body.dark-mode .hero-stat:hover {
  border-color: rgba(184,134,11,0.2);
  box-shadow: 0 0 30px rgba(184,134,11,0.08);
}
body.dark-mode .hero-stat .stat-num {
  background: linear-gradient(135deg, #96700A, #B8860B);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.dark-mode .hero-stat .stat-label { color: #9C8F7F; }
body.dark-mode .hero-trust span {
  color: #9C8F7F;
  background: rgba(255,251,243,0.5);
  border-color: rgba(44,35,24,0.05);
}
body.dark-mode .hero-trust span svg { color: #B8860B; }

/* Hero form in light mode */
body.dark-mode .hero-form .field input,
body.dark-mode .hero-form .field select {
  background: rgba(44,35,24,0.06);
  border-color: rgba(44,35,24,0.15);
  color: #2C2318;
}
body.dark-mode .hero-form .field input::placeholder {
  color: rgba(44,35,24,0.5);
}
body.dark-mode .hero-form .field input:focus,
body.dark-mode .hero-form .field select:focus {
  border-color: #B8860B;
  background: rgba(184,134,11,0.06);
}
body.dark-mode .hero-form .field label {
  color: rgba(44,35,24,0.6);
}

/* Urgency bar removed */


/* Section titles */
body.dark-mode .section-title .overline { color: #B8860B; }

/* Cards — warm ivory with subtle golden border on hover */
body.dark-mode .benefit-card:hover,
body.dark-mode .step:hover,
body.dark-mode .broker-card:hover,
body.dark-mode .testimonial-card:hover,
body.dark-mode .resource-card:hover,
body.dark-mode .why-card:hover {
  border-color: rgba(184,134,11,0.2);
  box-shadow: 0 12px 40px rgba(44,35,24,0.08), 0 0 30px rgba(184,134,11,0.04);
}

/* Card icons */
body.dark-mode .benefit-card .card-icon {
  background: rgba(26,122,76,0.06);
  border-color: rgba(26,122,76,0.1);
  color: #1A7A4C;
}
body.dark-mode .step .step-icon {
  background: rgba(26,122,76,0.06);
  border-color: rgba(26,122,76,0.1);
  color: #1A7A4C;
}
body.dark-mode .step .step-num {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  color: #FFFBF3;
  box-shadow: 0 3px 12px rgba(184,134,11,0.25);
}

/* Broker cards */
body.dark-mode .broker-logo {
  background: rgba(44,35,24,0.03);
  border-color: rgba(44,35,24,0.06);
}
body.dark-mode .broker-license {
  color: #1A7A4C;
  background: rgba(26,122,76,0.06);
  border-color: rgba(26,122,76,0.1);
}
body.dark-mode .broker-meta .meta-val {
  background: linear-gradient(135deg, #96700A, #B8860B);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.dark-mode .broker-btn.btn-primary {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  color: #FFFBF3;
}
body.dark-mode .broker-btn.btn-outline {
  background: transparent;
  border-color: rgba(44,35,24,0.12);
  color: #2C2318;
}
body.dark-mode .broker-btn.btn-outline:hover {
  border-color: #B8860B;
  color: #B8860B;
  background: rgba(184,134,11,0.04);
}
body.dark-mode .broker-card.broker-more {
  border-color: rgba(184,134,11,0.25);
  background: rgba(184,134,11,0.04);
}

/* Why icons */
body.dark-mode .why-card .why-icon {
  background: rgba(184,134,11,0.06);
  border-color: rgba(184,134,11,0.15);
  color: #B8860B;
}

/* CTA section — keep dark for high contrast */
body.dark-mode .cta-section {
  background: linear-gradient(160deg, #1C1810 0%, #2A2210 40%, #1A2418 100%);
  color: #fff;
}
body.dark-mode .cta-section h2 { color: #FFFBF3; }
body.dark-mode .cta-section > .cta-inner > p { color: rgba(255,251,243,0.5); }

/* AI section */
body.dark-mode .ai-visual {
  background: var(--surface-alt);
  border-color: rgba(44,35,24,0.08);
}
body.dark-mode .ai-visual::before {
  background: radial-gradient(ellipse, rgba(184,134,11,0.04) 0%, transparent 70%);
}
body.dark-mode .ai-visual .ai-stat {
  background: rgba(255,251,243,0.5);
  border-color: rgba(44,35,24,0.06);
}
body.dark-mode .ai-visual .ai-stat:hover {
  border-color: rgba(184,134,11,0.2);
  background: rgba(184,134,11,0.04);
}
body.dark-mode .ai-visual .ai-stat .stat-icon {
  background: rgba(184,134,11,0.07);
  border-color: rgba(184,134,11,0.15);
  color: #B8860B;
}
body.dark-mode .ai-visual .ai-stat .stat-info .stat-val { color: #2C2318; }
body.dark-mode .ai-visual .ai-stat .stat-info .stat-desc { color: #9C8F7F; }

/* AI features icons */
body.dark-mode .ai-features li .feat-icon {
  background: rgba(26,122,76,0.06);
  border-color: rgba(26,122,76,0.1);
  color: #1A7A4C;
}

/* Our Role */
body.dark-mode .match-step .ms-icon.green {
  background: rgba(26,122,76,0.06);
  color: #1A7A4C;
  border-color: rgba(26,122,76,0.1);
}
body.dark-mode .match-step .ms-icon.gold {
  background: rgba(184,134,11,0.06);
  color: #B8860B;
  border-color: rgba(184,134,11,0.15);
}
body.dark-mode .match-step .ms-icon.blue {
  background: rgba(58,111,181,0.06);
  color: #3A6FB5;
  border-color: rgba(58,111,181,0.1);
}
body.dark-mode .role-points li .rp-icon {
  background: rgba(184,134,11,0.06);
  border-color: rgba(184,134,11,0.15);
  color: #B8860B;
}
body.dark-mode .role-cta {
  background: linear-gradient(135deg, #1A7A4C, #14633C);
  box-shadow: 0 4px 20px rgba(26,122,76,0.2);
}

/* Testimonial avatars */
body.dark-mode .testimonial-avatar {
  background: rgba(184,134,11,0.07);
  border-color: rgba(184,134,11,0.15);
  color: #B8860B;
}

/* Review form */
body.dark-mode .review-field input,
body.dark-mode .review-field textarea {
  background: rgba(255,251,243,0.6);
  border-color: rgba(44,35,24,0.08);
  color: #2C2318;
}
body.dark-mode .review-field input:focus,
body.dark-mode .review-field textarea:focus {
  border-color: rgba(184,134,11,0.3);
  background: rgba(255,251,243,0.8);
}
body.dark-mode .review-submit-btn {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  color: #FFFBF3;
}
body.dark-mode .show-more-btn {
  background: rgba(44,35,24,0.03);
  border-color: rgba(44,35,24,0.1);
  color: #2C2318;
}
body.dark-mode .show-more-btn:hover {
  border-color: #B8860B;
  color: #B8860B;
}

/* FAQ */
body.dark-mode .faq-question:hover { color: #B8860B; }
body.dark-mode .faq-item.active .faq-question { color: #B8860B; }
body.dark-mode .faq-item.active .faq-question .faq-icon {
  background: rgba(184,134,11,0.07);
  border-color: rgba(184,134,11,0.2);
}
body.dark-mode .faq-item.active .faq-question .faq-icon i { color: #B8860B; }

/* Resources */
body.dark-mode .resource-card .res-icon.orange {
  background: rgba(200,120,40,0.07);
  color: #C87828;
  border-color: rgba(200,120,40,0.12);
}
body.dark-mode .resource-card .res-icon.blue {
  background: rgba(58,111,181,0.06);
  color: #3A6FB5;
  border-color: rgba(58,111,181,0.1);
}
body.dark-mode .resource-card .res-icon.green {
  background: rgba(26,122,76,0.06);
  color: #1A7A4C;
  border-color: rgba(26,122,76,0.1);
}
body.dark-mode .resource-card .res-link { color: #1A7A4C; }
body.dark-mode .resource-card .res-link:hover { color: #B8860B; }

/* Footer */
body.dark-mode .footer {
  background: #2C2318;
  border-top-color: rgba(255,251,243,0.06);
  color: rgba(255,251,243,0.45);
}
body.dark-mode .footer-brand .footer-logo { color: #FFFBF3; }
body.dark-mode .footer-brand .footer-logo .logo-dot {
  background: linear-gradient(135deg, #B8860B, #D4A51A);
  box-shadow: 0 0 10px rgba(184,134,11,0.4);
}
body.dark-mode .footer-links a { color: rgba(255,251,243,0.45); }
body.dark-mode .footer-links a:hover { color: #D4A51A; }
body.dark-mode .footer-disclaimer {
  background: rgba(255,251,243,0.03);
  border-color: rgba(255,251,243,0.06);
}
body.dark-mode .footer-disclaimer p { color: rgba(255,251,243,0.3); }
body.dark-mode .footer-copyright { color: rgba(255,251,243,0.2); }

/* Mobile nav */
body.dark-mode .nav-links.open {
  background: rgba(248,243,235,0.98);
}
body.dark-mode .nav-links.open a { color: #6B5E4E; }
body.dark-mode .nav-links.open a:hover { color: #B8860B; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px; right: 0; left: 0;
  background: rgba(6,6,11,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  animation: navSlide 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-links.open a { font-size: 15px; padding: 10px 0; }
.nav-links.open .nav-cta {
  text-align: center; margin-top: 8px; padding: 12px;
}
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero { padding: 160px 30px 80px; }
  .hero-center h1 { font-size: 38px; }

  .benefits { padding: 80px 24px 50px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .ai-section { padding: 50px 24px 80px; }
  .ai-content { grid-template-columns: 1fr; gap: 40px; }

  .how-it-works { padding: 80px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .brokers { padding: 80px 24px; }
  .brokers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .why-licensed { padding: 70px 24px; }

  .testimonials { padding: 70px 24px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .our-role { padding: 80px 24px; }
  .role-content { grid-template-columns: 1fr; gap: 40px; }
  .role-text h2 { font-size: 24px; }

  .resources { padding: 70px 24px; }

  .section-title h2 { font-size: 28px; }
  .cta-section h2 { font-size: 26px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .hero { padding: 120px 16px 50px; min-height: auto; }
  .hero-center h1 { font-size: 28px; line-height: 1.55; }
  .hero-center .subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero-btns { gap: 12px; }
  .hero-btn-primary, .hero-btn-outline { padding: 13px 24px; font-size: 14px; width: 100%; justify-content: center; }
  .hero-stats { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .hero-stat { padding: 14px 16px; }
  .hero-stat .stat-num { font-size: 24px; }
  .hero-trust { gap: 10px; flex-direction: column; align-items: center; }

  .benefits { padding: 60px 16px 40px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-card { padding: 26px 22px; }

  .ai-section { padding: 40px 16px 60px; }
  .ai-content { grid-template-columns: 1fr; gap: 24px; }
  .ai-text h2 { font-size: 22px; }
  .ai-visual { padding: 28px 20px; }

  .how-it-works { padding: 60px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .step { padding: 30px 16px 24px; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 12px; }

  .brokers { padding: 60px 16px; }
  .brokers-grid { grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin: 0 auto; }

  .why-licensed { padding: 50px 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }

  .cta-section { padding: 50px 16px; }
  .cta-section h2 { font-size: 22px; }
  .cta-form { padding: 28px 22px; }
  .cta-inner { max-width: 100%; }

  .faq { padding: 60px 16px; }
  .faq-question { font-size: 14px; padding: 18px 0; }
  .faq-answer p { padding-left: 0; font-size: 13px; }

  .testimonials { padding: 50px 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { padding: 24px 20px; }

  .our-role { padding: 60px 16px; }
  .role-content { grid-template-columns: 1fr; gap: 24px; }
  .role-text h2 { font-size: 22px; }
  .role-visual { padding: 24px 18px; }

  .resources { padding: 50px 16px; }
  .resources-grid { grid-template-columns: 1fr; gap: 14px; }

  .comparison { padding: 50px 16px; }

  .footer { padding: 36px 16px 20px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { flex-direction: column; gap: 10px; }

  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 22px; }
  .section-title p { font-size: 13px; }

}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-center h1 { font-size: 24px; }
  .hero-badge { font-size: 11px; padding: 8px 16px; }
  .hero-stat .stat-num { font-size: 20px; }
  .hero-stat .stat-label { font-size: 11px; }
  .hero-stats { gap: 8px; }

  .steps { grid-template-columns: 1fr; gap: 12px; }

  .cta-section h2 { font-size: 20px; }
  .cta-form { padding: 22px 18px; }

  .broker-card { padding: 26px 20px; }
  .broker-meta { gap: 12px; }
  .broker-meta .meta-val { font-size: 18px; }

  .benefit-card { padding: 22px 18px; }

  .why-card { padding: 20px; gap: 12px; }
  .why-card h4 { font-size: 14px; }
  .why-card p { font-size: 12px; }

  .footer-disclaimer { padding: 16px 18px; }
  .footer-disclaimer p { font-size: 11px; }

  .add-review-wrap { padding: 26px 20px; }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  .hero-center { max-width: 920px; }
  .hero-center h1 { font-size: 56px; }
  .benefits-grid { max-width: 1140px; }
  .brokers-grid { max-width: 1140px; }
  .testimonials-grid { max-width: 1140px; }
  .resources-grid { max-width: 1140px; }
}
