/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY & CONTAINER ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER & NAVIGATION - COMPACT ===== */
header {
    background: rgba(10, 10, 20, 0.95);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #4cc9f0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4cc9f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.logo img {
    height: 35px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #4cc9f0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(76, 201, 240, 0.3);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid rgba(76, 201, 240, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #4cc9f0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #4cc9f0;
    background: rgba(76, 201, 240, 0.1);
    transform: translateY(-1px);
}

/* ===== DOWNLOAD PROGRESS OVERLAY - COMPACT ===== */
.download-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.download-overlay.active {
    display: block;
}

.download-progress {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(10, 10, 20, 0.95));
    padding: 25px 40px;
    border-radius: 12px;
    border: 2px solid #4cc9f0;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(76, 201, 240, 0.4);
}

.download-progress.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.download-spinner {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(76, 201, 240, 0.2);
    border-top: 3px solid #4cc9f0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.download-text {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.download-percent {
    font-size: 1.6rem;
    color: #4cc9f0;
    font-weight: bold;
}

/* ===== SECTION DIVIDER - COMPACT ===== */
.section-divider {
    height: 1px;
    background: transparent;
    position: relative;
    margin: 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.5), transparent);
}

/* ===== VIDEO SECTION - COMPACT ===== */
.video-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    margin-top: 70px;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.3);
    border: 2px solid rgba(76, 201, 240, 0.3);
    padding-bottom: 56.25%;
    height: 0;
}

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

.video-content {
    padding: 10px;
}

.video-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.video-content h2 .accent-text {
    color: #4cc9f0;
}

.video-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.video-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #cccccc;
    margin-bottom: 8px;
}

.app-description {
    margin: 15px 0;
}

.video-cta {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.video-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 201, 240, 0.4);
}

/* ===== HERO SECTION - COMPACT ===== */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(76, 201, 240, 0.1) 0%, rgba(10, 10, 20, 0.8) 70%);
    padding: 50px 20px;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #4cc9f0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #cccccc;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 3px 10px rgba(76, 201, 240, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.5);
}

/* ===== ABOUT SECTION - COMPACT ===== */
.about-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.9) 0%, rgba(10, 10, 20, 0.9) 100%);
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-text h2 .accent-text {
    color: #4cc9f0;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cccccc;
    margin-bottom: 12px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 300px;
    border: 2px solid rgba(76, 201, 240, 0.3);
    position: relative;
    overflow: hidden;
    background-image: url('imag/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== FEATURES SECTION - COMPACT ===== */
.features {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title .accent-text {
    color: #4cc9f0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #4cc9f0;
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.2);
}

.feature-icon {
    font-size: 2.2rem;
    color: #4cc9f0;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* ===== INSTRUCTIONS SECTION - COMPACT ===== */
.instructions-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.instructions-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instructions-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.2);
    transition: all 0.3s ease;
}

.instruction-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(76, 201, 240, 0.4);
    transform: translateY(-3px);
}

.step-number {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(76, 201, 240, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-content p {
    color: #cccccc;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.step-content ol {
    color: #cccccc;
    margin-left: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.step-content li {
    margin-bottom: 6px;
    line-height: 1.3;
}

.step-link {
    color: #4cc9f0;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.step-link:hover {
    text-decoration: underline;
    color: #7bd9f5;
}

.step-note {
    display: flex;
    align-items: flex-start;
    background: rgba(76, 201, 240, 0.1);
    padding: 8px 10px;
    border-radius: 6px;
    border-left: 2px solid #4cc9f0;
    font-size: 0.85rem;
}

.note-icon {
    margin-right: 6px;
    font-size: 1rem;
}

.step-note span:last-child {
    color: #cccccc;
}

/* ===== SUPPORT SECTION - COMPACT ===== */
.support-section {
    text-align: center;
    background: rgba(76, 201, 240, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.support-section h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.support-section p {
    color: #cccccc;
    margin-bottom: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-size: 0.9rem;
}

.support-button {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.support-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 201, 240, 0.4);
}

/* ===== DOWNLOAD SECTION - COMPACT ===== */
.download-section {
    padding: 60px 15px;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    text-align: center;
}

.download-subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.version-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.version-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 30px 20px;
    border-radius: 12px;
    border: 2px solid rgba(76, 201, 240, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    width: 300px;
    min-height: 550px;
}

.version-card:hover {
    transform: translateY(-5px);
    border-color: #4cc9f0;
    box-shadow: 0 10px 25px rgba(76, 201, 240, 0.3);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(76, 201, 240, 0.2);
}

.version-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
}

.version-badge {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.version-requirement {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.requirement-icon {
    margin-right: 5px;
    font-size: 1rem;
}

.version-requirement span {
    color: #ffc107;
    font-weight: bold;
    font-size: 0.8rem;
}

.version-description {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.4;
}

.version-features {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
}

.version-features li {
    padding: 5px 0;
    color: #ffffff;
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.version-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4cc9f0;
    font-weight: bold;
    font-size: 0.9rem;
}

.version-features li strong {
    color: #4cc9f0;
}

.version-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.download-btn {
    background: linear-gradient(45deg, #4cc9f0, #4361ee);
    color: #ffffff;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(76, 201, 240, 0.4);
    width: 100%;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.6);
}

.download-btn.downloading {
    opacity: 0.7;
    cursor: not-allowed;
}

.download-notice {
    display: flex;
    align-items: flex-start;
    background: rgba(76, 201, 240, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    max-width: 700px;
    margin: 30px auto 0;
    text-align: left;
}

.notice-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.notice-content p {
    color: #cccccc;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* ===== FOOTER - COMPACT ===== */
footer {
    background: #0a0a14;
    padding: 25px 0 12px;
    border-top: 2px solid #4cc9f0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
    align-items: start;
}

.footer-section {
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-section h3 {
    color: #4cc9f0;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.footer-section .accent-text {
    color: #4cc9f0;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.1);
    border: 2px solid rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    color: #4cc9f0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(76, 201, 240, 0.2);
    border-color: #4cc9f0;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 201, 240, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(76, 201, 240, 0.2);
    color: #888;
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .version-container {
        gap: 15px;
    }
    
    .version-card {
        width: 280px;
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .version-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .version-card {
        width: 100%;
        max-width: 350px;
        min-height: auto;
        padding: 25px 15px;
    }
    
    .version-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .download-notice {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .notice-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .video-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-content h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .video-content {
        padding: 5px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-image {
        order: 1;
        height: 200px;
    }

    .about-text {
        order: 2;
    }

    .about-text h2 {
        font-size: 1.7rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-left {
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .download-progress {
        padding: 20px 25px;
    }
    
    .instruction-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .step-note {
        flex-direction: column;
        text-align: center;
    }
    
    .note-icon {
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .support-section {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .version-card {
        padding: 20px 12px;
    }
    
    .version-title {
        font-size: 1.3rem;
    }
    
    .download-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .video-content h2 {
        font-size: 1.4rem;
    }
    
    .hero {
        min-height: 35vh;
        padding: 40px 15px;
    }
    
    .video-section {
        padding: 50px 0 30px;
    }
    
    .about-section, .features, .instructions-section, .download-section {
        padding: 50px 0;
    }
}