/* ── Axentra Shared Theme ──────────────────────────────────────────
   Design tokens and reusable component styles used across all pages
   so the site feels like one cohesive product.
   ─────────────────────────────────────────────────────────────────── */

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

:root {
  --navy:       #0A1628;
  --navy-mid:   #0F2040;
  --navy-light: #162848;
  --gold:       #C9A84C;
  --gold-light: #E2C57A;
  --gold-dim:   rgba(201,168,76,0.12);
  --gold-bdr:   rgba(201,168,76,0.28);
  --teal:       #2BAAAF;
  --white:      #FFFFFF;
  --off-white:  #F4F6F9;
  --text-body:  #8A9BB5;
  --text-mid:   #C2CEDF;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Geometric pattern overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.025) 60px,
      rgba(201,168,76,0.025) 61px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 60px,
      rgba(201,168,76,0.025) 60px,
      rgba(201,168,76,0.025) 61px
    );
}

/* ── NAV ───────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(10,22,40,0.96);
  border-bottom-color: rgba(201,168,76,0.15);
  backdrop-filter: blur(12px);
}
.logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; font-weight: 500;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.01em;
}
.logo .x { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
}
.nav-link {
  font-size: 13px; font-weight: 400;
  color: var(--text-mid); text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link.active { color: var(--gold-light); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold-bdr);
  color: var(--gold-light);
  padding: 0.45rem 1.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  border-radius: 3px; text-decoration: none; letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

.lang-switch {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-switch:hover { color: var(--gold-light); border-color: var(--gold-bdr); background: var(--gold-dim); }
.lang-switch-globe {
  width: 12px; height: 12px; stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem clamp(1.5rem, 5vw, 3.5rem) 5rem;
  overflow: hidden;
}

.hero-geo {
  position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 680px; height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  pointer-events: none;
}
.hero-geo::before {
  content: '';
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
}
.hero-geo::after {
  content: '';
  position: absolute; inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.04);
}
.hero-geo-inner {
  position: absolute; inset: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201,168,76,0.04) 0%, transparent 70%);
}

.hero-inner { max-width: 680px; position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 1.75rem;
}
.hero-kicker-line { width: 32px; height: 1px; background: var(--gold); }
.hero-kicker span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 600; line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal; color: var(--gold-light);
}

.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--text-mid);
  max-width: 520px; line-height: 1.85; margin-bottom: 2.5rem;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none; padding: 0.8rem 2rem;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.03em; border-radius: 3px;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text-mid);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.8rem 2rem; border-radius: 3px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 400;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold-bdr); color: var(--gold-light); }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 600; color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 12px; font-weight: 400; color: var(--text-body);
  letter-spacing: 0.06em; margin-top: 4px;
}

/* ── SHARED SECTIONS ───────────────────────────────────────────── */
section { position: relative; z-index: 1; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1rem;
}
.sec-kicker-line { width: 24px; height: 1px; background: var(--gold); }
.sec-kicker span {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 600;
  line-height: 1.18; color: var(--white); margin-bottom: 1rem;
}
.sec-title em { font-style: normal; color: var(--gold-light); }
.sec-body { font-size: 15px; font-weight: 300; color: var(--text-mid); line-height: 1.85; }

/* ── PROBLEM ───────────────────────────────────────────────────── */
.section-problem {
  background: var(--navy-mid);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.problem-items { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.problem-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.problem-item p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.problem-item strong { display: block; color: var(--white); font-size: 14px; font-weight: 500; margin-bottom: 2px; }

.problem-right {
  background: rgba(201,168,76,0.05);
  border: 1px solid var(--gold-bdr);
  border-radius: 4px;
  padding: 2rem 2.5rem;
}
.problem-right p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 400;
  color: var(--text-mid); line-height: 1.65;
  font-style: italic;
}
.problem-right p strong { color: var(--gold-light); font-style: normal; font-weight: 600; }

/* ── SOLUTION ──────────────────────────────────────────────────── */
.section-solution {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1100px; margin: 0 auto;
}
.solution-header { max-width: 580px; margin-bottom: 3rem; }
.solution-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 6px; overflow: hidden;
}
.sol-card {
  background: var(--navy);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.sol-card:hover { background: var(--navy-light); }
.sol-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: rgba(201,168,76,0.2);
  line-height: 1; margin-bottom: 1rem;
}
.sol-card h3 { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; }
.sol-card p { font-size: 13.5px; font-weight: 300; color: var(--text-body); line-height: 1.7; }

/* ── SERVICES ──────────────────────────────────────────────────── */
.section-services {
  background: var(--navy-mid);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: end; margin-bottom: 3rem;
}
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.svc-card {
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.svc-card:hover { border-color: rgba(201,168,76,0.25); background: rgba(201,168,76,0.04); }
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 40px; height: 40px;
  background: var(--gold-dim); border: 1px solid var(--gold-bdr);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 0.4rem; }
.svc-card p { font-size: 13px; font-weight: 300; color: var(--text-body); line-height: 1.7; }

