/* fxpro-emirates.com — dark navy + gold, Arabic-geometry-inspired dividers */

:root {
  --navy: #0c1730;
  --navy-deep: #080f21;
  --navy-panel: #12203f;
  --gold: #c9a24b;
  --gold-bright: #e4c477;
  --ink: #e8ecf4;
  --ink-muted: #a7b1c6;
  --line: rgba(201, 162, 75, 0.28);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 162, 75, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 72px;
  text-align: center;
}

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 auto 24px;
  max-width: 760px;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 18px;
}

.hero-risk {
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

/* ---------- CTAs ---------- */

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 18px rgba(201, 162, 75, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(201, 162, 75, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(201, 162, 75, 0.08);
  box-shadow: none;
}

/* ---------- Arabic-geometry-inspired divider ---------- */

.divider {
  height: 26px;
  margin: 64px auto;
  max-width: 420px;
  background-image:
    linear-gradient(45deg, transparent 46%, var(--gold) 46%, var(--gold) 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--gold) 46%, var(--gold) 54%, transparent 54%);
  background-size: 26px 26px;
  background-repeat: repeat-x;
  opacity: 0.35;
}

/* ---------- Sections ---------- */

main { padding-bottom: 32px; }

section { margin: 72px 0; }

h2 {
  font-size: clamp(24px, 3.6vw, 30px);
  line-height: 1.3;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

p { margin: 0 0 20px; }

.answer-first {
  font-size: 18px;
  color: var(--ink);
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 18px;
}

/* ---------- Quick Answer ---------- */

.quick-answer {
  background: var(--navy-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-top: 56px;
}

.qa-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}

.qa-label::after { display: none; }

.quick-answer p { margin: 0; font-size: 18px; }

/* ---------- Tables ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--navy-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15.5px;
}

caption {
  caption-side: bottom;
  padding: 12px 8px 0;
  color: var(--ink-muted);
  font-size: 13px;
  text-align: start;
}

th, td {
  padding: 14px 18px;
  text-align: start;
  border-bottom: 1px solid rgba(201, 162, 75, 0.12);
}

thead th {
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-bright);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(201, 162, 75, 0.05); }

/* Responsive tables: allow horizontal scroll on narrow screens */
@media (max-width: 640px) {
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Signup steps ---------- */

.steps {
  margin: 28px 0;
  padding-inline-start: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 22px 18px 68px;
  margin-bottom: 14px;
  background: var(--navy-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 20px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 15px;
}

.steps strong { color: var(--gold-bright); }

/* ---------- FAQ (details/summary) ---------- */

details {
  background: var(--navy-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-inline-end: 48px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "\2013";
}

details[open] summary {
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  color: var(--gold-bright);
}

details p {
  padding: 18px 22px;
  margin: 0;
  color: var(--ink-muted);
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  background: var(--navy-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 34px;
}

.final-cta h2::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.final-cta p {
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
}

.risk {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.copyright {
  color: rgba(167, 177, 198, 0.6);
  font-size: 12.5px;
  margin-top: 26px;
  margin-bottom: 0;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 52px; }
  section { margin: 56px 0; }
  .divider { margin: 44px auto; max-width: 260px; }
  .quick-answer { padding: 24px; }
  .btn { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; }
}

/* FxPro partner disclosure bar + about block (brand guidelines) */
.partner-bar { background: #0a1226; color: #e8d9ae; font-size: .82rem; padding: .45rem 1rem; text-align: center; }
.partner-bar a { color: inherit; text-decoration: underline; font-weight: 600; }
.about-fxpro { padding: 1.5rem 1rem; max-width: 900px; margin: 0 auto; }
.about-fxpro h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.about-fxpro p { font-size: .88rem; opacity: .85; line-height: 1.6; }

/* Guide hub (home + inner pages) */
/* Guide hub (home + inner pages) */
.guide-accent-green { --guide-accent: #27b573; --guide-accent-soft: #1e8e5a; }
.guide-accent-gold { --guide-accent: #c9a24b; --guide-accent-soft: #e4c477; }
.guide-accent-crimson { --guide-accent: #b01030; --guide-accent-soft: #8c0c26; }
.guide-accent-teal { --guide-accent: #0e7a6f; --guide-accent-soft: #0a5c54; }
.guide-accent-red { --guide-accent: #c8102e; --guide-accent-soft: #9c0c24; }

.guide-header {
  border-bottom: 1px solid var(--line, rgba(255,255,255,.12));
  background: var(--guide-header-bg, var(--charcoal-deep, #121418));
  position: sticky;
  top: 0;
  z-index: 40;
}
.guide-header--light {
  --guide-header-bg: var(--bg, #fff);
  --guide-pill-bg: var(--bg-alt, #f4f4f5);
  --guide-pill-border: var(--line, #e3e3e6);
  --guide-pill-text: var(--ink, #1c1c1e);
}
.guide-header--dark {
  --guide-header-bg: var(--navy-deep, var(--charcoal-deep, #121418));
  --guide-pill-bg: rgba(255,255,255,.08);
  --guide-pill-border: rgba(255,255,255,.18);
  --guide-pill-text: var(--ink, #e8ebee);
}
.guide-header .wrap { max-width: var(--max, 1080px); margin: 0 auto; padding: 0 20px; }
.guide-header-inner { padding: 12px 0 14px; }
.guide-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.guide-header a { text-decoration: none; }
.guide-logo {
  font-weight: 800;
  color: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.guide-logo em { font-style: normal; color: var(--crimson, inherit); }
.guide-logo-accent { color: var(--guide-accent-soft, var(--guide-accent, #27b573)); }
.guide-home-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--guide-pill-border, rgba(255,255,255,.2));
  background: var(--guide-pill-bg, rgba(255,255,255,.06));
  color: var(--guide-pill-text, inherit);
  white-space: nowrap;
}
.guide-home-btn:hover { border-color: var(--guide-accent, #27b573); color: var(--guide-pill-text, inherit); }
.guide-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.guide-pills a.guide-pill,
.guide-pills span.guide-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid var(--guide-pill-border, rgba(255,255,255,.18));
  background: var(--guide-pill-bg, rgba(255,255,255,.08));
  color: var(--guide-pill-text, inherit);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.guide-pills a.guide-pill:hover {
  border-color: var(--guide-accent, #27b573);
  transform: translateY(-1px);
  color: var(--guide-pill-text, inherit);
}
.guide-pills a.guide-pill:visited { color: var(--guide-pill-text, inherit); }
.guide-pills span.guide-pill.is-active,
.guide-pills a.guide-pill.is-active {
  background: var(--guide-accent, #27b573);
  border-color: var(--guide-accent, #27b573);
  color: #fff;
}

.guide-hub {
  padding: 52px 0 56px;
  background: var(--guide-hub-bg, var(--bg-alt, #f8f7f7));
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
}
.guide-hub-on-dark { --guide-hub-bg: var(--charcoal-panel, var(--navy-panel, #2b3036)); }
.guide-header--light ~ .guide-hub { --guide-hub-bg: var(--bg-alt, #f8f7f7); }
.guide-hub-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin: 0 0 8px;
  font-weight: 700;
}
.guide-hub h2 { margin: 0 0 4px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.guide-hub-lead { margin: 0; opacity: 0.78; max-width: 52ch; font-size: 0.95rem; }
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 22px;
}
a.guide-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  padding: 18px;
  border-radius: var(--radius, 10px);
  border: 1px solid var(--line, #e3e3e6);
  background: var(--card, var(--white, #fff));
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,.06));
  transition: transform .15s ease, border-color .15s, box-shadow .15s;
}
a.guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--guide-accent, #27b573);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  color: inherit;
}
a.guide-card:visited { color: inherit; }
.guide-card-title { font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin: 0; }
.guide-card-teaser { font-size: 0.88rem; opacity: 0.76; line-height: 1.55; margin: 0; flex: 1; }
.guide-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 4px;
  color: var(--guide-accent, #27b573);
}

.page-main { padding-bottom: 40px; }
.page-hero { padding: 36px 0 28px; }
.page-hero h1 { margin: 8px 0 16px; line-height: 1.2; }
.breadcrumb { font-size: 0.88rem; opacity: 0.72; margin-bottom: 10px; }
.breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.breadcrumb a:hover { opacity: 1; }
.cta-center { text-align: center; }
.page-main details {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid var(--line, rgba(128,128,128,.28));
  border-radius: 8px;
  background: var(--card, rgba(255,255,255,.03));
}
.page-main details summary { cursor: pointer; font-weight: 600; }
.page-main details p { margin: 10px 0 0; }
@media (max-width: 640px) {
  .guide-header-top { flex-wrap: wrap; }
  .guide-pills { gap: 8px; }
  .guide-pills a.guide-pill,
  .guide-pills span.guide-pill { padding: 8px 14px; font-size: 0.82rem; }
}
