:root {
    /* Light Theme Palette - Orange Update */
    --primary-hue: 25;
    --primary: hsl(var(--primary-hue), 90%, 55%);
    /* Vibrant Orange */
    --bg-main: #f3f4f6;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --accent: #f97316;
    /* Match orange */
    /* Sky blue */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    /* Orange to Darker Orange */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);

    --radius-md: 24px;
    --radius-sm: 12px;
}

/* Survey Logo Footer */
.survey-logo-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    position: relative;
}

.survey-separator {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 1rem;
}

.logo-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    /* Opacity removed to prevent washing out logo */
}

/* Small button for steps */
.btn-action-sm {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-top: 0.5rem;
    transition: transform 0.2s;
    box-shadow: var(--shadow-sm);
}



.privacy-link-footer {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.privacy-link-footer:hover {
    color: var(--primary);
}

.footer-wide-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    /* No scroll on desktop */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vh 2vw;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%);
}

.bento-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 2fr 1fr;
    gap: 1.2rem;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    grid-template-areas:
        "intro intro steps"
        "rewards survey survey";
}

.privacy-link-corner {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.privacy-link-corner:hover {
    opacity: 1;
    color: var(--primary);
}

/* Glass Panel Style - Light Mode */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /* Removed All Transitions for Static Feel */
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    /* Fix for Safari overflow:hidden with border-radius + backdrop-filter */
    transform: translate3d(0, 0, 0);
    /* mask-image removed to allow outer highlights/shadows */
}

/* Removed Hover Effects for Simplicity */
/* .glass-panel:hover { ... } */

/* Areas */
/* Intro Area with Confetti Background */
.area-intro {
    grid-area: intro;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    /* Temporarily squared on desktop */
    background-color: #ffffff;
    background-image:
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/79fb0e46-c225-432d-80eb-149a98496770.svg),
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/79fb0e46-c225-432d-80eb-149a98496770.svg),
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/6e8642d2-3e53-46ba-a743-21f99f30361c.svg),
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/07481fea-aa0b-4d2f-8fe3-690bf03fd073.svg),
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/c1622908-5e3d-4113-b887-c7115b505091.svg),
        url(https://cdn-web-2.ruangguru.com/landing-pages/assets/c1622908-5e3d-4113-b887-c7115b505091.svg);
    background-repeat: no-repeat;
    /* Adjusted sizing to ensure elements act as decorative confetti */
    background-size: 15%, 15%, 12%, 18%, 10%, 12%;
    background-position:
        left top,
        left 38%,
        right 66%,
        right 32%,
        left 68%,
        left 100%;
}

.area-steps {
    grid-area: steps;
    overflow-y: auto;
    transition: box-shadow 1s ease-out, border-color 1s ease-out;
}

.area-rewards {
    grid-area: rewards;
}

.area-survey {
    grid-area: survey;
    justify-content: center;
}

.area-footer {
    grid-area: footer;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

/* Intro Content Column */
.intro-text-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
    z-index: 5;
    /* Text on top */
    /* White transparent overlay for readability */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bento-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.powered-by {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-left: 1px solid #e5e7eb;
    padding-left: 1rem;
}

.badge-new {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    width: fit-content;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #111827;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-wrapper .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-main);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.cta-wrapper .btn:hover {
    transform: scale(1.05);
}

/* Hero Image Container */
.intro-visual-col {
    width: 100%;
    height: 100%;
    background: transparent;
    display: block;
    /* Changed from flex to allow absolute positioning of child */
    position: relative;
    /* overflow: visible; allow image to go to edge if needed, but glass-panel handles overflow hidden */
}

.placeholder-icon {
    display: none;
}

.hero-img-real {
    position: absolute;
    bottom: -2.5rem;
    right: -2rem;
    width: 140%;
    /* Reverted to larger size */
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transform-origin: bottom right;
    z-index: 1;
    /* Behind text */
}

/* If use real image later */

/* Steps - Enhanced & Taller */
.area-steps h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: center;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    background: var(--primary);
    color: white;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #374151;
}

