:root {
    --primary-color: #F4B400;
    /* Golden/Yellow */
    --primary-hover: #D49B00;
    --text-color: #333333;
    --bg-color: #F9F9F9;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.15s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

#app {
    width: 100%;
    max-width: 600px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    /* Ensure some height */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Common Layouts */
.step-container {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

.subcopy {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(244, 180, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 180, 0, 0.4);
}

/* Option Cards */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

.option-card {
    background: var(--white);
    border: 2px solid #EEE;
    border-radius: var(--radius);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Default left align */
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--primary-color);
    background-color: #FFFDF5;
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: #FFFDF5;
    box-shadow: 0 0 0 2px rgba(244, 180, 0, 0.2);
}

.option-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.option-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Vertical List Options */
.vertical-list .option-card {
    justify-content: center;
    text-align: center;
}

/* Horizontal Options */
.horizontal-options {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.horizontal-options .option-card {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.horizontal-options .option-card span {
    margin-top: 10px;
    margin-right: 0;
}

/* Images */
.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: #EEE;
    height: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.5s ease;
}

/* Specific Styles for Steps */
.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.info-item {
    background: #FFF;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #EEE;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.info-item::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    background: #FFF;
    border: 1px solid #EEE;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
}

/* Authority */
.authority-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

/* Loading */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Chart */
.chart-container {
    width: 100%;
    margin: 30px 0;
    position: relative;
    padding-top: 20px;
}

.chart-bar-bg {
    width: 100%;
    height: 20px;
    background: #EEE;
    border-radius: 10px;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #F4B400);
    border-radius: 10px;
    width: 85%;
    position: relative;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #777;
}

.chart-marker {
    position: absolute;
    right: 0;
    top: -35px;
    background: var(--primary-color);
    color: #FFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.chart-marker::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

/* Scale 1-5 */
.scale-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.scale-btn {
    padding: 15px;
    border: 2px solid #EEE;
    border-radius: 8px;
    background: #FFF;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.scale-btn:hover {
    border-color: var(--primary-color);
}

.scale-btn.highlighted {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(244, 180, 0, 0.3);
}

/* Alert Icon */
.alert-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Active states for better feedback */
.btn:active {
    transform: scale(0.96);
}

.option-card:active {
    transform: scale(0.98);
    border-color: var(--primary-color);
    background-color: #FFFDF5;
}