
:root {
    --text-strong: #1b1e2c;
    --text-muted: #50556d;
    --text-on-dark: #eef1ff;
    --text-muted-on-dark: #bdc4e8;
    --surface-0: #0f1324;
    --surface-1: #f4f6ff;
    --surface-2: #171d36;
    --surface-card: #ffffff;
    --border-subtle: #d9def1;
    --input-bg: #f8f9ff;
    --input-border: #cdd5f1;
    --focus-ring: #6b102f33;
    --shadow-soft: 0 18px 40px #070a151f;
    --accent-a: #6b102f;
    --accent-a-hover: #521026;
    --accent-b: #2f90a3;
    --btn-height: 50px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Inter, Segoe UI, sans-serif;
    background: var(--surface-0);
    color: var(--text-strong);
    font-size: 18px;
    line-height: 1.65;
}

p, li, label, small, .muted {
    font-size: 18px;
    line-height: 1.65;
}

a {
    color: var(--accent-a);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding-inline: 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 76px 0;
    overflow: hidden;
    position: relative;
}

.section.light {
    background: var(--surface-1);
    color: var(--text-strong);
}

.section.light p, .section.light li {
    color: var(--text-muted);
}

.section.dark {
    background: var(--surface-2);
    color: var(--text-on-dark);
}

.section.dark p, .section.dark li {
    color: var(--text-muted-on-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(8px);
    background: #0f1324de;
    border-bottom: 1px solid #2a325c;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 84px;
}

.brand {
    color: var(--text-on-dark);
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 16px;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 16px;
}

.main-nav a {
    color: var(--text-muted-on-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    height: var(--btn-height);
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-a);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--accent-a-hover);
    text-decoration: none;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.btn-secondary {
    background: #edf0ff;
    color: var(--text-strong);
    border-color: var(--border-subtle);
}

.lang-btn {
    height: var(--btn-height);
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid #3e4774;
    background: #1d2547;
    color: var(--text-on-dark);
    font-size: 18px;
    cursor: pointer;
}

.lang-dropdown {
    position: relative;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 230px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 8px;
    display: none;
    box-shadow: var(--shadow-soft);
}

.lang-dropdown.open .lang-menu {
    display: block;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-strong);
    font-size: 15px;
    padding: 8px;
    border-radius: 8px;
}

.lang-menu a:hover {
    background: #f1f4ff;
    text-decoration: none;
}

.hero .decor {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 84%, #6b102f66 0, transparent 38%), radial-gradient(circle at 52% 8%, #2f90a34f 0, transparent 34%), linear-gradient(120deg, #171d36 0%, #111832 100%);
    pointer-events: none;
}

.hero-grid, .split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--text-on-dark);
}

h2 {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.15;
    margin-top: 0;
}

h3 {
    margin-top: 0;
}

.performance-panel {
    background: linear-gradient(160deg, #fff, #f4eff6);
    border: 1px solid var(--border-subtle);
    color: var(--text-strong);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    max-width: 520px;
}

.perf-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0;
}

.perf-split strong {
    font-size: 44px;
    line-height: 1;
    color: var(--accent-a);
    display: block;
}

.perf-split span {
    color: var(--text-muted);
    font-size: 16px;
}

.performance-panel small {
    color: var(--text-muted);
    font-size: 14px;
}

.card {
    background: var(--surface-card);
    color: var(--text-strong);
    border: 1px solid var(--border-subtle);
}

.card p, .card li, .card .muted {
    color: var(--text-muted);
}

.section.dark .card {
    background: var(--surface-card);
    color: var(--text-strong);
}

.section.dark .card p, .section.dark .card li, .section.dark .card .muted {
    color: var(--text-muted);
}

.card, .card * {
    opacity: 1 !important;
}

.card p, .card li {
    opacity: 1 !important;
}

.card {
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
    max-width: 100%;
}

.form-card {
    background: var(--surface-card);
    color: var(--text-strong);
    border: 1px solid var(--border-subtle);
}

.form-card h3, .form-card .form-title {
    color: var(--text-strong);
}

.form-card p, .form-card .form-sub {
    color: var(--text-muted);
}

.form-card label {
    color: var(--text-muted);
}

.form-card input {
    background: var(--input-bg);
    color: var(--text-strong);
    border: 1px solid var(--input-border);
    width: 100%;
}

