/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Modern Color Palette */
    --primary-color: #7C9CBF;
    /* Soft Blue - Trust & Calmness */
    --primary-dark: #5A7A9E;
    --primary-light: #A8C5E8;
    --secondary-color: #E8B4B8;
    /* Dusty Rose - Warmth & Care */
    --accent-color: #FFB84D;
    /* Warm Gold - Hope & Premium */
    --success-color: #81C784;
    /* Soft Green - Relief */
    --bg-color: #F8F9FA;
    /* Light Gray Background */
    --white: #FFFFFF;
    --text-color: #2C3E50;
    /* Dark Blue-Gray */
    --text-light: #6C757D;
    --text-muted: #95A5A6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(124, 156, 191, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    max-width: 640px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--white);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.view {
    padding: 32px 24px;
    transition: opacity var(--transition-slow);
}

.hidden {
    display: none !important;
    opacity: 0;
}

.active {
    display: block !important;
    opacity: 1;
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LOADER --- */
#loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.loader-content p {
    margin-top: 24px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(124, 156, 191, 0.1);
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- QUIZ STYLES --- */
#quiz-view {
    background: linear-gradient(135deg, #E8F4F8 0%, #F8E8F4 50%, #FFF8E8 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#quiz-view::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 156, 191, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-quiz 15s ease-in-out infinite;
}

#quiz-view::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-quiz 20s ease-in-out infinite reverse;
}

@keyframes float-quiz {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.quiz-welcome {
    margin-bottom: 32px;
    animation: fadeIn 0.8s ease-in-out;
}

.quiz-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(124, 156, 191, 0.3));
}

.quiz-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #7C9CBF 0%, #E8B4B8 50%, #FFB84D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.quiz-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.quiz-header {
    margin-bottom: 48px;
    padding-top: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-container {
    background: linear-gradient(90deg, rgba(232, 238, 242, 0.8) 0%, rgba(212, 220, 227, 0.8) 100%);
    border-radius: 20px;
    height: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.progress-bar {
    background: linear-gradient(90deg, #7C9CBF 0%, #A8C5E8 50%, #FFB84D 100%);
    height: 100%;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(124, 156, 191, 0.6);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.question-container {
    position: relative;
    z-index: 1;
}

.question-container h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--text-color);
    line-height: 1.4;
    text-align: center;
    background: linear-gradient(135deg, #2C3E50 0%, #5A7A9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 16px;
    position: relative;
}

.question-container h2::before {
    content: '💭';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 560px;
    margin: 0 auto;
}

.option-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.95) 100%);
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    text-align: center;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.option-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(124, 156, 191, 0.1) 0%, rgba(232, 180, 184, 0.1) 50%, rgba(255, 184, 77, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.option-btn::after {
    content: '→';
    position: absolute;
    right: 24px;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
    color: var(--primary-color);
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(232, 244, 248, 1) 100%);
    box-shadow: 0 12px 32px rgba(124, 156, 191, 0.3);
    transform: translateY(-4px) scale(1.02);
}

.option-btn:hover::before {
    opacity: 1;
}

.option-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.option-btn:active {
    transform: translateY(-2px) scale(1);
}

