:root {
    --turquoise: #20d4c4;
    --dark-blue-grey: #283444;
    --white: #ffffff;
    --pink-flesh: #f38674;
    --light-grey: #f8f9fa;
    --border-grey: #e9ecef;
    --text-grey: #6c757d;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--dark-blue-grey);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 0;
}

/* Main Heading */
.main-heading {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-blue-grey);
    margin-bottom: 10px;
}

.main-subtitle {
    font-size: 18px;
    color: var(--text-grey);
    font-weight: 300;
}

/* Progress */
.progress-section {
    margin-bottom: 40px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.step-info {
    font-size: 14px;
    color: var(--text-grey);
    font-weight: 400;
}

.progress-percentage {
    font-size: 14px;
    color: var(--turquoise);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--light-grey);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--turquoise);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Survey Content */
.survey-content {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-grey);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(40, 52, 68, 0.05);
}

.question-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    margin-bottom: 10px;
    text-align: center;
}

.question-subtitle {
    font-size: 16px;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Options Layout - Horizontal on Desktop, Vertical on Mobile */
.options-container {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

/* Desktop: Horizontal layout */
@media (min-width: 768px) {
    .options-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile: Vertical layout */
@media (max-width: 767px) {
    .options-container {
        grid-template-columns: 1fr;
    }
}

.option-card {
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.option-card:hover {
    border-color: var(--turquoise);
    box-shadow: 0 4px 12px rgba(32, 212, 196, 0.1);
}

.option-card.selected {
    border-color: var(--turquoise);
    background-color: rgba(32, 212, 196, 0.05);
}

.option-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    margin-bottom: 8px;
}

.option-description {
    font-size: 14px;
    color: var(--text-grey);
    font-weight: 300;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    min-width: 120px;
}

.nav-button.previous {
    background-color: var(--white);
    color: var(--text-grey);
    border: 1px solid var(--border-grey);
}

.nav-button.previous:hover:not(:disabled) {
    background-color: var(--light-grey);
}

.nav-button.next {
    background-color: var(--turquoise);
    color: var(--white);
}

.nav-button.next:hover:not(:disabled) {
    background-color: #1bc4b4;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Section */
.results-section {
    display: none;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-grey);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(40, 52, 68, 0.05);
}

.results-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    text-align: center;
    margin-bottom: 10px;
}

.results-subtitle {
    font-size: 16px;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Updated Recommendations - Button Cards Layout */
.recommendations {
    background-color: var(--light-grey);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.recommendations-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    margin-bottom: 30px;
    text-align: center;
}

.recommendations-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.recommendation-card {
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.recommendation-card:hover {
    border-color: var(--turquoise);
    box-shadow: 0 4px 12px rgba(32, 212, 196, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.recommendation-card:visited {
    color: inherit;
}

.recommendation-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.recommendation-icon.essential {
    background-color: var(--pink-flesh);
}

.recommendation-icon.recommended {
    background-color: var(--turquoise);
}

.recommendation-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    margin-bottom: 8px;
    line-height: 1.3;
}

.recommendation-description {
    font-size: 14px;
    color: var(--text-grey);
    font-weight: 300;
    line-height: 1.4;
}

.recommendation-priority {
    display: inline-block;
    background-color: var(--turquoise);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 8px;
}

.recommendation-priority.essential {
    background-color: var(--pink-flesh);
}

.recommendation-priority.recommended {
    background-color: var(--turquoise);
}

.recommendation-download {
    display: inline-block;
    background-color: var(--turquoise);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 8px;
    margin-left: 8px;
}

/* Forminator Form Container */
.forminator-form-container {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    padding: 30px;
}

.form-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-blue-grey);
    margin-bottom: 20px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .container {
        padding: 15px;
    }

    .main-title {
        font-size: 28px;
    }

    .main-subtitle {
        font-size: 16px;
    }

    .survey-content {
        padding: 30px 20px;
    }

    .question-title {
        font-size: 20px;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-button {
        width: 100%;
    }

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

/* Hidden class */
.hidden {
    display: none;
}