/* =====================================================
   FREEVEXA - MAKE YOUR WEBSITE
   Same dark glassmorphism design
===================================================== */

.website-builder-page {
    min-height: 100vh;
    padding-bottom: 80px;
}


/* =====================================================
   HERO
===================================================== */

.builder-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 110px 20px 55px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 20px;

    border: 1px solid rgba(112, 0, 255, 0.35);
    border-radius: 999px;

    background: rgba(112, 0, 255, 0.08);

    color: #bfa8ff;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;
}

.builder-hero h1 {
    margin: 0;

    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;

    font-weight: 800;
    letter-spacing: -2px;

    color: #ffffff;
}

.builder-hero h1 span {
    background: linear-gradient(
        90deg,
        #00f0ff,
        #7000ff,
        #ff007a
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.builder-hero p {
    max-width: 680px;
    margin: 22px auto;

    color: rgba(255, 255, 255, 0.65);

    font-size: 16px;
    line-height: 1.7;
}

.delivery-pill {
    display: inline-flex;

    padding: 10px 17px;

    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 999px;

    background: rgba(0, 240, 255, 0.06);

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
}

.delivery-pill strong {
    margin-left: 5px;
    color: #ffffff;
}


/* =====================================================
   WRAPPER
===================================================== */

.builder-wrapper {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}


/* =====================================================
   GLASS CARD
===================================================== */

.glass-card {
    position: relative;

    margin-bottom: 24px;
    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 25px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    border-radius: 12px;

    background: rgba(112, 0, 255, 0.12);
    border: 1px solid rgba(112, 0, 255, 0.25);

    color: #bda6ff;

    font-size: 12px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 21px;
}

.section-heading p {
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-size: 14px;
}


/* =====================================================
   CATEGORY GRID
===================================================== */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 13px;
}

.choice-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 150px;

    padding: 19px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.025);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.choice-card:hover {
    transform: translateY(-3px);

    border-color: rgba(112, 0, 255, 0.4);

    background: rgba(112, 0, 255, 0.06);
}

.choice-card:has(input:checked) {
    border-color: #7000ff;

    background:
        linear-gradient(
            145deg,
            rgba(112, 0, 255, 0.16),
            rgba(0, 240, 255, 0.04)
        );

    box-shadow:
        0 0 30px rgba(112, 0, 255, 0.12);
}

.choice-card input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.choice-icon {
    font-size: 29px;
    margin-bottom: 14px;
}

.choice-title {
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

.choice-desc {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.46);

    font-size: 11px;
    line-height: 1.45;
}


/* =====================================================
   LEVEL GRID
===================================================== */

.level-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.level-card {
    position: relative;

    padding: 27px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;

    background: rgba(255, 255, 255, 0.025);

    cursor: pointer;

    transition: 0.25s ease;
}

.level-card:hover {
    transform: translateY(-3px);

    border-color: rgba(112, 0, 255, 0.35);
}

.level-card:has(input:checked) {
    border-color: #7000ff;

    background:
        linear-gradient(
            145deg,
            rgba(112, 0, 255, 0.13),
            rgba(0, 240, 255, 0.035)
        );

    box-shadow:
        0 0 35px rgba(112, 0, 255, 0.1);
}

.level-card input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.level-card.recommended {
    border-color: rgba(0, 240, 255, 0.18);
}

.recommended-badge {
    position: absolute;

    top: 13px;
    right: 13px;

    padding: 5px 9px;

    border-radius: 999px;

    background: rgba(0, 240, 255, 0.08);

    color: #8ff8ff;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}

.level-top {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;
}

.level-icon {
    font-size: 20px;
}

.level-name {
    color: #ffffff;

    font-size: 20px;
    font-weight: 750;
}

.level-card p {
    min-height: 48px;

    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    line-height: 1.55;
}

.level-card ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.level-card li {
    margin: 9px 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
}

.level-card li::before {
    content: "✓";

    margin-right: 8px;

    color: #00f0ff;
}

.level-price {
    display: inline-block;

    margin-top: 16px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}


/* =====================================================
   FEATURES
===================================================== */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 11px;
}

.feature-option {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 14px 15px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.025);

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s ease;
}

.feature-option:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.feature-option:has(input:checked) {
    border-color: rgba(0, 240, 255, 0.4);

    background: rgba(0, 240, 255, 0.06);

    color: #ffffff;
}

.feature-option input {
    width: 16px;
    height: 16px;

    accent-color: #7000ff;
}


/* =====================================================
   REQUIREMENTS
===================================================== */

