@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --google-blue-dark: #1a73e8;
    --text-dark: #202124;
    --text-muted: #5f6368;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

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

section {
    padding: 3.5rem 0; /* Reduced spacing to avoid "empty" feel */
}

/* --- Top Bar --- */
.top-bar {
    background: #FBBC05; /* Yellow Google */
    color: #000;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    position: relative; /* Changed from sticky */
    z-index: 2000;
    text-align: center;
}

.top-bar p {
    margin-bottom: 0;
}

#timer {
    font-weight: 800;
    color: var(--google-red);
    background: rgba(255,255,255,0.8);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

/* --- Navigation/Header --- */
header {
    background: var(--white);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    position: relative; /* Changed from sticky */
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-colors {
    display: flex;
    gap: 4px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.blue { background: var(--google-blue); }
.red { background: var(--google-red); }
.yellow { background: var(--google-yellow); }
.green { background: var(--google-green); }

/* --- Improved Global Responsiveness --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Hero Section Refined --- */
.hero {
    background: radial-gradient(circle at center, #ffffff 0%, #f0f7ff 100%);
    padding: 3.5rem 0;
}

.hero-image-container {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.hero-image-container img {
    object-fit: cover;
}

/* --- Section Helpers --- */
.bg-alt {
    background: #fbfdff;
    border-top: 1px solid #f0f4f8;
    border-bottom: 1px solid #f0f4f8;
}

.marker {
    background: linear-gradient(120deg, rgba(251, 188, 5, 0.3) 0%, rgba(251, 188, 5, 0.3) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
    background-position: 0 88%;
    font-weight: 600;
}

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 2rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

.trust-bar .avatars {
    display: flex;
    padding-left: 10px; /* Offset for the negative margin of the first child if needed, but here it's for balance */
}

@media (max-width: 600px) {
    .trust-bar {
        flex-direction: column;
        gap: 10px;
    }
    .trust-bar .avatars {
        margin-bottom: 5px;
    }
}

.trust-bar .avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.trust-bar .avatars img:first-child { margin-left: 0; }

/* Feature Card Hover */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--google-blue);
    background: white;
    box-shadow: var(--shadow-md);
}

/* --- Reviews Section --- */
.reviews {
    background-color: var(--white);
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--google-blue);
}

.reviewer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e0e0e0;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 3px solid var(--google-blue);
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: var(--google-yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 700;
    margin-top: 1rem;
    display: block;
    color: var(--text-dark);
}

/* --- Bonus Section --- */
.bonuses {
    background: #fdfdfd;
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bonus-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px dashed var(--google-green);
    position: relative;
    overflow: hidden;
}

.bonus-card::after {
    content: 'GRATIS';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--google-green);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 800;
}

.bonus-icon {
    font-size: 2.5rem;
    background: rgba(52, 168, 83, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Irresistible Value Stack --- */
.offer {
    background: #f0f7ff;
    border-top: 1px solid #e0e0e0;
}

.price-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #eef2f7;
}

.package-header {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.package-items {
    text-align: left;
    margin-bottom: 2rem;
}

.bonus-box {
    background: rgba(52, 168, 83, 0.05);
    border: 2px dashed var(--google-green);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.bonus-box h4 {
    color: var(--google-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-box {
    margin: 2rem 0;
    text-align: center; /* Ensures the price stack is centered */
}

.old-price-line {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.special-price {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--google-blue);
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.cta-button {
    background: #ff0000; /* Red Vibrante */
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.4);
    filter: brightness(1.1);
}

.trust-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    background: rgba(234, 67, 53, 0.1);
    color: var(--google-red);
}

/* Headlines */
h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--google-blue);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(66, 133, 244, 0.1);
    z-index: -1;
}

.subheadline {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .cta-button { font-size: 1.1rem; width: 100%; text-align: center; }
}

/* --- Guarantee --- */
.guarantee {
    background: var(--white);
    text-align: center;
}

.guarantee-badge {
    width: 120px;
    margin-bottom: 1.5rem;
}

/* --- Comparison Table (Tú vs Agencia) --- */
.vs-section {
    background: #ffffff;
}

.vs-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.vs-header, .vs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.vs-header {
    background: #f8f9fa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.vs-cell {
    padding: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.vs-label {
    text-align: left;
    font-weight: 600;
    background: #fdfdfd;
}

.vs-agencia {
    color: #999;
}

.vs-metodo {
    background: rgba(66, 133, 244, 0.05); /* Very light Google Blue */
    font-weight: 700;
    color: var(--google-blue);
    position: relative;
    border-left: 2px solid var(--google-blue);
}

.check-vibrant {
    color: var(--google-green);
    font-weight: 800;
    margin-right: 5px;
}

.pie-tabla {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .vs-header { display: none; }
    .vs-row {
        grid-template-columns: 1fr;
    }
    .vs-label {
        background: #eee;
        padding: 0.75rem 1.5rem;
    }
    .vs-cell {
        padding: 1rem 1.5rem;
    }
    .vs-metodo {
        border-left: none;
        border-top: 2px solid var(--google-blue);
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 10px 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
}

.sticky-mobile-cta .cta-button {
    margin: 0;
    padding: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }
    body {
        padding-bottom: 80px; /* Space for the sticky button */
    }
}

/* --- Visual Guarantee Badge --- */
.visual-guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
}

.guarantee-seal {
    width: 60px;
    height: 60px;
    background: var(--google-green);
    border-radius: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(52, 168, 83, 0.3);
}

.guarantee-seal span {
    font-size: 1.2rem;
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Light Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0; /* Ensures it starts invisible for animation */
    animation: fadeInUp 0.8s ease forwards;
}

/* Delays for children */
.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.3s; }
.reveal-4 { animation-delay: 0.4s; }
/* --- Footer Redesign --- */
footer {
    background: #111111; /* Black/Dark Gray */
    padding: 4rem 0 3rem;
    text-align: center;
    border-top: 1px solid #222;
    color: #888;
    font-size: 0.85rem;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 0 10px;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.affiliation-note {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #555;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #222;
    text-align: center;
}
