:root {
    --bg-color: #050510;
    --card-bg: #101426;
    --primary-red: #ff3b3b;
    --primary-red-hover: #e62e2e;
    --text-main: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: #2a2f45;
    --progress-bg: #1f2438;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 600px;
}

.main-header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease-out;
}

.main-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-header h1 .highlight-red {
    -webkit-text-fill-color: var(--primary-red);
    color: var(--primary-red);
}

.quiz-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--progress-bg);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary-red);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.5);
}

/* Question Styles */
.step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.3;
}

.highlight-red {
    color: var(--primary-red);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-label:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.option-label.selected {
    background-color: rgba(255, 59, 59, 0.1);
    border-color: var(--primary-red);
}

.option-radio {
    margin-right: 15px;
    accent-color: var(--primary-red);
    width: 20px;
    height: 20px;
}

.option-text {
    font-size: 1.1rem;
}

/* Input Styles */
.input-group {
    margin-top: 10px;
}

.custom-input {
    width: 100%;
    padding: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.2);
}

.input-helper {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.privacy-notice {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    flex: 1;
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 59, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Loading Screen */
.loading-container {
    text-align: center;
    padding: 20px 0;
}

.loading-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.loading-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.loading-list {
    text-align: left;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loading-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.loading-item.active {
    opacity: 1;
    transform: translateX(5px);
}

.loading-item.completed {
    opacity: 1;
    color: #4ade80;
}

/* Results Screen */
.results-container {
    text-align: center;
}

.result-card {
    background: linear-gradient(145deg, #1a1f35, #101426);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
}

.potential-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.potential-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.visual-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.size-box {
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 80px;
}

.size-current {
    background-color: #1f2438;
    color: var(--text-secondary);
}

.size-potential {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.3);
    transform: scale(1.1);
}

.arrow-icon {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    gap: 15px;
    margin: 25px 0;
    text-align: left;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.stat-icon {
    font-size: 1.2rem;
}

/* Checkout Page */
.checkout-container {
    text-align: center;
}

.premium-card {
    border: 2px solid var(--primary-red);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    background: linear-gradient(180deg, rgba(255, 59, 59, 0.05) 0%, rgba(16, 20, 38, 0) 100%);
}

.benefits-list {
    text-align: left;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.check-icon {
    color: #4ade80;
    font-weight: bold;
}

.guarantee-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .quiz-card {
        padding: 20px;
    }

    .question-title {
        font-size: 1.3rem;
    }

    .nav-buttons {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }
}