* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f5f6f8;
    color: #101828;

    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.page-container {
    width: calc(100% - 40px);
    max-width: 1120px;
    margin: 0 auto;
}


/* HEADER */

.package-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid #e4e7ec;
}

.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.package-logo {
    display: flex;
    align-items: center;
}

.package-logo img {
    width: auto;
    height: 46px;

    max-width: 240px;

    display: block;
    object-fit: contain;
}

.back-home {
    min-height: 40px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d0d5dd;
    border-radius: 7px;

    background: #ffffff;

    color: #344054;

    font-size: 12px;
    font-weight: 650;

    transition: 0.2s ease;
}

.back-home:hover {
    color: #155eef;
    border-color: #155eef;
}


/* PAGE */

.package-page {
    padding: 58px 0 90px;
}


/* INTRO */

.page-intro {
    max-width: 720px;

    margin: 0 auto 36px;

    text-align: center;
}

.page-intro > span {
    display: block;

    margin-bottom: 10px;

    color: #155eef;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.page-intro h1 {
    color: #101828;

    font-size: 40px;

    line-height: 1.12;

    letter-spacing: -1.5px;
}

.page-intro p {
    max-width: 620px;

    margin: 15px auto 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


/* PROGRESS */

.progress {
    max-width: 780px;

    margin: 0 auto 34px;

    display: flex;
    align-items: flex-start;
}

.progress-item {
    min-width: 88px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;
}

.progress-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d0d5dd;
    border-radius: 50%;

    background: #ffffff;

    color: #667085;

    font-size: 11px;
    font-weight: 800;
}

.progress-item span {
    color: #98a2b3;

    font-size: 10px;
    font-weight: 650;
}

.progress-item.active .progress-number,
.progress-item.completed .progress-number {
    border-color: #155eef;

    background: #155eef;

    color: #ffffff;
}

.progress-item.active span,
.progress-item.completed span {
    color: #344054;
}

.progress-line {
    flex: 1;

    height: 1px;

    margin-top: 17px;

    background: #d0d5dd;
}


/* WIZARD */

.wizard-step {
    display: none;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;

    box-shadow:
        0 8px 28px rgba(16, 24, 40, 0.04);
}

.wizard-step.active {
    display: block;
}


/* HEADING */

.step-heading {
    max-width: 720px;

    margin-bottom: 27px;
}

.step-heading > span {
    display: block;

    margin-bottom: 6px;

    color: #155eef;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.step-heading h2 {
    margin-bottom: 8px;

    color: #101828;

    font-size: 26px;

    letter-spacing: -0.7px;
}

.step-heading p {
    color: #667085;

    font-size: 13px;

    line-height: 1.65;
}


/* WEBSITE */

.website-selection {
    padding: 23px;

    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;

    gap: 30px;

    background: #f8fafc;

    border: 1px solid #e4e7ec;
    border-radius: 10px;
}

