:root {
    --primary: #275a25;
    --primary-light: #e6f2e6;
    --primary-hover: #1e451d;
    --secondary: #7ac143;
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-focus: #cbd5e1;

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(122, 193, 67, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #ffffff !important;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.app-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

header {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.main-logo {
    height: 45px;
    width: auto;
    display: block;
}

header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.wizard-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 10px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #4ade80);
    width: 25%;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glow);
}

.wizard-step {
    display: none;
    animation: slideIn 0.4s ease-out forwards;
}

.wizard-step.active {
    display: block;
}

h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.sub-heading {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 1.5rem 0 1rem;
}

.step-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.options-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.options-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.options-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    height: 100%;
    justify-content: flex-start;
}

.card-content:hover {
    border-color: var(--border-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.option-card input:checked+.card-content {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#step-1 .icon {
    font-size: 1.5rem;
}

.option-card input:checked+.card-content .icon {
    transform: scale(1.1);
}

.title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-grid .input-group {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}

.input-group input[readonly] {
    background: #e2e8f0;
    color: var(--text);
    font-weight: 600;
    border-color: #cbd5e1;
    cursor: not-allowed;
}

.input-group input[readonly]:focus {
    box-shadow: none;
    border-color: #cbd5e1;
}

/* BMI Meter */
.bmi-visual {
    width: 100%;
    margin-top: 0.5rem;
}

.bmi-bar {
    height: 8px;
    width: 100%;
    background: linear-gradient(to right, #60a5fa 0%, #60a5fa 25%, #4ade80 25%, #4ade80 50%, #fbbf24 50%, #fbbf24 75%, #f87171 75%, #f87171 100%);
    border-radius: 4px;
    position: relative;
    margin-bottom: 0.5rem;
}

.bmi-marker {
    position: absolute;
    top: -6px;
    left: 0;
    width: 4px;
    height: 20px;
    background: var(--dark);
    border-radius: 2px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.wizard-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1e451d);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 90, 37, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 90, 37, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.hidden {
    display: none !important;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Result Step Styling */
.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.recommendation-card {
    display: flex;
    gap: 2rem;
    background: #fff;
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(39, 90, 37, 0.15);
    transition: transform 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
}

.rec-image {
    flex: 0 0 150px;
}

.img-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    box-shadow: var(--shadow);
}

.rec-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rec-details h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.rec-desc {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--primary-light);
    color: var(--primary-hover);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Hub Styles */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--text);
}

.hub-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light);
}

.hub-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.hub-card:hover .hub-icon {
    transform: scale(1.1);
}

.hub-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.hub-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .wizard-container {
        padding: 1.5rem;
    }

    .options-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .recommendation-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tags {
        justify-content: center;
    }

    .wizard-footer {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}