/* ============================================================
   QISTAS — Marketing Website Stylesheet
   Legal-Tech SaaS Platform | Deep Navy + Gold
   ============================================================ */

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

:root {
  --navy:       #0D1B3E;
  --navy-dark:  #070F22;
  --navy-mid:   #142244;
  --navy-light: #1E3160;
  --gold:       #C9A84C;
  --gold-light: #DFC07A;
  --gold-dark:  #A8872D;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --bg-gray:    #F2F4F8;
  --text-dark:  #0D1B3E;
  --text-mid:   #374671;
  --text-muted: #6B7A99;
  --border:     #E0E5F0;
  --border-mid: #C8D0E0;
  --green:      #22C55E;
  --blue:       #3B82F6;
  --shadow-sm:  0 2px 8px rgba(13, 27, 62, 0.08);
  --shadow-md:  0 8px 32px rgba(13, 27, 62, 0.12);
  --shadow-lg:  0 20px 64px rgba(13, 27, 62, 0.18);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.22);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.gold-text { color: var(--gold); }
.light { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

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

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 15, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text.light { color: rgba(255,255,255,0.9); }

.logo-dot { color: var(--gold); }

.logo-img {
  height: 60px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 6px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  padding: 9px 20px;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Language Switcher ──────────────────────────────────────── */
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-family: 'Cairo', 'Inter', sans-serif;
}

.lang-switch-btn:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.45);
  background: rgba(201, 168, 76, 0.07);
}

.lang-desktop { display: inline-flex; align-items: center; }
.lang-switch-item { display: none; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(30, 49, 96, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, #070F22 0%, #0D1B3E 50%, #142244 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-content { animation: fadeInUp 0.9s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(201, 168, 76, 0.06);
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

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

.hero-arabic {
  margin-bottom: 32px;
}

.arabic-text {
  font-size: 15px;
  color: rgba(201, 168, 76, 0.75);
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item i { color: var(--gold); font-size: 11px; }

.trust-sep {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
}

/* Dashboard Mockup */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.9s 0.3s ease both;
}

.dashboard-mockup {
  background: #0F1D40;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #28CA41; }

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 52px;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
}

.sidebar-item {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  transition: all 0.2s;
  cursor: default;
}

.sidebar-item.active {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mockup-title-block { display: flex; flex-direction: column; gap: 6px; }

.mline {
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}
.mline.w60 { width: 120px; }
.mline.w40 { width: 80px; }
.mline.bold { background: rgba(255,255,255,0.2); height: 10px; }
.mline.thin { background: rgba(255,255,255,0.08); }

.mockup-badge-pill {
  width: 70px; height: 22px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stat-card.accent {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.2);
}

.stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mockup-table { display: flex; flex-direction: column; gap: 7px; }

.table-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}

.table-row.header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}

.tcell {
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  flex: 1;
}

.tcell.w50 { flex: 2.5; }
.tcell.w40 { flex: 2; }
.tcell.w55 { flex: 2.75; }
.tcell.w45 { flex: 2.25; }
.tcell.w30 { flex: 1.5; background: rgba(201,168,76,0.25); }
.tcell.w25 { flex: 1.25; }
.tcell.w20 { flex: 1; }
.tcell.gold { background: rgba(201, 168, 76, 0.3); }
.tcell.green { background: rgba(34, 197, 94, 0.3); }
.tcell.blue { background: rgba(59, 130, 246, 0.3); }

.hero-glow {
  position: absolute;
  bottom: -60px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  animation: float 2s ease-in-out infinite;
  font-size: 14px;
}

/* ── Stats Band ─────────────────────────────────────────────── */
.stats-band {
  background: var(--navy);
  padding: 0;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.stats-grid {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  margin: 20px 0;
}

/* ── Features ───────────────────────────────────────────────── */
.features { background: var(--white); }

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

.feature-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 22px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.08));
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Benefits ───────────────────────────────────────────────── */
.benefits { background: var(--bg-gray); }

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-check {
  width: 28px; height: 28px;
  min-width: 28px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 11px;
  margin-top: 2px;
}