.small-label {
    display: block;

    margin-bottom: 5px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.website-info h3 {
    margin-bottom: 7px;

    font-size: 20px;
}

.website-info p {
    max-width: 600px;

    color: #667085;

    font-size: 12px;

    line-height: 1.6;
}

.website-price {
    padding-left: 25px;

    border-left: 1px solid #e4e7ec;
}

.website-price span {
    display: block;

    margin-bottom: 5px;

    color: #98a2b3;

    font-size: 9px;
}

.website-price strong {
    white-space: nowrap;

    font-size: 23px;
}


/* SIMPLE INFO */

.simple-info {
    margin-top: 14px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}

.simple-info div {
    min-height: 44px;

    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e4e7ec;
    border-radius: 7px;

    color: #475467;

    font-size: 10px;
    font-weight: 650;

    text-align: center;
}


/* CHOICE GRID */

.choice-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.choice-card {
    position: relative;

    min-width: 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.choice-card:hover {
    transform: translateY(-2px);

    border-color: #98a2b3;

    box-shadow:
        0 10px 26px rgba(16, 24, 40, 0.06);
}

.choice-card.selected {
    border: 2px solid #155eef;

    background: #f8faff;
}


/* BADGES */

.preferred-card,
.premium-card {
    padding-top: 48px;
}

.choice-badge {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px 9px 0 0;

    background: #155eef;

    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.dark-badge {
    background: #101828;
}


/* CHOICE TOP */

.choice-top {
    min-height: 126px;
}

.choice-level {
    display: block;

    margin-bottom: 7px;

    color: #667085;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.choice-top h3 {
    margin-bottom: 8px;

    color: #101828;

    font-size: 18px;
}

.choice-top p {
    color: #667085;

    font-size: 11px;

    line-height: 1.55;
}

.choice-price {
    margin: 8px 0 17px;

    color: #155eef;

    font-size: 23px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


/* ACTIONS */

.choice-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;
}

.details-button,
.select-button {
    min-height: 41px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.details-button {
    border: 1px solid #d0d5dd;

    background: #ffffff;

    color: #344054;
}

.details-button:hover {
    background: #f9fafb;

    border-color: #98a2b3;
}

.select-button {
    border: 1px solid #155eef;

    background: #155eef;

    color: #ffffff;
}

.select-button:hover {
    background: #004eeb;
}

.choice-card.selected .select-button {
    background: #067647;

    border-color: #067647;
}


/* DETAILS */

.choice-details {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    margin-top: 0;

    padding-top: 0;

    border-top: 0 solid #eaecf0;

    transition:
        max-height 0.4s ease,
        opacity 0.2s ease,
        margin 0.3s ease,
        padding 0.3s ease;
}

.choice-card.details-open .choice-details {
    max-height: 900px;

    opacity: 1;

    margin-top: 17px;

    padding-top: 16px;

    border-top-width: 1px;
}

.choice-details ul {
    list-style: none;
}

.choice-details li {
    position: relative;

    margin-bottom: 8px;

    padding-left: 17px;

    color: #475467;

    font-size: 10px;

    line-height: 1.5;
}

.choice-details li:last-child {
    margin-bottom: 0;
}

.choice-details li::before {
    content: "";

    position: absolute;

    top: 5px;
    left: 0;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #155eef;
}


/* NOTICE */

.notice-box {
    margin-bottom: 18px;

    padding: 12px 15px;

    background: #f8fafc;

    border: 1px solid #e4e7ec;
    border-radius: 7px;

    color: #667085;

    font-size: 11px;

    line-height: 1.5;
}


/* SKIP */

.skip-box {
    margin-top: 20px;

    padding: 17px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #f8fafc;

    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.skip-box > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.skip-box strong {
    color: #344054;

    font-size: 11px;
}

.skip-box span {
    color: #98a2b3;

    font-size: 10px;
}

.skip-button {
    flex-shrink: 0;

    min-height: 38px;

    padding: 0 14px;

    border: 1px solid #d0d5dd;
    border-radius: 7px;

    background: #ffffff;

    color: #475467;

    font-size: 10px;
    font-weight: 750;

    cursor: pointer;
}

.skip-button:hover {
    color: #101828;

    border-color: #98a2b3;
}


/* NAVIGATION */

.step-navigation {
    margin-top: 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.right-navigation {
    justify-content: flex-end;
}

.previous-button,
.next-button {
    min-height: 45px;

    padding: 0 20px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.previous-button {
    border: 1px solid #d0d5dd;

    background: #ffffff;

    color: #344054;
}

.previous-button:hover {
    border-color: #98a2b3;
}

.next-button {
    border: 1px solid #155eef;

    background: #155eef;

    color: #ffffff;
}

.next-button:hover {
    background: #004eeb;
}

.hidden {
    display: none !important;
}


/* SUMMARY */

.final-summary {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 24px;
}

.summary-list {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 9px;
}

.summary-item {
    min-height: 65px;

    padding: 12px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid #eaecf0;
}

.summary-item:last-child {
    border-bottom: 0;
}

.summary-item > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.summary-item span {
    color: #98a2b3;

    font-size: 9px;
    font-weight: 750;
}

.summary-item strong {
    color: #101828;

    font-size: 13px;
}

.summary-price {
    flex-shrink: 0;
}


/* TOTAL */

.total-card {
    padding: 24px;

    background: #101828;

    border-radius: 10px;

    color: #ffffff;
}

.total-card > span {
    display: block;

    margin-bottom: 7px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 750;
}

.total-card > strong {
    display: block;

    margin-bottom: 11px;

    font-size: 30px;

    letter-spacing: -0.8px;
}

.total-card p {
    margin-bottom: 18px;

    color: #98a2b3;

    font-size: 10px;

    line-height: 1.5;
}

#completeOrderButton {
    width: 100%;

    min-height: 48px;

    border: 0;
    border-radius: 7px;

    background: #155eef;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

#completeOrderButton:hover {
    background: #004eeb;
}


/* TABLET */

@media (max-width: 900px) {

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .choice-top {
        min-height: auto;
    }

    .final-summary {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .page-container {
        width: calc(100% - 20px);
    }

    .header-container {
        min-height: 65px;
    }

    .package-logo img {
        height: 37px;

        max-width: 165px;
    }

    .back-home {
        min-height: 35px;

        padding: 0 9px;

        font-size: 9px;
    }

    .package-page {
        padding: 42px 0 60px;
    }

    .page-intro {
        margin-bottom: 27px;
    }

    .page-intro h1 {
        font-size: 29px;

        letter-spacing: -1px;
    }

    .page-intro p {
        font-size: 12px;
    }

    .progress {
        margin-bottom: 24px;
    }

    .progress-item {
        min-width: 50px;
    }

    .progress-number {
        width: 29px;
        height: 29px;

        font-size: 9px;
    }

    .progress-item span {
        font-size: 8px;
    }

    .progress-line {
        margin-top: 14px;
    }

    .wizard-step {
        padding: 18px;

        border-radius: 10px;
    }

    .step-heading {
        margin-bottom: 20px;
    }

    .step-heading h2 {
        font-size: 22px;
    }

    .step-heading p {
        font-size: 11px;
    }

    .website-selection {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 17px;
    }

    .website-price {
        padding-left: 0;
        padding-top: 15px;

        border-left: 0;
        border-top: 1px solid #e4e7ec;
    }

    .simple-info {
        grid-template-columns: 1fr 1fr;
    }

    .choice-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .choice-card {
        padding: 18px;
    }

    .preferred-card,
    .premium-card {
        padding-top: 44px;
    }

    .choice-actions {
        grid-template-columns: 1fr 1fr;
    }

    .skip-box {
        flex-direction: column;

        align-items: flex-start;
    }

    .skip-button {
        width: 100%;
    }

    .step-navigation {
        margin-top: 20px;
    }

    .previous-button,
    .next-button {
        flex: 1;

        padding: 0 8px;
    }

    .final-summary {
        grid-template-columns: 1fr;
    }

    .summary-item {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

}