/* FinanceWorld — Top 50 Power List | E-Invoicing UAE 2026 */

:root {
  --fw-black: #0a0b0d;
  --fw-navy: #142e45;
  --fw-navy-light: #1b5583;
  --fw-gold: #c9a227;
  --fw-gold-dark: #8a6d18;
  --fw-off-white: #faf9f6;
  --fw-white: #ffffff;
  --fw-gray-900: #1a1a1a;
  --fw-gray-700: #454545;
  --fw-gray-500: #767676;
  --fw-gray-200: #e6e3dd;
  --fw-gray-100: #f2f0eb;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--fw-gray-900);
  background: var(--fw-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fw-black);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fw-gold-dark);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--fw-gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--fw-gold);
  color: var(--fw-black);
  border-color: var(--fw-gold);
}
.btn-primary:hover { background: var(--fw-gold-dark); border-color: var(--fw-gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--fw-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--fw-white); background: rgba(255,255,255,0.08); }

.btn-dark {
  background: var(--fw-black);
  color: var(--fw-white);
  border-color: var(--fw-black);
}
.btn-dark:hover { background: var(--fw-gold); border-color: var(--fw-gold); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--fw-black);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
}
.site-header .logo { justify-self: start; }
.logo img { height: 32px; width: 96px; max-width: none; flex-shrink: 0; }
.site-header .logo img { filter: invert(1); }

nav.main-nav { justify-self: center; }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
}
nav.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-white);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--fw-gold);
  border-bottom-color: var(--fw-gold);
}
.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-cta .btn { padding: 11px 22px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, var(--fw-navy-light) 0%, var(--fw-navy) 45%, var(--fw-black) 100%);
  color: var(--fw-white);
  overflow: hidden;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.35), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
.hero-text { flex: 1 1 560px; min-width: 0; }
.hero-cover {
  flex-shrink: 0;
  width: 365px;
}
.hero-cover img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  transform: rotate(3deg);
  box-shadow: 0 40px 70px -25px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,162,39,0.14);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--fw-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.hero-badge span.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fw-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.3);
}

.hero h1 {
  color: var(--fw-white);
  font-size: 58px;
  line-height: 1.08;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--fw-gold);
}
.hero .lede {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-meta {
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-meta div strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--fw-white);
}
.hero-meta div span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- Page hero (register page — shorter) ---------- */
.page-hero {
  background: radial-gradient(ellipse at 15% 0%, var(--fw-navy-light) 0%, var(--fw-navy) 45%, var(--fw-black) 100%);
  color: var(--fw-white);
  padding: 64px 0 62px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.3), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--fw-white); font-size: 42px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 560px; }
.breadcrumb { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--fw-white); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: 38px; line-height: 1.15; margin-top: 14px; }
.section-head p { font-size: 17px; color: var(--fw-gray-700); margin-top: 16px; }
.bg-off { background: var(--fw-off-white); }
.bg-black { background: var(--fw-black); color: var(--fw-white); }

/* About / intro */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--fw-gray-700); font-size: 16px; margin-bottom: 18px; }

.why-box {
  background: var(--fw-off-white);
  border: 1px solid var(--fw-gray-200);
  padding: 40px 34px;
}
.why-box h3 {
  font-size: 19px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--fw-black);
}
.why-box ul { list-style: none; margin: 0; padding: 0; }
.why-box li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--fw-gray-700);
  padding: 11px 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--fw-gray-200);
}
.why-box li:last-child { border-bottom: none; }
.why-box .dot {
  width: 7px;
  height: 7px;
  background: var(--fw-gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Benefit cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.benefit-card {
  background: var(--fw-white);
  border: 1px solid var(--fw-gray-200);
  padding: 34px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.benefit-card:hover { border-color: var(--fw-gold); transform: translateY(-3px); }
.stat-figure {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--fw-gold-dark);
  margin-bottom: 10px;
}
.benefit-card .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--fw-gold-dark);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.benefit-card h3 { font-size: 19px; margin-bottom: 10px; }
.benefit-card p { color: var(--fw-gray-700); font-size: 14.5px; }

/* Pricing / opportunities */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--fw-gray-200);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .name { font-weight: 700; font-size: 14.5px; color: var(--fw-black); margin-bottom: 4px; }
.price-row .desc { color: var(--fw-gray-700); font-size: 13px; line-height: 1.5; }
.price-row .price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--fw-gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Category chips */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.category-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--fw-white);
  border: 1px solid var(--fw-gray-200);
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fw-gray-900);
}
.category-chip::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--fw-gold);
  flex-shrink: 0;
}

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.timeline-step { position: relative; padding-top: 46px; }
.timeline-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--fw-gold);
  color: var(--fw-white);
  font-family: var(--serif);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.timeline-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.timeline-step p { font-size: 14px; color: var(--fw-gray-700); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--fw-gold) 0%, var(--fw-gold-dark) 100%);
  color: var(--fw-white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--fw-white); font-size: 34px; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 32px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.7); }
.cta-banner .btn-outline:hover { background: var(--fw-white); color: var(--fw-gold); }
.cta-banner .btn-white { background: var(--fw-white); color: var(--fw-gold-dark); }
.cta-banner .btn-white:hover { background: var(--fw-black); color: var(--fw-white); }

/* ---------- Registration form ---------- */
.register-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--fw-white);
  border: 1px solid var(--fw-gray-200);
  padding: 44px;
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { color: var(--fw-gray-700); font-size: 14.5px; margin-bottom: 34px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-gray-900);
  margin-bottom: 9px;
}
.field label .req { color: var(--fw-gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--fw-gray-200);
  background: var(--fw-off-white);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--fw-gray-900);
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fw-gold);
  background: var(--fw-white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--fw-gray-500); margin-top: 6px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
.checkbox-row input { margin-top: 4px; }
.checkbox-row label { font-size: 13px; color: var(--fw-gray-700); font-weight: 400; text-transform: none; letter-spacing: 0; }

.form-success {
  display: none;
  background: var(--fw-off-white);
  border-left: 4px solid var(--fw-gold);
  padding: 30px 32px;
}
.form-success.visible { display: block; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--fw-gray-700); font-size: 14.5px; }

/* Sidebar info card */
.info-card {
  background: var(--fw-black);
  color: var(--fw-white);
  padding: 38px 34px;
  margin-bottom: 24px;
}
.info-card h3 {
  color: var(--fw-white);
  font-size: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13.5px; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: rgba(255,255,255,0.55); }
.info-row span:last-child { font-weight: 600; text-align: right; }

.contact-card {
  background: var(--fw-off-white);
  border: 1px solid var(--fw-gray-200);
  padding: 32px 30px;
}
.contact-card h3 { font-size: 16px; margin-bottom: 18px; }
.contact-card a { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 12px; color: var(--fw-gray-900); font-weight: 600; }
.contact-card a:hover { color: var(--fw-gold); }
.contact-card .icon { color: var(--fw-gold); font-weight: 700; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--fw-black);
  color: rgba(255,255,255,0.65);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .logo img { height: 26px; width: 78px; margin-bottom: 18px; filter: invert(1); }
.footer-grid p { font-size: 13.5px; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer-col h3 {
  color: var(--fw-white);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--sans);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 14px; }
.footer-col a:hover { color: var(--fw-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--fw-white); }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--fw-white); margin: 5px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero h1 { font-size: 42px; }
  .hero-cover { display: none; }
  .about-grid, .register-layout { grid-template-columns: 1fr; }
  .grid-3, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero .lede { font-size: 16px; }
  .hero-meta { gap: 26px; }
  section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .grid-3, .grid-2, .footer-grid, .category-grid, .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
