/* css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Brand Colors matching mockup */
    --bg-dark: #120A30;
    /* Deep navy/purple background */
    --bg-darker: #0c0620;
    --primary: #5b21b6;
    /* Vibrant Purple */
    --primary-light: #7c3aed;
    --cta-btn: #f59e0b;
    /* Amber/Orange CTA */
    --cta-btn-hover: #d97706;
    --text-main: #1f2937;
    --text-light: #f3f4f6;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    font-size: 112.5%;
    /* Aumentar base a 18px para mejor lectura */
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-purple {
    color: var(--primary-light);
}

.text-orange {
    color: var(--cta-btn);
}

.bg-dark-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-light);
}

.bg-light-section {
    background-color: var(--bg-light);
}

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Button - Orange Gradient */
.btn-cta {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

/* Purple Button */
.btn-purple {
    background: var(--primary-light);
    color: white;
}

.btn-purple:hover {
    background: var(--primary);
}

/* Navbar */
.navbar {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.nav-login {
    color: white;
    font-weight: 600;
    padding: 8px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    padding: 140px 0 130px;
    text-align: center;
    position: relative;
}

.hero::after {
    /* Soft glow effect at the bottom */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

/* Top Testimonial */
.top-testimonial {
    padding: 40px 0;
}

.top-test-card {
    background: var(--bg-dark);
    max-width: 650px;
    margin: -70px auto 40px;
    /* Overlaps hero */
    position: relative;
    z-index: 10;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 3px solid var(--cta-btn);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.top-test-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.top-test-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 12px;
    line-height: 1.5;
}

.top-test-content span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--cta-btn);
}

/* Core Values Icons */
.core-values {
    text-align: center;
    padding-bottom: 60px;
}

.core-values h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #f3e8ff;
    color: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Alternating Feature Sections */
.feature-section {
    padding: 80px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Dark Wrap Banner */
.dark-wrap-banner {
    padding: 80px 0;
}

.dark-wrap-container {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dark-wrap-container h2 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.dark-wrap-container p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

.dashboard-mockup {
    margin-top: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Before and After */
.before-after {
    padding: 80px 0;
}

.before-after h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ba-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ba-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.ba-card.antes h3 {
    color: var(--danger);
}

.ba-card.despues h3 {
    color: var(--success);
}

.ba-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.ba-list {
    list-style: none;
}

.ba-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 500;
}

.ba-list.antes li i {
    color: var(--danger);
    font-size: 1.4rem;
    margin-top: 2px;
}

.ba-list.despues li i {
    color: var(--success);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* Support Info Banner */
.support-banner {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    margin: 60px auto;
}

.support-text {
    flex: 1;
    padding: 60px;
}

.support-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.support-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.support-img {
    width: 350px;
    height: 100%;
    object-fit: contain;
    background: var(--primary-light);
    /* Accent block matching mockup */
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.reviewer-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

/* Final CTA Structure */
.final-cta {
    padding: 80px 0;
}

.final-box {
    border: 2px dashed rgba(124, 58, 237, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    background: white;
}

.final-box h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.final-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.steps-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-item span {
    font-weight: 600;
}

/* Pricing - Reskinned */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 850px;
    margin: 50px auto 0;
}

.price-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.price-card.popular {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #2e1065 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(91, 33, 182, 0.2);
}

.price-card.popular h3,
.price-card.popular p,
.price-card.popular .price-amount {
    color: white;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cta-btn);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-card.popular .price-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-card.popular .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
}

footer a:hover {
    color: white;
}

/* Responsive Overrides */
@media (max-width: 768px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        display: flex;
    }

    .feature-text,
    .feature-image {
        display: contents;
    }

    .feature-row h2 {
        order: 1;
        text-align: center;
    }

    .feature-row p {
        order: 2;
        text-align: center;
    }

    .feature-row .feature-image img {
        order: 3;
        margin: 20px auto;
    }

    /* Specificity for the img from display: contents */
    /* Target the image directly as it becomes sibling of h2/p */
    .feature-row img {
        order: 3;
        margin: 20px auto;
    }

    .feature-row .btn {
        order: 4;
        width: 100%;
        margin: 10px auto 0;
    }

    .ba-grid {
        grid-template-columns: 1fr;
    }

    /* Después de Venko Reordering */
    .ba-card.despues {
        display: flex;
        flex-direction: column;
    }

    .ba-card.despues .ba-img {
        order: 1;
        margin-bottom: 20px;
    }

    .ba-card.despues .ba-list {
        order: 2;
    }

    .ba-card.despues .btn {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .ba-card.despues h3 {
        order: 4;
        margin-top: 20px;
    }

    /* Dark Wrap Reordering */
    .dark-wrap-container {
        display: flex;
        flex-direction: column;
    }

    .dark-wrap-container h2 {
        order: 1;
    }

    .dark-wrap-container p {
        order: 2;
    }

    .dark-wrap-container .dashboard-mockup {
        order: 3;
        margin-top: 20px;
    }

    .dark-wrap-container .btn {
        order: 4;
        width: 100%;
    }

    /* Support Banner Reordering */
    .support-banner {
        flex-direction: column;
        display: flex;
    }

    .support-text {
        display: contents;
    }

    .support-banner h2 {
        order: 1;
        text-align: center;
    }

    .support-banner p {
        order: 2;
        text-align: center;
    }

    .support-img {
        order: 3;
        width: 100%;
        height: auto;
        margin: 20px 0;
    }

    .support-banner .btn {
        order: 4;
        width: 100%;
        margin: 10px auto;
    }

    /* Final CTA Reordering */
    .final-box {
        display: flex;
        flex-direction: column;
    }

    .final-box h2 {
        order: 1;
    }

    .final-box p {
        order: 2;
    }

    .final-box img {
        order: 3;
        margin: 20px auto;
    }

    .final-box .btn {
        order: 4;
        width: 100%;
    }

    .final-box .steps-list {
        order: 5;
        margin-top: 30px;
    }

    .support-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .support-text {
        padding: 30px;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .dark-wrap-container {
        padding: 40px 20px;
    }

    .steps-list {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .top-test-card {
        flex-direction: column;
        text-align: center;
    }
}