/* ===================================
   ADOCOSE Academy - Estilos CSS
   =================================== */

/* Variables */
:root {
    /* Azul metálico */
    --primary: #4a6fa5;
    --primary-dark: #345082;
    --primary-light: #6b8fc5;
    --primary-metallic: linear-gradient(135deg, #4a6fa5 0%, #5d82b8 50%, #4a6fa5 100%);
    --secondary: #1a2a3a;
    /* Naranja */
    --accent: #e87722;
    --accent-light: #f5923e;
    --accent-dark: #c95f10;
    --success: #10b981;
    --text: #1a2a3a;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-gray: #f7f9fc;
    --bg-dark: #1a2a3a;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-light);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-academy {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
    margin-left: -6px;
}

.footer .logo-img {
    height: 40px;
}

.footer .logo-text,
.footer .logo-academy {
    font-size: 1.25rem;
}

.footer-logo .logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-academy {
    margin-left: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 50%, #fff8f3 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(74, 111, 165, 0.1) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(20px);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateX(0);
}

.hero-card:nth-child(2) {
    transform: translateX(40px);
}

.hero-card:nth-child(2):hover {
    transform: translateX(20px);
}

.hero-card:nth-child(3) {
    transform: translateX(60px);
}

.hero-card:nth-child(3):hover {
    transform: translateX(40px);
}

.card-icon {
    font-size: 2rem;
}

.hero-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(74, 111, 165, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* Video Sections */
.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.play-button {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-button svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-left: 4px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1;
}

.video-overlay h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.video-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.about-content {
    max-width: 800px;
    margin: 48px auto 0;
    text-align: center;
}

.about-text p {
    margin-bottom: 16px;
}

/* Message Sections */
.message-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.message-grid.reverse {
    direction: rtl;
}

.message-grid.reverse > * {
    direction: ltr;
}

.message-content {
    padding: 20px 0;
}

.message-content h2 {
    margin-bottom: 4px;
}

.message-title {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 24px;
}

.message-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 24px 0;
}

.message-content p {
    margin-bottom: 16px;
}

/* Ventajas */
.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ventaja-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.ventaja-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.ventaja-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ventaja-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.ventaja-card h3 {
    margin-bottom: 12px;
}

/* Cursos */
.cursos-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.curso-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.curso-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.curso-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.curso-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(74, 111, 165, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curso-card.featured .curso-badge {
    background: var(--accent);
    color: white;
}

.curso-card h4 {
    margin-bottom: 8px;
    color: var(--secondary);
}

.curso-card p {
    font-size: 0.9375rem;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    text-align: center;
    padding: 120px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
}

.cta-feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.section-cta .btn-primary {
    background: var(--accent);
    color: var(--secondary);
}

.section-cta .btn-primary:hover {
    background: var(--accent-light);
}

.cta-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Tutorial Section */
.section-tutorial {
    padding: 100px 0;
}

.tutorial-video {
    margin-bottom: 60px;
}

.tutorial-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    max-width: 280px;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        display: none;
    }

    .message-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .message-grid.reverse {
        direction: ltr;
    }

    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .ventajas-grid,
    .cursos-grid {
        grid-template-columns: 1fr;
    }

    .cursos-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .tutorial-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .tutorial-step {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .btn-xl {
        padding: 16px 32px;
        font-size: 1rem;
    }
}