.benefits-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.benefits-list p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Benefits Visual */
.benefits-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-showcase {
  position: relative;
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-ring {
  position: relative;
  width: 180px; height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
}

.ring-1 { width: 120px; height: 120px; animation: spin-slow 20s linear infinite; border-top-color: rgba(201,168,76,0.5); }
.ring-2 { width: 150px; height: 150px; animation: spin-slow 30s linear infinite reverse; border-right-color: rgba(201,168,76,0.35); }
.ring-3 { width: 180px; height: 180px; animation: spin-slow 40s linear infinite; border-bottom-color: rgba(201,168,76,0.2); }

.showcase-core {
  width: 80px; height: 80px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.floating-card i {
  color: var(--gold);
  font-size: 18px;
}

.floating-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.floating-card span {
  font-size: 11px;
  color: var(--text-muted);
}

.card-1 { top: 10px; left: -60px; animation-delay: 0s; }
.card-2 { top: 10px; right: -60px; animation-delay: 1.5s; }
.card-3 { bottom: 10px; left: 50%; transform: translateX(-50%); animation-delay: 3s; }

/* ── Audience ───────────────────────────────────────────────── */
.audience { background: var(--white); }

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

.audience-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.audience-card.featured {
  background: var(--navy);
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-lg);
}

.audience-card.featured h3,
.audience-card.featured p { color: rgba(255,255,255,0.85); }

.audience-card.featured h3 { color: var(--white); }

.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.audience-icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin: 0 auto 20px;
}

.audience-card.featured .audience-icon {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.3);
}

.audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.audience-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(201,168,76,0.06);
}

/* ── Vision ─────────────────────────────────────────────────── */
.vision {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 60%, rgba(201,168,76,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #070F22, #0D1B3E);
}

.vision-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.vision-inner .section-label { margin-bottom: 16px; }

.vision-text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}

.vision-text strong { color: var(--gold); font-weight: 600; }

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.pillar:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 14px;
}

.pillar h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ── Waitlist ───────────────────────────────────────────────── */
.waitlist { background: var(--off-white); }

.waitlist-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

.waitlist-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.waitlist-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form { margin-bottom: 0; }

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition);
  appearance: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.btn-submit {
  height: 52px;
  padding: 0 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-note i { color: var(--gold); font-size: 11px; }

/* Waitlist Success */
.waitlist-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  margin-top: 20px;
  animation: fadeInUp 0.5s ease;
}

.waitlist-success.visible { display: block; }

.success-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 16px;
}

.waitlist-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.waitlist-success p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand { max-width: 340px; }

.footer-logo { margin-bottom: 18px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-arabic {
  font-size: 13px;
  color: rgba(201,168,76,0.6);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  color: var(--gold);
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
}

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos][data-aos-delay="500"] { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Large Tablet (≤1100px) ─────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-pillars { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet (≤900px) ────────────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 18px; }

  .navbar { overflow: visible; }
  .nav-container { position: relative; }

  .hamburger { display: flex; }
  .lang-desktop { display: none !important; }
  .lang-switch-item { display: list-item !important; }
  .lang-switch-item .lang-switch-btn {
    display: block;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
    text-align: center;
    font-size: 13px;
    letter-spacing: 0;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 15, 34, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 25px;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-link.nav-cta { text-align: center; margin: 8px 0 0; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-tagline, .hero-arabic { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: flex; justify-content: center; }
  .dashboard-mockup { transform: none; max-width: 460px; width: 100%; }
  .hero-scroll-hint { display: none; }

  .benefits-inner { grid-template-columns: 1fr; gap: 48px; }
  .benefits-visual { order: -1; }

  .stats-grid { flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
  .stat-divider:nth-child(4) { display: none; }
}

/* ── Mobile (≤640px) ────────────────────────────────────────── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .vision-pillars { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-grid { flex-direction: column; }
  .stat-divider { display: none; }
  .stat-item { min-width: 100%; padding: 28px 24px; }

  .form-row { flex-direction: column; }
  .form-group { min-width: 100%; }
  .btn-submit { width: 100%; justify-content: center; height: 52px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .card-1, .card-2, .card-3 {
    display: none;
  }

  .benefit-showcase { width: 200px; height: 200px; }
  .showcase-core { width: 70px; height: 70px; }

  .hero-title { font-size: 34px; }
  .btn { font-size: 14px; padding: 12px 22px; }
}

/* ── Extra Small Mobile (≤480px) ───────────────────────────── */
@media (max-width: 480px) {
  .logo-img { height: 50px; }
  .hero { padding: 92px 0 44px; }
  .hero-title { font-size: 30px; }
  .hero-badge { font-size: 11px; letter-spacing: 1px; }
  .hero-tagline { font-size: 15px; }

  .dashboard-mockup { max-width: 100%; }
  .mockup-main { padding: 14px; gap: 12px; }
  .mockup-stats { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* ── Small Mobile (≤400px) ──────────────────────────────────── */
@media (max-width: 400px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .vision-pillars { grid-template-columns: 1fr; }
}
