/* ============================================================
   Golden Pulse — Dark Premium Theme
   Precious Metals Investing Landing Page
   ============================================================ */

/* ---- 1. RESET -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
p { margin: 0; }

/* ---- 2. CSS VARIABLES ------------------------------------ */
:root {
  --accent-color: #C9962B;
  --accent-color-hover: #E0AB30;
  --accent-glow: rgba(201, 150, 43, 0.2);
  --accent-gradient: linear-gradient(135deg, #C9962B, #E0AB30);
  --contrast-color: #FFFFFF;
  --page-background: #0B0D17;
  --text-color: #E8E6E3;
  --text-muted: #9A9894;
  --header-background: rgba(11, 13, 23, 0.92);
  --footer-background: #07080F;
  --footer-text-color: #7A7875;
  --modal-background: #1A1C2E;
  --card-bg: #141625;
  --card-border: rgba(201, 150, 43, 0.1);
  --section-alt-bg: #0F1120;
  --green: #10B981;
  --cyan: #06B6D4;
  --glass-bg: rgba(20, 22, 37, 0.85);
  --glass-border: rgba(201, 150, 43, 0.08);
  --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --main-font: 'DM Sans', sans-serif;
  --heading-font: 'DM Sans', sans-serif;
  --default-text: 16px;
  --text-size-h1: 52px;
  --text-size-h2: 38px;
  --text-size-h3: 24px;
  --text-size-h4: 20px;
}

/* ---- 3. BASE --------------------------------------------- */
html, body { color: var(--text-color); font-family: var(--main-font); font-size: var(--default-text); background-color: var(--page-background); }
.page-site { display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; background-color: var(--page-background); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; width: 100%; }
section { position: relative; z-index: 0; scroll-margin-top: 50px; overflow: hidden; }
main section:not(.hero)::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 150, 43, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  top: -150px; right: -100px;
}
main section:not(.hero)::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 150, 43, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  bottom: -100px; left: -80px;
}
main section:nth-child(odd):not(.hero)::before { left: -100px; right: auto; }
main section:nth-child(odd):not(.hero)::after { right: -80px; left: auto; }
section p { word-break: break-word; }
.section { padding: 100px 0; }
.section-alt { background-color: var(--section-alt-bg); }

