/* Explain: App-specific component classes for buttons, header, typography, cards, and forms. */
/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.55rem;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .03em;
    line-height: 1.25;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }

.btn-gold {
    background: linear-gradient(120deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: #04101F;
    box-shadow: 0 10px 26px rgba(39, 200, 243, .24);
}
.btn-gold:hover {
    box-shadow: 0 16px 42px rgba(39, 200, 243, .44), 0 0 0 1px rgba(84, 229, 225, .55);
    filter: brightness(1.05);
}

.btn-navy {
    background: rgba(39, 200, 243, .12);
    color: var(--gold-400);
    border-color: rgba(39, 200, 243, .42);
}
.btn-navy:hover { background: rgba(39, 200, 243, .2); box-shadow: 0 12px 32px rgba(39, 200, 243, .22); }

.btn-ghost-light {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .34);
    backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
    background: rgba(39, 200, 243, .14);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px rgba(39, 200, 243, .35), 0 14px 34px rgba(39, 200, 243, .18);
}

.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--gold-400);
    box-shadow: 0 0 0 1px rgba(39, 200, 243, .3), 0 12px 28px rgba(39, 200, 243, .14);
}

.btn-block { width: 100%; }
.btn-sm { padding: .65rem 1.1rem; font-size: .8rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(7, 21, 45, .84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    transition: box-shadow .35s ease, background .35s ease;
}
.site-header.is-scrolled {
    background: rgba(5, 16, 33, .96);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .5);
}

.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; flex-shrink: 0; }
.brand-logo {
    height: 2.9rem;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: screen;
    filter: brightness(1.08) contrast(1.04);
}
@media (min-width: 768px) { .brand-logo { height: 3.4rem; } }

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    color: #E6EEF9;
    background: linear-gradient(96deg, #FFFFFF 0%, #E6EEF9 38%, #B9CDE2 72%, #9FB6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter .3s ease;
}
.brand:hover .brand-wordmark { filter: brightness(1.12); }
@media (min-width: 640px) { .brand-wordmark { font-size: .95rem; letter-spacing: .18em; } }
@media (min-width: 1024px) { .brand-wordmark { font-size: 1.05rem; letter-spacing: .2em; } }

.nav-link {
    position: relative;
    font-size: .84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .78);
    padding: .3rem 0;
    white-space: nowrap;
    transition: color .25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-400));
    box-shadow: 0 0 10px rgba(39, 200, 243, .55);
    transition: width .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: #fff; font-weight: 600; }

