/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {
    --accent: #6E00FF;
    --primary: #CCFF00;
    --dark: #1A1A2E;
    --light: #F5F5F7;
    --pink: #FF2D75;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #888888;

}

/* ===== RESET Y ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container, 
.section-container,
.hero-container,
.case-study-container,
.cta-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== HERO SECTION ===== */
.ad-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    margin-top: 40px;
    width: 50vw;
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    padding: 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-content {
    padding-right: 2rem;
}

.ad-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.ad-hero h1 span {
    color: var(--primary);
    display: relative;
}

.ad-hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.metric-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.metric-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image-container:hover .image-wrapper {
    transform: perspective(1000px) rotateY(-5deg) scale(1.03);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(110, 0, 255, 0.3), rgba(204, 255, 0, 0.2));
    mix-blend-mode: multiply;
}

/* ===== PLATAFORMAS SECTION ===== */
.platforms-section {
    background-color: var(--light);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 0, 255, 0.1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: rotate(15deg) scale(1.1);
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.platform-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== PROCESO SECTION ===== */
.process-section {
    background-color: var(--white);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 100px;
}



.process-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.step-number {
    position: fixed;
    left: -5%;
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
    z-index: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== CASO DE ÉXITO SECTION ===== */
.case-study-section {
    background-color: var(--dark);
    color: var(--white);
}

.case-study-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.case-content {
    padding-right: 2rem;
}

.case-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.case-content h2 span {
    color: var(--primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.result-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(110, 0, 255, 0.7), rgba(255, 45, 117, 0.5));
    mix-blend-mode: multiply;
}

/* ===== TESTIMONIOS SECTION ===== */
.testimonials-section {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(110, 0, 255, 0.1);
}

.quote-container {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(110, 0, 255, 0.1);
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.client-position {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(120deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo .ai {
    color: var(--primary);
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== BOTONES ===== */
.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.cta-button-outline:hover {
    background-color: var(--primary);
    color: var(--black);
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(204, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 2rem ;
    }
    
    .hero-text-content {
        padding-right: 0;
    }
    
    .metrics-container {
        max-width: 500px;
        margin: 3rem auto;
    }
    
    .case-study-container {
        grid-template-columns: 1fr;
    }
    
    .case-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .process-steps {
        padding-left: 0;
    }
    
    .process-steps::before {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .ad-hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-container {
        height: auto;
        width: 100% ; 
        margin-top: 0;
    }

    .ad-hero h1 {
        font-size: 2rem ;
    }

    .metrics-container {
        grid-template-columns: 1fr; 
    }

    .image-wrapper {
        transform: none; 
        margin-top: 2rem;
    }
    section {
        padding: 4rem 0;
    }
    
    .container, 
    .section-container,
    .hero-container,
    .case-study-container,
    .cta-container,
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .metrics-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}



@media (max-width: 576px) {
    .metrics-container,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding-left: 50px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text-content {
        padding: 0 ;
    }
    
    .metric-box {
        padding: 1rem;
    }
}