:root{
  --bg:#ffffff;
  --text:#0f1115;
  --muted:#5a6270;
  --panel:#f6f7f9;
  --panel-2:#ffffff;
  --line:rgba(15,17,21,.10);
  --gold:#d4af37;
  --gold-2:#b89424;
  --shadow:0 18px 60px rgba(10,12,18,.10);
  --shadow-2:0 10px 30px rgba(10,12,18,.08);
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}

/* Accessibility */
.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:20px;top:20px;width:auto;height:auto;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;z-index:9999;box-shadow:var(--shadow-2)}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:34px;width:auto}

.nav{display:flex;gap:18px;align-items:center}
.nav a{
  font-size:14px;
  color:rgba(15,17,21,.78);
  padding:10px 8px;
  border-radius:12px;
  transition:background .18s ease,color .18s ease;
}
.nav a:hover{background:rgba(212,175,55,.12);color:rgba(15,17,21,.92)}

.actions{display:flex;align-items:center;gap:10px}
.lang{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.lang span{opacity:.55}
.lang strong{color:var(--text)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 16px;border-radius:14px;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#121212;
  font-weight:700;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 12px 30px rgba(212,175,55,.18);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 16px 40px rgba(212,175,55,.22)}
.btn.secondary{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(212,175,55,.35);
  box-shadow:none;
}
.btn.secondary:hover{background:rgba(212,175,55,.10);transform:none}

/* Hero */
.hero{
  position:relative;
  padding:96px 0 74px;
  min-height:72vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#fff;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:url("../img/hero-trading.jpg") center/cover no-repeat;
  opacity:0.25;
  filter:grayscale(20%) contrast(1.05);
}
.hero::after{
  content:"";
  position:absolute;inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(212,175,55,.20), transparent 62%),
    radial-gradient(760px 420px at 92% 0%, rgba(255,255,255,.45), transparent 58%),
    linear-gradient(180deg, rgba(7,9,14,.60) 0%, rgba(7,9,14,.30) 44%, rgba(255,255,255,0) 100%);
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:start}
.kicker{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.86);background:rgba(10,12,16,.34);border:1px solid rgba(255,255,255,.22);backdrop-filter: blur(6px);padding:8px 12px;border-radius:999px}
.dot{width:8px;height:8px;border-radius:999px;background:var(--gold);box-shadow:0 0 0 4px rgba(212,175,55,.18)}
.hero h1{margin:16px 0 8px;font-size:56px;letter-spacing:-.02em;line-height:1.05;color:#fff}
.subhead{margin:0;max-width:54ch;font-size:18px;color:rgba(255,255,255,.88)}
.subhead strong{color:#fff}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

.card{
  background:var(--panel-2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 24px 70px rgba(10,12,18,.16);
  padding:18px;
}
.hero-card h3{margin:4px 0 8px;font-size:16px}
.hero-card p{margin:0 0 14px;color:rgba(15,17,21,.74)}
.hero-badges{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.badge{padding:12px;border-radius:16px;background:linear-gradient(180deg,#fff, #f3f5f7);border:1px solid rgba(15,17,21,.08)}
.badge strong{display:block;font-size:13px}
.badge span{display:block;font-size:12px;color:rgba(15,17,21,.62);margin-top:3px}

/* Sections */
section{padding:92px 0}
section:nth-of-type(even){background:linear-gradient(180deg,#fff, #fafbfc)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:30px}
.section-head h2{margin:0;font-size:30px;letter-spacing:-.01em}
.section-head p{margin:0;max-width:70ch;color:var(--muted)}
.lead{font-size:16px;color:var(--muted);max-width:78ch}

/* Products */
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product{overflow:hidden}
.product-img{aspect-ratio:16/10;object-fit:cover;border-bottom:1px solid var(--line)}
.product .content{padding:16px}
.product h3{margin:0 0 8px;font-size:18px}
.product p{margin:0;color:var(--muted);font-size:14px}

/* How */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.step{padding:16px;position:relative;overflow:hidden}
.step .num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:rgba(212,175,55,.15);color:var(--text);border:1px solid rgba(212,175,55,.35);font-weight:800}
.step h3{margin:10px 0 6px;font-size:16px}
.step p{margin:0;color:var(--muted);font-size:14px}

/* Markets */
.markets-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:stretch}
.market-card{padding:18px}
.market-list{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.market-list li{display:flex;gap:10px;align-items:flex-start;color:var(--muted)}
.bullet{width:10px;height:10px;border-radius:999px;background:var(--gold);margin-top:7px;box-shadow:0 0 0 4px rgba(212,175,55,.14)}
.market-img{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-2)}
.market-img img{width:100%;height:100%;object-fit:cover}

/* Trust */
.trust{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.trust .item{padding:14px}
.trust .item strong{display:block;font-size:14px}
.trust .item span{display:block;font-size:12px;color:var(--muted);margin-top:4px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.form{padding:18px}
.field{display:grid;gap:8px;margin-bottom:12px}
label{font-size:13px;color:rgba(15,17,21,.78)}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,17,21,.14);
  background:#fff;
  font:inherit;
  outline:none;
}
input:focus,select:focus,textarea:focus{border-color:rgba(212,175,55,.55);box-shadow:0 0 0 4px rgba(212,175,55,.14)}
textarea{min-height:120px;resize:vertical}
.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}
.note{font-size:12px;color:var(--muted);margin:10px 0 0}
.alert{margin-top:12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(15,17,21,.12);background:#fff}
.alert.ok{border-color:rgba(46,160,67,.25);background:rgba(46,160,67,.06)}
.alert.err{border-color:rgba(220,38,38,.25);background:rgba(220,38,38,.06)}

/* Footer */
.footer{padding:36px 0;border-top:1px solid var(--line);background:#fff}
.footer-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.footer small{color:var(--muted)}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a{color:rgba(15,17,21,.72)}
.footer-links a:hover{color:rgba(15,17,21,.92)}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none}
  .hero-grid{grid-template-columns:1fr;gap:14px}
  .products{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .trust{grid-template-columns:repeat(2,1fr)}
  .markets-wrap{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:44px}
}
@media (max-width: 520px){
  .container{width:min(var(--max),calc(100% - 28px))}
  section{padding:56px 0}
  .products{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr}
  .hero h1{font-size:38px}
  .header-inner{padding:12px 0}
}
/* ===== Premium refinements (spacing + alignment) ===== */
:root{
  --text:#0f1115;
  --muted: rgba(15,17,21,.72);
  --stroke: rgba(15,17,21,.12);
}
.section{ padding: 92px 0; }
@media (max-width: 900px){ .section{ padding: 72px 0; } }
.section-header{ margin-bottom: 32px; }
.section-header h2{ line-height: 1.12; }
.section-header p{ margin-top: 10px; max-width: 62ch; color: var(--muted); }

.cards{ gap: 18px; }
.card{ border: 1px solid var(--stroke); }
.card p{ color: var(--muted); line-height: 1.6; }

.about-grid{ gap: 22px; }
.about-copy{ color: var(--muted); line-height: 1.68; }
.about-box{ padding: 22px; }
.about-box ul{ margin-top: 14px; }

.contact-meta strong{ display:block; margin-top: 10px; }
.contact-meta a{ font-weight: 650; }

.icon{ width:18px;height:18px; display:inline-block; color: rgba(15,17,21,.78); }
.icon.gold{ color: var(--gold); }
.icon-wrap{ display:inline-flex; align-items:center; gap:10px; }

.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal.delay-1{ transition-delay:.06s }
.reveal.delay-2{ transition-delay:.12s }
.reveal.delay-3{ transition-delay:.18s }
.reveal.delay-4{ transition-delay:.24s }
.card.reveal.in:hover{ transform: translateY(-3px); }

/* ===== FINAL premium (institutional feel) ===== */
.section-alt{background:linear-gradient(180deg,#fbfbfc 0%, #ffffff 100%);border-top:1px solid rgba(15,17,21,.06);border-bottom:1px solid rgba(15,17,21,.06)}
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pillar{padding:18px}
.pillar b{font-size:14px}
.pillar p{margin:10px 0 0;color:var(--muted)}
@media (max-width: 980px){ .pillars{grid-template-columns:1fr} }

/* Hero: stronger contrast + calmer overlay */
.hero::after{
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(212,175,55,.20), transparent 60%),
    radial-gradient(740px 380px at 90% 0%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(180deg, rgba(7,9,14,.78) 0%, rgba(7,9,14,.46) 44%, rgba(255,255,255,1) 100%);
}

/* Footer premium dark */
.footer{
  background: radial-gradient(900px 380px at 20% 0%, rgba(212,175,55,.10), transparent 55%),
              linear-gradient(180deg, #0b0d12 0%, #07090d 100%);
  border-top:1px solid rgba(212,175,55,.18);
  color: rgba(255,255,255,.86);
  padding:44px 0;
}
.footer .links a, .footer-links a{
  color: rgba(255,255,255,.70);
}
.footer .links a:hover, .footer-links a:hover{
  color:#fff;
}
.footer-logo{max-width:240px;filter:drop-shadow(0 18px 40px rgba(0,0,0,.40));opacity:.95}
.footer-inner{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.footer-inner div{max-width:56ch}

/* Header brand logo */
.brand-logo{height:26px;width:auto;display:block}
@media (max-width: 900px){ .brand-logo{height:24px} }

/* Two-column institutional panels */
.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:stretch}
@media (max-width: 980px){ .grid-2{grid-template-columns:1fr;gap:14px} }

.panel{padding:22px}
.panel-title{margin:0 0 8px;font-size:16px;letter-spacing:.01em}
.panel-text{margin:0;color:var(--muted);line-height:1.6}
.list{margin:0;padding-left:18px}
.list li{margin:8px 0}

/* Product cards background images */
.product-card{
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}
.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(10,12,16,.45);
}
.product-card > *{
  position:relative;
  z-index:1;
}

/* ===== FORCE LOGO SIZES ===== */
header .logo img,
.header .logo img,
.navbar .logo img {
  height: 50px !important;
  width: auto !important;
  max-height: none !important;
}

footer .footer-logo img,
footer img.logo-white {
  height: 70px !important;
  width: auto !important;
  max-height: none !important;
}

header,
.header {
  min-height: 90px;
}

/* ===== CONTACT INFO SPACING ===== */
.contact-direct {
  line-height: 1.7;
}

.contact-direct p {
  margin: 0 0 8px 0;
}

.contact-direct strong {
  display: inline-block;
  min-width: 70px;
}

.contact-direct .email,
.contact-direct .location {
  margin-top: 6px;
}

@media (max-width: 768px) {
  header .logo img {
    height: 42px !important;
  }
  footer .footer-logo img {
    height: 56px !important;
  }
}


/* === Elite overrides (final) === */
header .logo img,
.header .logo img,
.navbar .logo img{
  height:50px !important;
  width:auto !important;
  max-height:none !important;
}

footer .footer-logo img,
footer img.logo-white{
  height:70px !important;
  width:auto !important;
  max-height:none !important;
}

header, .header{
  min-height:90px;
}

/* Contact "Direct" card key/value spacing */
.kv{
  margin-top:10px;
  border-top:1px solid rgba(17,24,39,.08);
  padding-top:10px;
}
.kv .row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:6px 0;
}
.kv .row span{
  color:rgba(17,24,39,.68);
  font-weight:500;
}
.kv .row strong{
  color:#0f1115;
  font-weight:650;
  letter-spacing:.1px;
  text-align:right;
}
/* Smaller note text spacing */
.note{
  margin-top:12px;
  color:rgba(17,24,39,.62);
  font-size:13px;
  line-height:1.5;
}


/* === LOGO SIZE FIX (PRECISE) === */
/* Header logo ONLY */
.header .brand img,
.header .logo img{
  height:50px !important;
  width:auto !important;
  max-height:50px !important;
}

/* Footer logo ONLY */
footer .footer-logo img,
footer .brand img{
  height:70px !important;
  width:auto !important;
  max-height:70px !important;
}

/* Ensure buttons are NOT affected */
button, .btn{
  height:auto !important;
  padding:10px 18px !important;
}


/* === ELITE UPGRADE PACK === */
:root{
  --text-strong:#1c1c1c;
  --text:#4a4a4a;
  --text-muted:#6b6b6b;
  --gold:#C9A227;
  --gold-soft:#E6C76A;
}

body{
  color:var(--text);
}

h1,h2,h3,h4,strong{
  color:var(--text-strong);
}

p,li{
  color:var(--text);
}

.small, .muted, .note, .help, .fineprint{
  color:var(--text-muted);
}

/* Gold usage – precise */
.accent, .gold, .badge-dot{
  color:var(--gold);
}

/* Section divider */
.section-divider{
  height:1px;
  background:linear-gradient(to right, transparent, var(--gold), transparent);
  margin:56px 0;
  opacity:.9;
}

/* HERO – more institutional */
.hero{
  position:relative;
}
.hero .headline{
  letter-spacing:-0.02em;
  line-height:1.05;
}
.hero .subheadline{
  color:rgba(28,28,28,.78);
}

/* Remove any headline gradient remnants */
.hero .headline{
  background:none !important;
  -webkit-text-fill-color:unset !important;
  color:var(--text-strong) !important;
}

/* Product cards – make them feel like "assets" */
.product-card{
  border:1px solid rgba(17,24,39,.08);
  box-shadow:0 18px 44px rgba(17,24,39,.10);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card::before{
  background:rgba(10,12,16,.38) !important; /* softer than previous */
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 70px rgba(17,24,39,.14);
  border-color:rgba(201,162,39,.22);
}
.product-card h3, .product-card h4{
  color:#fff !important;
}
.product-card p{
  color:rgba(255,255,255,.88) !important;
}

/* Forms – more institutional */
input, textarea, select{
  border-color:rgba(17,24,39,.14);
}
input::placeholder, textarea::placeholder{
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:12px;
  color:rgba(17,24,39,.45);
}
/* Primary CTA – subtle gold gradient */
.btn-primary, .cta-primary{
  background:linear-gradient(135deg, var(--gold), var(--gold-soft)) !important;
  border:0 !important;
  color:#111 !important;
}

/* Markets image overlay (gold routes & hubs) */
.markets-visual{
  position:relative;
  overflow:hidden;
}
.markets-visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='720' viewBox='0 0 1200 720'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='3' stroke-linecap='round' opacity='0.55'%3E%3Cpath d='M690 360 C 770 290 820 285 920 250'/%3E%3Cpath d='M690 360 C 650 300 610 265 560 250'/%3E%3Cpath d='M690 360 C 770 390 840 430 910 450'/%3E%3Cpath d='M690 360 C 610 410 520 470 430 500'/%3E%3C/g%3E%3Cg fill='%23C9A227'%3E%3Ccircle cx='690' cy='360' r='7'/%3E%3Ccircle cx='920' cy='250' r='6'/%3E%3Ccircle cx='560' cy='250' r='6'/%3E%3Ccircle cx='910' cy='450' r='6'/%3E%3Ccircle cx='430' cy='500' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size:cover;
  mix-blend-mode:screen;
}
