h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}
.subhead {
    font-size: 1.05rem;
    color: #a0a0a0;
    margin-bottom: 40px;
    text-align: center;
}

.section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2a2a;
}
.section:last-of-type {
    border-bottom: none;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}
.section-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 14px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.package-option {
    background: #242424;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}
.package-option:hover {
    border-color: #4a4a4a;
}
.package-option.active {
    border-color: #f97316;
    background: #2a1f0f;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.06);
}
.package-option .name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}
.package-option .desc {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin: 6px 0 4px;
    line-height: 1.4;
}
.package-option .desc .star {
    color: #f97316;
    cursor: help;
    border-bottom: 1px dashed #f97316;
}
.package-option .radio-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #4a4a4a;
    margin-top: 8px;
    transition: all 0.25s ease;
}
.package-option.active .radio-dot {
    border-color: #f97316;
    background: #f97316;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 6px;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.radio-item input[type="radio"] {
    accent-color: #f97316;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
.radio-item label {
    color: #c0c0c0;
    font-size: 0.88rem;
    cursor: pointer;
}
.radio-item .price-tag {
    color: #f97316;
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: 2px;
}

.option-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    margin-top: 6px;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    flex-wrap: wrap;
}
.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f97316;
    cursor: pointer;
    flex-shrink: 0;
}
.option-item label {
    color: #c0c0c0;
    font-size: 0.88rem;
    cursor: pointer;
}
.option-item .opt-price {
    color: #f97316;
    font-weight: 600;
    font-size: 0.82rem;
    margin-left: auto;
    white-space: nowrap;
}

.api-radio-group {
    display: none;
    align-items: center;
    gap: 4px 8px;
    background: #1f1f1f;
    padding: 2px 10px 2px 6px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    margin-left: 4px;
}
.api-radio-group.visible {
    display: inline-flex;
}
.api-radio-group span {
    font-size: 0.65rem;
    color: #888;
    margin-right: 2px;
}
.api-radio-group label {
    font-size: 0.7rem !important;
    color: #b0b0b0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.api-radio-group input[type="radio"] {
    width: 12px;
    height: 12px;
    accent-color: #f97316;
    cursor: pointer;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #888;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #3a3a3a;
    transition: all 0.2s;
    flex-shrink: 0;
    user-select: none;
}
.help-icon:hover {
    background: #3a3a3a;
    color: #f97316;
    border-color: #f97316;
}
.help-icon.active {
    background: #f97316;
    color: #0c0c0c;
    border-color: #f97316;
}

.tooltip {
    display: none;
    position: fixed;
    background: #2a2a2a;
    border: 1px solid #f97316;
    border-radius: 12px;
    padding: 18px 22px;
    max-width: 360px;
    color: #e0e0e0;
    font-size: 0.9rem;
    z-index: 1000;
    box-shadow: 0 16px 48px rgba(0,0,0,0.9);
    pointer-events: none;
}
.tooltip.visible {
    display: block;
}
.tooltip .tt-title {
    color: #f97316;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1rem;
}
.tooltip .tt-desc {
    color: #c0c0c0;
    font-size: 0.85rem;
    line-height: 1.6;
}
.tooltip .tt-desc ul {
    margin: 6px 0 0 18px;
    padding: 0;
}
.tooltip .tt-desc ul li {
    color: #b0b0b0;
    font-size: 0.82rem;
    line-height: 1.5;
}
.tooltip .tt-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    pointer-events: auto;
    background: none;
    border: none;
}
.tooltip .tt-close:hover {
    color: #f97316;
}

.total-block {
    background: #151515;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #f97316;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}
.total-block .label {
    font-size: 1rem;
    color: #b0b0b0;
}
.total-block .price {
    font-size: 2.4rem;
    font-weight: 700;
    color: #f97316;
}
.btn {
    display: inline-block;
    background: #f97316;
    color: #0c0c0c;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover {
    background: #e85d0e;
}

.nav-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    font-size: 0.9rem;
}
.nav-links a:hover {
    border-bottom-color: #f97316;
    color: #e0e0e0;
}

@media (max-width: 750px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
    .option-group {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 30px 16px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .total-block {
        flex-direction: column;
        text-align: center;
    }
    .radio-group {
        gap: 4px 12px;
    }
    .option-item {
        flex-wrap: wrap;
    }
    .api-radio-group {
        margin-left: 26px;
    }
}