:root {
    --primary: #00d1b2;
    --primary-dark: #00a896;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.1);
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.survey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.logo {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
}

.hero-content {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.badge-3min {
    font-size: 0.9rem;
    background: rgba(0, 209, 178, 0.2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 10px;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.card.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 209, 178, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}

/* Background Circles */
.circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.c1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 209, 178, 0.1);
    top: -100px;
    right: -100px;
}

.c2 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    bottom: -50px;
    left: -50px;
}

/* Question Section */
.survey-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.step-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.question-container h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #fff;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    padding: 18px 24px;
    border-radius: 16px;
    text-align: left;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.option-btn.selected {
    background: rgba(0, 209, 178, 0.1);
    border-color: var(--primary);
}
.option-btn.selected i[data-lucide="circle"] {
    fill: var(--primary);
    color: var(--primary);
}
.option-helper {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Result Section */
.result-card {
    text-align: center;
}

.result-header {
    margin-bottom: 2rem;
}

.risk-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.risk-alto { 
    background: #dc2626 !important; 
    color: #fff !important; 
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    border: 2px solid rgba(255,255,255,0.3);
}
.risk-medio { 
    background: #f59e0b !important; 
    color: #000 !important; 
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}
.risk-bajo { 
    background: #10b981 !important; 
    color: #fff !important; 
}

.score-display {
    margin: 2rem 0;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#final-score {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.result-message {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.recommendation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 209, 178, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 3rem;
}

/* Lead Form */
.lead-form h3 { margin-bottom: 0.5rem; }
.lead-form p { color: var(--text-muted); margin-bottom: 1.5rem; }

.form-group {
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 1.75rem; }
    h1 .badge-3min { 
        display: block; 
        width: fit-content; 
        margin: 10px auto 0; 
    }
    .card.glass { padding: 24px; }
    .question-container h2 { font-size: 1.4rem; }
    .option-btn { padding: 14px 18px; font-size: 1rem; }
}
