:root {
    --primary-color: #d4af37; /* Gold color for a premium feel */
    --primary-hover: #b5952f;
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    --transition-fast: 0.3s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('WhatsApp Image 2026-06-07 at 21.10.16.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1.05); /* Slight zoom for subtle animation effect if wanted */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.quiz-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.quiz-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.broker-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.broker-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #f1c40f);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.broker-info h1 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.broker-info p {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 20%; /* Starts at step 1 */
    background: linear-gradient(90deg, var(--primary-color), #f1c40f);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.step-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    align-self: flex-end;
    font-weight: 500;
}

/* Form Styles */
.quiz-step {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.quiz-step.active {
    display: block;
}

.quiz-step h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.quiz-step .subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-text {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.info-text i {
    color: var(--primary-color);
    margin-top: 3px;
}

.input-group {
    margin-bottom: 30px;
}

input[type="text"] {
    width: 100%;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-fast);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
}

.option-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: var(--transition-fast);
}

.option-card:hover i {
    transform: scale(1.1);
}

.option-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.option-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Buttons */
button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-next {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), #f1c40f);
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3);
}

.btn-next:active {
    transform: translateY(0);
}

.navigation-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.btn-prev {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-prev:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Final Step */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.pulse-ring {
    width: 80px;
    height: 80px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

.success-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.btn-whatsapp {
    width: 100%;
    padding: 18px;
    background: var(--whatsapp-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 30px;
    transition: var(--transition-fast);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quiz-step h2 {
        font-size: 1.5rem;
    }
}
