/* =============================================
   ADM INTERNATIONAL TRADING — GLOBAL STYLES
   ============================================= */

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

/* ---- REAL IMAGE OVERRIDES ---- */
.nav-logo img           { display: block; height: 30px; width: auto; }
.regulator-card-header img { display: block; width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.security-block img     { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; margin: 0 auto 12px; }
.trade-cat-icon img     { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card-icon img          { display: block; width: 40px; height: 40px; object-fit: contain; }

:root {
  --bg-primary:   #070c18;
  --bg-secondary: #0d1526;
  --bg-card:      #0f1a30;
  --bg-card2:     #131f36;
  --accent:       #1a6cff;
  --accent-hover: #0055dd;
  --accent-light: #3a8eff;
  --text-primary: #ffffff;
  --text-muted:   #8892a4;
  --border:       #1e2d4a;
  --gold:         #d4a843;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.accent-text { color: var(--accent); }
.text-muted   { color: var(--text-muted); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-right: 40px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo .brand-name {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: none;
  color: #fff;
  white-space: nowrap;
}

/* footer brand lockup (icon + name) */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-logo .footer-brand-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: #ccd2df;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(26,108,255,0.12); }
.nav-link .arrow { font-size: 9px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #0d1526;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: #a0aab8;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover { color: #fff; background: rgba(26,108,255,0.12); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn-register {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-register:hover { background: var(--accent-hover); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,12,24,0.85) 0%, rgba(13,21,38,0.75) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* gradient fallbacks per page */
.hero-bg.home     { background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 40%, #0d1f3c 100%); }
.hero-bg.about    { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.hero-bg.accounts { background: linear-gradient(135deg, #0a1628 0%, #1c2f50 60%, #0d1f3c 100%); }
.hero-bg.forex    { background: linear-gradient(135deg, #0d1117 0%, #1a2530 60%, #0f2030 100%); }
.hero-bg.crypto   { background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 60%, #0a1628 100%); }
.hero-bg.indices  { background: linear-gradient(135deg, #0a1117 0%, #1a2535 60%, #0d1628 100%); }
.hero-bg.stocks   { background: linear-gradient(135deg, #101010 0%, #1a1a1a 60%, #0a0a0a 100%); }
.hero-bg.products { background: linear-gradient(135deg, #0d1117 0%, #1a2530 60%, #0f2030 100%); }
.hero-bg.bonus    { background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 60%, #0d1f3c 100%); }
.hero-bg.cashback { background: linear-gradient(135deg, #0d1117 0%, #1a1f2e 60%, #0a1628 100%); }
.hero-bg.partner  { background: linear-gradient(135deg, #0a1628 0%, #1c2f50 60%, #0d1f3c 100%); }
.hero-bg.security { background: linear-gradient(135deg, #0d1117 0%, #1a2a3a 60%, #0a1628 100%); }
.hero-bg.negbal   { background: linear-gradient(135deg, #0a1628 0%, #1a2a3a 60%, #0d1f3c 100%); }
.hero-bg.risk     { background: linear-gradient(135deg, #0d1117 0%, #1a2a3a 60%, #0a1628 100%); }
.hero-bg.privacy  { background: linear-gradient(135deg, #0d1117 0%, #1a2a3a 60%, #0a1628 100%); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 { margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
/* homepage hero title: uppercase, 2 lines, on every language */
.hero-content:has(h1[data-i18n="hero_title"]) { max-width: 1360px; }
.hero h1[data-i18n="hero_title"] {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(1.4rem, 3vw, 2.55rem);
  line-height: 1.18;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero h1[data-i18n="hero_title"] { white-space: normal; }
}
.hero p   { font-size: 1.1rem; color: #c0c8d6; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* hero with subtitles in center */
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---- SECTION ---- */
.section { padding: 80px 24px; }
.section-dark { background: var(--bg-secondary); }
.section-card-bg { background: var(--bg-primary); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 52px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- GRID SYSTEMS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(26,108,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* card accent top border */
.card-accent { border-top: 3px solid var(--accent); }

/* ---- ACCOUNT TYPE CARDS ---- */
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.account-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.account-header {
  background: var(--accent);
  padding: 20px 24px;
  text-align: center;
}
.account-header h3 { font-size: 1.3rem; margin-bottom: 4px; }
.account-header .price { font-size: 0.85rem; opacity: 0.9; }

.account-features {
  padding: 0;
}
.account-features li {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.account-features li:last-child { border-bottom: none; }
.account-features li span:last-child { color: #fff; font-weight: 600; }

.account-card .btn { width: calc(100% - 40px); margin: auto 20px 20px; display: block; text-align: center; }

/* ---- AWARDS ---- */
/* ==== AWARDS AUTOPLAY CAROUSEL ==== */
/* ---- AWARDS MARQUEE ---- */
.awards-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.awards-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 14px auto 0;
}
.awards-marquee {
  position: relative;
  overflow: hidden;
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 40px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
}
/* плавное затухание по краям */
.awards-marquee::before,
.awards-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.awards-marquee::before { left: 0;  background: linear-gradient(90deg,  var(--bg-card), transparent); }
.awards-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-card), transparent); }

.awards-track {
  display: flex;
  width: max-content;
  animation: awards-scroll 70s linear infinite;
}
.awards-marquee:hover .awards-track { animation-play-state: paused; }

@keyframes awards-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.award-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 0 40px;
}
.laurel {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
  flex-shrink: 0;
  opacity: 0.92;
}
.laurel-left { transform: scaleX(-1); }

.award-text { text-align: center; }
.award-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  max-width: 230px;
}
.award-year {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .awards-track { animation: none; }
}

/* legacy (kept for fallback) */
.award-year { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.award-title { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(26,108,255,0.4);
}
.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-item h4  { margin-bottom: 8px; font-size: 0.95rem; }
.step-item p   { font-size: 0.85rem; color: var(--text-muted); }

/* ---- PROGRESS BARS ---- */
.progress-item { margin-bottom: 24px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.progress-track {
  height: 8px;
  background: var(--bg-card2);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
  transition: width 1s ease;
}

/* ---- TABLE ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.data-table td:first-child { color: #fff; font-weight: 600; }
.data-table td.highlight { color: var(--accent); font-weight: 700; }

/* ---- RECOGNITION / REGULATORS ---- */
.regulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.regulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}
.regulator-card:hover { border-color: var(--accent); }
.regulator-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.regulator-card-header img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.regulator-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.regulator-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ---- SECURITY FEATURES ---- */
/* ==== SECURITY CARDS (light section) ==== */
.section-light {
  background: #ffffff;
  padding: 80px 24px;
}
.section-light-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}
.security-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.security-card {
  display: flex;
  background: #f1f3f6;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
}
.security-card-img {
  width: 250px;
  min-width: 250px;
  object-fit: cover;
  display: block;
}
.security-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.security-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.3;
}
.security-card-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.75;
}

/* legacy small icon layout kept for security.html tabs */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.security-block {
  background: var(--accent);
  padding: 28px 20px;
  text-align: center;
}
.security-block .ico { font-size: 2rem; margin-bottom: 12px; }
.security-block h4   { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }

/* ---- PLATFORM SHOWCASE ---- */
.platform-section {
  background: var(--bg-secondary);
  padding: 80px 24px;
}
.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.platform-mockup {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.platform-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: #1e2d4a;
  border-bottom: 1px solid var(--border);
}
.platform-mockup::after {
  content: '● ● ●';
  position: absolute;
  top: 8px; left: 14px;
  font-size: 10px;
  color: #3a5a80;
  letter-spacing: 4px;
}

/* ---- TRADING CATEGORIES ---- */
.trade-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.trade-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  min-height: 140px;
}
.trade-cat:hover { border-color: var(--accent); transform: translateY(-2px); }
.trade-cat-icon {
  width: 96px; height: 96px;
  background: rgba(26,108,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.trade-cat h4 { margin-bottom: 6px; font-size: 1.05rem; }
.trade-cat p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ---- PARTNER BANNER ---- */
.partner-banner {
  background-image: url('assets/Nadal/Nadal.png');
  background-color: #070c18;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2880 / 452;
}
.partner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,12,24,0.72) 0%, rgba(7,12,24,0.35) 55%, transparent 100%);
  z-index: 1;
}
.partner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
.partner-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 4px; }
.partner-text p  { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; }
.partner-visual  { display: none; }
.partner-img-mock { display: none; }

/* ---- FOOTER ---- */
.footer {
  background: #050912;
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: var(--accent); background: rgba(26,108,255,0.15); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-contacts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-phones {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px 32px;
  flex: 1;
}
.footer-phones li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fc-geo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-phones li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-phones li a:hover { color: #fff; }
.footer-email {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  align-self: center;
  flex-shrink: 0;
}
.footer-email:hover { color: var(--accent); }
.footer-hours {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-hours svg { color: var(--accent); flex-shrink: 0; }

@media (max-width: 768px) {
  .footer-phones { grid-template-columns: repeat(2, 1fr); }
  .footer-contacts { flex-direction: column; gap: 24px; }
  .footer-hours { margin-top: 0; }
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 800px;
}

.footer-regs {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.reg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a.reg-badge:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: var(--bg-card2);
}

/* ---- TEXT PAGE (risk, privacy) ---- */
.text-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.text-section h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.text-section h2:first-child { margin-top: 0; }
.text-section p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ---- BONUS ACCOUNT TILES ---- */
.bonus-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.bonus-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bonus-tile:hover { border-color: var(--accent); }
.bonus-tile h4 { font-size: 1rem; margin-bottom: 4px; }
.bonus-tile p  { font-size: 0.82rem; color: var(--text-muted); }
.bonus-tile-arrow {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---- CASHBACK TABLE ---- */
.cashback-highlight {
  color: var(--accent);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
}

/* ---- PARTNER COMMISSIONS ---- */
.commission-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.commission-card {
  background: var(--accent);
  border-radius: 8px;
  padding: 32px 40px;
  text-align: center;
  min-width: 160px;
}
.commission-card .pct { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.commission-card p   { font-size: 0.85rem; opacity: 0.9; margin-top: 6px; }

/* ---- SECURITY TABS ---- */
.sec-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.sec-tab {
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.sec-tab.active { color: var(--accent); border-color: var(--accent); }
.sec-tab:hover  { color: #fff; }

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 24px;
}

/* ---- FLEX UTILS ---- */
.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16     { gap: 16px; }
.gap-24     { gap: 24px; }
.mt-16      { margin-top: 16px; }
.mt-24      { margin-top: 24px; }
.mt-40      { margin-top: 40px; }
.mb-8       { margin-bottom: 8px; }
.mb-16      { margin-bottom: 16px; }
.mb-24      { margin-bottom: 24px; }
.mb-40      { margin-bottom: 40px; }
.text-center { text-align: center; }

/* ---- SCROLL INDICATOR ---- */
.scroll-line {
  height: 3px;
  background: var(--accent);
  position: fixed;
  top: 64px;
  left: 0;
  z-index: 999;
  width: 0%;
  transition: width 0.1s;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .steps-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .security-grid         { grid-template-columns: repeat(2, 1fr); }
  .security-cards-grid   { grid-template-columns: 1fr; }
  .security-card-img     { width: 200px; min-width: 200px; }
  .regulator-grid        { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: repeat(3, 1fr); }
  .platform-inner   { grid-template-columns: 1fr; }
  .grid-2-1         { grid-template-columns: 1fr; }
  .awards-title     { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .nav-menu         { display: none; }
  /* absolute, not fixed: .navbar has backdrop-filter, so it becomes the
     containing block for fixed children and `bottom:0` collapsed the panel */
  .nav-menu.open    { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); background: var(--bg-secondary); padding: 20px; overflow-y: auto; gap: 0; z-index: 1500; }
  .nav-item         { width: 100%; }
  .nav-link         { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-dropdown     { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; padding: 0 0 0 16px; }
  .nav-dropdown a   { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger        { display: flex; }
  .nav-actions .btn-register { display: none; }

  /* mobile navbar: keep the burger off the edge, pull brand + lang left */
  .nav-container    { padding: 0 16px; gap: 10px; }
  .nav-logo         { margin-right: 0; min-width: 0; }
  .nav-logo img     { height: 26px; }
  .nav-logo .brand-name { font-size: 1.05rem; }
  .hamburger        { margin-left: 0; padding: 4px; flex-shrink: 0; }

  .grid-2           { grid-template-columns: 1fr; }
  .grid-3           { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: 1fr; }
  .trade-cats       { grid-template-columns: 1fr; }
  .bonus-tiles      { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .security-grid         { grid-template-columns: 1fr; }
  .security-card         { flex-direction: column; }
  .security-card-img     { width: 100%; min-width: unset; height: 180px; }
  .footer-top       { grid-template-columns: repeat(2, 1fr); }
  .partner-inner    { flex-direction: column; text-align: center; }
  .partner-visual   { justify-content: center; }
  .awards-title     { font-size: 2.1rem; }
  .awards-subtitle  { font-size: 0.95rem; }
  .awards-marquee   { border-radius: 20px; padding: 30px 0; margin-top: 36px; }
  .award-item       { padding: 0 26px; gap: 12px; }
  .laurel           { height: 52px; }
  .award-name       { font-size: 0.9rem; max-width: 190px; }
  .commission-cards { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .nav-container    { padding: 0 14px; gap: 8px; }
  .nav-logo         { gap: 8px; }
  .nav-logo img     { height: 24px; }
  .nav-logo .brand-name { font-size: 0.95rem; }

  .footer-top       { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .footer-regs      { justify-content: center; }
  .hero h1          { font-size: 1.8rem; }
  h2                { font-size: 1.4rem; }
}

/* ===== LANGUAGE SWITCHER ===== */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switcher { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e7ecf5; cursor: pointer;
  padding: 7px 10px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  transition: background .2s, border-color .2s;
}
.lang-trigger:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); }
.lang-trigger .lang-globe { opacity: .85; }
.lang-trigger .lang-caret { font-size: 10px; opacity: .7; }
.lang-panel {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 218px;
  background: rgba(10, 16, 30, 0.97);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 8px; display: none; z-index: 2000;
}
.lang-panel.open { display: block; animation: langIn .18s cubic-bezier(.16,1,.3,1); }
@keyframes langIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.lang-opt {
  position: relative; width: 100%; display: flex; align-items: center; gap: 14px;
  background: none; border: 0; cursor: pointer;
  padding: 11px 12px; border-radius: 9px; text-align: left;
  color: #cfd7e6; font-size: 16px;
  font-family: inherit;
  transition: background .18s, color .18s;
}
.lang-opt:hover { background: rgba(255,255,255,0.07); color: #fff; }
.lang-opt.active {
  background: rgba(26,108,255,0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(58,142,255,0.35);
}
.lang-opt .lang-cc {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #6f7a90; min-width: 26px;
  transition: color .18s;
}
.lang-opt:hover .lang-cc { color: #9fb4d8; }
.lang-opt.active .lang-cc { color: var(--accent-light); }
.lang-opt .lang-name { font-weight: 500; color: inherit; }
@media (max-width: 768px) {
  .nav-actions .btn-register { display: none; }
  .lang-panel { right: 0; }
  /* must live after the base .nav-actions/.lang-trigger rules above to win */
  .nav-actions  { margin-left: auto; gap: 10px; }
  .lang-trigger { padding: 6px 8px; font-size: 12px; }
}
@media (max-width: 480px) {
  .nav-actions  { gap: 8px; }
  .lang-trigger { padding: 6px 7px; gap: 4px; }
  .lang-trigger .lang-globe { width: 16px; height: 16px; }
}
