/* ========================================
   BONY DIAGNOSTIC - MODERN CSS STYLES
   ======================================== */

/* CSS Variables - BONY Futurista/Rebelde */
:root {
    /* BONY Colors - Verde Neón Futurista */
    --primary: #00FF41; /* Verde neón BONY */
    --primary-light: #33FF66;
    --primary-dark: #00CC33;
    --accent: #00FF41;
    --accent-light: #66FF99;
    --success: #00FF41;
    --warning: #FFD700;
    --error: #FF4444;
    
    /* Backgrounds - Negro Profundo */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(0, 255, 65, 0.05);
    --bg-card-hover: rgba(0, 255, 65, 0.1);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    
    /* Borders - Verde Neón */
    --border-color: rgba(0, 255, 65, 0.2);
    --border-active: rgba(0, 255, 65, 0.6);
    
    /* Gradients - Verde Neón Futurista */
    --gradient-primary: linear-gradient(135deg, #00FF41 0%, #00CC33 100%);
    --gradient-accent: linear-gradient(135deg, #00FF41 0%, #33FF66 100%);
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    
    /* Shadows - Glow Verde Neón */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(0, 255, 65, 0.4);
    --shadow-glow-strong: 0 0 60px rgba(0, 255, 65, 0.6);
    
    /* Typography */
    --font-primary: 'Sora', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.08), transparent);
    pointer-events: none;
    z-index: -2;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 10%;
    left: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo imagen en header */
.header-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
    transition: var(--transition-normal);
}

.header-logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.8));
    transform: scale(1.05);
}

.nav-pills {
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.pill {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pill.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

/* Main Container */
.main-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px var(--container-padding) 40px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    color: var(--accent-light);
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    width: fit-content;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 10;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 255, 65, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagnostic-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    animation: slideIn 0.8s ease-out both;
}

.preview-card:nth-child(1) { animation-delay: 0.2s; }
.preview-card:nth-child(2) { animation-delay: 0.4s; transform: translateX(30px); }
.preview-card:nth-child(3) { animation-delay: 0.6s; }

.preview-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-active);
    transform: translateX(10px);
}

.preview-icon {
    font-size: 2rem;
}

.preview-card span {
    font-weight: 500;
    color: var(--text-secondary);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Section */
.form-section {
    padding: 40px 0;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 700px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(20px);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.step-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.step-indicator.active .step-dot {
    background: var(--gradient-primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.6); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 65, 0.9); }
}

.step-indicator.completed .step-dot {
    background: var(--success);
    border-color: var(--success);
}

.step-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 80px;
}

.step-indicator.active .step-label {
    color: var(--text-primary);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.step-header {
    margin-bottom: 30px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--error);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.2), 0 0 15px rgba(0, 255, 65, 0.3);
}

