/* ============================================
   DISEÑO PREMIUM - TrafikHub Web Pública
   Diseño gráficamente potente, serio y profesional
   ============================================ */

/* Variables CSS Premium */
:root {
    --primary: #0010ef;
    --primary-dark: #0008a0;
    --primary-light: #3343f2;
    --primary-gradient: linear-gradient(135deg, #0010ef 0%, #0008a0 50%, #3343f2 100%);
    --primary-gradient-light: linear-gradient(135deg, rgba(0, 16, 239, 0.1) 0%, rgba(0, 8, 160, 0.05) 100%);
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 30px -5px rgba(0, 16, 239, 0.3);
    --shadow-primary-lg: 0 20px 40px -10px rgba(0, 16, 239, 0.4);
}

/* Reset y Tipografía Premium */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* Navegación Premium con Glassmorphism */
.landing-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.landing-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.04em;
    transition: all 0.3s ease;
    position: relative;
}

.landing-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.landing-logo:hover::after {
    width: 100%;
}

.landing-nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.landing-nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.landing-nav-links a:not(.btn):hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.landing-nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.landing-nav-links a:not(.btn):hover::after {
    width: 100%;
}

.landing-nav-links .btn {
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-primary);
    letter-spacing: -0.01em;
}

.landing-nav-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
    filter: brightness(1.05);
}

/* Hero Section - Diseño Impactante */
.landing-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
    padding: 10rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 16, 239, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 16, 239, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 16, 239, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.landing-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--gray-900);
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

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

.landing-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.landing-hero .hero-description {
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    color: var(--gray-600);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.landing-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary-lg);
    filter: brightness(1.1);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-200);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Estadísticas - Diseño Premium */
.stats-section {
    background: var(--gray-900);
    color: var(--white);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 16, 239, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 16, 239, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 16, 239, 0.3);
    box-shadow: 0 10px 30px rgba(0, 16, 239, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.0625rem;
    color: var(--gray-300);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Secciones Premium */
.landing-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.landing-section-alt {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    letter-spacing: -0.04em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3125rem;
    color: var(--gray-600);
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Tarjetas de Servicios - Diseño Premium */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 1.25rem 1.25rem 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient-light);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-gradient-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-primary);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.0625rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Beneficios Premium */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    text-align: left;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 1.25rem;
    border: 2px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Testimonios Premium */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 700;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.testimonial-card:hover::after {
    transform: scaleY(1);
}

.testimonial-text {
    font-size: 1.1875rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-info h5 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.testimonial-author-info p {
    font-size: 1rem;
    color: var(--gray-500);
}

/* Garantías Premium */
.guarantees-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 1.25rem;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--primary-gradient-light);
    border-radius: 50%;
    transform: translate(30%, -30%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.guarantee-card:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: var(--shadow-2xl);
    border-left-color: var(--primary-dark);
}

.guarantee-card:hover::before {
    opacity: 1;
}

.guarantee-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
    line-height: 1.4;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.guarantee-card p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* FAQ Premium */
.faq-section {
    background: var(--white);
}

.faq-grid {
    max-width: 1000px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--primary-gradient-light);
}

.faq-question {
    padding: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.1875rem;
    letter-spacing: -0.01em;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1.5rem;
    color: var(--gray-500);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--gray-600);
    line-height: 1.8;
    display: none;
    font-size: 1.0625rem;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* CTA Section Premium */
.cta-section {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin: 6rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.cta-section .btn {
    padding: 1.5rem 4rem;
    font-size: 1.1875rem;
    font-weight: 700;
    background: var(--white);
    color: var(--primary);
    border-radius: 0.75rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.cta-section .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--gray-50);
}

/* Footer Premium */
.landing-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 6rem 2rem 3rem;
    border-top: 1px solid var(--gray-800);
    position: relative;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
}

.landing-footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.footer-column p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(5px);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Menú móvil hamburguesa */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--gray-700);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Responsive Premium */
@media (max-width: 1024px) {
    .landing-nav-content {
        padding: 1.25rem 2rem;
    }
    
    .landing-hero {
        padding: 8rem 2rem 6rem;
    }
    
    .landing-hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 0;
    }
    
    .landing-nav-content {
        padding: 1rem 1.5rem;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--gray-200);
        gap: 0;
        width: 100%;
        margin-top: 0;
    }
    
    .landing-nav-links.active {
        display: flex;
    }
    
    .landing-nav-links a {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        text-align: left;
    }
    
    .landing-nav-links a:last-child {
        border-bottom: none;
    }
    
    .landing-nav-links .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .landing-hero {
        padding: 5rem 1.5rem 4rem;
    }
    
    .landing-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .landing-hero .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .landing-hero .hero-description {
        font-size: 1.0625rem;
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .landing-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.0625rem;
    }
    
    .landing-section {
        padding: 5rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.5rem;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .guarantee-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .cta-section {
        margin: 4rem 1rem;
        padding: 5rem 1.5rem;
        border-radius: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .trust-badges {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badge {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        font-size: 1.0625rem;
        padding: 1.5rem;
    }
    
    .faq-answer {
        font-size: 1rem;
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .landing-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .landing-nav-content {
        padding: 0.875rem 1rem;
    }
    
    .landing-logo {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animaciones de entrada */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .benefit-item,
    .testimonial-card,
    .guarantee-card {
        animation: fadeInUp 0.6s ease-out both;
    }
    
    .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3) { animation-delay: 0.3s; }
    .feature-card:nth-child(4) { animation-delay: 0.4s; }
    .feature-card:nth-child(5) { animation-delay: 0.5s; }
    .feature-card:nth-child(6) { animation-delay: 0.6s; }
}