.nav-burger {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.nav-burger:hover {
    border-color: var(--accent-color);
    color: var(--gold-400);
    box-shadow: 0 0 0 1px rgba(39, 200, 243, .3);
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #050F1F;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { padding: .5rem 0 1.5rem; }
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem .25rem;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: color .25s ease;
}
.mobile-nav-link:hover { color: var(--gold-400); }
.mobile-nav-link.is-active { color: #fff; font-weight: 600; }

@media (min-width: 1280px) {
    .mobile-menu { display: none !important; }
}

/* ---------------- Typography helpers ---------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-color), rgba(39, 200, 243, 0));
    box-shadow: 0 0 8px rgba(39, 200, 243, .6);
}
.eyebrow-light { color: var(--gold-400); }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.18; color: #fff; }
.section-lead { font-size: 1rem; color: var(--text-muted); line-height: 1.85; max-width: 64ch; }
.text-gold { color: var(--gold-400); }

.hero-eyebrow {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--gold-400);
    border-left: 2px solid var(--accent-color);
    padding-left: .85rem;
    text-shadow: 0 0 22px rgba(39, 200, 243, .45);
}
.hero-sub {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}
.hero-sep { color: rgba(39, 200, 243, .7); padding: 0 .35rem; }
.hero-text {
    margin-top: 1.15rem;
    max-width: 46rem;
    font-size: .95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .7);
}

/* ---------------- Cards ---------------- */
.card-premium {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1.85rem;
    background: linear-gradient(160deg, rgba(16, 42, 80, .88) 0%, rgba(7, 21, 45, .94) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transition: width .45s ease;
}
.card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(39, 200, 243, .48);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .48), 0 0 32px rgba(39, 200, 243, .14);
}
.card-premium:hover::before { width: 100%; }

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 1.15rem;
    background: rgba(39, 200, 243, .1);
    border: 1px solid rgba(39, 200, 243, .26);
    color: var(--gold-400);
    font-size: 1.1rem;
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.card-premium:hover .card-icon {
    background: linear-gradient(140deg, var(--gold-500), var(--gold-400));
    color: #04101F;
    border-color: transparent;
}
.card-title { font-size: 1.12rem; margin-bottom: .6rem; color: #fff; }
.card-text { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding-top: .55rem;
}
.tick-list i { color: var(--gold-500); font-size: .68rem; margin-top: .5rem; }
.tick-list-light li { color: rgba(255, 255, 255, .78); }

/* ---------------- Pillars / stats ---------------- */
.pillar {
    padding: 1.4rem 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, .14);
    transition: border-color .35s ease, background .35s ease;
}
.pillar:hover { border-color: var(--accent-color); background: rgba(39, 200, 243, .06); }
.pillar-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.pillar-value { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; margin-top: .35rem; }
.pillar-text { font-size: .86rem; color: var(--text-muted); margin-top: .35rem; }

/* ---------------- Process timeline ---------------- */
.step { position: relative; padding-left: 3.75rem; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--gold-500), var(--gold-400));
    color: #04101F;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 0 4px rgba(39, 200, 243, .12), 0 10px 26px rgba(39, 200, 243, .26);
}
.step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 2.6rem;
    bottom: .4rem;
    width: 1px;
    background: linear-gradient(rgba(39, 200, 243, .55), rgba(39, 200, 243, 0));
}
.step-title { font-size: 1.1rem; margin-bottom: .5rem; color: #fff; }
.step-text { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ---------------- Markets explorer ---------------- */
.market-list { display: flex; flex-direction: column; gap: .5rem; }
.market-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: .9rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm);
    background: rgba(16, 42, 80, .55);
    color: rgba(255, 255, 255, .86);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.market-btn:hover {
    border-color: rgba(39, 200, 243, .55);
    transform: translateX(3px);
    box-shadow: 0 0 0 1px rgba(39, 200, 243, .2);
}
.market-btn.is-active {
    background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
    border-color: transparent;
    color: #04101F;
    transform: none;
    box-shadow: 0 12px 30px rgba(39, 200, 243, .3);
}
.market-code {
    display: inline-block;
    min-width: 2.6rem;
    font-size: .72rem;
    letter-spacing: .16em;
    font-weight: 700;
    color: var(--gold-400);
}
.market-btn.is-active .market-code { color: #04101F; }

.market-detail { position: relative; }
.market-panel { display: none; }
.market-panel.is-active { display: block; animation: fadeIn .45s ease; }

/* ---------------- Forms ---------------- */
.form-shell {
    background: rgba(10, 25, 48, .78);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
    overflow: hidden;
}
.form-block { padding: 1.9rem 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.form-block:last-of-type { border-bottom: none; }
.form-block-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.02rem;
    margin-bottom: 1.4rem;
    color: #fff;
}
.form-block-title span {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    color: var(--gold-400);
    border: 1px solid rgba(39, 200, 243, .38);
    border-radius: 50%;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.field-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
    margin-bottom: .45rem;
}
.field-input {
    width: 100%;
    padding: .8rem .95rem;
    font-size: .92rem;
    font-family: var(--font-body);
    color: #fff;
    background: rgba(5, 16, 33, .7);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-sm);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(5, 16, 33, .92);
    box-shadow: 0 0 0 3px rgba(39, 200, 243, .18);
}
.field-input::placeholder { color: rgba(255, 255, 255, .34); }
.field-hint { font-size: .76rem; color: var(--text-muted); margin-top: .4rem; }
textarea.field-input { resize: vertical; min-height: 150px; }
select.field-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2354E5E1'%3E%3Cpath d='M4.2 6.1 8 9.9l3.8-3.8.9.9L8 11.7 3.3 7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    background-size: 16px;
    padding-right: 2.4rem;
}
select.field-input option { background: #07152D; color: #fff; }
.check-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.check-row input { margin-top: .35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent-color); flex-shrink: 0; }