/* ── WHY ───────────────────────────────────────────────────────── */
.section-why {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1100px; margin: 0 auto;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-bdr);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-check svg { width: 11px; height: 11px; stroke: var(--gold); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item-text h4 { font-size: 14.5px; font-weight: 500; color: var(--white); margin-bottom: 3px; }
.why-item-text p { font-size: 13.5px; font-weight: 300; color: var(--text-body); line-height: 1.65; }

.trust-block {
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(10,22,40,0) 100%);
  border: 1px solid var(--gold-bdr);
  border-radius: 6px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.trust-block::before {
  content: '"';
  position: absolute; top: -10px; left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px; color: rgba(201,168,76,0.1);
  line-height: 1; pointer-events: none;
}
.trust-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; font-style: italic;
  color: var(--text-mid); line-height: 1.7;
  position: relative; z-index: 1;
}
.trust-block .trust-source {
  margin-top: 1.25rem; font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  font-style: normal;
}

/* ── FORM ──────────────────────────────────────────────────────── */
.section-form {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
}
.form-inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.form-left .sec-body { margin-top: 0.75rem; }

.form-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.form-feature {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 13.5px; color: var(--text-mid); font-weight: 300;
}
.form-feature-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.form-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px; padding: 2.5rem;
}
.form-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--white);
  margin-bottom: 0.4rem;
}
.form-card .form-sub { font-size: 13px; color: var(--text-body); margin-bottom: 1.75rem; }

.form-row { display: flex; flex-direction: column; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-body); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 400;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 90px; font-family: 'DM Sans', sans-serif; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-bdr);
  background: rgba(201,168,76,0.05);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy-mid); color: var(--white); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-submit {
  width: 100%; margin-top: 1.25rem;
  background: var(--gold); color: var(--navy);
  border: none; padding: 0.9rem;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; border-radius: 3px; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

.form-disclaimer {
  margin-top: 0.75rem; font-size: 11px; color: var(--text-body);
  text-align: center; line-height: 1.5;
}

.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  display: none; margin-top: 0.75rem; font-size: 13px; color: #ff9a9a;
  text-align: center; line-height: 1.5;
}
.form-error a { color: var(--gold-light); text-decoration: underline; }

.form-success {
  display: none; text-align: center; padding: 2rem 0;
}
.form-success .success-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim); border: 1px solid var(--gold-bdr);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success .success-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h4 { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--white); margin-bottom: 0.5rem; }
.form-success p { font-size: 14px; color: var(--text-body); }

/* ── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 1.5rem clamp(1.5rem, 5vw, 3.5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.footer-logo { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.35); }
.footer-logo .x { color: rgba(201,168,76,0.5); }
footer p { font-size: 11.5px; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .problem-grid, .why-grid, .form-inner, .services-header { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-geo { display: none; }
  .hero-stats { gap: 1.5rem; }
  .nav-links { display: none; }
}

/* ── ANIMATIONS ────────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── LEGAL / PRIVACY PAGE ──────────────────────────────────────── */
.section-legal {
  padding: 9rem clamp(1.5rem, 5vw, 3.5rem) clamp(4rem, 8vw, 7rem);
  max-width: 860px; margin: 0 auto;
}
.legal-header { margin-bottom: 3rem; }
.legal-header .sec-title { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 0.75rem; }
.legal-header .legal-meta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-body); margin-top: 1rem;
}
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600; color: var(--gold-light);
  margin-top: 2.75rem; margin-bottom: 0.75rem; letter-spacing: -0.005em;
}
.legal-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500; color: var(--white);
  margin-top: 1.5rem; margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.legal-body p {
  font-size: 15px; font-weight: 300; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 1rem;
}
.legal-body ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}
.legal-body li {
  font-size: 14.5px; font-weight: 300; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 0.5rem;
}
.legal-body a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid var(--gold-bdr); }
.legal-body a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.legal-body strong { color: var(--white); font-weight: 500; }

/* ── RTL (Arabic) ──────────────────────────────────────────────── */
html[dir="rtl"] body { font-family: 'Noto Naskh Arabic', 'Amiri', 'DM Sans', serif; }
html[dir="rtl"] .logo,
html[dir="rtl"] .footer-logo { font-family: 'DM Sans', sans-serif; }
html[dir="rtl"] .hero h1,
html[dir="rtl"] .sec-title,
html[dir="rtl"] .trust-block p,
html[dir="rtl"] .form-card h3,
html[dir="rtl"] .form-success h4,
html[dir="rtl"] .legal-body h2 {
  font-family: 'Amiri', 'Noto Naskh Arabic', 'Cormorant Garamond', serif;
  letter-spacing: 0;
}
html[dir="rtl"] .sec-kicker span,
html[dir="rtl"] .hero-kicker span,
html[dir="rtl"] .form-feature,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .form-group label,
html[dir="rtl"] .form-disclaimer,
html[dir="rtl"] .trust-source {
  letter-spacing: 0;
}
html[dir="rtl"] .hero-geo { right: auto; left: -120px; }
html[dir="rtl"] .problem-item {
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 3px solid var(--gold);
  border-radius: 4px 0 0 4px;
}
html[dir="rtl"] .svc-card::before {
  background: linear-gradient(-90deg, var(--gold), transparent);
}
html[dir="rtl"] .trust-block::before { left: auto; right: 20px; }
html[dir="rtl"] .hero-cta-row .btn-gold,
html[dir="rtl"] .hero-cta-row .btn-ghost { direction: rtl; }
html[dir="rtl"] .legal-body ul { margin: 0 1.25rem 1.25rem 0; }
