/* ALPHATRADING — podium
   ink + ivory, metallic gold / silver / bronze */

:root {
  --ink: #111318; --ink2: #1b1e26; --ivory: #f4f5fa; --ivory2: #e9eaf3;
  --gold: #a0a8eb; --goldlt: #d9dbfc; --golddeep: #5d70e6; --silver: #c9ced6; --bronze: #678dcc; --mute: #5b5f6b;
  --gold-g: linear-gradient(135deg, #d9dbfc 0%, #a0a8eb 48%, #5d70e6 100%);
  --silver-g: linear-gradient(135deg, #f4f3ee 0%, #c9ced6 48%, #8e96a3 100%);
  --bronze-g: linear-gradient(135deg, #a5c1f2 0%, #678dcc 48%, #2b5da5 100%);
}

html { scroll-behavior: auto; }
body { overflow-x: hidden; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.gold-text { background: var(--gold-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-line { height: 3px; background: var(--gold-g); }

/* subtle diagonal sheen texture */
.sheen { background-color: var(--ivory); background-image: linear-gradient(115deg, transparent 0 40%, rgba(160, 168, 235,.07) 50%, transparent 60% 100%); }
.sheen-dark { background-color: var(--ink); background-image: linear-gradient(115deg, transparent 0 40%, rgba(217, 219, 252,.06) 50%, transparent 60% 100%); }

/* medals */
.medal { position: relative; z-index: 0; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 32px; line-height: 1; color: var(--ink); box-shadow: inset 0 0 0 4px rgba(255, 255, 255,.35), inset 0 -6px 10px rgba(0, 0, 0,.18), 0 8px 14px -6px rgba(17, 19, 24,.55); flex: none; }
.medal--gold { background: var(--gold-g); } .medal--silver { background: var(--silver-g); } .medal--bronze { background: var(--bronze-g); } .medal--ink { background: linear-gradient(135deg, #4a4f5c, #1b1e26); color: var(--goldlt); }
.medal::before { content: ""; position: absolute; top: -20px; left: 50%; width: 22px; height: 26px; margin-left: -11px; background: linear-gradient(90deg, #20728f 0 50%, #185469 50% 100%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); z-index: -1; }

/* eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow i { width: 34px; height: 4px; background: var(--gold-g); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 30px 8px; border-radius: 2px; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn--gold { background: var(--gold-g); color: var(--ink); box-shadow: 0 6px 0 var(--golddeep); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--golddeep); filter: brightness(1.05); }
.btn--gold:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--golddeep); }
.btn--ink { background: var(--ink); color: var(--goldlt); box-shadow: 0 6px 0 #000000; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--goldlt); }
.btn--sm { padding: 6px 18px 4px; font-size: 18px; box-shadow: 0 4px 0 var(--golddeep); }
.btn__arrow { width: 18px; height: 10px; position: relative; display: inline-block; transition: transform .2s; }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 2.5px; background: currentColor; transform: translateY(-50%); }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.nl { font-family: Rajdhani, sans-serif; font-weight: 500; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 245, 250,.8); padding: 4px 0; position: relative; transition: color .2s; }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-g); transform: scaleX(0); transition: transform .25s; }
.nl:hover { color: var(--goldlt); }
.nl:hover::after { transform: scaleX(1); }

/* ---------- podium (hero) ---------- */
.rise { transform-box: fill-box; transform-origin: 50% 100%; animation: rise .9s cubic-bezier(.2,.9,.3,1.1) both; }
.rise-2 { animation-delay: .15s; } .rise-3 { animation-delay: .3s; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
.twinkle:nth-child(2) { animation-delay: -1s; } .twinkle:nth-child(3) { animation-delay: -2s; }
@keyframes twinkle { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- cards ---------- */
.card { position: relative; background: #ffffff; border-radius: 4px; box-shadow: 0 1px 0 rgba(17, 19, 24,.06), 0 14px 30px -20px rgba(17, 19, 24,.5); border-top: 4px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(17, 19, 24,.06), 0 26px 40px -22px rgba(17, 19, 24,.55); }
.card--silver { border-top-color: var(--silver); } .card--bronze { border-top-color: var(--bronze); } .card--ink { border-top-color: var(--ink); }

.pill { display: inline-block; font-size: 13.5px; font-weight: 600; padding: 3px 11px; border-radius: 2px; background: var(--ivory2); color: var(--ink); }

/* ---------- process stairs ---------- */
.stair { border-radius: 4px; position: relative; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(17, 19, 24,.2); }
.faq-item:first-child { border-top: 1px solid rgba(17, 19, 24,.2); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 0; cursor: pointer; }
.faq-trigger:hover .faq-q { color: var(--golddeep); }
.faq-x { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px solid var(--ink); transition: background .25s, transform .3s, border-color .25s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.faq-x::before { width: 14px; height: 2.5px; } .faq-x::after { width: 2.5px; height: 14px; }
.faq-item[data-state="open"] .faq-x { background: var(--gold-g); border-color: var(--golddeep); transform: rotate(135deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-body > * { overflow: hidden; min-height: 0; }
.faq-item[data-state="open"] .faq-body { grid-template-rows: 1fr; }

/* ---------- form ---------- */
.fieldbox { display: block; border-radius: 2px; background: rgba(255, 255, 255,.05); border: 1px solid rgba(217, 219, 252,.4); padding: 9px 16px 6px; transition: background .2s, border-color .2s; }
.fieldbox:focus-within { background: rgba(255, 255, 255,.1); border-color: var(--goldlt); box-shadow: 0 0 0 3px rgba(160, 168, 235,.28); }
.lbl { display: block; font-family: Rajdhani, sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--goldlt); }
.field { width: 100%; background: transparent; border: 0; outline: 0; font-size: 16.5px; padding: 3px 0; color: #ffffff; font-family: Manrope, sans-serif; }
.field option { color: #111318; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fieldbox--sel { position: relative; }
.fieldbox--sel::after { content: ""; position: absolute; right: 16px; bottom: 18px; width: 8px; height: 8px; border-right: 2px solid var(--goldlt); border-bottom: 2px solid var(--goldlt); transform: rotate(45deg); pointer-events: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.card[data-reveal].is-visible { transition: opacity .65s ease var(--reveal-delay, 0ms), transform .3s, box-shadow .3s; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #ffffff; border: 1px solid var(--gold); border-bottom: 4px solid var(--gold); border-radius: 2px; padding: 13px 24px; font-size: 15.5px; max-width: calc(100vw - 32px); transition: opacity .3s, transform .3s; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast__msg::before { content: "★ "; color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rise, .twinkle { animation: none; }
}