.form-status { font-size: .85rem; font-weight: 500; margin-top: 1rem; min-height: 1.2rem; }
.form-status.is-error { color: #FF8E86; }
.form-status.is-info { color: var(--gold-400); }

.form-success {
    background: rgba(10, 25, 48, .82);
    border: 1px solid rgba(255, 255, 255, .1);
    border-top: 3px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 2.4rem 1.9rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 40px rgba(39, 200, 243, .1);
    text-align: center;
}
.form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(39, 200, 243, .14);
    border: 1px solid rgba(39, 200, 243, .32);
    color: var(--gold-400);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

/* Upload */
.upload-zone {
    border: 1.5px dashed rgba(39, 200, 243, .38);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: rgba(16, 42, 80, .38);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}
.upload-zone:hover, .upload-zone.is-dragover {
    border-color: var(--accent-color);
    background: rgba(39, 200, 243, .1);
}
.upload-zone i { font-size: 1.3rem; color: var(--gold-400); }
.upload-zone p { font-size: .87rem; color: #fff; margin-top: .55rem; font-weight: 500; }
.upload-zone span { font-size: .76rem; color: var(--text-muted); }
.file-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .9rem; }
.file-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .86);
    background: rgba(5, 16, 33, .7);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-sm);
    padding: .55rem .75rem;
}
.file-chip .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-remove {
    border: none;
    background: none;
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    font-size: .85rem;
    padding: .15rem .3rem;
    transition: color .25s ease;
}
.file-remove:hover { color: #FF8E86; }

/* Assurance card */
.assurance-card {
    background: linear-gradient(158deg, #0E2A52 0%, #08182F 100%);
    border: 1px solid rgba(39, 200, 243, .24);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.85rem;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .42);
}
.assurance-card h3 { color: #fff; font-size: 1.12rem; }
.assurance-card p { font-size: .87rem; color: rgba(255, 255, 255, .74); line-height: 1.75; }

/* Contact */
.contact-card {
    background: linear-gradient(160deg, rgba(16, 42, 80, .85) 0%, rgba(7, 21, 45, .92) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.contact-row { display: flex; align-items: flex-start; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.contact-row:last-child { border-bottom: none; }
.contact-row i { color: var(--gold-400); font-size: .95rem; margin-top: .3rem; }

/* Notice band */
.notice-band {
    border-left: 3px solid var(--accent-color);
    background: rgba(39, 200, 243, .08);
    padding: 1.15rem 1.35rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notice-band p { font-size: .85rem; color: var(--text-muted); line-height: 1.75; }

/* ---------------- Footer ---------------- */
.site-footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(39, 200, 243, .12) 0%, rgba(39, 200, 243, 0) 50%),
        linear-gradient(170deg, #050F1F 0%, #07152D 55%, #0A1D3A 100%);
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .72);
}
.footer-brand { display: inline-flex; align-items: center; }
.footer-logo {
    height: 4rem;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: brightness(1.08) contrast(1.04);
}
@media (min-width: 768px) { .footer-logo { height: 4.75rem; } }
.site-footer h4 {
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
}
.footer-link {
    display: block;
    font-size: .86rem;
    color: rgba(255, 255, 255, .7);
    padding: .28rem 0;
    transition: color .25s ease, transform .25s ease;
}
.footer-link:hover { color: var(--gold-400); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-note { font-size: .78rem; color: rgba(255, 255, 255, .56); line-height: 1.7; }