section {
    padding: 5vw 0;
}

/* Banner Section */
#banner-sec {
    background-color: #161E35;
    padding: 10vw 0;
    width: 100%;
}

#banner-content-cnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

#banner-content-cnt h1 {
    margin: 0 0 1vw 0;
}

#banner-subtitle {
    width: 55%;
    font-size: 1.2vw;
    margin: 0;
    opacity: 0.85;
}

/* Feedback Form Section */
#feedback-sec {
    background-color: #F8FAFC;
}

#feedback-cnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 65%;
}

#feedback-form-response {
    width: 100%;
}

#feedback-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#feedback-form[hidden] {
    display: none;
}

.feedback-section {
    background-color: white;
    border: 0.08vw solid #E2E8F0;
    border-radius: 0.6vw;
    padding: 2vw;
    margin-bottom: 2vw;
}

.feedback-section h2 {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    margin: 0 0 0.6vw 0;
    font-size: 1.4vw;
}

.feedback-section-num {
    width: 1.8vw;
    height: 1.8vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #0844bc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1vw;
    font-weight: 700;
    flex-shrink: 0;
}

.feedback-question-intro {
    font-size: 1.1vw;
    font-weight: 600;
    margin: 0 0 0.3vw 0;
}

.feedback-helper-text {
    font-size: 0.95vw;
    color: #64748b;
    margin: 0 0 1.2vw 0;
    font-style: italic;
}

.field-astric {
    color: #dc2626;
    margin-left: 0.15vw;
}

.optional-tag {
    color: #64748b;
    font-weight: 400;
    font-style: italic;
}

/* Rating scale (Sections 1 & 2) */
.rating-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85vw;
    color: #64748b;
    margin-bottom: 0.8vw;
}

.rating-row-wrap {
    border-top: 0.08vw solid #EEF1F5;
}

.rating-row-wrap:first-of-type {
    border-top: none;
}

.rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5vw;
    padding: 1vw 0;
}

.rating-row-label {
    margin: 0;
    font-size: 1vw;
    flex: 1;
}

.rating-scale {
    display: flex;
    gap: 1vw;
    flex-shrink: 0;
}

.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3vw;
    font-size: 0.85vw;
    color: #64748b;
    cursor: pointer;
}

.rating-option input {
    width: 1.1vw;
    height: 1.1vw;
    accent-color: #0844bc;
    cursor: pointer;
}

/* Rating reaction (MUG-branded low/high follow-up) */
.rating-reaction {
    padding: 0 0 1vw 0;
}

.rating-reaction-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1vw;
    padding: 1vw 1.2vw;
    border-radius: 0.5vw;
    overflow: hidden;
    animation: reactionSlideIn 0.35s ease-out;
}

@keyframes reactionSlideIn {
    0%   { opacity: 0; transform: translateY(-0.6vw); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Low rating: "We're listening" sad MUG-face badge */
.rating-reaction-low {
    background-color: #FDF2F8;
    border: 0.08vw solid #F5D0E8;
    border-left: 0.3vw solid #C9239C;
    animation: reactionSlideIn 0.35s ease-out, reactionShake 0.5s ease-out 0.35s;
}

@keyframes reactionShake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-0.3vw); }
    40%      { transform: translateX(0.25vw); }
    60%      { transform: translateX(-0.15vw); }
    80%      { transform: translateX(0.1vw); }
}

