/* Dubai Wealth Secret -- custom design system (replaces Mobirise theme on rebuilt pages) */

:root {
  --bg: #0b1220;
  --bg-alt: #101a2e;
  --surface: #14203a;
  --surface-2: #1a2745;
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f7;
  --text-muted: #a7b1c6;
  --text-faint: #6f7990;
  --accent: #c9a463;
  --accent-hover: #ddbb7c;
  --accent-ink: #241a08;
  --evidence: #6fcdbb;
  --evidence-soft: rgba(111, 205, 187, 0.12);
  --caution: #e2a13a;
  --danger: #e2696a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --max: 1180px;
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; color: var(--text); }
.lede { font-size: 1.15rem; color: var(--text-muted); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4.5rem 0; }
section.tight { padding: 2.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head .kicker { display: block; margin-bottom: 0.75rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.brand strong { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(201, 164, 99, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero .badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--evidence-soft);
  color: var(--evidence);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step); }
.step h4 { margin-bottom: 0.25rem; font-family: var(--font-body); font-size: 1.02rem; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* Evidence split section */
.evidence-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.evidence-col {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.evidence-col.supports { background: var(--evidence-soft); border-color: rgba(111, 205, 187, 0.35); }
.evidence-col.limits { background: rgba(226, 161, 58, 0.08); border-color: rgba(226, 161, 58, 0.3); }
.evidence-col h3 { display: flex; align-items: center; gap: 0.5rem; }
.evidence-col ul { margin: 0; padding-left: 1.2rem; }
.evidence-col li { margin-bottom: 0.75rem; color: var(--text-muted); }
.evidence-col li:last-child { margin-bottom: 0; }
.source-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--text-faint);
}
.source-list a { color: var(--text-muted); }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker,
.faq-q::marker { display: none; content: ""; }
.faq-q .sign { color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-q .sign { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.4rem; color: var(--text-muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
th { color: var(--text-faint); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; }
tr:last-child td { border-bottom: none; }

/* Callouts */
.callout {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  background: var(--surface);
}
.callout.caution { border-color: rgba(226, 161, 58, 0.4); background: rgba(226, 161, 58, 0.08); }
.callout strong { color: var(--text); }

/* Section variants */
.section-alt { background: var(--bg-alt); }
.band {
  background: linear-gradient(180deg, rgba(201,164,99,0.1), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Placeholder testimonial */
/* Final CTA */
.final-cta {
  text-align: center;
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.final-cta .cta-row { justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h5 { font-size: 0.85rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid a { color: var(--text-muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: 0.85rem;
}
.footer-disclaimer { max-width: 720px; color: var(--text-faint); font-size: 0.82rem; margin-bottom: 1.5rem; }
.footer-disclaimer a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; }
.footer-disclaimer a:hover { color: var(--text-muted); }

/* Legal pages */
.legal h2 { margin-top: 2.2em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { color: var(--text-muted); }
.legal .meta { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 2.5rem; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .evidence-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 2.5rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
  .final-cta { padding: 2.25rem 1.25rem; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 1rem; }
  .nav-row { gap: 0.75rem; }
  .brand { font-size: 1.05rem; }
  .nav-cta { gap: 0.5rem; }
  .nav-cta .btn { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
  .badge-row .pill { font-size: 0.72rem; padding: 0.3rem 0.65rem; }
  .cta-row .btn { width: 100%; justify-content: center; }
}