.sec-background, .page-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; object-fit: cover; pointer-events: none; }
.page-background { position: fixed; z-index: 0; }
.text-section { padding: 130px 0; }
.text-section table { margin: 0 auto; width: 100%; max-width: 1100px; }
.full-height { min-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fade { opacity: 0.5; }
.text-accent { color: var(--accent-color); }
.text-gold { background: linear-gradient(135deg, #C9962B 0%, #F2D077 50%, #C9962B 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rating { display: flex; align-items: center; gap: 5px; color: var(--accent-color); font-size: 20px; font-weight: 700; }
.rating svg { width: 25px; height: 24px; margin-bottom: 3px; }

/* ---- 4. TYPOGRAPHY --------------------------------------- */
h1 { font-family: var(--heading-font); font-size: var(--text-size-h1); font-weight: 700; line-height: 1.15; margin: 0 0 24px; color: var(--text-color); }
h2 { font-family: var(--heading-font); font-size: var(--text-size-h2); font-weight: 700; line-height: 1.2; margin: 0 0 20px; color: var(--text-color); }
h3 { font-family: var(--heading-font); font-size: var(--text-size-h3); font-weight: 600; line-height: 1.25; margin: 0 0 16px; color: var(--text-color); }
h4 { font-family: var(--heading-font); font-size: var(--text-size-h4); font-weight: 600; line-height: 1.3; margin: 0 0 16px; color: var(--text-color); }
section p, p { font-size: var(--default-text); line-height: 1.7; margin-bottom: 16px; color: var(--text-muted); }
section p:last-child { margin-bottom: 0; }
section ul li { position: relative; padding-left: 20px; margin-bottom: 10px; }
section ul li:last-child { margin-bottom: 0; }
section ul li::before { position: absolute; content: ''; width: 6px; height: 6px; border-radius: 50%; background-color: var(--accent-color); left: 6px; top: 9px; }

/* ---- 5. BUTTONS ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center;
  cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden;
  user-select: none; width: fit-content; font-family: var(--main-font);
  letter-spacing: 0.3px;
}
.btn.btn--center { margin-top: 20px; margin-left: auto !important; margin-right: auto !important; }
.btn-base {
  background: linear-gradient(135deg, #C9962B 0%, #E8B84B 50%, #C9962B 100%);
  background-size: 200% 200%;
  color: #0B0D17; font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 150, 43, 0.25);
}
.btn-base:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 150, 43, 0.35), 0 0 40px rgba(201, 150, 43, 0.12);
  background-position: right center;
}
.btn-outline {
  background: transparent; color: var(--accent-color);
  border: 1.5px solid rgba(201, 150, 43, 0.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(201, 150, 43, 0.1); color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Floating CTA */
.btn-show-form { position: fixed; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 50%; background: var(--accent-color); right: 30px; bottom: 30px; z-index: 100; }
.btn-show-form p { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; margin: 0; }
.btn-show-form::before, .btn-show-form::after { position: absolute; content: ''; width: 100%; height: 100%; background: var(--accent-color); opacity: 0.5; border-radius: 50%; z-index: -1; animation: btn-pulse 1.6s infinite; }
.btn-show-form::after { animation-delay: 0.3s; opacity: 0.2; animation-name: btn-pulse2; }
.btn-show-form svg { width: 25px; height: 25px; fill: #0B0D17; }
@keyframes btn-pulse { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes btn-pulse2 { 0% { transform: scale(1); opacity: 0.2; } 70%, 100% { transform: scale(2.3); opacity: 0; } }

/* ---- 6. HEADER ------------------------------------------- */
.header {
  position: fixed; background-color: var(--header-background);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  width: 100%; padding: 8px 0;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 1000; top: 0; border-bottom: 1px solid rgba(201, 150, 43, 0.06);
}
.header.header--scroll { box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4); }
.header.header--static { position: static; }
.header.header--hide { transform: translateY(-100%); }
.header.header--transparent { background-color: transparent; border-bottom-color: transparent; }
.header.header--transparent.header--scroll { background-color: var(--header-background); border-bottom-color: rgba(201, 150, 43, 0.06); }
.header__top-text { position: absolute; font-size: 8px; top: 3px; left: 50%; transform: translateX(-50%); opacity: 0.3; width: 100%; text-align: center; z-index: 3; color: var(--text-muted); }
.header__top-text a { color: var(--text-muted) !important; }
.header__wrapper { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo { max-width: 225px; height: 60px; display: flex; justify-content: flex-start; align-items: center; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo span { font-family: var(--heading-font); font-size: 22px; font-weight: 700; color: var(--text-color); letter-spacing: -0.5px; }
.logo span em { font-style: normal; color: var(--accent-color); }
.wrap-nav { display: flex; gap: 20px; }
ul.nav { display: flex; gap: 24px; }
ul.nav a { font-size: 15px; font-weight: 500; position: relative; color: var(--text-muted); transition: color 0.3s; }
ul.nav a:hover, ul.nav a.active { color: var(--text-color); }
ul.nav a::before { position: absolute; content: ''; width: 100%; height: 2px; bottom: -4px; left: 0; background: var(--accent-color); transform: scaleX(0); transition: transform 0.3s; transform-origin: right; }
ul.nav a:hover::before, ul.nav a.active::before { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { position: relative; z-index: 100; }
.lang-switcher__current {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s; user-select: none;
}
.lang-switcher__current:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,150,43,0.2); }
.lang-switcher.open .lang-switcher__current { border-color: var(--accent-color); background: rgba(201,150,43,0.08); }
.lang-switcher__flag { width: 20px; height: 14px; border-radius: 2px; flex-shrink: 0; }
.lang-switcher__code { font-size: 13px; font-weight: 600; color: var(--text-color); letter-spacing: 0.3px; }
.lang-switcher__arrow { width: 10px; height: 10px; color: var(--text-muted); transition: transform 0.2s; }
.lang-switcher.open .lang-switcher__arrow { transform: rotate(180deg); }
.lang-switcher__dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 100%;
  background: var(--card-bg); border: 1px solid rgba(201,150,43,0.15);
  border-radius: 10px; padding: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s ease;
}
.lang-switcher.open .lang-switcher__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher__option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 7px; text-decoration: none;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: all 0.15s; white-space: nowrap;
}
.lang-switcher__option:hover { background: rgba(201,150,43,0.1); color: var(--accent-color); }
.header__btn .desktop-hidden { display: none; }

.resources-nav { position: relative; }
.resources-nav.active svg { transform: rotateX(180deg); }
.resources-nav__title { cursor: pointer; }
.resources-nav__title svg { width: 14px; height: 8px; transition: transform 0.1s; }
.resources-nav__list { position: absolute; display: none; background-color: var(--modal-background); padding: 10px 15px; top: 110%; width: calc(100% + 20px); left: -10px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); }
.resources-nav__list li { margin-bottom: 5px; }
.resources-nav__list li:last-child { margin-bottom: 0; }
.resources-nav__list a:hover { text-shadow: .5px 0 0 currentColor; }

.header-top-menu, .header-bottom-menu { width: 100%; }
.header-menu--top, .header-menu--bottom { width: 100%; }
.header-menu--top .header-menu__list, .header-menu--bottom .header-menu__list { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.header-menu__item { margin: 0; }
.header-menu__link { display: block; color: var(--text-color); transition: color 0.3s; font-weight: 500; }
.header-menu__link:hover, .header-menu__link.active-link { color: var(--accent-color); }
.header-menu--top { padding: 10px 0; }
.header-menu--top .header-menu__link { font-size: 14px; }
.header-menu--bottom { padding: 15px 0; }
.header-menu--bottom .header-menu__link { font-size: 16px; }
.header__timer { padding: 15px 15px 5px; text-align: center; width: 100%; background: var(--accent-color); color: #0B0D17; position: relative; z-index: 2; display: none; }
.with-timer .header { padding: 0 0 8px; }
.with-timer .header__timer { display: block; }
.with-timer .header__wrapper { padding-top: 8px; }

/* Burger */
.burger { height: 16px; width: 30px; justify-content: center; align-items: center; z-index: 350; cursor: pointer; transition: all 0.3s; display: none; position: relative; margin-right: 12px; }
.burger::before { position: absolute; content: ''; border-radius: 6px; border: 1px solid rgba(201, 150, 43, 0.12); background: rgba(201, 150, 43, 0.06); width: 44px; height: 40px; top: -10px; }
.burger span { position: absolute; background: var(--text-color); height: 3px; width: 30px; display: block; transition: all 0.3s; border-radius: 5px; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }
.burger.active span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { bottom: 7px; transform: rotate(-45deg); }
.menu-bottom-mob { display: none; }
body { padding-top: 76px; }
.with-timer body { padding-top: 120px; }

/* ---- 7. FOOTER ------------------------------------------- */
.footer { margin-top: auto; background-color: var(--footer-background); color: var(--footer-text-color); padding: 60px 0 50px; z-index: 22; }
.footer .logo span { color: #fff !important; }
.footer .logo span em { color: var(--accent-color) !important; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; margin-bottom: 40px; flex-wrap: wrap; }
.footer__left { max-width: 440px; }
.footer__menus { display: flex; gap: 55px; flex-wrap: wrap; }
.footer__col { max-width: 250px; }
.footer__col--title { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: #E5E7EB; }
.footer-nav a { color: var(--footer-text-color); opacity: 0.8; transition: opacity 0.2s, color 0.2s; font-size: 14px; }
.footer-nav a:hover { opacity: 1; color: var(--accent-color); }
.footer-nav li { margin-bottom: 10px; }
.footer-nav li:last-child { margin-bottom: 0; }
.footer__small-text { margin-top: 16px; line-height: 1.6; font-size: 13px; opacity: 0.7; }
.footer__text { opacity: 0.7; font-size: 13px; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 25px; margin-top: 10px; }
.footer__text a { color: var(--footer-text-color); text-decoration: underline; }
.footer__text p { margin-bottom: 12px; color: var(--footer-text-color); }
.footer__text p:last-child { margin-bottom: 0; }
.footer__text strong { color: var(--accent-color); }
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer__bottom-links a { color: var(--footer-text-color); font-size: 13px; opacity: 0.7; transition: opacity 0.2s; }
.footer__bottom-links a:hover { opacity: 1; }

/* ---- 8. FORM --------------------------------------------- */
.form-block { width: 100%; position: relative; max-width: 100%; }
.preloader { display: none; background: var(--modal-background); position: absolute; transform: scale(1.04); top: 0; bottom: 0; left: 0; right: 0; z-index: 9995; opacity: 0.8; border-radius: 8px; justify-content: center; align-items: center; }
.loader { width: 48px; height: 48px; border-radius: 50%; display: inline-block; position: relative; border: 3px solid; border-color: var(--accent-color) var(--accent-color) transparent; animation: rotation 1s linear infinite; }
.loader::after { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: auto; border: 3px solid; border-color: transparent var(--accent-color) var(--accent-color); width: 24px; height: 24px; border-radius: 50%; animation: rotationBack 0.5s linear infinite; }
@keyframes rotation { to { transform: rotate(360deg); } }
@keyframes rotationBack { to { transform: rotate(-360deg); } }

.form__title { text-align: left; margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.form__row--2col { grid-template-columns: 1fr 1fr; }
.form__input-wrapper { width: 100%; position: relative; }
.form__row .form__input-wrapper svg { position: absolute; width: 24px; height: 24px; top: 50%; transform: translateY(-50%); left: 12px; pointer-events: none; color: var(--text-muted); opacity: 0.5; }
.form__input {
  transition: border 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%; border: 1px solid rgba(201, 150, 43, 0.15);
  color: var(--text-color); font-size: 15px !important; line-height: normal;
  height: 50px; padding: 0 18px; box-shadow: none;
  background-color: rgba(20, 22, 37, 0.8); border-radius: 10px;
  outline: none; font-family: inherit;
}
.form__input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px var(--accent-glow); }
.form__row--icons .form__input { padding: 0 18px 0 46px; }
.form__input::placeholder { color: var(--text-muted) !important; opacity: 0.6 !important; }
.form__input.error { border: 1px solid #FF2633; background: rgba(255, 38, 51, 0.08); }
.form__input.valid { border: 1px solid rgba(201, 150, 43, 0.15); background: rgba(20, 22, 37, 0.8); }
label.error { position: absolute; z-index: 2; top: calc(100% + 2px); left: 8px; width: 100%; max-width: 500px; background: #FF2633; border-radius: 8px; font-weight: 900; font-size: 14px; line-height: 18px; color: #FFF; padding: 7px 12px; }
label.error::before { content: ""; position: absolute; z-index: -1; width: 15px; height: 15px; background: #FF2633; border-radius: 2px; top: -6px; left: 10px; transform: rotate(45deg); }
.form__submit { width: 100%; }
.form__btn { width: 100% !important; margin-top: 16px; height: 50px; font-size: 15px; font-weight: 700; border-radius: 10px; letter-spacing: 0.5px; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 10px; line-height: 1.3; color: var(--text-muted); }
.checkbox p { font-size: 10px !important; line-height: 1.3 !important; margin-bottom: 0; color: inherit; opacity: 0.6; text-align: left; }
.checkbox a { color: var(--accent-color); }
.checkbox input[type="checkbox"] { appearance: none; width: 18px; min-width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid rgba(201, 150, 43, 0.3); position: relative; cursor: pointer; margin: 0 !important; flex-shrink: 0; background: transparent; }
.checkbox input[type="checkbox"]::before { content: ""; position: absolute; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none'%3E%3Cpath stroke='%230B0D17' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m13 1-8.25 9L1 5.91'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: auto; background-position: center; width: 100% !important; height: 100% !important; opacity: 0; }
.checkbox input[type="checkbox"]:checked { background: var(--accent-color); border-color: var(--accent-color); }
.checkbox input[type="checkbox"]:checked::before { opacity: 1; }
.iti { width: 100%; }
.iti__flag-container { top: 0; bottom: 0; left: 0 !important; border-radius: 10px 0 0 10px; overflow: hidden; }
.iti-arrow { display: none; }
.iti__country-list { list-style: none; width: 320px; max-width: unset; background: var(--modal-background); border: 1px solid var(--glass-border); color: var(--text-color); }
.iti .selected-dial-code { font-size: 15px !important; color: var(--text-color); }
.selected-flag-line { position: absolute; right: 0; width: 1px; height: calc(100% - 25px); background-color: rgba(201, 150, 43, 0.15); }

/* ---- 9. MODAL -------------------------------------------- */
.modal-wrap { position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0, 0, 0, 0.60); z-index: 20000000; overflow-y: auto; transition: opacity 0.3s, visibility 0.3s; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; }
.modal-wrap.active { opacity: 1; visibility: visible; }
.modal-wrap.active .modal__body { transform: translateY(0); opacity: 1; }
.modal-wrap.hide { animation: modalHide 0.3s; }
.modal-wrap.hide .modal__body { transform: translateY(200px); opacity: 0; }
@keyframes modalHide { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.modal { overflow: visible; height: fit-content; position: relative; min-width: 480px; max-width: 680px; width: 90vw; padding: 40px 0; }
.modal__body { background-color: var(--modal-background); padding: 30px; padding-top: 55px; width: 100%; position: relative; z-index: 2; border-radius: 16px; transition: transform 0.6s cubic-bezier(0.53, 0.2, 0.71, 1.33), opacity 0.3s; transform: translateY(200px); opacity: 0; border: 1px solid var(--glass-border); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5); }
.modal__title { font-size: var(--text-size-h3); font-weight: 700; margin-bottom: 20px; color: var(--text-color); }
.modal__title p { font-size: var(--text-size-h3); font-weight: 700; margin-bottom: 0; }
.modal__subtitle { font-size: 22px; font-weight: 600; color: var(--text-color); margin-bottom: 24px; text-align: center; line-height: 1.4; }
.modal__close { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; transition: opacity 0.3s; color: var(--text-muted); display: flex; justify-content: center; align-items: center; }
.modal__close:hover { opacity: 0.5; }
.modal__close svg { width: 26px; height: 26px; stroke: var(--text-muted); transform: rotate(45deg); fill: none; stroke-width: 2; }

/* ---- 10. HERO ---- */
.hero {
  padding: 130px 0 90px;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero .sec-background {
  opacity: 0.25;
  filter: brightness(0.5);
}
.hero__bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 150, 43, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 150, 43, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11, 13, 23, 0.3) 0%, rgba(11, 13, 23, 0.95) 100%);
}
.hero__urgency-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 150, 43, 0.1);
  border: 1px solid rgba(201, 150, 43, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 32px;
}
.hero__urgency-bar svg { flex-shrink: 0; color: var(--accent-color); align-self: flex-start; margin-top: 2px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero__content h1 { margin-bottom: 20px; font-size: var(--text-size-h1); letter-spacing: -1px; }
.hero__desc { font-size: 18px; line-height: 1.7; color: var(--text-muted); margin-bottom: 32px; }
.hero__metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero__metric { display: flex; flex-direction: column; }
.hero__metric-value { font-size: 22px; font-weight: 700; color: var(--accent-color); }
.hero__metric-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.hero__metric-divider { width: 1px; height: 36px; background: rgba(201, 150, 43, 0.2); }

.hero__form-card {
  background: linear-gradient(160deg, rgba(15, 18, 35, 0.97) 0%, rgba(11, 13, 23, 0.99) 40%, rgba(18, 16, 10, 0.97) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(201, 150, 43, 0.06);
  position: relative;
}
.hero__form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 150, 43, 0.3), transparent 50%, rgba(201, 150, 43, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero__form-heading { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--text-color); line-height: 1.35; text-align: center; font-family: var(--heading-font); }
.hero__form-subtext { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.hero__form-card .form__row { margin-bottom: 12px; }
.hero__form-card .form__row:last-of-type { margin-bottom: 0; }

/* ---- METALS PRICE TICKER ---- */
.metals-ticker {
  background: linear-gradient(90deg, rgba(201,150,43,0.08) 0%, rgba(201,150,43,0.03) 50%, rgba(201,150,43,0.08) 100%);
  border-top: 1px solid rgba(201,150,43,0.15);
  border-bottom: 1px solid rgba(201,150,43,0.15);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.metals-ticker::before,
.metals-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.metals-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--page-background), transparent);
}
.metals-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--page-background), transparent);
}
.metals-ticker__track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.metals-ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.metals-ticker__name {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.metals-ticker__price {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
}
.metals-ticker__change {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.metals-ticker__change--up {
  color: #34D399;
  background: rgba(52,211,153,0.1);
}
.metals-ticker__change--down {
  color: #EF4444;
  background: rgba(239,68,68,0.1);
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ---- 11. EDITORIAL SECTION ---- */
.editorial { background-color: var(--page-background); overflow: visible; }
.editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.editorial__text h2 { margin-bottom: 24px; }
.editorial__text p { margin-bottom: 18px; font-size: 16px; line-height: 1.8; }
.editorial__image { position: relative; border-radius: 16px; overflow: visible; display: flex; align-items: center; justify-content: center; }
.editorial__image::after { display: none; }
.editorial__image img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }

/* Phone Mockup */
/* Phone Duo */
.phone-duo {
  position: relative;
  width: 500px; height: 740px;
  margin: 0 auto;
}
.phone-mockup--back {
  position: absolute;
  top: 25px; left: 180px;
  transform: rotate(6deg);
  opacity: 0.55;
  z-index: 1;
}
.phone-mockup--front {
  position: absolute;
  top: 20px; left: 10px;
  z-index: 2;
}

.phone-mockup {
  width: 320px;
  height: 690px;
  background: #0E1025;
  border-radius: 40px;
  padding: 12px;
  border: 3px solid rgba(201, 150, 43, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(201, 150, 43, 0.08);
  display: flex;
  flex-direction: column;
}
.phone-mockup__notch {
  width: 120px; height: 28px;
  background: #0E1025;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.phone-mockup__screen {
  background: #0B0D17;
  border-radius: 28px;
  overflow: hidden;
  margin-top: -14px;
  padding: 24px 16px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.phone-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Phone UI */
.phone-ui__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 150, 43, 0.1);
}
.phone-ui__logo { font-size: 14px; font-weight: 700; color: #fff; }
.phone-ui__logo em { font-style: normal; color: #C9962B; }
.phone-ui__balance { font-size: 16px; font-weight: 800; color: #C9962B; }

.phone-ui__chart { margin-bottom: 16px; }
.phone-ui__chart-tabs {
  display: flex; gap: 4px; margin-bottom: 8px;
}
.phone-ui__chart-tab {
  font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.25);
  padding: 3px 8px; border-radius: 6px; cursor: default;
}
.phone-ui__chart-tab--active {
  background: rgba(201, 150, 43, 0.15); color: #C9962B;
}
.phone-ui__chart-svg { width: 100%; height: 80px; }
.phone-ui__chart-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}
.animated .phone-ui__chart-line {
  animation: drawChart 2s ease forwards;
}
@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}
.phone-ui__chart-area { opacity: 0; }
.animated .phone-ui__chart-area {
  animation: fadeArea 1s 1.5s ease forwards;
}
@keyframes fadeArea {
  to { opacity: 1; }
}
.phone-ui__chart-label {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px; font-size: 11px; color: var(--text-muted);
}
.phone-ui__chart-change { color: #10B981; font-weight: 700; font-size: 13px; }

.phone-ui__section-title {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}

.phone-ui__signals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.phone-ui__signal {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(20, 22, 37, 0.9);
  border: 1px solid rgba(201, 150, 43, 0.08);
  border-radius: 10px; padding: 10px 12px;
  opacity: 0; transform: translateX(20px);
}
.animated .phone-ui__signal {
  animation: slideSignal 0.5s ease forwards;
}
.animated .phone-ui__signal[data-signal="1"] { animation-delay: 0.6s; }
.animated .phone-ui__signal[data-signal="2"] { animation-delay: 0.9s; }
.animated .phone-ui__signal[data-signal="3"] { animation-delay: 1.2s; }
.animated .phone-ui__signal[data-signal="4"] { animation-delay: 1.5s; }
@keyframes slideSignal {
  to { opacity: 1; transform: translateX(0); }
}
.phone-ui__signal-left { display: flex; flex-direction: column; }
.phone-ui__signal-metal { font-size: 13px; font-weight: 700; color: #fff; }
.phone-ui__signal-name { font-size: 10px; color: var(--text-muted); }
.phone-ui__signal-right { display: flex; align-items: center; gap: 8px; }
.phone-ui__signal-price { font-size: 12px; font-weight: 600; color: #fff; }
.phone-ui__signal-tag {
  font-size: 9px; font-weight: 800; padding: 3px 8px;
  border-radius: 6px; letter-spacing: 0.5px;
}
.phone-ui__signal-tag--buy { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.phone-ui__signal-tag--sell { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.phone-ui__signal-tag--hold { background: rgba(201, 150, 43, 0.15); color: #C9962B; }

.phone-ui__portfolio { opacity: 0; }
.animated .phone-ui__portfolio { animation: fadeArea 0.6s 1.8s ease forwards; }
.phone-ui__portfolio-bar {
  display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px;
  margin-bottom: 10px;
}
.phone-ui__bar-seg { border-radius: 4px; }
.phone-ui__bar-seg--gold { background: #C9962B; }
.phone-ui__bar-seg--silver { background: #A8A8A8; }
.phone-ui__bar-seg--copper { background: #E07B39; }
.phone-ui__bar-seg--plat { background: #8B9DAF; }
.phone-ui__portfolio-legend {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 10px; color: var(--text-muted);
}
.phone-ui__portfolio-legend i {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 3px; vertical-align: middle;
}

/* Back phone - Risk */
.phone-ui__risk { margin-bottom: 16px; }
.phone-ui__risk-bar {
  height: 6px; background: rgba(201, 150, 43, 0.12);
  border-radius: 3px; position: relative; margin-bottom: 6px;
}
.phone-ui__risk-fill {
  width: 60%; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #10B981, #C9962B, #EF4444);
  opacity: 0;
}
.animated .phone-ui__risk-fill { animation: fadeArea 0.8s 0.5s ease forwards; }
.phone-ui__risk-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #C9962B; border: 2px solid #0B0D17;
  position: absolute; top: -4px; left: 58%;
  box-shadow: 0 2px 8px rgba(201, 150, 43, 0.4);
}
.phone-ui__risk-labels {
  display: flex; justify-content: space-between;
  font-size: 8px; color: var(--text-muted);
}

/* Back phone - Activity */
.phone-ui__activity { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.phone-ui__activity-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(20, 22, 37, 0.9);
  border: 1px solid rgba(201, 150, 43, 0.06);
  border-radius: 10px; padding: 8px 10px;
  opacity: 0; transform: translateX(20px);
}
.animated .phone-ui__activity-item { animation: slideSignal 0.5s ease forwards; }
.animated .phone-ui__activity-item[data-signal="1"] { animation-delay: 0.4s; }
.animated .phone-ui__activity-item[data-signal="2"] { animation-delay: 0.7s; }
.animated .phone-ui__activity-item[data-signal="3"] { animation-delay: 1.0s; }
.animated .phone-ui__activity-item[data-signal="4"] { animation-delay: 1.3s; }
.animated .phone-ui__activity-item[data-signal="5"] { animation-delay: 1.6s; }
.phone-ui__activity-dot {
  width: 8px; min-width: 8px; height: 8px; border-radius: 50%;
}
.phone-ui__activity-dot--buy { background: #10B981; }
.phone-ui__activity-dot--sell { background: #EF4444; }
.phone-ui__activity-dot--rebalance { background: #C9962B; }
.phone-ui__activity-info { flex: 1; display: flex; flex-direction: column; }
.phone-ui__activity-title { font-size: 11px; font-weight: 600; color: #fff; }
.phone-ui__activity-time { font-size: 9px; color: var(--text-muted); }
.phone-ui__activity-amount { font-size: 11px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.phone-ui__activity-amount--plus { color: #10B981; }

/* Back phone - Notification */
.phone-ui__notif {
  display: flex; align-items: center; gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 10px; padding: 10px 12px;
  font-size: 10px; color: var(--text-muted);
  opacity: 0;
}
.animated .phone-ui__notif { animation: fadeArea 0.6s 2s ease forwards; }
.phone-ui__notif svg { flex-shrink: 0; }

/* Phone Tab Bar */
.phone-ui__tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: auto;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(201, 150, 43, 0.1);
  flex-shrink: 0;
}
.phone-ui__tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
}
.phone-ui__tab span {
  font-size: 8px; font-weight: 500; letter-spacing: 0.2px;
}
.phone-ui__tab--active { color: #C9962B; }
.phone-ui__tab--trade .phone-ui__tab-trade-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #C9962B, #E8B84B);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(201, 150, 43, 0.35);
  margin-top: -8px;
}
.phone-ui__tab--trade span { color: #C9962B; }

/* ---- 12. WHY METALS SECTION ---- */
.why-metals { background-color: var(--section-alt-bg); }
.why-metals__header { max-width: 700px; margin-bottom: 48px; margin-left: auto; margin-right: auto; text-align: center; }
.why-metals__header h2 { margin-bottom: 16px; }
.why-metals__lead { font-size: 20px !important; line-height: 1.6; color: var(--text-color) !important; font-weight: 500; }
.why-metals__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.why-metals__text p { font-size: 16px; line-height: 1.85; margin-bottom: 20px; }
.why-metals__chart { position: relative; display: flex; }
.metals-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(11, 13, 23, 0.7);
  border: 1px solid rgba(201, 150, 43, 0.12);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
}
.metals-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.metals-chart__title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.5px;
}
.metals-chart__legend {
  display: flex;
  gap: 16px;
}
.metals-chart__legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.metals-chart__legend-item .metals-chart__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.metals-chart__legend-item--gold .metals-chart__dot { background: #C9962B; }
.metals-chart__legend-item--silver .metals-chart__dot { background: #C0C0D2; }
.metals-chart__legend-item--copper .metals-chart__dot { background: #D4763B; }
.metals-chart__body {
  display: flex;
  gap: 8px;
  flex: 1;
  min-height: 180px;
}
.metals-chart__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  padding: 2px 0;
  min-width: 38px;
  text-align: right;
}
.metals-chart__area {
  flex: 1;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.metals-chart__svg {
  width: 100%;
  height: 100%;
}
.metals-chart__line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: chartDraw 2s ease-out forwards;
}
.metals-chart__fill {
  opacity: 0;
  animation: chartFadeIn 1s ease-out 1.5s forwards;
}
@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes chartFadeIn {
  to { opacity: 1; }
}
.metals-chart__dot-pulse { display: none; }
.metals-chart__area { overflow: hidden; }
.metals-chart__end-labels { display: none; }
.metals-chart__x-axis {
  display: flex;
  justify-content: space-between;
  padding: 10px 46px 0 46px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}
.metals-chart__footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.metals-chart__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
}
.metals-chart__badge--up {
  color: #C9962B;
  background: rgba(201, 150, 43, 0.08);
}
.metals-chart__badge--copper {
  color: #D4763B;
  background: rgba(212, 118, 59, 0.08);
}

/* ---- 13. TWO WAYS SECTION ---- */
.two-ways { background-color: var(--page-background); }
.two-ways__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.two-ways__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.two-ways__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 150, 43, 0.1);
}
.two-ways__card-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.two-ways__card-icon {
  width: 48px; min-width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 150, 43, 0.1);
  border-radius: 14px;
  color: var(--accent-color);
}
.two-ways__card h3 { margin-bottom: 0; }
.two-ways__bridge {
  text-align: center;
  font-size: 17px !important;
  color: var(--text-color) !important;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 40px;
}
.two-ways__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.two-ways__feature {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.two-ways__feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201, 150, 43, 0.08);
}
.two-ways__feature-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.two-ways__feature-icon {
  width: 40px; min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 150, 43, 0.1);
  border-radius: 12px;
  color: var(--accent-color);
}
.two-ways__feature h4 { margin-bottom: 0; }

/* ---- 14. WHO IS IT FOR ---- */
.who-for__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.who-for__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.who-for__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 150, 43, 0.1);
}
.who-for__card-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.who-for__card-icon {
  width: 48px; min-width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 150, 43, 0.1);
  border-radius: 14px;
  color: var(--accent-color);
}
.who-for__card h3 { margin-bottom: 0; font-size: 20px; }

/* ---- 15. SPECTRUM ---- */
.spectrum { background-color: var(--page-background); }
.spectrum__header { margin-bottom: 48px; }
.spectrum__header h2 { text-align: center; margin-bottom: 32px; }
.spectrum__header-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.spectrum__header-cols p { font-size: 16px; line-height: 1.8; margin-bottom: 0; }
.spectrum__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.spectrum__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.spectrum__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 150, 43, 0.1);
}
.spectrum__card-img { height: 200px; overflow: hidden; }
.spectrum__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.spectrum__card:hover .spectrum__card-img img { transform: scale(1.05); }
.spectrum__card-body { padding: 24px; }
.spectrum__card-body h3 { margin-bottom: 10px; font-size: 20px; }

/* ---- 16. HOW IT WORKS ---- */
.how-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-works__step {
  text-align: center;
  padding: 40px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s;
}
.how-works__step:hover { transform: translateY(-4px); }
.how-works__step-num {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient);
  color: #0B0D17;
  font-size: 22px; font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 20px;
}
.how-works__step h3 { margin-bottom: 12px; }

/* ---- 17. CALCULATOR ---- */
.calculator { background-color: var(--page-background); }
.calculator__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.calculator__info h2 { margin-bottom: 20px; }
.calculator__info p { margin-bottom: 16px; }
.calculator__img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: 16px; margin-top: 28px;
  border: 1px solid var(--card-border);
}

/* Calculator Visual */
.calc-visual {
  margin-top: 28px;
}
.calc-visual__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.calc-visual__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}
.calc-visual__card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.calc-visual__card-icon--gold { background: rgba(201, 150, 43, 0.1); }
.calc-visual__card-icon--silver { background: rgba(192, 192, 210, 0.1); }
.calc-visual__card-icon--copper { background: rgba(212, 118, 59, 0.1); }
.calc-visual__card-label {
  font-size: 13px; font-weight: 600; color: var(--text-color);
}
.calc-visual__card-price {
  font-size: 12px; color: var(--text-muted);
}
.calc-visual__card-change {
  font-size: 14px; font-weight: 700; font-family: var(--heading-font);
}
.calc-visual__card-change--up { color: #34D399; }
.calc-visual__chart-wrap {
  position: relative;
  background: rgba(11, 13, 23, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
}
.calc-visual__chart {
  width: 100%;
  height: 180px;
  display: block;
  opacity: 0.6;
}
.calc-visual__line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: chartDraw 2.5s ease-out forwards;
}
.calc-visual__area {
  opacity: 0;
  animation: chartFadeIn 1s ease-out 2s forwards;
}
.calc-visual__tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--heading-font);
  padding: 5px 10px;
  border-radius: 8px;
  animation: floatTag 4s ease-in-out infinite;
}
.calc-visual__tag--1 { top: 12%; right: 16px; animation-delay: 0s; }
.calc-visual__tag--2 { top: 55%; left: 16px; animation-delay: 1.3s; }
.calc-visual__tag--3 { top: 20%; left: 35%; animation-delay: 2.6s; }
.calc-visual__tag--4 { top: 65%; right: 30%; animation-delay: 0.7s; }
.calc-visual__tag--5 { top: 35%; left: 10%; animation-delay: 2s; }
.calc-visual__tag--6 { top: 75%; left: 45%; animation-delay: 3.2s; }
@keyframes floatTag {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-8px); opacity: 1; }
}
.calculator__widget {
  background: linear-gradient(160deg, rgba(15, 18, 35, 0.95) 0%, rgba(11, 13, 23, 0.98) 50%, rgba(18, 16, 10, 0.95) 100%);
  border: 1px solid rgba(201, 150, 43, 0.15);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(201, 150, 43, 0.04);
  position: relative;
  overflow: hidden;
}
.calculator__widget::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 150, 43, 0.25), transparent 50%, rgba(201, 150, 43, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.calculator__field { margin-bottom: 28px; }
.calculator__label {
  display: block;
  font-size: 15px; font-weight: 600;
  color: var(--text-color);
  margin-bottom: 14px;
}
.calculator__amount {
  font-size: 40px; font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 16px;
  font-family: var(--heading-font);
  letter-spacing: -0.5px;
}
.calculator__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%; height: 6px;
  background: rgba(201, 150, 43, 0.15);
  border-radius: 3px;
  outline: none;
}
.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(201, 150, 43, 0.4);
}
.calculator__slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--accent-color);
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.calculator__range-labels {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px;
}
.calculator__periods {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.calculator__period {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  background: rgba(201, 150, 43, 0.06);
  border: 1px solid rgba(201, 150, 43, 0.12);
  cursor: pointer;
  transition: all 0.2s;
}
.calculator__period:hover { border-color: var(--accent-color); color: var(--accent-color); }
.calculator__period.active {
  background: var(--accent-color);
  color: #0B0D17;
  border-color: var(--accent-color);
}
.calculator__results {
  margin-top: 28px;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}
.calculator__result-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-muted);
}
.calculator__result-row .calc-profit { color: #34D399; font-weight: 600; }
.calculator__result-total {
  border-top: 1px solid var(--card-border);
  margin-top: 8px; padding-top: 16px;
  font-size: 20px; font-weight: 800;
  color: var(--text-color);
  font-family: var(--heading-font);
}
.calculator__result-total span:last-child { color: var(--accent-color); font-size: 24px; }
.calculator__disclaimer {
  font-size: 12px !important;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.6;
  opacity: 0.7;
}

/* ---- 18. TESTIMONIALS ---- */
.testimonials__swiper { padding-bottom: 50px; }
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}
.testimonial-card__header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.testimonial-card__name {
  font-size: 15px; font-weight: 600;
  color: var(--text-color);
}
.testimonial-card p { font-size: 15px; line-height: 1.7; }
.testimonials__swiper .swiper-pagination { bottom: 0; }
.testimonials__swiper .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--text-muted);
  opacity: 0.3;
}
.testimonials__swiper .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