/* Variaciones de color para cada opción */
.option-btn:nth-child(1) {
    border-image: linear-gradient(135deg, #7C9CBF 0%, #A8C5E8 100%) 1;
}

.option-btn:nth-child(1):hover {
    border-color: #7C9CBF;
    box-shadow: 0 12px 32px rgba(124, 156, 191, 0.4);
}

.option-btn:nth-child(2) {
    border-image: linear-gradient(135deg, #E8B4B8 0%, #FFB84D 100%) 1;
}

.option-btn:nth-child(2):hover {
    border-color: #E8B4B8;
    box-shadow: 0 12px 32px rgba(232, 180, 184, 0.4);
}

.option-btn:nth-child(3) {
    border-image: linear-gradient(135deg, #FFB84D 0%, #81C784 100%) 1;
}

.option-btn:nth-child(3):hover {
    border-color: #FFB84D;
    box-shadow: 0 12px 32px rgba(255, 184, 77, 0.4);
}

/* --- LANDING PAGE STYLES --- */
.landing-header {
    text-align: center;
    padding: 32px 24px 48px;
    background: linear-gradient(180deg, #E8F4F8 0%, rgba(232, 244, 248, 0) 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin: -32px -24px 40px -24px;
    position: relative;
    overflow: hidden;
}

.landing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 156, 191, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color) 0%, #66BB6A 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(129, 199, 132, 0.3);
    position: relative;
    z-index: 1;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(129, 199, 132, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(129, 199, 132, 0.5);
    }
}

.landing-header h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #7C9CBF 0%, #E8B4B8 40%, #FFB84D 70%, #FF8A65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(124, 156, 191, 0.3);
    letter-spacing: -0.5px;
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(124, 156, 191, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(255, 184, 77, 0.5));
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 36px;
    text-align: center;
    border: 1px solid rgba(124, 156, 191, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.diagnosis-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
    border: 2px solid rgba(124, 156, 191, 0.15);
}

.diagnosis-card h2 {
    color: #E07856;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.diagnosis-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.diagnosis-image:hover {
    transform: scale(1.02);
}

.diagnosis-card blockquote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    text-align: left;
    margin-top: 24px;
    background: rgba(232, 180, 184, 0.05);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.diagnosis-card footer {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-color);
    font-family: var(--font-heading);
}

/* --- AUTHORITY SECTION --- */
.authority-section {
    margin-bottom: 48px;
}

.authority-section h3,
.explanation-section h3,
.bonus-section h3 {
    text-align: center;
    color: var(--text-color);
    font-family: var(--font-heading);
    margin-bottom: 28px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 16px;
}

.authority-section h3::after,
.explanation-section h3::after,
.bonus-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.profile-block {
    background: linear-gradient(135deg, #F8FBFF 0%, #FFFFFF 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(124, 156, 191, 0.1);
}

.video-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.profile-text h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.profile-text .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.profile-text .bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- EXPLANATION SECTION --- */
.explanation-section {
    margin-bottom: 48px;
}

.explanation-section>p {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #5A7A9E 0%, #7C9CBF 50%, #E8B4B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
    line-height: 1.5;
    padding: 0 12px;
}

.metaphor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metaphor-item {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    border: 3px solid transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Card 1: El Atasco - Azul */
.metaphor-item:nth-child(1) {
    background: linear-gradient(135deg, #E8F4F8 0%, #D4E8F0 100%);
    border-color: #7C9CBF;
}

.metaphor-item:nth-child(1)::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(124, 156, 191, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.metaphor-item:nth-child(1):hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(124, 156, 191, 0.4);
    border-color: #5A7A9E;
}

/* Card 2: La Presión - Rosa/Coral */
.metaphor-item:nth-child(2) {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFE8E8 100%);
    border-color: #E8B4B8;
}

.metaphor-item:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.metaphor-item:nth-child(2):hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(232, 180, 184, 0.5);
    border-color: #D89BA0;
}

/* Card 3: La Alarma - Dorado/Naranja */
.metaphor-item:nth-child(3) {
    background: linear-gradient(135deg, #FFF8E8 0%, #FFEFD4 100%);
    border-color: #FFB84D;
}

.metaphor-item:nth-child(3)::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.metaphor-item:nth-child(3):hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 184, 77, 0.5);
    border-color: #FF9F1C;
}

.metaphor-item .emoji {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 10px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.metaphor-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.metaphor-item p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* --- SOLUTION SECTION --- */
.solution-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #D4E8F0 100%);
    padding: 40px 28px;
    margin: 0 -24px 48px -24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.solution-section>p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.benefit-list {
    list-style: none;
    margin-top: 28px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.benefit-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(124, 156, 191, 0.1);
}

.benefit-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.check {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: check-pop 0.5s ease-out;
}

@keyframes check-pop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.benefit-list strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 4px;
}

.benefit-list p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- BONUS SECTION --- */
.bonus-section {
    margin-bottom: 48px;
}

.bonus-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.bonus-card {
    background: linear-gradient(135deg, #FFF8F8 0%, #FFFFFF 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(232, 180, 184, 0.2);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.bonus-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.bonus-card:hover::before {
    opacity: 1;
}

.bonus-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.bonus-card:hover .bonus-image {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 90, 95, 0.4);
    z-index: 1;
}

.bonus-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.bonus-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- OFFER CONTAINER --- */
.offer-container {
    text-align: center;
    padding: 48px 28px 40px;
    background: linear-gradient(180deg, #FFF8E8 0%, #FFFFFF 50%, #F8FBFF 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -8px 32px rgba(255, 184, 77, 0.2);
    margin: 0 -24px -32px -24px;
    position: relative;
    overflow: hidden;
}

.offer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.15) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Badge de oferta especial */
.special-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8A65 50%, #FFB84D 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    position: relative;
    z-index: 1;
    animation: badge-shake 3s ease-in-out infinite;
    text-transform: uppercase;

    /* Estilos de botón reset y pointer */
    border: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.special-offer-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    filter: brightness(1.1);
}

