/* ================================================
   SMARTEC COLLEGE - LANDING MÉTODO VENTAS 30%
   ================================================ */

/* ================================================
   1. VARIABLES CSS Y RESET
   ================================================ */
:root {
    /* Colores principales de Smartec */
    --primary-magenta: #d917d9;
    --primary-purple: #8b2f9b;
    --secondary-pink: #ff00ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --gray-card: #f5f5f5;
    
    /* Tipografía */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Bordes */
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--light-text);
    background-color: var(--darker-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================================
   2. UTILIDADES Y COMPONENTES GLOBALES
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.highlight-magenta {
    color: var(--primary-magenta);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    text-transform: uppercase;
}

.section-title-white {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    color: var(--light-text);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-large {
    background: var(--primary-magenta);
    color: var(--light-text);
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 24px rgba(217, 23, 217, 0.4);
}

.btn-primary-large:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 0, 255, 0.5);
}

.btn-magenta {
    background: var(--primary-magenta);
    color: var(--light-text);
    padding: 1.2rem 2.8rem;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
}

.btn-magenta:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 255, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--light-text);
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    border-radius: var(--border-radius-lg);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* ================================================
   3. SECTION 1: HERO - SI YA INTENTASTE VENDER
   ================================================ */
.hero-section {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.hero-cta {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--light-text);
}

/* ================================================
   4. SECTION 2: VALUE PROPOSITION CON BRANDON
   ================================================ */
.value-section {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.value-image img {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.value-content {
    padding: var(--spacing-md);
    padding-left: 3rem;
}

.value-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.logo-smartec {
    margin-top: var(--spacing-md);
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

.logo-smartec img {
    width: 120px;
    height: auto;
}

/* ================================================
   5. SECTION 3: LOGOS DE EMPRESAS
   ================================================ */
.logos-section {
    background: linear-gradient(135deg, rgba(217, 23, 217, 0.1) 0%, rgba(139, 47, 155, 0.1) 100%);
    padding: var(--spacing-lg) 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: var(--spacing-md);
    align-items: center;
    justify-items: center;
}

.logo-item {
    width: 100%;
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Ocultar logos duplicados en desktop */
.logo-item:nth-child(n+9) {
    display: none;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ================================================
   6. SECTION 4: PARA QUIÉN ES ESTE MÉTODO
   ================================================ */
.ideal-section {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0;
}

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.ideal-card {
    background: transparent;
    border: 3px solid var(--primary-magenta);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ideal-card p {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--light-text);
}

.ideal-card:hover {
    background: var(--primary-magenta);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(217, 23, 217, 0.4);
}

/* ================================================
   7. SECTION 3.5: VIDEO DE YOUTUBE
   ================================================ */
.video-section {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 40px rgba(217, 23, 217, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
}

/* ================================================
   8. SECTION 5: HISTORIA PERSONAL / TESTIMONIOS
   ================================================ */
.story-section {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.story-card {
    background: var(--dark-bg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.quote-icon {
    margin-bottom: var(--spacing-sm);
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-text);
}

/* ================================================
   8. SECTION 6: CTA FINAL CON WHATSAPP
   ================================================ */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--primary-purple) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-final-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.cta-final-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

.cta-privacy {
    margin-top: var(--spacing-md);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ================================================
   9. FOOTER
   ================================================ */
.footer {
    background: var(--darker-bg);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid rgba(217, 23, 217, 0.2);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-magenta);
    margin-bottom: var(--spacing-sm);
}

.footer-text {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: var(--spacing-sm);
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--gray-text);
    opacity: 0.7;
}

/* ================================================
   10. RESPONSIVE - TABLET (768px)
   ================================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .value-image {
        order: 2;
    }
    
    .value-content {
        order: 1;
        text-align: center;
    }
    
    .value-title {
        font-size: 2.2rem;
    }
    
    .logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
    }
    
    .ideal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .section-title,
    .section-title-white {
        font-size: 2rem;
    }
    
    .cta-final-title {
        font-size: 2.2rem;
    }
    
    .cta-final-subtitle {
        font-size: 1.1rem;
    }
}

/* ================================================
   11. RESPONSIVE - MOBILE (480px)
   ================================================ */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .btn-primary-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .btn-magenta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-whatsapp {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* VALUE SECTION - Imagen centrada arriba en mobile */
    .value-section {
        padding: 2rem 0;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .value-image {
        order: 1;
        display: flex;
        justify-content: center;
    }
    
    .value-image img {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .value-content {
        order: 2;
        padding: 0;
        text-align: center;
    }
    
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .logo-smartec {
        text-align: center;
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
    }
    
    .logo-smartec img {
        margin: 0 auto;
    }
    
    /* LOGOS SECTION - Carrusel en mobile */
    .logos-section {
        padding: 2rem 0;
        overflow: hidden;
    }
    
    .logos-grid {
        display: flex;
        animation: scroll-logos 20s linear infinite;
        gap: 2rem;
        width: max-content;
    }
    
    /* Mostrar todos los logos en mobile (incluyendo duplicados) */
    .logo-item {
        width: 100px;
        flex-shrink: 0;
        display: block;
    }
    
    .logo-item:nth-child(n+9) {
        display: block;
    }
    
    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    /* SECTIONS - Reducir espacios */
    .ideal-section,
    .story-section,
    .video-section,
    .final-cta-section {
        padding: 2rem 0;
    }
    
    .video-wrapper {
        border-radius: var(--border-radius);
        box-shadow: 0 8px 24px rgba(217, 23, 217, 0.2);
    }
    
    .video-wrapper iframe {
        border-radius: var(--border-radius);
    }
    
    .ideal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ideal-card {
        min-height: 100px;
        padding: 1.5rem;
    }
    
    .ideal-card p {
        font-size: 1rem;
    }
    
    .section-title,
    .section-title-white {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .story-grid {
        gap: 1.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .cta-final-title {
        font-size: 1.8rem;
    }
    
    .cta-final-subtitle {
        font-size: 1rem;
    }
    
    .story-text {
        font-size: 0.95rem;
    }
}

/* ================================================
   12. ANIMACIONES Y EFECTOS
   ================================================ */

/* ================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: float-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.7);
}

.whatsapp-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-ring 2s ease-in-out infinite;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes whatsapp-ring {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive para botón flotante */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
    }
    
    .whatsapp-icon {
        width: 35px;
        height: 35px;
    }
    
    .whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .whatsapp-text {
        font-size: 0.75rem;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ================================================
   12. ANIMACIONES Y EFECTOS (continuación)
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll snap para secciones */
section {
    scroll-margin-top: 2rem;
}

/* Efecto de hover en cards */
.ideal-card,
.story-card {
    position: relative;
    overflow: hidden;
}

.ideal-card::before,
.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ideal-card:hover::before,
.story-card:hover::before {
    left: 100%;
}
