/* landing.css - v22.0 Complete Landing Styles */

/* ===== LANDING PAGE ===== */
.landing-page {
    min-height: 100vh;
    background: var(--bg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--text) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 50%);
    opacity: 0.05;
    animation: pulse 10s infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(255, 204, 2, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(255, 204, 2, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    letter-spacing: -1px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid #edf2f7;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.price-card.premium {
    border-color: var(--primary);
    background: linear-gradient(to bottom, var(--primary-light), var(--white));
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-header h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.95rem;
    color: var(--text);
}

.price-features li:last-child {
    border-bottom: none;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding: 3rem;
    opacity: 0.5;
    font-size: 0.8rem;
    background: var(--bg);
}

/* ===== AUTH OVERLAY ===== */
.auth-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--text) 0%, #1a1a2e 100%);
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 204, 2, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

.pricing-section .btn-outline {
    color: var(--text);
    border-color: var(--text);
}

.pricing-section .btn-outline:hover {
    background: var(--text);
    color: var(--white);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    animation: fadeSlideIn 0.5s ease-out;
}

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

/* ===== SUBSCRIPTION CARD IN PROFILE ===== */
.subscription-card {
    background: linear-gradient(135deg, var(--text) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.subscription-card .badge {
    background: var(--primary);
    color: var(--text);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

.subscription-card h3 {
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.subscription-card .sub-info {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.subscription-card .sub-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Live Access Banner */
.live-access-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
}

.live-access-banner h4 {
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.live-access-banner p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.live-access-banner.has-access {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-logo {
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        padding: 16px 24px;
        min-height: 52px;
    }
    
    .pricing-section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-card {
        padding: 1.5rem;
    }
    
    .price-badge {
        font-size: 0.6rem;
        padding: 0.4rem 1rem;
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    .price-features li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
    
    .price-card .btn {
        width: 100%;
        min-height: 50px;
    }
    
    /* Auth Card */
    .auth-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        border-radius: 1.2rem;
        max-width: 100%;
    }
    
    .auth-card h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-card p {
        font-size: 0.9rem;
    }
    
    .auth-card form input {
        font-size: 16px;
        padding: 14px;
        min-height: 50px;
    }
    
    .auth-card form .btn {
        width: 100%;
        min-height: 50px;
        padding: 14px 20px;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .landing-footer {
        padding: 2rem 1rem;
    }
    
    /* Subscription Card */
    .subscription-card {
        padding: 1.5rem;
    }
    
    .subscription-card h3 {
        font-size: 1.1rem;
    }
    
    .subscription-card .sub-actions {
        gap: 0.5rem;
    }
    
    .subscription-card .sub-actions .btn {
        width: 100%;
        min-height: 46px;
    }
    
    /* Live Access Banner */
    .live-access-banner {
        padding: 1.2rem;
    }
    
    .live-access-banner h4 {
        font-size: 1rem;
    }
    
    .live-access-banner p {
        font-size: 0.85rem;
    }
}
/* Mejoras de UX/UI para los Pasos */
.steps-container {
    counter-reset: step-counter;
    position: relative;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.step-badge {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number-bg {
    position: absolute;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    z-index: 0;
    line-height: 1;
}

.icon-placeholder {
    font-size: 2.5rem;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.step-card .price-header h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.step-card .price-features p {
    border-bottom: none;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Efecto de conexión visual en desktop */
@media (min-width: 1024px) {
    .steps-container::before {
        content: '';
        position: absolute;
        top: 40%;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--primary-light), transparent);
        z-index: 0;
        opacity: 0.3;
    }
}
@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
        padding-top: 2rem;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .price-card {
        padding: 1.2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 1.2rem;
    }
}



/* ============================================
   PASSWORD RECOVERY STYLES
   ============================================ */

.forgot-password-link {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    margin-bottom: 0.5rem;
}

.forgot-password-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.back-to-login {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.back-to-login:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Password reset card enhancements */
.auth-card h2 {
    color: var(--fg);
}

.auth-card p {
    color: var(--fg);
}

/* Success/Error messages */
#reset-message,
#reset-form-message {
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
}

/* Password strength indicator (future enhancement) */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--bg-tertiary);
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-bar.weak { width: 33%; background: #ef4444; }
.password-strength-bar.medium { width: 66%; background: #eab308; }
.password-strength-bar.strong { width: 100%; background: #22c55e; }