.step-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Rewards - With Floating Image */
.area-rewards {
    grid-area: rewards;
    padding: 2rem !important;
    /* Restore padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    overflow: visible;
}

.rewards-content {
    z-index: 2;
    width: 100%;
}

.reward-tag {
    display: inline-block;
    background: #FFD700;
    /* Gold for prize */
    color: #854d0e;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.rewards-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.rewards-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 80%;
    margin: 0 auto;
}

.reward-floating-img {
    width: 85%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
    /* Nice shadow for depth */
    animation: float 6s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Merged Survey Area - Wide but Stacked */
.area-survey {
    grid-area: survey;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-right: 2rem;
}

.area-survey h3 {
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
    color: #111827;
}

.survey-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.survey-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.simple-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 450px;
    /* Limit width for aesthetics */
    margin-bottom: 0.5rem;
}

.simple-form input {
    flex: 1;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    /* Prevent zoom on mobile */
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.simple-form button {
    background: var(--primary);
    color: white;
    border: none;
    width: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
    /* Center the icon */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.simple-form button:hover {
    background: #ea580c;
}

.area-survey small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
}

/* Footer Link Box */
.area-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.area-footer a:hover {
    color: var(--primary);
}

/* Animation */
/* Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4), 0 0 0 0 rgba(249, 115, 22, 0.4);
    }

    70% {
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4), 0 0 0 15px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4), 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.highlight-orange {
    outline: none !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.8) !important;
    transition: all 0.5s ease;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    body {
        height: auto;
        overflow-y: auto;
        padding: 1rem;
        align-items: flex-start;
    }

    .bento-container {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .area-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        /* Fix for Safari: Enforce rounding on the container itself */
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        mask-image: radial-gradient(white, black);
    }

    .intro-text-col {
        align-items: center;
        margin-bottom: 1rem;
        padding: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .intro-visual-col {
        height: 210px;
        width: 100%;
        /* Negative margin removed to keep it inside */
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .glass-panel {
        padding: 1.5rem;
        min-height: fit-content;
        overflow: hidden;
        /* Force clipping */
        position: relative;
        /* Fix for Safari masking bug */
        transform: translateZ(0);
        border-radius: var(--radius-md);
        /* Ensure it is explicitly set even if inherited */
    }

    .area-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding-bottom: 0 !important;
        /* Padding restored to keep image inside */
    }

    .intro-visual-col {
        height: 220px;
        width: 100%;
        margin-bottom: 0;
        position: relative;
    }

    .hero-img-real {
        position: relative;
        bottom: auto;
        right: auto;
        /* Over-estimate padding to ensure no gaps (parent clips overflow) */
        width: calc(100% + 4rem) !important;
        max-width: none;
        margin-left: -2rem !important;
        /* Pull left by padding amount */
        margin-right: -2rem !important;
        /* Pull right by padding amount */
        margin-bottom: -1.5rem !important;
        /* Pull bottom by padding amount */
        display: block;
        transform: none;
        /* Reset transform as we are using margin */
        /* Direct Border Radius Application */
        border-bottom-left-radius: var(--radius-md) !important;
        border-bottom-right-radius: var(--radius-md) !important;
    }

    .area-rewards {
        height: 400px;
        /* Increased significantly to prevent crop */
        justify-content: flex-start;
        gap: 1rem;
        padding-bottom: 2rem !important;
    }

    .reward-floating-img {
        width: auto;
        max-width: 90%;
        max-height: 240px;
        /* Constrain height so it fits in the box */
        margin-bottom: 0;
        object-fit: contain;
    }

    .area-survey {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 3rem;
        /* Space for privacy link */
    }

    .simple-form {
        max-width: 100%;
    }

    .survey-logo-footer {
        width: 100%;
        margin-top: 1rem;
    }

    .logo-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo-row>div {
        /* The container for links */
        margin-left: 0 !important;
        width: 100%;
        justify-content: space-between;
    }

    .footer-wide-logo {
        max-width: 100%;
        height: auto;
    }
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    max-width: 380px !important;
    /* Smaller card for success */
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    /* Soft Green */
    color: #16a34a;
    /* Vivid Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.success-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 750px;
    /* Increased from 500px for better desktop layout */
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    animation: scaleIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.detailed-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #374151;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detailed-form select,
.detailed-form input[type="email"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    /* Prevent zoom on mobile */
    outline: none;
}

.input-readonly {
    background-color: #f3f4f6;
    color: var(--text-muted);
}

.radio-group {
    display: flex;
    gap: 0.5rem;
}

.radio-card {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.radio-card:hover {
    border-color: var(--primary);
}

.radio-card input {
    accent-color: var(--primary);
}

.radio-card:has(input:checked) {
    background-color: #fff7ed;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-wrapper input {
    margin-top: 0.1rem;
    accent-color: var(--primary);
}

.checkbox-wrapper label {
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.btn-submit-modal {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.btn-submit-modal:hover,
.btn-submit-modal:focus,
.btn-submit-modal:active {
    background: #ea580c;
    /* Darker orange */
    outline: none;
    transform: translateY(-1px);
}

/* Scale Survey Styles */
/* Scale Survey Styles */
.survey-compact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin: 0.5rem 0;
    align-items: stretch;
}

.survey-section.compact {
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.8rem;
    /* Increased padding */
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    /* Prevent flex overflow */
}

.survey-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #374151;
    line-height: 1.2;
}

.scale-legend {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-top: 1px;
}

.scale-group.compact {
    display: flex;
    justify-content: space-between;
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 0.5rem;
    gap: 0.2rem;
    /* Add specific gap for desktop to prevent overflow */
}

/* Custom Pretty Radio Buttons for 1-5 Scale */
.scale-group.compact label {
    font-size: 0;
    /* Hide text label "1", "2" etc. We will use pseudo-element or center text */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    /* Circle shape */
    background: white;
    border: 1px solid #d1d5db;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

/* Logic to display number inside */
.scale-group.compact label::after {
    content: attr(data-val);
    /* We need to add data-val to HTML or just hardcode counter */
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.scale-group.compact input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Checked State */
.scale-group.compact label:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(249, 115, 22, 0.3);
}

.scale-group.compact label:has(input:checked)::after {
    color: white;
}

.scale-group.compact {
    gap: 0.3rem;
}

.searchable-input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    /* Prevent zoom on mobile */
    outline: none;
}

/* Mobile Adjustments for Modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 1rem;
        /* Slightly reduced padding */
        width: 90%;
        /* Slightly narrower */
        max-height: 50vh !important;
        /* Force it to be much shorter */
        height: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: auto;
        box-sizing: border-box;
    }

    .form-row {
        gap: 0.5rem;
    }

    .detailed-form {
        gap: 0.8rem;
    }

    /* On mobile, stack the survey questions or keep them small grid? 
       Grid might still be too tight, let's stack them but nicely */
    .survey-compact-wrapper {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .survey-section.compact {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .survey-label {
        flex: 1;
        margin-bottom: 0;
    }

    .scale-group.compact {
        flex: 0 0 auto;
        gap: 0.8rem;
    }

    /* WIZARD LOGIC FOR MOBILE ONLY */
    .form-step {
        display: none;
        /* Hidden by default on mobile, controlled by JS */
    }

    #step-1 {
        display: block;
    }

    /* Show first step initially */

    /* Hide desktop-only submit button if we have one (we don't currently, but consistent logic) */
    .desktop-only-btn {
        display: none;
    }

    .mobile-wizard-nav {
        display: flex !important;
    }
}

/* DESKTOP DEFAULT: Show everything comfortably */
@media (min-width: 601px) {
    .form-step {
        display: block !important;
        /* Always show all steps */
        animation: none !important;
        /* No fade animation needed */
    }

    .mobile-wizard-nav {
        display: none !important;
        /* Hide 'Lanjut/Kembali' buttons */
    }

    /* Hide the mobile 'Lanjut' button in step 1 */
    #step-1 .btn-submit-modal[onclick="nextStep()"] {
        display: none;
    }

    /* Adjust step 2 layout since it is now just part of the flow */
    #step-2 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }

    .desktop-only-btn {
        display: block !important;
    }
}