/* Training Info Screen Styles */

:root {
    --primary-blue: #0066FF;
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.6);
    --border-color: rgba(0, 102, 255, 0.2);
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
    margin-right: auto;
}

.back-btn:hover {
    color: var(--primary-blue);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.desktop-nav {
    display: none;
    gap: 12px;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-black);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-header img {
    height: 48px;
}

.drawer-nav {
    padding: 0;
}

.drawer-link {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    padding: 16px 24px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s;
}

.drawer-link:hover {
    background-color: rgba(0, 102, 255, 0.1);
}

/* Sections */
.section {
    position: relative;
    height: calc(100vh - 64px);
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 40px;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.13));
    z-index: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-image {
    display: none;
}

.hero-phones-mobile {
    width: 98%;
    max-width: 500px;
    margin-bottom: 16px;
}

.hero-text {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.hero-title {
    color: var(--primary-blue);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 16px;
}

.store-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.store-badge {
    width: 45%;
    max-width: 180px;
}

.store-badge img {
    width: 100%;
    height: auto;
}

/* Create Section */
.create-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(-5vh);
}

.create-text {
    text-align: center;
    order: 1;
}

.create-image {
    width: 95%;
    order: 2;
}

.create-image img {
    width: 100%;
    height: auto;
}

.section-heading {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 6px;
}

.text-blue {
    color: var(--primary-blue);
}

.section-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Schedule Section */
.schedule-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.schedule-image {
    width: 95%;
    order: 2;
}

.schedule-image img {
    width: 100%;
    height: auto;
}

.schedule-text {
    text-align: center;
    order: 1;
}

/* Stats Section */
.stats-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.stats-image {
    width: 95%;
    order: 2;
}

.stats-image img {
    width: 100%;
    height: auto;
}

.stats-text {
    text-align: center;
    order: 1;
}

