:root {
    --color-primary: #188fff;
    --color-primary-bg: #f4f9ff;
    --color-bg-page: #f5f7fa;
    --color-white: #ffffff;
    --color-text-dark: #2c333a;
    --color-text-main: #4a5568;
    --color-text-muted: #8e9aab;
    --color-border: #eaedf1;
    --color-btn-disabled: #aeb6c1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-bg-page);
    color: var(--color-text-dark);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a { 
    text-decoration: none; 
}

ul { 
    padding-left: 20px; 
    margin-bottom: 20px; 
}

.container {
    max-width: 1340px;
    margin: 0 auto;
}

.splitted_box {
    display: flex;
    min-height: 800px;
    align-items: flex-start;
    gap: 30px;
}

.navigation {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0,0,0,0.02);
    overflow-y: auto;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
}

.navigation::-webkit-scrollbar {
    width: 6px;
}

.navigation::-webkit-scrollbar-track {
    background: var(--color-white); 
}

.navigation::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 10px;
}

.nav-section-title {
    padding: 24px 25px 10px 25px;
    font-size: 14px;
    font-weight: 500;
    color: #0b1822;
    background: var(--color-white);
}

.navigation a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 45px 16px 25px;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid var(--color-border);
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.navigation a:hover {
    background-color: #fafbfc;
}

.navigation a span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cdd5df;
    margin-right: 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.navigation a::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #cdd5df;
    border-right: 1.5px solid #cdd5df;
    transition: all 0.2s ease;
}

.navigation a .label {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 10px;
    white-space: nowrap;
}

main {
    margin-top: 52px;
    margin-bottom: 150px;
}

.navigation a.active {
    border-left-color: var(--color-primary);
    background-color: var(--color-primary-bg);
    color: var(--color-text-dark);
    font-weight: 600;
}

.navigation a.active span:first-child {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.navigation a.active::after {
    border-color: var(--color-primary);
}

.wrapper {
    flex: 1;
    padding: 40px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0,0,0,0.02);
    min-width: 0;
}

.quick_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 45px;
}

.btn {
    padding: 10px 28px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover:not(.disabled) { 
    opacity: 0.85; 
}

.btn.disabled {
    background-color: var(--color-btn-disabled) !important;
    cursor: default;
    pointer-events: none;
}

.pagination {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 400;
    min-width: 50px;
    text-align: center;
}

.content {
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.content h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.content h2 span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.content p {
    font-size: 14px;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.content a {
    color: var(--color-primary);
    font-weight: 500;
}

.content a:hover {
    text-decoration: underline;
}

.blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #5c6b7d;
}

.blockquote p {
    margin-bottom: 0;
    font-size: 14px;
}

.block img.fancybox-trigger {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f2f5;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.block img.fancybox-trigger:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.block img.success {
    display: block;
    max-width: 120px;
    box-shadow: none;
    border: none;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.block p.success {
    text-align: center;
}

.plans-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.plan-card {
    flex: 1;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.plan-header {
    padding: 32px 24px 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f6fbff;
}

.plan-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.plan-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.plan-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    min-height: 20px;
}

.plan-price-large {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.plan-progress-bg {
    width: 100%;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 99px;
    margin-bottom: 8px;
    overflow: hidden;
}

.plan-progress-fill {
    height: 100%;
    border-radius: 99px;
}

.plan-progress-label {
    font-size: 11px;
    color: #94a3b8;
}

.plan-footer {
    padding: 24px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-features-list {
    text-align: left;
    margin-bottom: 24px;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

li {
    font-size: 14px;
}

.plan-feature-item svg {
    flex-shrink: 0;
    color: #16a34a;
}

.plan-deposit-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.deposit-label {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
    text-align: left;
}

.deposit-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.theme-basic .plan-icon-wrapper { background-color: #dcfce7; color: #16a34a; box-shadow: 0px 0px 8px 2px #34eb978f; }
.theme-basic .plan-price-large { color: #16a34a; }
.theme-basic .plan-progress-fill { background: linear-gradient(45deg, #75adff, #49c942); width: 25%; }

.theme-pro .plan-icon-wrapper { background-color: #e0e7ff; color: #4f46e5; box-shadow: 0px 0px 8px 2px #818cf88f; }
.theme-pro .plan-price-large { color: #4f46e5; }
.theme-pro .plan-progress-fill { background: linear-gradient(45deg, #3b82f6, #49c942); width: 50%; }

.theme-platinum .plan-icon-wrapper { background-color: #f3e8ff; color: #9333ea; box-shadow: 0px 0px 8px 2px #c084fc8f; }
.theme-platinum .plan-price-large { color: #9333ea; }
.theme-platinum .plan-progress-fill { background: linear-gradient(45deg, #a855f7, #49c942); width: 100%; }

.payment-speed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px auto 20px auto;
    padding: 50px 30px;
    background: linear-gradient(160deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid rgba(24, 143, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(24, 143, 255, 0.1), 0 0 15px rgba(0, 0, 0, 0.02);
    max-width: 480px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payment-speed-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(24, 143, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.payment-icon-ring {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(24, 143, 255, 0.3);
    margin-bottom: 24px;
    z-index: 2;
}

.payment-icon-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.payment-icon-ring svg {
    color: var(--color-white);
    width: 44px;
    height: 44px;
}

.payment-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 6px;
    text-align: center;
    z-index: 2;
}

.payment-subtitle {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.payment-subtitle::before, .payment-subtitle::after {
    content: '';
    width: 24px;
    height: 1.5px;
    background-color: var(--color-primary);
    opacity: 0.2;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .splitted_box {
        flex-direction: column;
    }
    .navigation {
        display: none;
    }
    .wrapper {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
    }
    .quick_nav {
        order: 2;
        margin-top: 30px;
        margin-bottom: 10px;
        gap: 15px;
    }
    .content {
        order: 1;
    }
    .content h2 {
        font-size: 16px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .content h2 span {
        width: 26px;
        height: 26px;
        font-size: 13px;
        margin-right: 10px;
    }
    .content p, .content li {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .plans-grid {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    main {
        margin-top: 20px;
        margin-bottom: 60px;
    }
    .block img.fancybox-trigger {
        margin-top: 20px;
    }
    .payment-speed-card {
        padding: 30px 20px;
    }
    .payment-title {
        font-size: 16px;
    }
}