.co-page {
    /* Header is position:fixed (~120px). Keep the title fully below it. */
    padding: 170px 0 80px;
    min-height: 70vh;
}
@media (max-width: 768px) {
    .co-page { padding-top: 150px; }
}

.co-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 18px;
}
.co-back:hover { color: #fff; }

.co-title {
    text-align: center;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin: 0 0 32px;
    letter-spacing: 0.02em;
}

.co-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.co-plan,
.co-form,
.co-modal-card {
    background: rgba(22, 33, 62, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.28);
}

.co-plan { padding: 28px 24px; }
.co-form { padding: 28px 28px 24px; }

.co-kicker {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 8px;
}

.co-plan-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.25;
}

.co-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.co-price {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.co-price span {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.co-due {
    color: rgba(255, 255, 255, 0.65);
    margin: 8px 0 18px;
    font-size: 15px;
}

.co-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.co-feats li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    color: rgba(224, 224, 224, 0.9);
    font-size: 14px;
}
.co-feats li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 700;
}

.co-change {
    background: none;
    border: 0;
    padding: 0;
    color: #a78bfa;
    cursor: pointer;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.co-change:hover { color: #c4b5fd; }

.co-h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}
.co-hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    margin: 0 0 14px;
}
.co-muted { color: rgba(255, 255, 255, 0.55); }

.co-block { margin-bottom: 28px; }
.co-block-pay { opacity: 0.55; pointer-events: none; }
.co-block-pay.is-on { opacity: 1; pointer-events: auto; }

.co-email-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 12px;
}

.co-input {
    width: 100%;
    background: rgba(8, 10, 30, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
}
.co-input:focus {
    outline: none;
    border-color: #8b5cf6;
}
.co-input:disabled { opacity: 0.7; }

.co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    padding: 12px 22px;
    letter-spacing: 0.02em;
    transition: 0.2s ease;
}
.co-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.co-btn-ghost {
    background: transparent;
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.7);
    white-space: nowrap;
}
.co-btn-ghost:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.12);
}

.co-btn-primary,
.co-btn-pay {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #fff;
}
.co-btn-pay {
    width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 16px;
}
.co-btn-pay:hover:not(:disabled),
.co-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.co-captcha { min-height: 0; margin: 8px 0; }

.co-otp-boxes {
    display: flex;
    gap: 8px;
    margin: 12px 0 8px;
}
.co-otp-boxes input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    background: rgba(8, 10, 30, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
}
.co-otp-boxes input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.co-ok {
    color: #86efac;
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0 0;
}
.co-ok::before { content: "✓ "; }

.co-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.co-method {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: rgba(8, 10, 30, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 14px;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
}
.co-method.is-on {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 1px #8b5cf6 inset;
}
.co-method-ico {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}
.co-method-ico svg { width: 32px; height: 32px; }
.co-method b { display: block; font-size: 15px; }
.co-method span { display: block; font-size: 12px; color: rgba(255,255,255,0.55); }

.co-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 20px;
    margin: 8px 0 16px;
}
.co-total-row strong { font-size: 28px; }

.co-pay-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    margin-top: 12px;
}

.co-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
}
.co-alert-inline { margin: 10px 0 0; }

.co-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 20px;
}
.co-modal[hidden] { display: none; }

.co-vpn-card {
    width: min(440px, 100%);
    text-align: center;
}
.co-vpn-card .co-h2 { text-align: center; }
.co-vpn-card .co-btn-pay { margin-top: 4px; }

.co-bought {
    margin-top: 18px;
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.35);
    text-align: center;
}
.co-bought p { margin: 0 0 14px; font-size: 15px; }
.co-bought .co-btn { width: 100%; }
.co-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 6, 24, 0.72);
}
.co-modal-card {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    padding: 28px 28px 22px;
}
.co-modal-x {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: 0;
    color: rgba(255,255,255,0.7);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.co-modal-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0 22px;
}
.co-mini {
    background: rgba(8, 10, 30, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}
.co-mini.is-on {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 1px #8b5cf6 inset;
}
.co-mini .co-mini-name { font-size: 14px; margin-bottom: 6px; }
.co-mini .co-mini-price { font-size: 22px; font-weight: 800; }
.co-mini .co-mini-price span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); }
.co-mini .co-mini-due { font-size: 12px; color: rgba(255,255,255,0.55); margin: 6px 0 8px; }
.co-mini-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}
.co-mini-tag.is-best {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #fff;
}

.co-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 980px) {
    .co-layout { grid-template-columns: 1fr; }
    .co-modal-plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .co-email-row { grid-template-columns: 1fr; }
    .co-methods { grid-template-columns: 1fr; }
    .co-otp-boxes { justify-content: space-between; }
    .co-otp-boxes input { width: 14%; height: 48px; font-size: 18px; }
    .co-modal-plans { grid-template-columns: 1fr; }
    .co-title { text-align: left; }
}