/* Features Section */
.features-section {
    background-color: transparent;
    padding-top: 90px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.features-content {
    max-width: 1100px;
}

.features-title {
    color: var(--text-white);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
}

.features-accordion {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.feature-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    padding: 8px 0;
    user-select: none;
}

/* Indicador visual de despliegue en el acordeón */
.feature-item > .feature-title::after {
    content: '▸';
    float: right;
    color: var(--primary-blue);
    transition: transform 0.2s ease;
}
.feature-item[open] > .feature-title::after {
    content: '▾';
}

.feature-title::-webkit-details-marker {
    display: none;
}

.feature-list {
    list-style: none;
    padding: 8px 0 8px 16px;
}

.feature-list li {
    color: var(--text-gray);
    line-height: 1.5;
    padding: 4px 0;
    display: flex;
    gap: 8px;
}

.feature-list li::before {
    content: '●';
    color: var(--primary-blue);
    font-size: 6px;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Scroll Arrows */
.scroll-arrow {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

.scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-arrow.down {
    bottom: 30px;
}

.scroll-arrow.up {
    top: 80px;
}

.scroll-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Utility Classes */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

/* Desktop Styles (≥900px) */
@media (min-width: 900px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }

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

    /* Hero Section Desktop */
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        width: 100%;
        padding: 0 40px;
        gap: 0;
    }

    .hero-text {
        flex: 0 0 40%;
        text-align: left;
        order: 1;
        max-width: 500px;
        padding-right: 0;
    }

    .hero-image {
        display: flex;
        flex: 0 0 55%;
        justify-content: flex-end;
        align-items: center;
        transform: scale(0.95);
        order: 2;
        padding-left: 0;
    }

    .hero-image img {
        max-height: 75vh;
        width: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }

    .hero-text {
        flex: 4;
        text-align: left;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description { font-size: 18px; }

    .store-badges {
        justify-content: flex-start;
    }

    .store-badge {
        width: 12%;
        min-width: 140px;
    }

    /* Create Section Desktop */
    .create-content {
        flex-direction: row;
        align-items: center;
        padding-top: 14px;
        max-width: 1400px;
        justify-content: space-between;
        gap: 0;
        transform: translateY(-7vh);
    }

    .create-text {
        flex: 0 0 35%;
        text-align: left;
        order: 1;
        padding-left: 40px;
    }

    .create-image {
        flex: 0 0 60%;
        order: 2;
        transform: scale(0.9);
    }

    .create-image img {
        max-height: 70vh;
        width: auto;
    }

    .section-heading {
        font-size: 36px;
    }

    .section-description { font-size: 18px; }

    /* Schedule Section Desktop */
    .schedule-content {
        flex-direction: row;
        align-items: center;
        padding-top: 12px;
        max-width: 1400px;
        justify-content: space-between;
        gap: 0;
    }

    .schedule-image {
        flex: 0 0 54%;
        order: 1;
        transform: none;
        padding-left: 0;
        margin-left: -96px;
    }

    .schedule-image img {
        max-height: 62vh;
        width: auto;
    }

    .schedule-text {
        flex: 0 0 42%;
        text-align: left;
        order: 2;
        padding-right: 32px;
    }

    .schedule-text .section-heading { font-size: 36px; }

    /* Stats Section Desktop */
    .stats-content {
        flex-direction: row;
        align-items: center;
        padding-top: 12px;
        max-width: 1400px;
        justify-content: space-between;
        gap: 0;
    }

    .stats-image {
        flex: 0 0 54%;
        order: 1;
        transform: none;
        padding-left: 0;
        margin-left: -96px;
    }

    .stats-image img {
        max-height: 62vh;
        width: auto;
    }

    .stats-text {
        flex: 0 0 42%;
        text-align: left;
        order: 2;
        padding-right: 32px;
    }

    .stats-text .section-heading { font-size: 36px; }

    .features-title { font-size: 36px; }

    /* Scroll Arrows Desktop */
    .scroll-arrow {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .scroll-arrow.down {
        bottom: 30px;
    }

    .scroll-arrow.up {
        top: 80px;
    }
}

/* Tablet header fix: hide desktop nav and show mobile menu */
@media (min-width: 900px) and (max-width: 1100px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Ocultar flechas en móviles */
@media (max-width: 599px) {
    .scroll-arrow { display: none; }
    .schedule-section, .stats-section {
        height: auto;
        min-height: calc(100vh - 64px);
        overflow: auto;
        padding: 72px 16px 32px;
    }
    .schedule-image img, .stats-image img {
        max-height: 50vh;
        width: 100%;
        height: auto;
    }
    .schedule-content, .stats-content { gap: 16px; }
    .schedule-text, .stats-text { margin-bottom: 8px; margin-top: 8px; }
    .create-content { transform: none; }
    .schedule-content { flex-direction: column; }
    .schedule-text { order: 1; }
    .schedule-image { order: 2; }
    .stats-content { flex-direction: column; }
    .stats-text { order: 1; }
    .stats-image { order: 2; }
}

/* Tablet Styles (600-899px) */
@media (min-width: 600px) and (max-width: 899px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description { font-size: 18px; }

    .section-heading {
        font-size: 32px;
    }
    
    .hero-description { font-size: 18px; }
    .section-description { font-size: 18px; }

    .schedule-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1100px;
        width: 100%;
        padding: 0 24px;
        gap: 0;
    }
    .schedule-image {
        flex: 0 0 50%;
        order: 1;
        transform: none;
        padding-left: 0;
        margin-left: -48px;
        width: auto;
    }
    .schedule-image img {
        max-height: 64vh;
        width: 100%;
        height: auto;
    }
    .schedule-text {
        flex: 0 0 50%;
        text-align: left;
        order: 2;
        padding-right: 24px;
    }
    .schedule-section { height: auto; min-height: calc(100vh - 64px); padding: 64px 16px 24px; overflow: visible; }

    .stats-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1100px;
        width: 100%;
        padding: 0 24px;
        gap: 0;
    }
    .stats-image {
        flex: 0 0 50%;
        order: 1;
        transform: none;
        padding-left: 0;
        margin-left: -48px;
        width: auto;
    }
    .stats-image img {
        max-height: 64vh;
        width: 100%;
        height: auto;
    }
    .stats-text {
        flex: 0 0 50%;
        text-align: left;
        order: 2;
        padding-right: 24px;
    }
}
    .stats-section { height: auto; min-height: calc(100vh - 64px); padding: 64px 16px 24px; overflow: visible; }
}

    
