* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #f7f2ff, #eefbff);
    color: #111827;
}

.main-header {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    color: white;
    text-align: center;
    padding: 46px 20px;
}

    .main-header h1 {
        font-size: 46px;
        font-weight: 900;
        margin: 0 0 10px;
    }

    .main-header p {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
    }

.main-nav {
    background: white;
    padding: 18px;
    display: flex;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 8px 28px rgba(91, 33, 182, 0.08);
}

    .main-nav a {
        text-decoration: none;
        background: #ede9fe;
        color: #5b21b6;
        padding: 11px 24px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 14px;
    }

        .main-nav a:hover {
            background: #7c3aed;
            color: white;
        }

.container {
    max-width: 1180px;
    margin: 42px auto;
    padding: 0 22px;
}

.hero-card,
.tool-card {
    background: rgba(255,255,255,0.92);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 22px 55px rgba(91, 33, 182, 0.12);
}

    .hero-card h2,
    .tool-card h2 {
        color: #4c1d95;
        font-size: 34px;
        font-weight: 900;
        margin-top: 0;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.category-card {
    text-decoration: none;
    color: #111827;
    background: #faf7ff;
    border: 1px solid #ddd6fe;
    border-radius: 22px;
    padding: 26px;
    transition: 0.2s;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 36px rgba(124, 58, 237, 0.16);
    }

    .category-card h3 {
        color: #6d28d9;
        font-weight: 900;
    }

.fitness-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.fitness-form {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111827;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 54px;
    border: 1.5px solid #ddd6fe;
    border-radius: 16px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: 0.2s;
}

    .form-group input:focus,
    .form-group select:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.12);
    }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #7c3aed 50%), linear-gradient(135deg, #7c3aed 50%, transparent 50%);
    background-position: calc(100% - 22px) 23px, calc(100% - 15px) 23px;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}

.submit-btn {
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(124, 58, 237, 0.24);
}

    .submit-btn:hover {
        transform: translateY(-2px);
    }

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.result-card {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 30px;
    padding: 34px 28px;
    min-height: 190px;
    text-align: center;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

    .result-card::after {
        content: "";
        position: absolute;
        right: -42px;
        top: -42px;
        width: 130px;
        height: 130px;
        background: #eef4ff;
        border-radius: 50%;
    }

    .result-card h3 {
        position: relative;
        z-index: 1;
        margin: 0 0 18px;
        color: #64748b;
        font-size: 15px;
        letter-spacing: 3px;
        font-weight: 900;
        text-transform: uppercase;
    }

.result-number {
    position: relative;
    z-index: 1;
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    color: #111827;
}

    .result-number.green {
        color: #22c55e;
    }

.result-unit {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 800;
}

.result-pill {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 16px;
    background: #eef2f7;
    color: #64748b;
    border-radius: 999px;
    font-weight: 900;
}

.side-note {
    background: #faf7ff;
    border: 1px solid #ddd6fe;
    border-radius: 24px;
    padding: 24px;
}

    .side-note h3 {
        color: #4c1d95;
        margin-top: 0;
        font-weight: 900;
    }

    .side-note p {
        color: #475569;
        line-height: 1.7;
        font-weight: 500;
    }

.faq-section {
    margin-top: 42px;
}

.faq-heading {
    text-align: center;
    margin-bottom: 28px;
}

    .faq-heading span {
        display: inline-block;
        background: #ede9fe;
        color: #4c1d95;
        padding: 8px 18px;
        border-radius: 999px;
        font-weight: 900;
        font-size: 14px;
    }

    .faq-heading h2 {
        color: #111827;
        font-size: 34px;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .faq-heading p {
        color: #64748b;
        font-size: 17px;
    }

.faq-item {
    background: white;
    margin-bottom: 18px;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 0 28px 24px;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

    .faq-answer.active {
        display: block;
    }

footer {
    text-align: center;
    padding: 32px;
    color: #6d28d9;
    font-weight: 900;
}

@media (max-width: 900px) {
    .fitness-layout,
    .category-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }
}
.about-card {
    margin-top: 32px;
    background: white;
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 22px 55px rgba(91, 33, 182, 0.12);
}

.about-badge {
    display: inline-block;
    background: #ede9fe;
    color: #5b21b6;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.about-card h2 {
    color: #4c1d95;
    font-size: 32px;
    font-weight: 900;
    margin: 18px 0 12px;
}

.about-card h3 {
    color: #6d28d9;
    font-size: 22px;
    font-weight: 900;
    margin-top: 24px;
}

.about-card p,
.about-card li {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 500;
}

.about-card ul {
    padding-left: 22px;
}