.rating-reaction-badge {
    flex-shrink: 0;
    width: 2.2vw;
    height: 2.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-reaction-badge svg {
    width: 100%;
    height: 100%;
}

.rating-reaction-badge-low svg {
    animation: badgePulse 1.8s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

.rating-reaction-eyebrow {
    display: block;
    font-size: 0.75vw;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05vw;
    color: #c9239c;
    margin-bottom: 0.3vw;
}

.rating-reaction-body {
    flex: 1;
}

.rating-reaction-body label {
    display: block;
    font-size: 0.95vw;
    font-weight: 600;
    margin-bottom: 0.4vw;
    color: #1A2744;
}

/* High rating: rotating starburst pop + confetti flick */
.rating-reaction-high {
    background: linear-gradient(135deg, #FDF4FF 0%, #F0FDFA 100%);
    border: 0.08vw solid #F3D9F9;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.5vw;
}

.rating-reaction-badge-high {
    width: 3vw;
    height: 3vw;
    position: relative;
    animation: starburstPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes starburstPop {
    0%   { transform: scale(0) rotate(-90deg); opacity: 0; }
    60%  { transform: scale(1.25) rotate(20deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.rating-reaction-badge-high svg {
    animation: starRotateSlow 12s linear infinite;
}

@keyframes starRotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.rating-reaction-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.confetti-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.4vw;
    height: 0.4vw;
    border-radius: 50%;
    opacity: 0;
    animation: confettiFlick 0.7s ease-out forwards;
}

@keyframes confettiFlick {
    0%   { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.4); }
}

.rating-reaction-note {
    margin: 0;
    font-size: 0.95vw;
    font-weight: 600;
    color: #5523b7;
}

.rating-reaction-note strong {
    color: #c9239c;
}

/* Section 4: Future Participation */
.participation-row-wrap {
    border-top: 0.08vw solid #EEF1F5;
}

.participation-row-wrap:first-of-type {
    border-top: none;
}

.participation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5vw;
    padding: 1vw 0;
}

.participation-options {
    display: flex;
    gap: 1.5vw;
    flex-shrink: 0;
}

.participation-option {
    display: flex;
    align-items: center;
    gap: 0.4vw;
    font-size: 0.95vw;
    cursor: pointer;
}

.participation-option input {
    width: 1.1vw;
    height: 1.1vw;
    accent-color: #0844bc;
    cursor: pointer;
}

.participation-reaction {
    padding: 0 0 1vw 0;
}

.participation-reaction label {
    display: block;
    font-size: 0.95vw;
    font-weight: 600;
    margin-bottom: 0.4vw;
}

/* Text fields (Sections 1 follow-up, 3, 5) */
.feedback-field-row {
    display: flex;
    gap: 4%;
}

.half-width-field {
    width: 48%;
    margin: 0;
}

.full-width-field {
    width: 100%;
}

.feedback-section label {
    display: block;
    font-size: 1vw;
    font-weight: 600;
    margin-bottom: 0.4vw;
}

.feedback-section input[type="text"],
.feedback-section input[type="email"],
.feedback-section textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7vw 1vw;
    border-radius: 0.4vw;
    border: 0.08vw solid #CBD5E1;
    background-color: white;
    color: #1A2744;
    font-family: 'Poppins', sans-serif;
    font-size: 1vw;
}

.feedback-section textarea {
    resize: vertical;
}

.feedback-section input:focus,
.feedback-section textarea:focus {
    outline: none;
    border-color: #0844bc;
}

#feedback-submit-cnt {
    display: flex;
    justify-content: center;
}

.hp-field {
    display: none !important;
}

.form-success {
    background-color: rgba(42, 198, 209, 0.15);
    border: 0.08vw solid #2ac6d1;
    color: #0d7377;
    padding: 1vw 1.5vw;
    border-radius: 0.5vw;
    margin-bottom: 1.5vw;
    font-size: 1vw;
}

.form-fail {
    background-color: rgba(220, 38, 38, 0.1);
    border: 0.08vw solid #dc2626;
    color: #b91c1c;
    padding: 1vw 1.5vw;
    border-radius: 0.5vw;
    margin-bottom: 1.5vw;
    font-size: 1vw;
}

/* Mobile Responsive */
@media (max-width:767px) {
    section {
        padding: 40px 0;
    }

    #banner-sec {
        padding: 100px 0 40px 0;
    }

    #banner-content-cnt h1 {
        font-size: 8vw;
        line-height: 9vw;
    }

    #banner-subtitle {
        width: 100%;
        font-size: 16px;
    }

    #feedback-cnt {
        width: 92%;
    }

    .feedback-section {
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .feedback-section h2 {
        font-size: 20px;
        gap: 10px;
    }

    .feedback-section-num {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .feedback-question-intro {
        font-size: 15px;
    }

    .feedback-helper-text {
        font-size: 13px;
    }

    .rating-scale-labels {
        font-size: 12px;
    }

    .rating-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 0;
    }

    .rating-row-label {
        font-size: 15px;
    }

    .rating-scale {
        gap: 14px;
        align-self: center;
    }

    .rating-option {
        font-size: 13px;
    }

    .rating-option input {
        width: 18px;
        height: 18px;
    }

    .participation-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 0;
    }

    .participation-options {
        gap: 20px;
        align-self: center;
    }

    .participation-option {
        font-size: 14px;
    }

    .participation-option input {
        width: 18px;
        height: 18px;
    }

    .feedback-field-row {
        flex-direction: column;
        gap: 20px;
    }

    .half-width-field {
        width: 100%;
    }

    .feedback-section label {
        font-size: 16px;
    }

    .feedback-section input[type="text"],
    .feedback-section input[type="email"],
    .feedback-section textarea {
        padding: 10px 14px;
        border-radius: 6px;
        font-size: 16px;
    }

    .form-success,
    .form-fail {
        font-size: 14px;
        padding: 14px 18px;
    }

    .rating-reaction-inner {
        gap: 12px;
        padding: 14px 16px;
        border-radius: 8px;
    }

    .rating-reaction-low {
        border-left-width: 4px;
    }

    .rating-reaction-badge {
        width: 32px;
        height: 32px;
    }

    .rating-reaction-eyebrow {
        font-size: 11px;
    }

    .rating-reaction-body {
        width: 100%;
    }

    .rating-reaction-body label {
        font-size: 14px;
    }

    .rating-reaction-badge-high {
        width: 46px;
        height: 46px;
    }

    .confetti-dot {
        width: 6px;
        height: 6px;
    }

    .rating-reaction-note {
        font-size: 14px;
    }

    .participation-reaction label {
        font-size: 14px;
    }
}
