/**
 * Estilos específicos para el Landing Page
 * Archivo ubicación: /assets/css/landing.css
 * IMPORTANTE: Este archivo sobrescribe los estilos del style.css principal
 */

/* Reset específico para el landing */
.landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Sobrescribir estilos globales de enlaces */
.landing-page a {
    text-decoration: none;
    color: inherit;
}

.landing-page a:hover,
.landing-page a:visited,
.landing-page a:focus,
.landing-page a:active {
    color: inherit;
}

/* Container personalizado para el landing */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section - Nuevo diseño limpio */
.landing-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

/* Decoración de fondo */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: white;
}

.decoration-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite;
}

.decoration-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

.decoration-circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 10%;
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Container personalizado para el landing */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Layout principal del hero */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Contenido de texto */
.hero-text-content {
    max-width: 600px;
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.title-gradient {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Botones del Hero */
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Botones personalizados del landing */
.landing-btn-primary,
.landing-btn-secondary,
.landing-btn-cta,
.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    white-space: nowrap;
}

.landing-btn-primary,
.landing-btn-cta,
.plan-btn-primary {
    background: #7c3aed !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.landing-btn-primary:hover,
.landing-btn-primary:visited,
.landing-btn-primary:focus,
.landing-btn-primary:active,
.landing-btn-cta:hover,
.landing-btn-cta:visited,
.landing-btn-cta:focus,
.landing-btn-cta:active,
.plan-btn-primary:hover,
.plan-btn-primary:visited,
.plan-btn-primary:focus,
.plan-btn-primary:active {
    background: #6d28d9 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.landing-btn-secondary {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.landing-btn-secondary:hover,
.landing-btn-secondary:visited,
.landing-btn-secondary:focus,
.landing-btn-secondary:active {
    background: rgba(255,255,255,0.3) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Stats Box */
.stats-box {
    display: inline-flex;
    gap: 40px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    display: block;
}

/* Visual content */
.hero-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Nueva ruleta con diseño limpio */
.wheel-container {
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.fortune-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    animation: wheelSpin 20s linear infinite;
    background: white;
}

.wheel-slice {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: right bottom;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.slice-1 {
    background: #10b981;
    transform: rotate(0deg);
}

.slice-2 {
    background: #3b82f6;
    transform: rotate(60deg);
}

.slice-3 {
    background: #f59e0b;
    transform: rotate(120deg);
}

.slice-4 {
    background: #ef4444;
    transform: rotate(180deg);
}

.slice-5 {
    background: #8b5cf6;
    transform: rotate(240deg);
}

.slice-6 {
    background: #f97316;
    transform: rotate(300deg);
}

.wheel-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wheel-icon {
    position: absolute;
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
}

.icon-1 {
    transform: translate(-50%, -50%) rotate(30deg) translateY(-90px) rotate(-30deg);
}

.icon-2 {
    transform: translate(-50%, -50%) rotate(90deg) translateY(-90px) rotate(-90deg);
}

.icon-3 {
    transform: translate(-50%, -50%) rotate(150deg) translateY(-90px) rotate(-150deg);
}

.icon-4 {
    transform: translate(-50%, -50%) rotate(210deg) translateY(-90px) rotate(-210deg);
}

.icon-5 {
    transform: translate(-50%, -50%) rotate(270deg) translateY(-90px) rotate(-270deg);
}

.icon-6 {
    transform: translate(-50%, -50%) rotate(330deg) translateY(-90px) rotate(-330deg);
}

.wheel-center {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Income Card */
.income-card {
    background: rgba(255,255,255,0.95);
    padding: 24px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 280px;
}

.income-card h4 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.income-card .amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating info cards */
.floating-info-card {
    position: absolute;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: white;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-info-card .icon {
    font-size: 24px;
}

.floating-info-card .text {
    font-size: 13px;
    white-space: nowrap;
}

.card-1 {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 120px;
    right: -20px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20px;
    left: 20px;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Section */
.landing-features {
    padding: 80px 0;
    background: #f9fafb;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
}

.section-subheading {
    font-size: 1.2rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Mechanics Section */
.landing-mechanics {
    padding: 80px 0;
    background: white;
}

.mechanics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mechanics-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1f2937;
}

.mechanics-content > p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 40px;
}

.mechanics-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.mechanic-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.mechanic-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1f2937;
}

.mechanic-item p {
    color: #6b7280;
}

/* Ruleta grande de mechanics */
.big-wheel-container {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.big-fortune-wheel {
    width: 300px;
    height: 300px;
    min-width: 300px;
    min-height: 300px;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: wheelSpin 30s linear infinite;
    background: conic-gradient(
        from 0deg,
        #10b981 0deg 60deg,
        #3b82f6 60deg 120deg,
        #f59e0b 120deg 180deg,
        #ef4444 180deg 240deg,
        #8b5cf6 240deg 300deg,
        #f97316 300deg 360deg
    );
    flex-shrink: 0;
}

.big-fortune-wheel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
}

.big-center {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.big-segment {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    transform-origin: center bottom;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.big-segment span {
    font-size: 36px;
    transform: translateY(-60px);
}

.big-segment-1 { transform: rotate(30deg); }
.big-segment-2 { transform: rotate(90deg); }
.big-segment-3 { transform: rotate(150deg); }
.big-segment-4 { transform: rotate(210deg); }
.big-segment-5 { transform: rotate(270deg); }
.big-segment-6 { transform: rotate(330deg); }

/* Pricing Section */
.landing-pricing {
    padding: 80px 0;
    background: #f9fafb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.price-card.featured {
    border: 3px solid #7c3aed;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #7c3aed;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.price-display {
    margin-bottom: 30px;
}

.price-number {
    font-size: 3rem;
    font-weight: 800;
    color: #7c3aed;
}

.price-period {
    color: #6b7280;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list .check {
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
}

.plan-btn-secondary {
    background: #e5e7eb !important;
    color: #1f2937 !important;
}

.plan-btn-secondary:hover {
    background: #d1d5db !important;
    transform: translateY(-2px);
}

/* Testimonials Section */
.landing-testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #f59e0b;
}

.quote {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info strong {
    display: block;
    color: #1f2937;
    font-size: 1.1rem;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* CTA Section */
.landing-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.cta-note {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-top: 20px;
}

/* Footer */
.landing-footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-visual-content {
        display: none;
    }
    
    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .landing-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-box {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mechanics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .landing-title {
        font-size: 2.5rem;
    }
    
    .landing-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-box {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .landing-btn-primary,
    .landing-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .decoration-circle-1,
    .decoration-circle-2,
    .decoration-circle-3 {
        display: none;
    }
}