/* ---- 19. TRUST ---- */
.trust { background-color: var(--page-background); }
.trust__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.trust__text h2 { margin-bottom: 20px; }
.trust__text p { margin-bottom: 16px; line-height: 1.8; }
.trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  grid-auto-rows: 1fr;
}
.trust__stat {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.3s;
}
.trust__stat:hover { transform: translateY(-3px); }
.trust__stat-top {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 6px;
}
.trust__stat-icon { color: var(--accent-color); flex-shrink: 0; }
.trust__stat-value {
  font-size: 24px; font-weight: 800;
  color: var(--accent-color);
}
.trust__stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- 20. CTA SECTION ---- */
.cta-section { position: relative; overflow: hidden; }
.cta-section .sec-background {
  opacity: 0.2;
  filter: brightness(0.4);
}
.cta-section__bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 150, 43, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 13, 23, 0.6) 0%, rgba(11, 13, 23, 0.85) 100%);
}
.cta-section__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.cta-section__inner h2 { margin-bottom: 16px; }
.cta-section__inner p { margin-bottom: 12px; font-size: 17px; }
.cta-section__inner .btn { margin-top: 24px; }

/* ---- Sub-page styles ---- */
.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title h2 { margin-bottom: 12px; }
.sec-title p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.contact { padding: 80px 0; }
.contact__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__info h2 { margin-bottom: 20px; }
.contact__info p { font-size: 16px; line-height: 1.7; margin-bottom: 15px; }
.contact__form { background: var(--card-bg); border-radius: 16px; padding: 35px 30px; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); }
.page-content { max-width: 900px; margin: 0 auto; padding: 80px 15px; }
.page-content h1 { margin-bottom: 30px; }
.page-content h2 { margin-top: 40px; margin-bottom: 15px; font-size: 24px; }
.page-content h3 { margin-top: 30px; margin-bottom: 12px; font-size: 20px; }
.page-content p { line-height: 1.8; margin-bottom: 20px; color: var(--text-muted); }
.page-content ul li { position: relative; padding-left: 20px; margin-bottom: 10px; line-height: 1.7; }
.page-content ul li::before { position: absolute; content: ''; width: 6px; height: 6px; border-radius: 50%; background-color: var(--accent-color); left: 6px; top: 9px; }
.page-content a { color: var(--accent-color); }
.page-content a:hover { text-decoration: underline; }
.page-hero { background: var(--section-alt-bg); color: var(--text-color); padding: 80px 0 60px; text-align: center; border-bottom: 1px solid var(--glass-border); }
.page-hero h1 { color: var(--text-color); margin-bottom: 10px; }
.page-hero p { font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ---- Avatar component ---- */
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-color); color: #0B0D17;
  font-size: 14px; font-weight: 700;
}
.avatar::before { content: attr(data-initials); }

