:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --card-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08), 0 6px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15), 0 15px 15px rgba(0, 0, 0, 0.1), inset 0 -4px 0 rgba(0, 0, 0, 0.03);
    --transition-3d: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.bg-light {
    background-color: #f1f5f9;
}

/* --- Efectos de Profundidad 3D Profesionales --- */
.text-3d {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15), 1px 1px 1px rgba(255, 255, 255, 0.8);
    letter-spacing: -0.5px;
    font-weight: 800;
}

.card-3d {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    transition: var(--transition-3d);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-12px) translateZ(30px);
    box-shadow: var(--shadow-lg);
}

.btn-3d {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transform: translateZ(0);
}

.btn-3d:active {
    transform: translateY(3px) translateZ(-5px) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

/* Tipos de Botones */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 1rem 1.8rem;
    border-radius: 14px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-3px) translateZ(10px);
}

.btn-secondary {
    background: white;
    color: var(--text-dark) !important;
    padding: 1rem 1.8rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-3px) translateZ(10px);
    color: var(--primary) !important;
    border-color: var(--primary-light);
}

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

/* Header & Nav */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.8rem 2rem; /* Increased padding */
    border-radius: 12px;  /* Less rounded (was 50px) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.main-logo {
    max-height: 54px; /* Enlarged from 42px */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.nav-actions {
    display: flex;
    gap: 1.2rem;
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 95% 85%, rgba(59, 130, 246, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    color: var(--bg-dark);
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary), #8b5cf6, var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.4rem;
    color: var(--secondary);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
}

.hero-btns .large {
    padding: 1.3rem 3rem;
    font-size: 1.15rem;
}

/* Headers de Sección */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--bg-dark);
    margin-bottom: 1.2rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.card {
    padding: 3rem 2.5rem;
    text-align: center;
    overflow: hidden;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.03));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.9), 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateZ(40px);
    border: 1px solid var(--glass-border);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--bg-dark);
    transform: translateZ(20px);
}

.card p {
    color: var(--secondary);
    font-size: 1.05rem;
    transform: translateZ(10px);
}

/* --- APP DOWNLOAD SECTION --- */
.app-download-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border: none;
    overflow: hidden;
}

.app-download-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    transform: translateZ(20px);
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    transform: translateZ(30px);
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #0f172a;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-store:hover {
    background: #1e293b;
    transform: translateY(-5px) translateZ(15px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.btn-store i {
    font-size: 2.4rem;
}

.store-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.store-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.premium {
    border: 3px solid var(--primary);
    background: linear-gradient(180deg, #fff 0%, rgba(37, 99, 235, 0.03) 100%);
}

.pricing-card.premium:hover {
    transform: translateY(-15px) translateZ(40px) rotateX(2deg);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.1);
}

.ribbon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) translateZ(50px);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2.5rem;
}

.pricing-header h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}

.price {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1;
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.price span {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 400;
    margin-left: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.pricing-features i {
    color: #10b981;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
}

/* Contact Section */
.contact-box {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.contact-email {
    margin-top: 2.5rem;
    font-size: 2.4rem;
    font-weight: 800;
}

.contact-email i {
    color: var(--secondary);
    margin-right: 15px;
    opacity: 0.5;
}

.contact-email a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-email a:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--secondary);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 50px;
}

.footer-logo h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* --- Cookie Banner Blindado --- */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    max-width: 950px;
    margin: 0 auto;
    background: white;
    z-index: 9999;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    border-left: 6px solid var(--primary);

    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s !important;
}

.cookie-banner.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.cookie-banner.hide {
    opacity: 0 !important;
    transform: translateY(20px) scale(0.95) !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.cookie-icon {
    color: #f59e0b;
    margin-right: 8px;
}

.cookie-content h4 {
    margin-bottom: 0.6rem;
    color: var(--bg-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--secondary);
    margin: 0;
    max-width: 650px;
}

.cookie-buttons {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .pricing-grid {
        gap: 2.5rem;
    }

    .pricing-card.premium {
        transform: none;
        border-width: 2px;
    }

    .pricing-card.premium:hover {
        transform: translateY(-10px);
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cookie-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        position: absolute;
    }

    nav {
        flex-direction: column;
        height: auto;
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .main-logo {
        max-height: 45px;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-btns .large {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .btn-store {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- New Sections Styles --- */
.trust-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.trust-logos:hover {
    opacity: 1;
    filter: grayscale(0);
}

.trust-logos img {
    height: 35px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    min-width: 120px;
}

.trust-badge i {
    font-size: 1.8rem;
    opacity: 0.7;
    margin-bottom: 0.2rem;
}

.trust-badge:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.trust-badge:hover i {
    opacity: 1;
    color: var(--primary);
}

.mockups-section {
    background: #f8fafc;
    overflow: hidden;
}

.mockup-container {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
}

.mockup-image {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s;
}

.mockup-image:hover {
    transform: rotateX(0) rotateY(0) scale(1.02);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.testimonial-card {
    padding: 2.5rem;
    background: white;
    border-radius: 30px;
    position: relative;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-author strong {
    font-size: 0.9rem;
    display: block;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--secondary);
}