.website-package-section {
    margin: 8px 0 26px;
}

.website-package-section[hidden] {
    display: none;
}

.package-fieldset {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(160, 32, 240, 0.42);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(139, 0, 210, 0.09), rgba(18, 13, 22, 0.85) 55%),
        rgba(0, 0, 0, 0.34);
}

.package-fieldset legend {
    padding: 0 10px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.package-fieldset legend span {
    color: #d39af1;
}

.package-intro {
    margin: 2px 0 18px;
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.55;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.package-option {
    position: relative;
    display: flex;
    min-width: 0;
    cursor: pointer;
}

.package-option input[type="radio"] {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #bd63ef;
    cursor: pointer;
}

.package-card-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 17px 15px 16px 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(6, 5, 8, 0.72);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.package-option:hover .package-card-content {
    border-color: rgba(190, 99, 239, 0.7);
    transform: translateY(-2px);
}

.package-option input[type="radio"]:checked + .package-card-content {
    border-color: #c36eec;
    background: linear-gradient(145deg, rgba(139, 0, 210, 0.22), rgba(10, 8, 12, 0.9));
    box-shadow: inset 0 0 0 1px rgba(195, 110, 236, 0.2);
}

.package-option input[type="radio"]:focus-visible + .package-card-content {
    outline: 3px solid #e4b5ff;
    outline-offset: 3px;
}

.package-heading {
    display: flex;
    flex-wrap: wrap;
    min-height: 36px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.package-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.package-badge {
    flex: 0 0 auto;
    padding: 4px 7px;
    border: 1px solid rgba(208, 154, 240, 0.42);
    border-radius: 999px;
    background: rgba(139, 0, 210, 0.22);
    color: #e8c7fa;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.package-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 10px 0 14px;
    color: #d9b6ed;
    font-size: 0.91rem;
    font-weight: 650;
}

.package-pricing span {
    display: inline-block;
}

.package-features {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 13px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
}

.package-features li {
    position: relative;
    padding-left: 15px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.86rem;
    line-height: 1.4;
}

.package-features li::before {
    position: absolute;
    left: 0;
    color: #bd63ef;
    content: "—";
}

.package-agreement-note {
    margin: 12px 0 0 28px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .package-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .package-card-content {
        padding: 16px 16px 16px 46px;
    }
}

@media (max-width: 480px) {
    .package-fieldset {
        padding: 16px 12px;
        border-radius: 13px;
    }

    .package-fieldset legend {
        font-size: 1.1rem;
    }

    .package-agreement-note {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .package-card-content {
        transition: none;
    }
}
