:root {
    --1x-blue-dark: #0c192c;
    --1x-blue-card: #132644;
    --1x-blue-hover: #1c3761;
    --1x-cyan: #1a8bf0;
    --1x-cyan-hover: #3ba0fb;
    --1x-yellow: #ffc400; 
    --1x-yellow-hover: #e6b000;
    --1x-yellow-grad: linear-gradient(180deg, #ffd200 0%, #ff9900 100%);
    --text-white: #ffffff;
    --text-muted: #94a9c9;
    --border-color: #1e3a63;

    --font-main: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after,
body, input, button, select, textarea {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main) !important;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    background: var(--1x-blue-dark);
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.2;
    word-break: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 70px 0; }
.bg-darker { background: #07101d; }

.text-cyan { color: var(--1x-cyan); }
.text-yellow { color: var(--1x-yellow); }
.font-bold { font-weight: 700; }

.yellow-highlight {
    background: var(--1x-yellow);
    color: var(--1x-blue-dark);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.section-tag {
    color: var(--1x-cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-heading {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 36px;
}

.text-center-head { text-align: center; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 25, 44, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    overflow: visible;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--1x-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1005;
}

.lang-switch { position: relative; }
.lang-current {
    background: var(--1x-blue-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--1x-blue-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    display: none;
    min-width: 130px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 101;
}

.lang-switch:hover .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 8px 12px; font-size: 14px; color: var(--text-muted); }
.lang-dropdown a.active, .lang-dropdown a:hover { color: var(--1x-cyan); }

.contact-switch {
    position: relative;
}

.contact-switch .btn-header {
    background: linear-gradient(180deg, #ffd200 0%, #ff9900 100%);
    color: #0c192c;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.contact-switch .dropdown-arrow {
    font-size: 11px;
    margin-left: 4px;
}

.contact-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--1x-blue-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    display: none;
    min-width: 170px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    z-index: 102;
}

.contact-switch:hover .contact-dropdown {
    display: block;
}

.contact-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all .2s;
}

.contact-dropdown a:hover, .contact-dropdown a.active {
    background: rgba(26, 139, 240, 0.15);
    color: var(--1x-cyan);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(180deg, #ffd200 0%, #ff9900 100%);
    color: #0c192c;
}
.btn-primary:hover { background: var(--1x-yellow-hover); }

.icon-svg { width: 18px; height: 18px; flex-shrink: 0; }

.burger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative !important;
    z-index: 1005 !important;
}

.burger-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white, #ffffff);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 992px) {
    .burger-toggle.active {
        position: fixed !important;
        top: 17px !important;
        right: 20px !important;
        z-index: 1010 !important;
    }
}

.burger-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background-color: var(--1x-cyan, #1a8bf0) !important;
}

.burger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: var(--1x-cyan, #1a8bf0) !important;
}

.mobile-anchors {
    display: none;
    background: #081322;
    border-top: 1px solid var(--border-color);
}

.mobile-anchors-track {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-anchors-track::-webkit-scrollbar { display: none; }

.mobile-anchors-track a {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--1x-blue-card);
    padding: 7px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.mobile-anchors-track a.anchor-cta { background: var(--1x-cyan); color: #fff; }

.hero { padding: 40px 0 60px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-badge-cyan {
    background: rgba(26, 139, 240, 0.15);
    border: 1px solid var(--1x-cyan);
    color: var(--1x-cyan);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(28px, 5.5vw, 56px);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.metric-val { font-size: clamp(24px, 4.5vw, 36px); font-weight: 900; color: var(--1x-cyan); line-height: 1; }
.metric-lbl { font-size: 12px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-top: 6px; }

.hero-form-card {
    background: var(--1x-blue-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    width: 100%;
}

.form-header h3 { font-size: 24px; margin-bottom: 6px; }
.form-header p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.form-group label .req { color: var(--1x-yellow); }

.form-control {
    width: 100%;
    background: #081322;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 14px;
    color: #fff;
    font-size: 16px;
}

.form-control:focus { outline: none; border-color: var(--1x-cyan); }

.messenger-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.messenger-btn {
    background: #081322;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
}

.messenger-btn.active { border-color: var(--1x-cyan); background: rgba(26, 139, 240, 0.15); color: var(--1x-cyan); }
.messenger-btn input { display: none; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--1x-yellow);
    color: var(--1x-blue-dark);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
    margin-top: 8px;
}

.btn-submit:hover { background: var(--1x-yellow-hover); }

.form-or-divider { text-align: center; margin: 18px 0; border-bottom: 1px solid var(--border-color); line-height: 0.1em; }
.form-or-divider span { background: var(--1x-blue-card); padding: 0 10px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; }

.direct-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

.contact-btn.wa { background: #25d366; color: #fff; }
.contact-btn.imo { background: #0088cc; color: #fff; }

.privacy-notice { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

.stats-bar { background: #07101d; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { font-size: clamp(26px, 4.5vw, 38px); font-weight: 900; color: var(--1x-cyan); }
.stat-label { font-size: 12px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-top: 4px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.text-lead { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.text-body { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

.about-cards { display: grid; gap: 14px; }
.feature-box {
    background: var(--1x-blue-card); border: 1px solid var(--border-color);
    padding: 18px; border-radius: 8px; display: flex; gap: 16px; align-items: flex-start;
}
.feature-icon { font-size: 26px; flex-shrink: 0; }
.feature-box h4 { font-size: 16px; margin-bottom: 4px; color: var(--1x-cyan); }
.feature-box p { font-size: 14px; color: var(--text-muted); }

.benefits-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-card {
    background: var(--1x-blue-card); border: 1px solid var(--border-color);
    padding: 26px 20px; border-radius: 8px; position: relative; transition: all .3s;
}
.b-card:hover { border-color: var(--1x-cyan); }
.b-badge { font-size: 32px; font-weight: 900; color: rgba(26, 139, 240, 0.25); position: absolute; top: 12px; right: 16px; }
.b-card h3 { font-size: 18px; margin-bottom: 8px; }
.b-card p { font-size: 14px; color: var(--text-muted); }

.commission-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.comm-box {
    background: var(--1x-blue-card); border: 1px solid var(--border-color);
    padding: 30px 20px; border-radius: 8px; text-align: center;
}
.comm-box.main-comm { border-color: var(--1x-cyan); background: linear-gradient(180deg, var(--1x-blue-card) 0%, rgba(26,139,240,0.1) 100%); }
.comm-percent { font-size: clamp(48px, 8vw, 72px); font-weight: 900; color: var(--1x-cyan); line-height: 1; }
.comm-title { font-size: 20px; font-weight: 800; margin: 10px 0; }
.comm-box p { font-size: 15px; color: var(--text-muted); }

.commission-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin-top: 30px;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--1x-blue-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    min-width: 600px;
}

.seo-table thead tr {
    background: #081322;
    border-bottom: 1px solid var(--border-color);
    color: var(--1x-cyan);
    text-align: left;
}

.seo-table th, .seo-table td {
    padding: 12px 16px;
}

.seo-table tbody {
    color: var(--text-muted);
}

.seo-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.seo-table tbody tr:last-child {
    border-bottom: none;
}

.seo-table td:first-child {
    font-weight: 700;
    color: #fff;
}

.commission-table-wrap::-webkit-scrollbar { height: 6px; }
.commission-table-wrap::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.commission-table-wrap::-webkit-scrollbar-thumb { background: var(--1x-cyan); border-radius: 4px; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-item {
    background: var(--1x-blue-card); border: 1px solid var(--border-color);
    padding: 20px; border-radius: 8px;
}
.step-num-badge {
    width: 32px; height: 32px; background: var(--1x-cyan); color: #fff;
    font-weight: 900; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px;
}
.step-item h4 { font-size: 17px; margin-bottom: 6px; }
.step-item p { font-size: 14px; color: var(--text-muted); }

.faq-container { max-width: 860px; margin: 0 auto; }
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--1x-blue-card); border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.acc-head { padding: 18px 20px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-body { padding: 0 20px 18px; font-size: 15px; color: var(--text-muted); line-height: 1.6; display: none; }
.acc-item.open .acc-body { display: block; }
.acc-item.open .acc-head { color: var(--1x-cyan); }

.seo-block {
    border-top: 1px solid var(--border-color);
}

.seo-title {
    font-size: clamp(24px, 4vw, 36px);
    text-align: left;
    margin-bottom: 28px;
    color: var(--text-white);
    line-height: 1.25;
}

.seo-text-wrap {
    max-height: 170px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.seo-text-wrap.open {
    max-height: 2500px;
}

.seo-text-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, #07101d);
    pointer-events: none;
    transition: opacity 0.3s;
}

.seo-text-wrap.open::after {
    opacity: 0;
}

.seo-columns {
    column-count: 2;
    column-gap: 40px;
}

.seo-columns h3, 
.seo-columns p, 
.seo-columns ul {
    break-inside: avoid;
    page-break-inside: avoid;
}

.seo-intro {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-white);
    margin-bottom: 20px;
}

.seo-text-wrap h3 {
    font-size: 18px;
    color: var(--1x-cyan);
    margin: 24px 0 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.seo-text-wrap p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.seo-text-wrap strong {
    color: var(--text-white);
}

.seo-list {
    margin: 12px 0 16px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
}

.seo-list li {
    margin-bottom: 8px;
}

.btn-seo-toggle {
    display: block;
    margin: 24px auto 0;
    background: transparent;
    color: var(--1x-cyan);
    border: 1px solid var(--1x-cyan);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-seo-toggle:hover {
    background: var(--1x-cyan);
    color: var(--text-white);
}

.footer { background: #040a14; border-top: 1px solid var(--border-color); padding: 44px 0 24px; }
.footer-content { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 10px; max-width: 340px; }
.footer-links h4 { font-size: 14px; margin-bottom: 12px; color: var(--1x-cyan); }
.footer-links a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }

.footer-email {
    word-break: break-all;
    transition: color 0.2s;
}
.footer-email:hover {
    color: var(--1x-cyan) !important;
}

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }
.badge-18 { border: 1px solid #ff4d4f; color: #ff4d4f; padding: 2px 8px; border-radius: 4px; font-weight: 900; }

.scroll-top-btn {
    position: fixed; bottom: 20px; right: 20px; width: 44px; height: 44px;
    background: var(--1x-cyan); color: #fff; border: none; border-radius: 50%;
    font-size: 18px; font-weight: 900; cursor: pointer; display: none; z-index: 99;
}
.scroll-top-btn.visible { display: block; }

.nav-close {
    display: none;
}

@media (max-width: 992px) {
    .header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0c192c !important;
    }

    .burger-toggle {
        display: flex;
    }
            .nav a {
                font-size: 19px;
                font-weight: 600;
            }

            .nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background-color: #0c192c;
                z-index: 10001;
                transition: right 0.3s ease;
                padding: 80px 20px 20px 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }
        
            .nav.open {
                right: 0;
            }
        
            .nav-close {
                display: flex;
                align-items: center;
                justify-content: center;
                position: absolute;
                top: 20px;
                right: 20px;
                width: 44px;
                height: 44px;
                background: transparent;
                border: none;
                color: #ffffff;
                font-size: 36px;
                line-height: 1;
                cursor: pointer;
                z-index: 10002;
                outline: none;
                -webkit-tap-highlight-color: transparent;
            }
        
            .nav-close:active {
                color: #14A0FF;
                transform: scale(0.9);
            }

    .hero-grid, .about-grid, .commission-wrapper { grid-template-columns: 1fr; }
    .benefits-masonry { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .seo-columns { column-count: 1; }
    .seo-title { text-align: center; }
}

@media (max-width: 640px) {
    .section-padding { padding: 48px 0; }
    .benefits-masonry, .steps-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center;}
    .metric-lbl { font-size: 10px; }
    
    .header-inner { padding: 10px 14px; }
    .btn-header .btn-text { display: none; }
    .btn-header { padding: 8px 12px; }
    
    .footer-content { flex-direction: column; }
    .direct-contacts { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero-form-card { padding: 20px 14px; }
    .hero-metrics { grid-template-columns: 1fr; text-align: center; }
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #162844;
  border: 1px solid #2a4163;
  border-radius: 8px;
  overflow: hidden;
}

.phone-prefix {
  padding: 12px 0 12px 14px;
  font-weight: 600;
  color: #ffc400;
  font-size: 15px;
  user-select: none;
  white-space: nowrap;
}

.phone-field {
  border: none !important;
  background: transparent !important;
  padding-left: 8px !important;
  width: 100%;
  color: #ffffff;
  outline: none;
}

.commission-badge {
  background: rgba(255, 196, 0, 0.1);
  border: 1px solid #ffc400;
  color: #ffc400;
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 35px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
}

.sub-text {
  display: block;
  font-size: 12px;
  color: #8a99ad;
  margin-top: 3px;
}

.badge-rate {
  background-color: #1a8bf0;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.badge-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.seo-table th:nth-child(2),
.seo-table td:nth-child(2) {
    min-width: 170px;
    white-space: nowrap;
}