.form-card input::placeholder {
    color: var(--text-muted);
}

.form-card input:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
    border-color: transparent;
}

.form-card {
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-card input {
    height: 48px;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 18px;
}

.flow {
    display: grid;
    gap: 10px;
}

.flow span {
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px;
    display: block;
}

.flow span::after {
    content: '→';
    float: right;
    color: var(--accent-b);
}

.flow span:last-child::after {
    content: '✓';
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.compare-bars .bar-row {
    display: grid;
    grid-template-columns: 180px 1fr 48px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.compare-bars i {
    display: block;
    height: 14px;
    background: linear-gradient(90deg, var(--accent-b), var(--accent-a));
    border-radius: 999px;
}

.compare-bars .bar-row div {
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 3px;
}

.wf {
    display: grid;
    gap: 9px;
}

.wf span {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f6f7ff;
    border-left: 6px solid var(--accent-b);
    color: var(--text-strong);
}

.wf span:last-child {
    border-left-color: var(--accent-a);
    font-weight: 600;
}

.risk-grid, .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.investor-meaning {
    font-weight: 600;
}

.r-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #e4e9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-strong);
}

.r-head em {
    margin-left: auto;
    font-style: normal;
    font-size: 14px;
    color: var(--accent-a);
    font-weight: 700;
}

.faq-list details {
    border-top: 1px solid #39416f;
    padding: 12px 0;
}

.section.light .faq-list details {
    border-top-color: var(--border-subtle);
}

summary {
    cursor: pointer;
    font-weight: 600;
}

summary::-webkit-details-marker {
    display: none;
}

.footer-wrap {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    background: #080b18c7;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 80;
}

.privacy-modal.open {
    display: flex;
}

.privacy-card {
    background: #fff;
    color: var(--text-strong);
    width: min(840px, 100%);
    max-height: 85vh;
    overflow: auto;
    padding: 24px;
    border-radius: 14px;
    position: relative;
}

.modal-x {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-strong);
}

.modal-footer {
    margin-top: 16px;
}

.burger {
    display: none;
    background: transparent;
    border: 1px solid #3e4774;
    width: var(--btn-height);
    height: var(--btn-height);
    border-radius: 12px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--text-on-dark);
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    background: #06091380;
    display: none;
    z-index: 70;
}

.mobile-drawer.open {
    display: block;
}

.drawer-panel {
    width: min(360px, 100%);
    background: #141a32;
    height: 100%;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-nav {
    display: grid;
    gap: 10px;
}

.drawer-nav a, .drawer-close {
    color: var(--text-on-dark);
}

.drawer-close {
    background: transparent;
    border: 1px solid #3e4774;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 1124px) {
    .main-nav, .header-actions > .lang-dropdown, .header-actions > .btn-primary {
        display: none;
    }

    .burger {
        display: inline-block;
    }

    .hero-grid, .split {
        grid-template-columns: 1fr;
    }
}

.form-card p {
    color: #3a405c;
}

.form-card small {
    color: #4b5270;
}

.form-card .muted {
    color: #4b5270;
}

.form-card p {
    color: #38405f;
    font-weight: 500;
}

.form-card :is(.form-sub, .muted, small, p) {
    color: #38405f !important;
    opacity: 1 !important;
}

.form-card small,
.form-card .fineprint {
    color: #38405f !important;
    opacity: 1 !important;
    font-weight: 500;
}

.section3-title {
    text-align: center;
}

.section3-subtitle {
    text-align: center;
}

.section3-text {
    text-align: center;
}

.section3-list {
    list-style-position: inside;
    text-align: center;
    padding: 0;
}

.faq-list {
    text-align: center;
}

.faq-section-title {
    text-align: center;
}

.faq-section-subtitle {
    text-align: center;
}

.iti__country-name {
    color: #000;
}

@media (max-width: 900px) {
    .lang-menu {
        max-height: 250px;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .lang-menu::-webkit-scrollbar {
        width: 6px;
    }

    .lang-menu::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.3);
        border-radius: 6px;
    }
}

@media (max-width: 500px) {
    .perf-split strong {
        font-size: 30px;
    }
}

@media (max-width: 425px) {
    .compare-bars .bar-row {
        grid-template-columns: 132px 1fr 22px;
    }
}

@media (max-width: 375px) {
    .perf-split strong {
        font-size: 23px;
    }
}