/* Invalid/Required field styling */
.form-group.invalid label::after {
    content: ' *';
    color: var(--error);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group.invalid .option-card label {
    border-color: rgba(239, 68, 68, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 45px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio/Select Options as Cards */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-card {
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-card label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    font-weight: 400;
}

.option-card input:checked + label {
    background: rgba(0, 255, 65, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.option-card:hover label {
    border-color: var(--border-active);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.prev-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.prev-btn:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.next-btn, .submit-btn {
    background: var(--gradient-primary);
    color: white;
    margin-left: auto;
}

.next-btn:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.submit-btn .spinner {
    animation: spin 1s linear infinite;
}

.submit-btn .loading-text {
    margin-left: 8px;
    white-space: nowrap;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.submit-btn .btn-loading {
    animation: pulse-text 2s ease-in-out infinite;
}

/* Results Section */
.results-section {
    padding: 40px 0;
}

.results-container {
    max-width: 800px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.results-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Results Preview */
.results-preview {
    position: relative;
    margin-bottom: 40px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.result-card.full {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
}

.result-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.result-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-content h3:first-child {
    margin-top: 0;
}

.result-content ul {
    list-style: none;
    padding-left: 0;
}

.result-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.result-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.result-content p {
    margin: 12px 0;
}

.result-content strong {
    color: var(--text-primary);
}

/* ========================================
   PLAN TEXT ENRICHED STYLES - Futurista BONY
   ======================================== */

/* Main Header - Título principal del diagnóstico */
.plan-main-header {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.plan-main-header:first-child {
    margin-top: 0;
}

/* Section Header - Encabezados de sección */
.plan-section-header {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 14px;
    padding: 12px 16px;
    background: rgba(0, 255, 65, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Sub Header - Encabezados de fase/paso */
.plan-sub-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
    opacity: 0.9;
}

/* Divider - Separadores */
.plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 24px 0;
    opacity: 0.5;
}

/* Spacer */
.plan-spacer {
    height: 10px;
}

/* Lists - Listas de bullets y numeradas */
.plan-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.plan-list.numbered {
    counter-reset: plan-counter;
}

.plan-list-item {
    position: relative;
    padding: 10px 0 10px 32px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.2s ease;
}

.plan-list-item:hover {
    color: var(--text-primary);
    padding-left: 36px;
}

/* Bullet style */
.plan-list:not(.numbered) .plan-list-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

/* Numbered style */
.plan-list.numbered .plan-list-item {
    counter-increment: plan-counter;
}

.plan-list.numbered .plan-list-item::before {
    content: counter(plan-counter) ".";
    position: absolute;
    left: 4px;
    top: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Quote - Citas y frases */
.plan-quote {
    padding: 16px 20px;
    margin: 16px 0;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Paragraph */
.plan-paragraph {
    margin: 10px 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Inline styles */
.plan-bold {
    color: var(--text-primary);
    font-weight: 600;
}

.plan-italic {
    font-style: italic;
    color: var(--text-secondary);
}

.plan-code {
    background: rgba(0, 255, 65, 0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* Icons */
.plan-warning-icon {
    color: var(--warning);
}

.plan-check-icon {
    color: var(--success);
    font-weight: bold;
}

.plan-tip-icon {
    color: var(--primary);
}

/* Result content improvements */
.result-content .plan-main-header,
.result-content .plan-section-header,
.result-content .plan-sub-header {
    animation: fadeInUp 0.5s ease;
}

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

/* Content Lock Message - Inserted directly in content */
.content-lock-message {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border: 2px solid var(--primary);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2; /* Above blur overlay */
}

.content-lock-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.content-lock-message h3 {
    font-size: 1.5rem;
    margin: 0 auto 10px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    width: 100%;
    display: block;
}

.content-lock-message p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Blur Overlay - Starts after the lock message */
.blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(10, 10, 15, 0.6) 40%, rgba(10, 10, 15, 0.9) 70%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 1;
}

.unlock-prompt {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    margin-top: 15%;
    max-width: 90%;
    pointer-events: auto;
    display: none; /* Ocultamos este ya que usamos content-lock-message */
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.unlock-prompt h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.unlock-prompt p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* Unlock Form */
.unlock-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    z-index: 2; /* Above blur overlay */
}

.unlock-form {
    max-width: 400px;
    margin: 0 auto;
}

.unlock-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-align: center;
}

.unlock-icon {
    font-size: 1.5rem;
}

.unlock-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input {
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.2), 0 0 15px rgba(0, 255, 65, 0.3);
}

.unlock-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Unlock Form Inside Result Card */
.results-preview .unlock-form-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.results-preview .unlock-form {
    max-width: 100%;
}

/* Download Section */
.download-section {
    margin: 40px 0;
}

.download-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-glow);
}

.download-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.download-content {
    flex: 1;
}

.download-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.download-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Full Results */
.full-results {
    margin-bottom: 40px;
}

.results-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.action-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.action-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

/* CTA Section */
.cta-section {
    margin-top: 60px;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cta-content p {
    opacity: 0.9;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    padding: 30px var(--container-padding);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.toast-message {
    font-size: 0.95rem;
}

/* ========================================
   AI LOADING SCREEN - Estilo Futurista BONY
   ======================================== */
.ai-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.ai-loading-overlay.active {
    display: flex;
}

.ai-loading-container {
    text-align: center;
    max-width: 480px;
    width: 100%;
    padding: 30px 20px;
    margin: auto;
}

/* Logo animado - Más prominente */
.ai-loading-logo {
    position: relative;
    margin-bottom: 20px;
    padding: 20px 0;
}

.ai-loading-logo .logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    text-shadow: 0 0 30px rgba(0, 255, 65, 0.6),
                 0 0 60px rgba(0, 255, 65, 0.4),
                 0 0 90px rgba(0, 255, 65, 0.2);
    animation: logoGlow 2s ease-in-out infinite;
    letter-spacing: 2px;
}

/* Logo imagen en loading screen */
.loading-logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.6))
            drop-shadow(0 0 60px rgba(0, 255, 65, 0.4))
            drop-shadow(0 0 90px rgba(0, 255, 65, 0.2));
    animation: logoGlow 2s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0, 255, 65, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(0, 255, 65, 0.6), 0 0 60px rgba(0, 255, 65, 0.4); }
    50% { text-shadow: 0 0 40px rgba(0, 255, 65, 0.8), 0 0 80px rgba(0, 255, 65, 0.6), 0 0 120px rgba(0, 255, 65, 0.3); }
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Cerebro IA animado */
.ai-loading-brain {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.brain-circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: brainRotate 3s linear infinite;
}

.brain-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: brainPulseAnim 2s ease-out infinite;
}

.brain-pulse.delay-1 { animation-delay: 0.6s; }
.brain-pulse.delay-2 { animation-delay: 1.2s; }

@keyframes brainPulseAnim {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes brainRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brain-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    animation: brainBreathe 2s ease-in-out infinite;
}

@keyframes brainBreathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Título */
.ai-loading-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    animation: titleFade 1.5s ease-in-out infinite;
}

@keyframes titleFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Pasos de carga */
.ai-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.1);
    border-radius: var(--radius-md);
    opacity: 0.4;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.loading-step.active {
    opacity: 1;
    transform: translateX(0);
    border-color: var(--primary);
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.loading-step.completed {
    opacity: 0.7;
    transform: translateX(0);
}

.loading-step.completed .step-check {
    display: flex;
}

.step-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.step-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.loading-step.active .step-text {
    color: var(--text-primary);
}

.step-check {
    display: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Barra de progreso */
.ai-loading-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.progress-bar-ai {
    flex: 1;
    height: 8px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-ai {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.progress-percentage {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    min-width: 50px;
    text-align: right;
    font-family: var(--font-mono);
}

/* Tip rotativo */
.ai-loading-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: var(--radius-md);
    animation: tipFade 8s ease-in-out infinite;
}

.tip-icon {
    font-size: 1.2rem;
}

.tip-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

@keyframes tipFade {
    0%, 100% { opacity: 1; }
    45%, 55% { opacity: 0.5; }
}

/* Loading Screen Responsive */
@media (max-height: 700px) {
    .ai-loading-container {
        padding: 15px;
    }
    
    .ai-loading-logo {
        margin-bottom: 10px;
        padding: 10px 0;
    }
    
    .ai-loading-logo .logo-text {
        font-size: 3rem;
    }
    
    .ai-loading-brain {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .brain-icon {
        width: 30px;
        height: 30px;
    }
    
    .ai-loading-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .ai-loading-steps {
        gap: 6px;
        margin-bottom: 15px;
    }
    
    .loading-step {
        padding: 8px 12px;
    }
    
    .step-icon {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .ai-loading-progress {
        margin-bottom: 12px;
    }
    
    .ai-loading-tip {
        padding: 10px 12px;
    }
    
    .tip-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .ai-loading-logo .logo-text {
        font-size: 2.5rem;
    }
    
    .loading-logo-img {
        max-width: 150px;
    }
    
    .header-logo-img {
        height: 32px;
    }
    
    .ai-loading-title {
        font-size: 1rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
}

/* ========================================
   CALENDAR SECTION - Incrustado en resultados
   ======================================== */
.calendar-section {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.calendar-icon {
    font-size: 2.5rem;
    background: rgba(0, 255, 65, 0.1);
    padding: 15px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.calendar-info h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.calendar-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.calendar-embed {
    padding: 20px;
    background: var(--bg-secondary);
}

.calendar-iframe {
    min-height: 600px;
    width: 100%;
    border-radius: var(--radius-md);
}

/* ========================================
   CONTEXT VALIDATION MODAL
   ======================================== */
.context-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    padding: 15px;
    overflow-y: auto;
}

.context-modal-overlay.active {
    display: flex;
}

.context-modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 255, 65, 0.15);
    animation: modalSlideIn 0.3s ease;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo en el modal */
.context-modal-logo {
    margin-bottom: 15px;
}

.context-logo-img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.4));
}

.context-modal-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.context-modal-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.context-modal-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.context-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
}

.context-field-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: var(--radius-md);
}

.context-field-item .field-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.context-field-item .field-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.context-field-item .field-info strong {
    color: var(--text-primary);
    font-size: 0.85rem;
    word-wrap: break-word;
}

.context-field-item .field-info span {
    color: var(--text-muted);
    font-size: 0.75rem;
    word-wrap: break-word;
}

.context-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.context-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    white-space: nowrap;
}

.context-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.context-btn span {
    white-space: nowrap;
}

.context-btn.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.context-btn.primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.context-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.context-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

/* Responsive para modal de contexto */
@media (max-width: 520px) {
    .context-modal-container {
        padding: 20px;
        border-radius: var(--radius-lg);
    }
    
    .context-logo-img {
        max-width: 100px;
    }
    
    .context-modal-icon {
        font-size: 2rem;
    }
    
    .context-modal-title {
        font-size: 1.1rem;
    }
    
    .context-modal-description {
        font-size: 0.85rem;
    }
    
    .context-modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .context-btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 0.85rem;
    }
    
    .calendar-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal para Agendar Sesión */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-glow);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    padding: 0;
}

.modal-close:hover {
    background: var(--bg-secondary);
    border-color: var(--error);
    color: var(--error);
}

.modal-content {
    padding: 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.booking-iframe {
    width: 100%;
    min-height: 600px;
    height: 70vh;
    border: none;
    display: block;
    background: var(--bg-secondary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .cta-button {
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .form-container {
        padding: 30px 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .results-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    /* Ocultar nav-pills en tablet también */
    .nav-pills {
        display: none !important;
    }
}

/* Modal Responsive */
@media (max-width: 900px) {
    .modal-container {
        max-width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .booking-iframe {
        min-height: 500px;
    }
}

@media (max-width: 600px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: var(--radius-lg);
    }

    .modal-header {
        padding: 16px;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .booking-iframe {
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 12px 15px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .nav-pills {
        display: none !important;
    }

    .header-logo-img {
        height: 32px !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .progress-steps {
        display: none;
    }

    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .prev-btn {
        order: 2;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Mejoras móviles adicionales */
    .form-container {
        padding: 20px 15px;
        margin: 10px;
    }

    .result-card {
        padding: 20px 15px;
    }

    .unlock-form-container {
        padding: 20px 15px;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .download-btn {
        width: 100%;
        margin-top: 15px;
    }

    .calendar-section {
        margin: 20px 0;
    }

    .calendar-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .calendar-iframe {
        min-height: 500px;
    }

    .cta-card {
        padding: 20px;
    }

    .cta-link {
        width: 100%;
        text-align: center;
    }

    /* Mejorar inputs en móvil */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Evita zoom en iOS */
        -webkit-appearance: none; /* Remover estilos nativos iOS */
        appearance: none;
    }

    /* Mejorar scroll en móvil */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Ajustar padding del main container en móvil */
    .main-container {
        padding: 80px 15px 30px;
    }

    /* Mejorar visualización de resultados en móvil */
    .results-container {
        padding: 0 10px;
    }

    .result-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Ajustar tamaño de texto en móvil */
    .plan-main-header {
        font-size: 1.3rem;
    }

    .plan-section-header {
        font-size: 1.1rem;
    }

    .plan-sub-header {
        font-size: 1rem;
    }

    /* Mejorar botones en móvil */
    .cta-button,
    .nav-btn,
    .unlock-btn {
        min-height: 44px; /* Tamaño táctil mínimo */
    }

    /* Ajustar modales en móvil */
    .context-modal-container {
        margin: 10px;
        padding: 20px;
        max-height: 90vh;
    }

    .modal-content {
        padding: 20px 15px;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.7);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

