:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --panel: #11100d;
  --panel-2: #17140c;
  --gold: #d8ad36;
  --gold-light: #f6d86d;
  --gold-dark: #8d6710;
  --white: #f6f6f6;
  --muted: #aaa9a4;
  --border: rgba(216, 173, 54, .28);
  --success: #20c77a;
  --danger: #ef5050;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(216,173,54,.07), transparent 32%),
    var(--black);
  font-family: "Inter", sans-serif;
}
body::-webkit-scrollbar { width: 9px; }
body::-webkit-scrollbar-track { background: #050505; }
body::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-light), var(--gold-dark)); border-radius: 10px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.site-container { max-width: 1560px; padding-left: clamp(20px, 4vw, 68px); padding-right: clamp(20px, 4vw, 68px); }
.section-anchor { scroll-margin-top: 88px; }
.section-padding { padding: 110px 0; }
.section-dark { background: linear-gradient(180deg, #0a0907, #050505); border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); }

#preloader {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; background: #030303;
  transition: opacity .45s ease, visibility .45s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
#preloader span { color: var(--gold-light); letter-spacing: .28em; font-size: .76rem; }
.loader-ring { width: 52px; height: 52px; border: 2px solid rgba(216,173,54,.18); border-top-color: var(--gold-light); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.topbar { background: #020202; border-bottom: 1px solid rgba(216,173,54,.11); color: #8e8e8e; font-size: .76rem; padding: 8px 0; }
.topbar i { color: var(--gold); margin-right: 5px; }
.topbar a { margin-left: 24px; }
.topbar a:hover { color: var(--gold-light); }
.language-btn { color: #aaa; background: transparent; border: 0; margin-left: 20px; }

.navbar { background: rgba(4,4,4,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(216,173,54,.13); min-height: 76px; }
.navbar.scrolled { box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.navbar-brand img { width: 270px; height: 60px; object-fit: cover; object-position: left center; border-radius: 4px; }
.navbar-nav { gap: 7px; }
.navbar .nav-link { color: #e8e8e8; font-size: .92rem; padding: 28px 14px !important; position: relative; }
.navbar .nav-link::after {
  content: ""; position: absolute; height: 2px; left: 14px; right: 14px; bottom: 17px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  transform: scaleX(0); transition: transform .25s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gold-light); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.dropdown-menu { background: #111; border: 1px solid var(--border); box-shadow: var(--shadow); }
.dropdown-item { color: #ddd; padding: 11px 18px; }
.dropdown-item:hover { color: #050505; background: var(--gold); }
.mobile-logo, .footer-logo { width: 250px; height: 64px; object-fit: cover; object-position: left center; }
.mobile-nav { display: grid; }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a:hover { color: var(--gold-light); }

.btn { border-radius: 8px; font-weight: 600; padding: 11px 21px; transition: all .25s ease; }
.btn-lg { padding: 14px 25px; font-size: .96rem; }
.btn-gold {
  color: #090806;
  border-color: var(--gold);
  background: linear-gradient(135deg, #f7dc76, #c7951d 55%, #f4cf59);
  box-shadow: 0 8px 28px rgba(216,173,54,.16);
}
.btn-gold:hover { color: #000; border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(216,173,54,.27); }
.btn-outline-gold { color: var(--gold-light); border: 1px solid var(--gold); background: rgba(216,173,54,.025); }
.btn-outline-gold:hover { color: #050505; background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.hero-section {
  position: relative; min-height: 850px; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,2,2,.99) 0%, rgba(2,2,2,.93) 38%, rgba(2,2,2,.5) 72%, rgba(2,2,2,.85) 100%),
    url("../assets/market-background.jpg") right center / cover no-repeat;
}
.hero-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 72% 50%, rgba(216,173,54,.14), transparent 35%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(216,173,54,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(216,173,54,.18) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: linear-gradient(to right, transparent 5%, black 55%, transparent);
}
.min-vh-hero { min-height: 690px; padding: 55px 0 115px; }
.eyebrow, .section-heading > span {
  color: var(--gold-light); letter-spacing: .16em; font-size: .76rem; font-weight: 700; text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 35px; height: 1px; background: var(--gold); margin: 0 10px 4px 0; }
.hero-copy h1 { margin: 25px 0 22px; font-size: clamp(3.1rem, 5vw, 6rem); line-height: .99; font-weight: 800; letter-spacing: -.045em; }
.hero-copy h1 strong { color: transparent; background: linear-gradient(120deg, #fff0a0, #c88f0d 58%, #f8dc70); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 650px; color: #cdcdcd; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.75; }
.hero-actions { margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 30px; color: #a9a9a9; font-size: .82rem; }
.hero-trust i { color: var(--gold); margin-right: 5px; }

.hero-visual { position: relative; min-height: 550px; display: flex; align-items: center; justify-content: center; }
.hero-emblem {
  position: relative; z-index: 2; width: min(570px, 90%); border-radius: 50%;
  mix-blend-mode: screen; filter: drop-shadow(0 20px 30px rgba(0,0,0,.75));
  animation: float 4.4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.gold-orbit { position: absolute; border: 1px solid rgba(216,173,54,.2); border-radius: 50%; animation: rotate 18s linear infinite; }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 580px; height: 580px; animation-direction: reverse; animation-duration: 26s; }
@keyframes rotate { to { transform: rotate(360deg); } }
.gold-orbit::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 20px var(--gold); top: 15%; left: 15%; }

.floating-card {
  position: absolute; z-index: 3; min-width: 155px; padding: 13px 16px; border: 1px solid rgba(216,173,54,.35);
  background: rgba(10,9,7,.87); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: var(--shadow);
}
.floating-card span { display: block; color: var(--gold-light); font-size: .76rem; }
.floating-card strong { font-size: 1.08rem; margin-right: 6px; }
.floating-card small { font-size: .72rem; }
.card-eurusd { left: 0; top: 25%; }
.card-xau { right: 0; bottom: 20%; }
.up { color: var(--success); }

.stats-panel {
  position: absolute; z-index: 5; left: clamp(20px, 4vw, 68px); right: clamp(20px, 4vw, 68px); bottom: 25px;
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 12px;
  background: linear-gradient(135deg, rgba(24,21,14,.97), rgba(7,7,7,.97));
  border: 1px solid rgba(216,173,54,.55); border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,.65);
}
.stat-item { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 3px 22px; border-right: 1px solid rgba(216,173,54,.22); }
.stat-item:last-child { border-right: 0; }
.stat-item > i { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold-light); font-size: 1.35rem; border: 1px solid var(--border); border-radius: 50%; background: rgba(216,173,54,.07); }
.stat-item strong { display: block; color: var(--gold-light); font-size: 1.5rem; line-height: 1.1; }
.stat-item span { display: block; color: #aaa; margin-top: 6px; font-size: .75rem; }

.ticker-wrap { overflow: hidden; background: #090909; border-top: 1px solid rgba(216,173,54,.15); border-bottom: 1px solid rgba(216,173,54,.15); }
.ticker-track { display: flex; width: max-content; animation: ticker 35s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { min-width: 245px; padding: 15px 30px; border-right: 1px solid rgba(255,255,255,.06); font-size: .84rem; }
.ticker-item strong { color: var(--gold-light); margin-right: 12px; }
.ticker-item .quote { color: #ddd; margin-right: 8px; }
.ticker-item.positive small { color: var(--success); }
.ticker-item.negative small { color: var(--danger); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { margin-bottom: 46px; }
.section-heading h2 { margin: 12px 0 15px; font-size: clamp(2.1rem, 3.4vw, 3.8rem); font-weight: 750; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); max-width: 690px; line-height: 1.75; font-size: 1rem; }
.section-heading.text-center p { margin-left: auto; margin-right: auto; }

.feature-card, .education-card, .account-card {
  position: relative; overflow: hidden; border: 1px solid rgba(216,173,54,.2); border-radius: 15px;
  background: linear-gradient(145deg, rgba(25,22,14,.88), rgba(7,7,7,.98)); box-shadow: 0 18px 55px rgba(0,0,0,.24);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover, .education-card:hover, .account-card:hover { transform: translateY(-8px); border-color: rgba(246,216,109,.65); box-shadow: 0 22px 60px rgba(0,0,0,.55); }
.feature-card { padding: 35px 28px; }
.feature-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -45px; top: -45px; border-radius: 50%; background: rgba(216,173,54,.06); }
.feature-icon { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--gold-light); font-size: 1.7rem; background: rgba(216,173,54,.065); }
.feature-card h3 { margin: 25px 0 12px; font-size: 1.1rem; color: var(--gold-light); }
.feature-card p { color: #b1b1b1; line-height: 1.75; min-height: 112px; }
.feature-card a, .education-card a { color: var(--gold-light); font-size: .84rem; font-weight: 600; }

.market-card { padding: 28px; background: #0c0b09; border: 1px solid rgba(216,173,54,.19); border-radius: 14px; height: 100%; transition: .3s ease; }
.market-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.market-head { display: flex; justify-content: space-between; gap: 20px; }
.market-symbol { display: flex; align-items: center; gap: 13px; }
.market-symbol i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #050505; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); font-size: 1.25rem; }
.market-symbol strong { display: block; }
.market-symbol span { color: #8d8d8d; font-size: .76rem; }
.market-price { text-align: right; }
.market-price strong { display: block; font-size: 1.06rem; }
.market-price small.positive { color: var(--success); }
.market-price small.negative { color: var(--danger); }
.market-spark { height: 80px; margin: 24px 0 10px; }
.market-spark svg { width: 100%; height: 100%; overflow: visible; }
.market-spark polyline { fill: none; stroke: var(--gold); stroke-width: 2.2; filter: drop-shadow(0 0 5px rgba(216,173,54,.35)); }
.market-meta { display: flex; justify-content: space-between; color: #8f8f8f; font-size: .75rem; }

.platform-window { border: 1px solid rgba(216,173,54,.42); border-radius: 17px; background: #080808; box-shadow: 0 35px 80px rgba(0,0,0,.6); overflow: hidden; transform: perspective(1300px) rotateY(4deg); }
.platform-top, .chart-toolbar, .platform-bottom { display: flex; align-items: center; padding: 13px 17px; background: #111; border-bottom: 1px solid rgba(255,255,255,.06); color: #aaa; font-size: .74rem; }
.platform-top { justify-content: space-between; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: #4d4d4d; }
.window-dots span:first-child { background: #b78518; }
.chart-toolbar { gap: 22px; background: #0b0b0b; }
.chart-toolbar span:first-child { color: var(--gold-light); font-weight: 700; }
.chart-area { padding: 12px; height: 390px; }
.platform-bottom { justify-content: space-around; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 0; }
.platform-bottom small { display: block; color: #747474; }
.platform-bottom strong { color: #d6d6d6; }
.platform-list { display: grid; gap: 21px; }
.platform-list > div { display: flex; gap: 16px; align-items: flex-start; }
.platform-list i { min-width: 34px; height: 34px; display: grid; place-items: center; background: var(--gold); color: #050505; border-radius: 50%; font-weight: 800; }
.platform-list strong, .platform-list small { display: block; }
.platform-list small { color: #999; margin-top: 5px; line-height: 1.6; }

.account-card { padding: 40px 34px; height: 100%; }
.account-card.featured { border-color: var(--gold); transform: translateY(-12px); box-shadow: 0 24px 70px rgba(216,173,54,.13); }
.account-card.featured:hover { transform: translateY(-18px); }
.popular-tag { position: absolute; right: -38px; top: 20px; width: 150px; padding: 6px; text-align: center; color: #050505; background: var(--gold); transform: rotate(40deg); font-size: .65rem; font-weight: 800; }
.account-label { color: var(--gold-light); letter-spacing: .16em; font-size: .68rem; }
.account-card h3 { margin: 10px 0 15px; font-family: "Playfair Display", serif; font-size: 2.2rem; }
.account-card p { color: #9d9d9d; line-height: 1.65; min-height: 78px; }
.account-card ul { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 15px; color: #c4c4c4; font-size: .88rem; }
.account-card li i { color: var(--gold); margin-right: 8px; }

.education-card { padding: 30px; height: 100%; }
.education-card > i { color: var(--gold-light); font-size: 2rem; }
.education-card > span { display: block; margin: 20px 0 6px; color: var(--gold); font-size: .67rem; letter-spacing: .14em; }
.education-card h3 { font-size: 1.2rem; }
.education-card p { color: #999; min-height: 72px; line-height: 1.6; }

.partner-section { padding: 40px 0 90px; }
.partner-box {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(35px, 5vw, 70px);
  border: 1px solid rgba(216,173,54,.55); border-radius: 18px;
  background: radial-gradient(circle at 80% 50%, rgba(216,173,54,.18), transparent 35%), linear-gradient(135deg, #19150a, #070707);
  box-shadow: var(--shadow);
}
.partner-box h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); margin: 15px 0; }
.partner-box p { color: #aaa; max-width: 700px; }

.contact-methods { display: grid; gap: 18px; }
.contact-methods > div { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid rgba(216,173,54,.16); border-radius: 12px; background: #0a0907; }
.contact-methods i { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-light); border: 1px solid var(--border); border-radius: 50%; }
.contact-methods small, .contact-methods strong { display: block; }
.contact-methods small { color: #777; }
.gold-form { padding: clamp(25px, 4vw, 45px); border: 1px solid rgba(216,173,54,.25); border-radius: 16px; background: linear-gradient(145deg, #11100d, #080808); }
.gold-form label, .gold-modal label { color: #bfbfbf; font-size: .8rem; margin-bottom: 7px; }
.form-control, .form-select {
  color: #eee; background-color: #080808; border: 1px solid #343128; border-radius: 8px; min-height: 49px;
}
.form-control:focus, .form-select:focus { color: #fff; background: #080808; border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(216,173,54,.1); }
.form-select { color-scheme: dark; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.small-text { color: #888; font-size: .78rem; }
.small-text a { color: var(--gold-light); }

.risk-warning { padding: 24px 0; background: #12100b; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.risk-warning .site-container { display: flex; gap: 16px; align-items: flex-start; }
.risk-warning i { color: var(--gold-light); font-size: 1.2rem; }
.risk-warning p { margin: 0; color: #989898; font-size: .75rem; line-height: 1.65; }

footer { padding: 75px 0 25px; background: #030303; }
.footer-about { color: #828282; max-width: 390px; line-height: 1.7; margin-top: 18px; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--gold-light); }
.social-links a:hover { color: #050505; background: var(--gold); }
footer h4 { color: var(--gold-light); font-size: .95rem; margin-bottom: 22px; }
footer .col-6 a { display: block; color: #858585; margin: 12px 0; font-size: .82rem; }
footer .col-6 a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #666; border-top: 1px solid rgba(255,255,255,.07); margin-top: 55px; padding-top: 24px; font-size: .75rem; }

#backToTop { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--gold); color: #050505; background: var(--gold); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--gold-light); }
.border-gold { border-color: var(--gold) !important; }
.gold-modal { color: #eee; background: #0b0b0b; border: 1px solid rgba(216,173,54,.5); }
.gold-modal .modal-header, .gold-modal .modal-footer { border-color: rgba(216,173,54,.17); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1199.98px) {
  .navbar-brand img { width: 225px; }
  .stats-panel { grid-template-columns: repeat(3, 1fr); position: relative; left: auto; right: auto; bottom: auto; margin-bottom: 25px; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(216,173,54,.14); padding: 18px; }
  .hero-section { min-height: auto; }
  .min-vh-hero { padding-bottom: 45px; }
}
@media (max-width: 991.98px) {
  .section-padding { padding: 80px 0; }
  .hero-copy { padding-top: 25px; text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .card-eurusd { left: 8%; }
  .card-xau { right: 8%; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .platform-window { transform: none; }
  .partner-box { text-align: center; flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { width: 190px; height: 50px; }
  .hero-copy h1 { font-size: 2.8rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 360px; }
  .floating-card { min-width: 128px; padding: 10px; }
  .card-eurusd { left: 0; top: 18%; }
  .card-xau { right: 0; bottom: 10%; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat-item { justify-content: flex-start; }
  .chart-area { height: 300px; }
  .platform-bottom { flex-wrap: wrap; gap: 16px; text-align: center; }
  .account-card.featured { transform: none; }
  .account-card.featured:hover { transform: translateY(-8px); }
}
