/* ===== Meridian Global Markets — Master Stylesheet ===== */

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

:root {
  --primary:    #0C0C0C;   /* rich black */
  --accent:     #C9A84C;   /* Dubai gold */
  --accent-alt: #A8873A;   /* deeper gold */
  --gold:       #C9A84C;   /* matching gold */
  --bg:         #FAFAF8;   /* warm off-white */
  --bg-dark:    #0C0C0C;
  --text:       #1A1A1A;
  --text-light: #6B6B6B;
  --white:      #FFFFFF;
  --success:    #27AE60;
  --border:     #E8E4DC;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(0,0,0,.06);
  --shadow-lg:  0 16px 56px rgba(0,0,0,.1);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: .3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cinzel:wght@400;500;600;700;800;900&display=swap');

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--dark {
  background: var(--primary); color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(201,168,76,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(201,168,76,.05) 0%, transparent 50%);
  pointer-events: none;
}
.section--dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 10%, transparent 70%);
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }
.section--alt { background: var(--white); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: var(--transition);
}
.btn--primary { background: linear-gradient(135deg, var(--accent), #b8963f); color: var(--primary); font-weight: 700; }
.btn--primary:hover { background: linear-gradient(135deg, #d4b05a, var(--accent)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.3); }
.btn--outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--primary); }
.btn--gold { background: var(--gold); color: var(--primary); }
.btn--gold:hover { background: #c49a3a; transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--primary); }
.btn--white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* Coming Soon indicator on non-functional buttons */
.btn--soon { position: relative; cursor: default; }
.btn--soon::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 7px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .85;
}
.btn--primary.btn--soon::after,
.btn--gold.btn--soon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230C0C0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E");
}
.btn--soon:hover::before {
  content: 'Coming Soon';
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid rgba(201,168,76,.3);
  pointer-events: none;
  z-index: 100;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge--accent { background: rgba(0,180,216,.12); color: var(--accent); }
.badge--gold { background: rgba(212,168,67,.12); color: var(--gold); }

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12,12,12,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,.1);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo {
  font-size: 22px; font-weight: 800; color: var(--white);
  letter-spacing: -.5px;
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  color: rgba(255,255,255,.75);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__cta .btn { padding: 10px 24px; font-size: 14px; }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav__links, .nav__cta {
    display: none;
    flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--primary);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav__links.open, .nav__cta.open { display: flex; }
  .nav__cta { padding-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, #0C0C0C 0%, #1A1510 40%, #0C0C0C 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 30%, rgba(201,168,76,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(201,168,76,.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(201,168,76,.06) 0%, transparent 40%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 30%, transparent 70%);
}
.hero__bg-scene {
  position: absolute;
  bottom: 0; right: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-scene svg {
  position: absolute;
  bottom: 0; right: 0;
  width: 70%;
  height: auto;
  opacity: 1;
}
@media (max-width: 768px) {
  .hero__bg-scene svg { width: 100%; opacity: .5; }
}
.hero__bg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero__bg svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 100%;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero__content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__content p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero__chart {
  width: 100%; max-width: 500px;
  background: rgba(201,168,76,.03);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero__chart svg { width: 100%; height: auto; }

/* Floating stats */
.floating-stat {
  position: absolute;
  background: rgba(12,12,12,.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--white);
  animation: float 6s ease-in-out infinite;
}
.floating-stat:nth-child(2) { animation-delay: -2s; }
.floating-stat:nth-child(3) { animation-delay: -4s; }
.floating-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); }
.floating-stat__value { font-size: 24px; font-weight: 700; margin-top: 4px; }
.floating-stat__value.green { color: var(--success); }
.floating-stat__value.cyan { color: #E8D48B; }

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

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content h1 { font-size: 32px; }
  .hero__content p { margin-left: auto; margin-right: auto; font-size: 16px; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .page-header { padding-top: 120px; padding-bottom: 60px; }
  .page-header .container::before,
  .page-header .container::after { display: none; }
  .page-header h1 { letter-spacing: 1px; }
  .section { padding: 64px 0; }
}

/* ---------- Ticker Bar ---------- */
.ticker {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(201,168,76,.1);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 12px 0;
  overflow: hidden;
}
.ticker__inner {
  display: flex; gap: 48px;
  animation: scroll 30s linear infinite;
}
.ticker__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 500; }
.ticker__item .pair { color: var(--white); font-weight: 600; }
.ticker__item .price { color: #E8D48B; }
.ticker__item .change.up { color: var(--success); }
.ticker__item .change.down { color: #E74C3C; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__item h3 {
  font-size: 36px; font-weight: 800;
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, var(--accent), #E8D48B, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-bar__item p { font-size: 14px; color: var(--text-light); margin-top: 4px; font-weight: 500; }

@media (max-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Feature Cards ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #E8D48B, var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ---------- Section Headers ---------- */
.section__header { margin-bottom: 56px; text-align: center; }
.section__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section__header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}
.section--dark .section__header p { color: rgba(255,255,255,.6); }

/* ---------- Trust / Regulation ---------- */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.trust-card {
  background: rgba(201,168,76,.03);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.trust-card:hover { background: rgba(201,168,76,.07); transform: translateY(-2px); }
.trust-card__icon { font-size: 32px; margin-bottom: 16px; }
.trust-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.5; }

@media (max-width: 768px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #1A1510, #0C0C0C);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,.12), transparent),
    radial-gradient(circle at 20% 30%, rgba(201,168,76,.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(201,168,76,.05) 0%, transparent 40%);
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
}
.cta-section h2 { font-size: 36px; font-family: 'Cinzel', serif; font-weight: 700; margin-bottom: 16px; position: relative; letter-spacing: 1.5px; }
.cta-section p { font-size: 18px; opacity: .85; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201,168,76,.15);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201,168,76,.04) 0%, transparent 70%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer__col h4 { color: var(--white); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer__col a { display: block; padding: 4px 0; font-size: 14px; transition: var(--transition); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer__bottom a { margin-left: 24px; }
.footer__bottom a:hover { color: var(--accent); }

.footer__disclaimer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---------- Page Header (Inner pages) ---------- */
.page-header {
  background: linear-gradient(160deg, #0C0C0C 0%, #16120A 30%, #1A1510 50%, #16120A 70%, #0C0C0C 100%);
  padding: 160px 0 100px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,.25);
}
/* Strong gold ambient glows */
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(201,168,76,.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(201,168,76,.12) 0%, transparent 45%),
    radial-gradient(ellipse 50% 50% at 10% 60%, rgba(201,168,76,.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(201,168,76,.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Diamond grid pattern overlay */
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotate(45deg) scale(1.5);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 10%, transparent 65%);
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }
/* Decorative gold horizontal lines */
.page-header h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto 0;
}
.page-header p { font-size: 18px; color: rgba(255,255,255,.6); max-width: 600px; margin: 0 auto; position: relative; line-height: 1.8; }
.page-header .badge { margin-bottom: 20px; position: relative; letter-spacing: 3px; }

/* Corner accents on page headers */
.page-header .container::before,
.page-header .container::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: rgba(201,168,76,.2);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.page-header .container {
  position: relative;
}
.page-header .container::before {
  top: -20px;
  left: 24px;
  border-width: 1px 0 0 1px;
}
.page-header .container::after {
  bottom: -20px;
  right: 24px;
  border-width: 0 1px 1px 0;
}

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid h3 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.about-grid p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }

.timeline { margin-top: 48px; position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--gold));
}
.timeline__item { padding: 0 0 40px 24px; position: relative; }
.timeline__item::before {
  content: ''; position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.timeline__item h4 { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.timeline__item .year { color: var(--accent); font-weight: 600; font-size: 14px; }
.timeline__item p { color: var(--text-light); font-size: 15px; margin-top: 8px; }

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: var(--white);
}
.team-card h4 { font-size: 16px; font-weight: 700; }
.team-card .role { font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 4px; }
.team-card p { font-size: 13px; color: var(--text-light); margin-top: 8px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Platform page ---------- */
.platform-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.platform-feature:last-child { border-bottom: none; }
.platform-feature.reverse { direction: rtl; }
.platform-feature.reverse > * { direction: ltr; }
.platform-feature__content h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.platform-feature__content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.platform-feature__visual {
  background: linear-gradient(135deg, #F5F0E6, #EDE6D6);
  border-radius: 16px;
  padding: 40px;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  border: 1px solid rgba(201,168,76,.1);
}

.feature-list { margin-top: 16px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  font-size: 15px; color: var(--text);
}
.feature-list li::before {
  content: '✓';
  color: var(--accent); font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .platform-feature { grid-template-columns: 1fr; }
  .platform-feature.reverse { direction: ltr; }
}

/* ---------- Trading Conditions (Tables) ---------- */
.conditions-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.conditions-table thead { background: var(--primary); color: var(--white); }
.conditions-table th { padding: 16px 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.conditions-table td { padding: 16px 20px; font-size: 14px; border-bottom: 1px solid var(--border); }
.conditions-table tr:last-child td { border-bottom: none; }
.conditions-table tr:hover td { background: rgba(201,168,76,.03); }

.account-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.account-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.account-card.featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(201,168,76,.08); }
.account-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #E8D48B); color: var(--primary);
  padding: 4px 20px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.account-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.account-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.account-card .min-deposit { font-size: 36px; font-weight: 800; color: var(--accent); margin: 16px 0; }
.account-card .min-deposit span { font-size: 14px; font-weight: 500; color: var(--text-light); }
.account-card ul { text-align: left; margin: 24px 0; }
.account-card li { padding: 8px 0; font-size: 14px; color: var(--text-light); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.account-card li:last-child { border-bottom: none; }
.account-card li strong { color: var(--text); }

@media (max-width: 768px) {
  .account-cards { grid-template-columns: 1fr; }
  .conditions-table { font-size: 13px; }
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 8px; color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition);
  background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info__item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 32px;
}
.contact-info__icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info__item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-info__item p { font-size: 14px; color: var(--text-light); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Regulation Page ---------- */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.reg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition);
}
.reg-card:hover { box-shadow: var(--shadow); }
.reg-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.reg-card__icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.reg-card h3 { font-size: 18px; font-weight: 700; }
.reg-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

@media (max-width: 768px) {
  .reg-grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Coming Soon Overlay ---------- */
.coming-soon {
  position: relative;
}
.coming-soon::after {
  content: 'COMING SOON';
  position: absolute;
  top: 24px; right: 24px;
  background: linear-gradient(135deg, var(--accent), #E8D48B);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  z-index: 2;
}
.coming-soon .platform-feature__content { opacity: .75; }

/* ---------- Dubai Luxury Extras ---------- */
.badge--accent {
  background: rgba(201,168,76,.12);
  color: var(--accent);
}

.team-card__avatar {
  background: linear-gradient(135deg, var(--accent), #E8D48B) !important;
  color: var(--primary) !important;
}

.timeline::before {
  background: linear-gradient(to bottom, var(--accent), #E8D48B) !important;
}
.timeline__item::before {
  background: var(--accent) !important;
}
.timeline__item .year {
  color: var(--accent) !important;
}

.nav__logo {
  font-family: 'Cinzel', serif !important;
}

.about-grid h3,
.platform-feature__content h3 {
  font-family: 'Cinzel', serif;
}

/* ---------- Edge Grid (Why Choose section) ---------- */
.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 16px;
}
.edge-item {
  display: flex;
  gap: 24px;
  padding: 36px 40px;
  border-bottom: 1px solid rgba(201,168,76,.1);
  transition: var(--transition);
  position: relative;
}
.edge-item:nth-child(odd) {
  border-right: 1px solid rgba(201,168,76,.1);
}
.edge-item:nth-last-child(-n+2) {
  border-bottom: none;
}
.edge-item:hover {
  background: rgba(201,168,76,.04);
}
.edge-item:hover .edge-item__number {
  color: var(--accent);
  text-shadow: 0 0 32px rgba(201,168,76,.4);
}
.edge-item__number {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(201,168,76,.2);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  transition: var(--transition);
}
.edge-item__content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.edge-item__content p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .edge-grid { grid-template-columns: 1fr; }
  .edge-item { border-right: none !important; padding: 28px 24px; }
  .edge-item:last-child { border-bottom: none; }
  .edge-item:nth-last-child(2) { border-bottom: 1px solid rgba(201,168,76,.1); }
}

/* ---------- Showcase (Premium Feature Blocks) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.showcase::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), #E8D48B);
}
.showcase:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.showcase--reverse {
  grid-template-columns: 1fr 320px;
}
.showcase--reverse .showcase__visual { order: 2; }
.showcase--reverse .showcase__content { order: 1; }
.showcase--reverse::before { left: auto; right: 0; }

.showcase__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0C0C0C 0%, #1A1510 100%);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  min-height: 260px;
  position: relative;
}
.showcase__svg {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
}
.showcase__icon-large {
  font-size: 72px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(201,168,76,.3));
}
.showcase__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #E8D48B);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.showcase__content h3 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.showcase__content > p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.showcase__highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.showcase__highlight {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.showcase__highlight-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-family: 'Cinzel', serif;
  color: var(--accent);
  line-height: 1.2;
}
.showcase__highlight-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-light);
  margin-top: 4px;
}

.showcase .feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 900px) {
  .showcase,
  .showcase--reverse {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .showcase--reverse .showcase__visual { order: 0; }
  .showcase--reverse .showcase__content { order: 0; }
  .showcase__highlights { grid-template-columns: repeat(2, 1fr); }
}

/* Dark feature cards inside dark sections */
.section--dark .feature-card {
  background: rgba(201,168,76,.03);
  border: 1px solid rgba(201,168,76,.12);
}
.section--dark .feature-card:hover {
  background: rgba(201,168,76,.06);
}
.section--dark .feature-card__icon {
  background: rgba(201,168,76,.1);
}

/* ---------- Risk Warning Banner ---------- */
.risk-banner {
  background: #1A1A1A;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 24px;
  text-align: center;
  letter-spacing: .2px;
  border-bottom: 1px solid rgba(201,168,76,.15);
  position: relative;
  z-index: 1001;
}
.risk-banner strong {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 768px) {
  .risk-banner { font-size: 11px; padding: 8px 16px; }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A1A1A;
  color: rgba(255,255,255,.8);
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.6;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201,168,76,.2);
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
.cookie-banner p { max-width: 700px; margin: 0; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: #0C0C0C;
}
.cookie-banner__btn--accept:hover { background: var(--accent-alt); }
.cookie-banner__btn--decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-banner__btn--decline:hover { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.8); }
.cookie-banner.hidden { display: none; }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 16px; gap: 16px; }
  .cookie-banner p { font-size: 12px; }
}
