:root {
    --orange: #ff6600;
    --orange-hover: #e05c00;
    --black: #080808;
    --black-light: #121212;
    --white: #ffffff;
    --gray: #9ca3af;
    --glass-bg: rgba(18, 18, 18, 0.75);
    --glass-border: rgba(255, 102, 0, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Animations */
#tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 10%, #1a0a00 0%, #050505 60%, var(--black) 100%);
    z-index: -2;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: moveUp linear infinite;
    box-shadow: 0 0 10px var(--orange);
}

@keyframes moveUp {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    25% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50vh) scale(1.5);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem 1.5rem;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

/* Header & Logo */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.6);
}

/* Step Container */
#quiz-container {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

/* Typography */
.main-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(90deg, #fff, var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.question {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--white);
    line-height: 1.4;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--orange);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--orange);
}

.step-indicator {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Options Matrix */
.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-label {
    display: block;
    cursor: pointer;
}

.hidden-input {
    display: none;
}

.option-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-label:hover .option-box {
    background: rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
}

.option-label.selected .option-box {
    background: rgba(255, 102, 0, 0.2);
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.radio-checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid var(--gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.option-label.selected .radio-checkbox-custom {
    background: var(--orange);
    border-color: var(--orange);
}

/* Buttons */
.continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.continue-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.continue-btn:hover {
    background: var(--orange-hover);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.continue-btn:hover i {
    transform: translateX(5px);
}

.continue-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.continue-btn:disabled i {
    transform: none;
}

/* Inputs */
.input-container {
    margin-bottom: 2rem;
}

.custom-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;
}

.custom-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

/* Animations */
.step-enter {
    animation: slideIn 0.4s forwards;
}

.step-exit {
    animation: slideOut 0.3s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(1.05);
    }
}

/* Video & Benefits */
.video-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-list li i {
    color: var(--orange);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Conversion Step Grid */
.conversion-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.antes-box,
.depois-box {
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.antes-box h3 {
    color: #ff4d4d;
    margin-bottom: 1rem;
    text-align: center;
}

.depois-box h3 {
    color: #00e676;
    margin-bottom: 1rem;
    text-align: center;
}

.antes-box ul,
.depois-box ul {
    list-style: none;
}

.antes-box ul li,
.depois-box ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.antes-box li i,
.depois-box li i {
    margin-right: 8px;
    margin-top: 3px;
}

.oferta-box {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.3));
    border: 2px solid var(--orange);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.2);
}

.oferta-box h2 {
    color: var(--white);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.destaques-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.destaques-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.destaques-list li i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.garantia-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
}

.garantia-box i {
    font-size: 2rem;
    color: var(--gray);
    margin-right: 1rem;
}

.garantia-box p {
    font-size: 0.9rem;
    color: var(--gray);
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(90deg, #ff6600, #ff8533);
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 1rem;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 102, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
    }
}

@media (max-width: 600px) {
    #quiz-container {
        padding: 1.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2rem;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .question {
        font-size: 1.2rem;
    }
}