/* ---- FAQ ---- */
.faq { padding: 100px 0; }
.faq .sec-title { text-align: center; margin-bottom: 50px; }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 24px rgba(201, 150, 43, 0.08); }
.faq-item__question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; gap: 16px;
  font-weight: 600; font-size: 16px; color: var(--text-color);
  transition: color 0.2s;
}
.faq-item__question:hover { color: var(--accent-color); }
.faq-item__chevron {
  width: 20px; min-width: 20px; height: 20px;
  transition: transform 0.3s;
  color: var(--accent-color);
}
.faq-item.active .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer {
  display: none;
  padding: 0 24px 24px;
}
.faq-item__answer p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ---- Animations & Utilities ---- */
.particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.form-validation-messages { display: none; }

[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate="fade-in"] { transform: none; }
[data-animate="scale-in"] { transform: scale(0.92); }
[data-animate].animated { opacity: 1; transform: translateY(0) scale(1); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.table-scroll-wrapper { overflow-x: auto; width: 100%; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 15px; border: 1px solid var(--glass-border); text-align: left; color: var(--text-color); }
th { background: var(--accent-color); color: #0B0D17; font-weight: 600; }
tr:nth-child(even) td { background: rgba(201, 150, 43, 0.03); }

/* ---- RESPONSIVE ---- */
@media(max-width:1200px) {
  body { padding-top: 70px; }
  .full-height { min-height: unset; }
  .container { max-width: 720px; }
  h2, .sec-title, .editorial__text h2, .why-metals__header, .why-metals__lead { text-align: center; }
  .why-metals__header { margin-left: auto; margin-right: auto; }
  section:not(section:first-of-type) { padding-top: 60px !important; padding-bottom: 60px !important; }
  h1 { font-size: calc(var(--text-size-h1) * 0.72); }
  h2 { font-size: calc(var(--text-size-h2) * 0.78); }
  h3 { font-size: calc(var(--text-size-h3) * 0.88); }
  h4 { font-size: calc(var(--text-size-h4) * 0.88); }
  br { display: none !important; }
  .burger { display: flex; margin-left: auto; margin-right: 0; }
  .btn-show-form { display: none; }
  .header__btn { font-size: 0 !important; padding: 7px; width: 40px; height: 40px; border: none; gap: 0; display: flex; align-items: center; justify-content: center; }
  .header__btn .desktop-hidden { display: block; width: 24px; min-width: 24px; height: 24px; fill: #fff; }
  .header__right .lang-switcher { order: -1; }
  .header__right .lang-switcher .lang-switcher__code { display: none; }
  .header__right .lang-switcher .lang-switcher__current { padding: 5px 8px; gap: 4px; }
  .lang-switcher--mob { display: flex; justify-content: center; margin-top: 8px; }
  .lang-switcher--mob .lang-switcher__dropdown { top: auto; bottom: calc(100% + 6px); transform: translateY(8px); }
  .lang-switcher--mob.open .lang-switcher__dropdown { transform: translateY(0); }
  .header .wrap-nav { position: fixed; left: 0; top: 0; bottom: 0; background: var(--page-background); height: 100vh; padding-top: 76px; width: 100%; transition: transform 0.3s, opacity 0.3s; transform: translateY(-10px); opacity: 0; pointer-events: none; flex-direction: column; gap: 0; z-index: 99; }
  .header .wrap-nav.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header .nav { padding: 20px 15px; max-width: 720px; flex-direction: column; align-items: center; margin: 0 auto; width: 100%; gap: 10px; border-top: 1px solid rgba(201, 150, 43, 0.08); }
  .header .nav a { display: block; min-width: 200px; text-align: center; padding: 10px 20px; font-weight: 600; border-radius: 8px; color: var(--text-color); }
  .header .nav a::before { display: none; }
  .header .nav a.active { background: var(--accent-glow); color: var(--accent-color); }
  .menu-bottom-mob { display: flex; justify-content: space-between; gap: 10px; order: 3; padding: 15px 15px 70px; margin: auto auto 0 auto; font-size: 12px; font-weight: 600; max-width: 340px; width: 100%; opacity: 0.5; }
  .menu-bottom-mob a { color: var(--text-color); }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { text-align: center; }
  .hero__content h1 { font-size: calc(var(--text-size-h1) * 0.72); }
  .hero > .container { text-align: center; }
  .hero__urgency-bar { margin-left: auto; margin-right: auto; }
  .hero__metrics { justify-content: center; }
  .editorial__grid { grid-template-columns: 1fr; gap: 32px; }
  .editorial__image { display: flex; justify-content: center; width: 100%; text-align: center; }
  .phone-duo { left: 50%; transform: scale(0.75) translateX(-68%); transform-origin: top left; margin-bottom: -185px; }
  .editorial__image img { height: 320px; }
  .why-metals__content { grid-template-columns: 1fr; gap: 32px; }
  .metals-chart__end-labels { right: -48px; }
  .metals-chart__footer { flex-wrap: wrap; }
  .two-ways__modes { grid-template-columns: 1fr; }
  .two-ways__features { grid-template-columns: 1fr 1fr; }
  .who-for__grid { grid-template-columns: 1fr 1fr; }
  .spectrum__header-cols { grid-template-columns: 1fr; }
  .spectrum__grid { grid-template-columns: 1fr 1fr; }
  .how-works__steps { grid-template-columns: 1fr; gap: 24px; }
  .calculator__grid { grid-template-columns: 1fr; gap: 40px; }
  .trust__layout { grid-template-columns: 1fr; gap: 40px; }
  .contact__wrapper { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 30px; }
  .footer__left { max-width: 100%; }
  .modal { min-width: 90vw; }
  .modal__body { padding: 60px 15px 40px; }
}

@media(max-width:768px) {
  .table-scroll-wrapper { overflow-x: auto; width: calc(100vw - 30px); }
  h1 { font-size: calc(var(--text-size-h1) * 0.55); margin-bottom: 18px; }
  h2 { font-size: calc(var(--text-size-h2) * 0.62); }
  h3 { font-size: calc(var(--text-size-h3) * 0.78); }
  section p { font-size: 15px !important; }

  .hero { padding: 80px 0 40px; }
  .hero__form-card { padding: 24px 20px; }
  .hero__metrics { gap: 16px; flex-wrap: wrap; }
  .hero__metric-value { font-size: 18px; }
  .hero__metric-label { font-size: 12px; }
  .hero__metric-divider { height: 28px; }
  .hero__urgency-bar { font-size: 13px; padding: 8px 16px; text-align: center; line-height: 1.4; }
  .form__row--2col { grid-template-columns: 1fr; }

  .editorial__grid { grid-template-columns: 1fr; }
  .editorial__image img { height: 260px; }
  .editorial__image { max-width: 100%; overflow: hidden; }
  .why-metals__lead { font-size: 17px !important; }
  .metals-chart { padding: 16px; }
  .metals-chart__header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .metals-chart__legend { gap: 10px; }
  .metals-chart__body { height: 160px; }
  .metals-chart__end-labels { display: none; }
  .metals-chart__x-axis { padding: 8px 46px 0; font-size: 10px; }
  .metals-chart__footer { grid-template-columns: 1fr; gap: 8px; }
  .two-ways__features { grid-template-columns: 1fr; }
  .who-for__grid { grid-template-columns: 1fr; }
  .spectrum__grid { grid-template-columns: 1fr; }
  .spectrum__card-img { height: 160px; }
  .trust__stats { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: auto; }
  .trust__stat { padding: 14px 12px; }
  .trust__stat-value { font-size: 20px; }
  .trust__stat-label { font-size: 11px; }
  .calculator__amount { font-size: 28px; }
  .calculator__widget { padding: 24px 20px; }

  .contact { padding: 50px 0; }
  .page-content { padding: 50px 15px; }
  .page-hero { padding: 60px 0 40px; }
  .footer__menus { flex-direction: column; gap: 25px; }
  .modal__title, .modal__title p { font-size: calc(var(--text-size-h3) * 0.7) !important; }
  .modal__body { padding: 50px 15px 25px; }
}

@media(max-width:500px) {
  .phone-duo { left: auto; transform: scale(0.45); transform-origin: top center; margin-bottom: -385px; margin-left: -60px; }
}
