/* ============================================
   GAMIFIED QUIZ CSS - Based on Mounjalift Theme
   ============================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0d0318 0%, #1a0a2e 50%, #2d1b4e 100%);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}

/* === PARTICLES BACKGROUND === */
#particles-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

/* === MAIN CONTAINER === */
.quiz-container {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    min-height: 100vh;
}

/* === PROGRESS BAR === */
.progress-wrapper {
    background: rgba(30, 15, 60, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a78bfa;
    margin-bottom: 8px;
}

.progress-bar {
    height: 6px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #10b981);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* === GLOBAL LOGO === */
.global-logo {
    text-align: center;
    padding: 16px 16px 8px;
    position: relative;
    z-index: 1;
}

.global-logo img {
    height: 36px;
    display: inline-block;
}

/* === POINTS DISPLAY === */
.points-display {
    position: fixed;
    top: 110px;
    right: 16px;
    z-index: 100;
    background: rgba(30, 15, 60, 0.95);
    border: 1px solid #fbbf24;
    border-radius: 30px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.points-display.visible {
    opacity: 1;
    transform: translateX(0);
}

.points-icon {
    font-size: 1rem;
}

.points-value {
    font-weight: 700;
    color: #fbbf24;
    font-size: 1rem;
}

.points-label {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* === LIVE ACTIVITY === */
.live-activity {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    max-width: 320px;
    z-index: 100;
    background: rgba(30, 15, 60, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

.live-activity.show {
    transform: translateY(0);
}

.activity-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* === QUIZ SCREENS === */
.quiz-screen {
    display: none;
    animation: fadeSlideUp 0.4s ease;
}

.quiz-screen.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === GLASS CARD (Reusable) === */
.glass-card {
    background: rgba(30, 15, 60, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* === WELCOME SCREEN === */
.screen-content.welcome {
    text-align: center;
}

.logo-container {
    margin-bottom: 16px;
}

.logo {
    height: 40px;
    display: inline-block;
}

.product-showcase {
    margin: 20px 0;
}

.product-img,
.product-hero-img {
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.highlight {
    background: linear-gradient(135deg, #a78bfa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 24px;
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #34d399;
}

.stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.welcome-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #64748b;
}

/* === BUTTONS === */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 14px;
    padding: 18px 24px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6), 0 0 0 8px rgba(139, 92, 246, 0.1);
    }
}

.btn-arrow {
    font-size: 1.2rem;
}

/* === QUESTION SCREENS === */
.question-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.question-badge.final {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    color: #1a0a2e;
}

.question-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #f1f5f9;
}

.question-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* === OPTIONS === */
.options-list,
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.options-grid.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.option-btn {
    background: rgba(30, 15, 60, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 14px;
    padding: 16px 18px;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    font-family: inherit;
}

.option-btn:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.option-btn.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.option-btn.highlight {
    border-color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
    color: #ffffff !important;
}

.option-btn.highlight .option-text,
.option-btn.highlight .option-emoji,
.option-btn.highlight .option-tag {
    color: #ffffff !important;
}

/* Force all children to be white */
.option-btn.highlight * {
    color: #ffffff !important;
}

.option-btn.gold-border {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    color: #ffffff !important;
}

.option-btn.gold-border .option-text,
.option-btn.gold-border .option-emoji {
    color: #ffffff !important;
}

.option-btn.gold-border * {
    color: #ffffff !important;
}

.option-btn.large,
.option-btn.icon-top {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
}

.option-btn.full-width {
    grid-column: span 2;
}

.option-icon,
.option-emoji {
    font-size: 1.5rem;
}

.option-text {
    flex: 1;
}

.option-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.option-tag.popular {
    background: rgba(244, 114, 182, 0.2);
    color: #f472b6;
}

/* Override pink color when inside highlight button */
.option-btn.highlight .option-tag.popular {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
}

.option-tag.gold {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* === INFO SCREENS === */
.info-screen,
.testimonial-screen {
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.info-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-text {
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-text strong {
    color: #f1f5f9;
}

.text-danger {
    color: #f87171;
}

.info-highlight {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.info-small {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
}

/* === TESTIMONIAL === */
.testimonial-card-full {
    background: rgba(30, 15, 60, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.testimonial-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.testimonial-content {
    padding: 16px;
}

.testimonial-stars {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.testimonial-author {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* === CALCULATING SCREEN === */
.calculating-screen {
    text-align: center;
    padding: 40px 20px;
}

.loader-ring {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ring:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-top-color: #10b981;
    animation-duration: 0.8s;
    animation-direction: reverse;
}

.ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color: #f472b6;
    animation-duration: 0.6s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.calc-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.calc-steps {
    text-align: left;
    max-width: 280px;
    margin: 0 auto 20px;
}

.calc-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #64748b;
    opacity: 0.5;
    transition: all 0.3s;
}

.calc-step.active {
    opacity: 1;
    color: #e2e8f0;
}

.calc-step.done {
    opacity: 1;
    color: #34d399;
}

.step-icon {
    width: 20px;
    text-align: center;
}

.calc-progress {
    max-width: 260px;
    margin: 0 auto;
}

.calc-bar {
    height: 6px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.calc-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #10b981);
    transition: width 0.2s;
}

.calc-percent {
    font-size: 0.8rem;
    color: #64748b;
}

/* === RESULT SCREEN === */
.result-screen {
    text-align: center;
}

.urgency-banner {
    background: #ef4444;
    color: white;
    padding: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: -20px -16px 20px -16px;
    border-radius: 0;
}

.result-header {
    margin-bottom: 20px;
}

.approved-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #34d399;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #34d399;
}

.result-headline {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 16px 0 8px;
}

.result-sub {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.potential-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.potential-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.potential-row:last-child {
    border-bottom: none;
}

.easy-tag {
    color: #34d399;
}

/* === OFFER CONTAINER === */
.offer-container {
    background: rgba(30, 15, 60, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 20px;
}

.product-hero {
    position: relative;
    text-align: center;
    margin-bottom: 16px;
}

.discount-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    transform: rotate(5deg);
}

.kit-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 4px;
}

.kit-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* === VALUE STACK === */
.value-stack {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-item:last-child {
    border-bottom: none;
}

.stack-item.bonus {
    color: #34d399;
    font-weight: 600;
}

.item-name {
    flex: 1;
}

.item-value {
    text-align: right;
}

.crossed {
    text-decoration: line-through;
    color: #64748b;
    margin-right: 6px;
    font-size: 0.8rem;
}

.stack-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #64748b;
    font-weight: 700;
    color: #94a3b8;
}

.total-crossed {
    text-decoration: line-through;
}

/* === PRICING CARD === */
.pricing-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid #8b5cf6;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 16px;
}

.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
    margin-bottom: 8px;
}

.price-installments {
    margin-bottom: 4px;
}

.installments-num {
    font-size: 1rem;
    color: #e2e8f0;
}

.installments-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.price-cash {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.btn-cta-big {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 18px 24px;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 0 #047857;
    transition: all 0.1s;
}

.btn-cta-big:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #047857;
}

.btn-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: none;
    margin-top: 4px;
    opacity: 0.9;
}

.stock-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #f87171;
    font-size: 0.85rem;
    margin: 16px 0;
}

.blinking-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.sec-item {
    font-size: 0.7rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
}

/* === MINI FAQ === */
.mini-faq {
    margin-top: 24px;
}

.mini-faq h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    text-align: center;
}

details {
    background: rgba(30, 15, 60, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 8px;
    border-radius: 10px;
    padding: 12px 14px;
}

summary {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: #e2e8f0;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
    padding-left: 12px;
    border-left: 2px solid #8b5cf6;
    line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 380px) {
    .welcome-title {
        font-size: 1.5rem;
    }

    .question-title {
        font-size: 1.25rem;
    }

    .installments-val {
        font-size: 2rem;
    }

    .options-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NEW COMPONENTS - Kits, Testimonials, Form
   ============================================ */

/* === SOCIAL PROOF SECTION === */
.social-proof-section {
    margin-bottom: 20px;
}

.testimonial-slider {
    position: relative;
    min-height: 140px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8b5cf6;
    margin: 0 auto 10px;
}

.testimonial-slide p {
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.testimonial-slide span {
    font-size: 0.8rem;
    color: #64748b;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: #8b5cf6;
    transform: scale(1.2);
}

/* === SECTION TITLE === */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
    text-align: center;
}

/* === KIT SELECTION === */
.kits-section {
    margin-bottom: 20px;
}

.kit-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 15, 60, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kit-card:hover {
    border-color: #8b5cf6;
}

.kit-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.kit-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f472b6;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.kit-badge.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a0a2e;
}

.kit-image {
    flex-shrink: 0;
}

.kit-image img {
    width: 60px;
    height: auto;
}

.kit-info {
    flex: 1;
}

.kit-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.kit-info p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.kit-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-old {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: line-through;
}

.price-new {
    font-size: 1.1rem;
    font-weight: 800;
    color: #34d399;
}

.kit-economy {
    display: inline-block;
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.kit-economy.gold {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.kit-select {
    flex-shrink: 0;
}

.radio-circle {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    position: relative;
}

.radio-circle.checked {
    border-color: #10b981;
}

.radio-circle.checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
}

/* === ORDER FORM === */
.order-form-section {
    margin-bottom: 20px;
}

.form-step {
    margin-bottom: 16px;
}

.form-step.hidden {
    display: none;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    color: #f1f5f9;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-group input::placeholder {
    color: #64748b;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.input-with-prefix .prefix {
    padding: 14px 12px;
    font-size: 0.9rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(139, 92, 246, 0.2);
}

.input-with-prefix input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group.small {
    flex: 0 0 80px;
}

.form-row .form-group {
    flex: 1;
}

.optional {
    color: #64748b;
    font-weight: 400;
}

.cep-link {
    display: inline-block;
    font-size: 0.75rem;
    color: #a78bfa;
    margin-top: 6px;
    text-decoration: none;
}

.address-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.address-preview.hidden {
    display: none;
}

/* === ORDER TOTAL === */
.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.order-total strong {
    font-size: 1.3rem;
    color: #34d399;
}

/* === PAYMENT OPTIONS === */
.payment-options h4 {
    font-size: 0.9rem;
    color: #a78bfa;
    margin-bottom: 10px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 15, 60, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.payment-option input {
    display: none;
}

.payment-option:hover {
    border-color: #8b5cf6;
}

.payment-option.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.75rem;
    color: #64748b;
}

.trust-badges span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 20px;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
}

.cta-price {
    margin-bottom: 20px;
}

.cta-price .price-from {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 4px;
}

.cta-price .price-from s {
    color: #94a3b8;
}

.cta-price .price-to {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #34d399;
    line-height: 1;
    margin-bottom: 4px;
}

.cta-price .price-installments {
    font-size: 0.9rem;
    color: #a78bfa;
}

.stock-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #f87171;
    font-size: 0.85rem;
    margin: 16px 0;
}

.blinking-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ============================================
   LOADING OVERLAY - Smooth Transition Effect
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 3, 24, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}

.loading-content p {
    color: #a78bfa;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}