.special-offer-badge:active {
    transform: scale(0.98);
}

@keyframes badge-shake {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-2deg) scale(1.05);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(2deg) scale(1.05);
    }
}

.badge-icon {
    font-size: 1.2rem;
    animation: icon-pulse 1.5s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.badge-text {
    font-size: 0.85rem;
}

.price-tag {
    margin-bottom: 24px;
    animation: price-pulse 2.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes price-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.price-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 6px 16px rgba(255, 184, 77, 0.5));
}

/* Contenedor de logos en horizontal */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0 12px;
    padding: 16px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: var(--radius-md);
}

.guarantee-image-small {
    width: 100%;
    max-width: 100px;
    height: auto;
    opacity: 0.85;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.guarantee-image-small:hover {
    opacity: 1;
    transform: scale(1.05);
}

.cta-button {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8A65 50%, #FF7043 100%);
    color: white;
    width: 100%;
    padding: 24px 32px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 16px;
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

.pulse-animation {
    animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 12px 32px rgba(255, 107, 107, 0.5);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 16px 40px rgba(255, 107, 107, 0.7);
    }
}

.payment-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.hotmart-logo {
    width: 100%;
    max-width: 100px;
    height: auto;
    opacity: 0.85;
    transition: all var(--transition-normal);
    filter: grayscale(10%);
}

.hotmart-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.secure-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    margin: 0;
    font-family: var(--font-heading);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 480px) {
    .landing-header h1 {
        font-size: 1.7rem;
    }

    .authority-section h3,
    .explanation-section h3,
    .bonus-section h3 {
        font-size: 1.4rem;
    }

    .solution-section h2 {
        font-size: 1.6rem;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        font-size: 1.05rem;
        padding: 20px 28px;
    }

    .special-offer-badge {
        font-size: 0.75rem;
        padding: 10px 20px;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .price-image {
        max-width: 160px;
    }

    .logos-container {
        gap: 12px;
        padding: 12px;
    }

    .guarantee-image-small {
        max-width: 80px;
    }

    .hotmart-logo {
        max-width: 80px;
    }

    .secure-text {
        font-size: 0.75rem;
    }

    /* Metaphor cards responsive */
    .metaphor-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .metaphor-item .emoji {
        font-size: 2.5rem;
    }

    .landing-header h1 {
        font-size: 2rem;
    }

    /* Quiz responsive */
    .quiz-icon {
        font-size: 3rem;
    }

    .quiz-title {
        font-size: 1.6rem;
    }

    .quiz-subtitle {
        font-size: 0.95rem;
    }

    .question-container h2 {
        font-size: 1.4rem;
    }

    .question-container h2::before {
        font-size: 1.5rem;
        left: 0;
        top: -5px;
    }

    .option-btn {
        padding: 20px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .view {
        padding: 24px 20px;
    }

    .landing-header h1 {
        font-size: 1.5rem;
    }

    .metaphor-item .emoji {
        font-size: 2.2rem;
    }

    .landing-header h1 {
        font-size: 1.7rem;
    }

    .explanation-section>p {
        font-size: 1.15rem;
    }

    /* Quiz responsive */
    .quiz-icon {
        font-size: 2.5rem;
    }

    .quiz-title {
        font-size: 1.4rem;
    }

    .question-container h2 {
        font-size: 1.2rem;
        padding: 0 8px;
    }

    .option-btn {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
}

.main-tittle {
    font-size: 3rem;
}