.requirements-box {
    width: 100%;

    box-sizing: border-box;

    resize: vertical;

    min-height: 190px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;

    outline: none;

    background: rgba(0, 0, 0, 0.2);

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    line-height: 1.65;

    transition: 0.2s ease;
}

.requirements-box::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.requirements-box:focus {
    border-color: rgba(112, 0, 255, 0.65);

    box-shadow:
        0 0 0 3px rgba(112, 0, 255, 0.08);
}

.character-count {
    margin-top: 8px;

    text-align: right;

    color: rgba(255, 255, 255, 0.3);

    font-size: 11px;
}


/* =====================================================
   DETAILS
===================================================== */

.details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;
    font-weight: 600;
}

.input-group input {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    outline: none;

    background: rgba(0, 0, 0, 0.2);

    color: #ffffff;

    font-family: inherit;

    transition: 0.2s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-group input:focus {
    border-color: rgba(112, 0, 255, 0.65);

    box-shadow:
        0 0 0 3px rgba(112, 0, 255, 0.08);
}


/* =====================================================
   ESTIMATE
===================================================== */

.estimate-section {
    overflow: hidden;

    border-color: rgba(112, 0, 255, 0.18);

    background:
        radial-gradient(
            circle at top right,
            rgba(112, 0, 255, 0.12),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.018)
        );
}

.estimate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.estimate-label {
    color: #9e82ff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.estimate-header h2 {
    margin: 7px 0 0;

    color: #ffffff;

    font-size: 23px;
}

.estimate-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 15px;

    background: rgba(112, 0, 255, 0.1);

    font-size: 24px;
}

.estimate-price {
    margin-top: 25px;

    color: #ffffff;

    font-size: clamp(42px, 7vw, 64px);

    font-weight: 800;

    letter-spacing: -2px;
}

.estimate-note {
    max-width: 650px;

    margin: 5px 0 25px;

    color: rgba(255, 255, 255, 0.43);

    font-size: 12px;
    line-height: 1.6;
}

.estimate-details {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.estimate-details > div {
    padding: 18px 15px;

    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.estimate-details > div:last-child {
    border-right: 0;
}

.estimate-details span {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.35);

    font-size: 10px;

    text-transform: uppercase;
}

.estimate-details strong {
    display: block;

    color: #ffffff;

    font-size: 13px;
}


/* =====================================================
   SUBMIT
===================================================== */

.submit-area {
    margin-top: 28px;

    text-align: center;
}

.submit-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 260px;

    padding: 15px 25px;

    border: 0;
    border-radius: 13px;

    background:
        linear-gradient(
            100deg,
            #7000ff,
            #00aeea
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 12px 35px rgba(112, 0, 255, 0.22);

    transition: 0.2s ease;
}

.submit-project-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 42px rgba(112, 0, 255, 0.32);
}

.submit-project-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-area p {
    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.34);

    font-size: 11px;
}


/* =====================================================
   FORM MESSAGE
===================================================== */

.form-message {
    display: none;

    margin: 15px 0;

    padding: 15px 18px;

    border-radius: 13px;

    font-size: 13px;

    text-align: center;
}

.form-message.show {
    display: block;
}

.form-message.error {
    border: 1px solid rgba(255, 0, 122, 0.25);

    background: rgba(255, 0, 122, 0.06);

    color: #ff9bc5;
}

.form-message.success {
    border: 1px solid rgba(0, 240, 255, 0.25);

    background: rgba(0, 240, 255, 0.06);

    color: #9ffaff;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 750px) {

    .builder-hero {
        padding-top: 80px;
    }

    .builder-hero h1 {
        letter-spacing: -1px;
    }

    .glass-card {
        padding: 22px;
        border-radius: 18px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .level-grid {
        grid-template-columns:
            1fr;
    }

    .feature-grid {
        grid-template-columns:
            1fr;
    }

    .details-grid {
        grid-template-columns:
            1fr;
    }

    .estimate-details {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .estimate-details > div:nth-child(2) {
        border-right: 0;
    }

    .estimate-details > div:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

}


@media (max-width: 480px) {

    .builder-wrapper {
        width: min(100% - 20px, 1100px);
    }

    .builder-hero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .category-grid {
        grid-template-columns:
            1fr;
    }

    .choice-card {
        min-height: auto;
    }

    .estimate-details {
        grid-template-columns:
            1fr;
    }

    .estimate-details > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .estimate-details > div:last-child {
        border-bottom: 0;
    }

    .submit-project-btn {
        width: 100%;
        min-width: 0;
    }

}
