:root {
    --azul-marino: #0F1B2E;
    --azul-acento: #3B82F6;
    --azul-hover: #2563EB;
    --gris-texto: #64748B;
    --gris-claro: #F8FAFC;
    --blanco: #FFFFFF;
    --negro: #1A1A1A;
    --verde: #059669;
    --naranja: #D97706;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--negro);
    background: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-logo img {
    height: 32px;
}

.navbar-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-marino);
    letter-spacing: -0.02em;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: var(--gris-texto);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--azul-marino);
}

.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ghost {
    color: var(--azul-marino);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--gris-claro);
}

.btn-primary {
    background: var(--azul-acento);
    color: var(--blanco);
}

.btn-primary:hover {
    background: var(--azul-hover);
}

.btn-outline {
    border: 2px solid var(--azul-acento);
    color: var(--azul-acento);
    background: transparent;
}

.btn-outline:hover {
    background: var(--azul-acento);
    color: var(--blanco);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-light {
    background: var(--blanco);
    color: var(--azul-marino);
}

.btn-light:hover {
    background: var(--gris-claro);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--azul-marino);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--blanco);
}

.hero-logo {
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--gris-texto);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--azul-marino);
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gris-texto);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== MOSAICOS ===== */
.mosaicos-section {
    padding: 4rem 2rem;
    background: var(--gris-claro);
}

.mosaicos-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mosaicos-grid.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.mosaico-card {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.mosaico-card:hover {
    transform: scale(1.03);
    z-index: 10;
}

.mosaico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.mosaico-card:hover .mosaico-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.mosaico-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 27, 46, 0.5);
    transition: opacity 0.4s ease;
}

.mosaico-card:hover .mosaico-overlay {
    opacity: 0;
}

.mosaico-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blanco);
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ===== MOSAICO EXPANDIDO ===== */
.mosaico-expanded {
    max-width: 1100px;
    margin: 0 auto;
    display: block;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mosaico-expanded.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.mosaico-expanded-inner {
    position: relative;
    display: block;
    width: 100%;
}

.mosaico-expanded-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 46, 0.55);
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.mosaico-expanded-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaico-expanded.active .mosaico-expanded-img {
    transform: scale(1.02);
}

.mosaico-expanded-footer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.mosaico-expanded.active .mosaico-expanded-footer {
    opacity: 1;
    transform: translateY(0);
}

.mosaico-expanded-link {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--blanco);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.4);
}


.mosaico-expanded-link:hover::after {
    transform: translateX(8px);
}

.mosaico-expanded-link:hover {
    color: var(--blanco);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 4px 20px rgba(0,0,0,0.6);
}

/* ===== FRASE GANCHO ===== */
.hook {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--blanco);
}

.hook-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-marino);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

.hook-sub {
    font-size: 1.1rem;
    color: var(--gris-texto);
    margin-top: 1rem;
}

/* ===== DEMO WEB ===== */
.demo-web {
    width: 100%;
    background: var(--gris-claro);
}

.demo-video-wrapper {
    width: 100%;
    position: relative;
    background: var(--azul-marino);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.demo-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.demo-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--azul-acento);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
    border: none;
}

.demo-play-btn:hover {
    transform: scale(1.1);
}

/* ===== DEMO MOBILE ===== */
.demo-mobile {
    padding: 6rem 2rem;
    background: var(--blanco);
}

.demo-mobile-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-mobile-text h2 {
    font-size: 2rem;
    color: var(--azul-marino);
    margin-bottom: 1rem;
}

.demo-mobile-text p {
    color: var(--gris-texto);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.demo-mobile-phone {
    position: relative;
    justify-self: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--azul-marino);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gris-claro);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris-texto);
    font-size: 0.9rem;
}

.phone-screen video,
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FEATURES ===== */
.features {
    padding: 6rem 2rem;
    background: var(--gris-claro);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-size: 2rem;
    color: var(--azul-marino);
}

.features-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gris-claro);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--azul-acento);
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--azul-marino);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gris-texto);
}

/* ===== PLANES ===== */
.pricing {
    padding: 6rem 2rem;
    background: var(--blanco);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h2 {
    font-size: 2rem;
    color: var(--azul-marino);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--gris-texto);
}

.pricing-link {
    color: var(--azul-acento);
    text-decoration: none;
    font-weight: 600;
}

.pricing-link:hover {
    text-decoration: underline;
}

.pricing-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: var(--gris-claro);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: var(--azul-marino);
    color: var(--blanco);
    transform: scale(1.05);
}

.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-feature {
    color: var(--blanco);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--azul-acento);
    color: var(--blanco);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--azul-marino);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--azul-marino);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gris-texto);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--gris-texto);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-feature {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--gris-texto);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-feature::before {
    content: "✓";
    color: var(--verde);
    font-weight: 700;
}

.pricing-card.featured .pricing-feature::before {
    color: var(--azul-acento);
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 5rem 2rem;
    background: var(--azul-marino);
    text-align: center;
    color: var(--blanco);
}

.cta-final h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* ===== FAQ ===== */
.faq {
    padding: 6rem 2rem;
    background: var(--gris-claro);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2rem;
    color: var(--azul-marino);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--blanco);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--azul-marino);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--gris-claro);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: var(--azul-acento);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.2rem;
    color: var(--gris-texto);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--azul-marino);
    color: var(--blanco);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--blanco);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.85rem;
}

.footer-apps {
    display: flex;
    gap: 1rem;
}

.footer-app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.footer-app-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .mosaicos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .demo-mobile-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hook-text {
        font-size: 1.8rem;
    }
}