/* Inherits variables from root style.css */

.mcards-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 2rem;
    /* Groups content better vertically */
}

.app-tagline {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0;
    /* Control gap via logo margin-top */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.app-logo {
    width: 150px;
    height: auto;
    margin-top: 1rem;
    /* Adjust this to control space with tagline */
    margin-bottom: 0.5rem;
    /* Adjust this to control space with title */
    filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.3));
}

.app-description {
    max-width: 800px;
    margin: 1.5rem auto 2rem auto;
    /* Reduced from 2.5rem/3rem to pull buttons up */
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.feature-title {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tech-highlights {
    margin-top: 4rem;
    padding: 3rem;
    border: 1px solid var(--border);
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(10px);
}

.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* Biometric & Privacy Badges */
.badge-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    background: rgba(0, 255, 157, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mcards-hero {
        padding-top: 5rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .app-tagline {
        font-size: 0.9rem;
    }

    .app-logo {
        width: 100px;
        margin-top: 3rem;
    }

    .app-description {
        font-size: 1rem;
        padding: 0 1.5rem;
        margin: 2rem auto 2.5rem auto;
    }

    .badge-container {
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-highlights {
        padding: 1.5rem;
    }

    .tech-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Warning Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--accent);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.warning-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.modal-content p {
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn.small {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

#download-anyway {
    border-color: #555;
    color: #888;
}

#download-anyway:hover {
    color: #fff;
    border-color: #fff;
    box-shadow: none;
    animation: none;
}

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    border-color: var(--accent);
    background: rgba(0, 255, 157, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 255, 157, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

.screenshot-carousel {
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
}

.screenshot-container {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.screenshot-container.active {
    display: flex;
}

.screenshot-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.screenshot {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
    display: none;
    transition: all 0.5s ease;
}

.screenshot.active {
    display: block;
    animation: fadeInScale 0.5s ease;
}

.mobile-screenshot {
    max-width: 300px;
}

.windows-screenshot {
    max-width: 800px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.screenshot-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.indicators {
    display: none;
    gap: 0.8rem;
}

.indicators.active {
    display: flex;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(0, 255, 157, 0.3);
    border-color: var(--accent);
}

.indicator.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

/* Mobile Responsiveness for Screenshots */
@media (max-width: 768px) {
    .screenshots-section {
        padding: 2rem 1rem;
    }

    .platform-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .screenshot-container {
        flex-direction: column;
        gap: 1rem;
    }

    .screenshot-wrapper {
        min-height: 300px;
    }

    .screenshot {
        max-height: 500px;
    }

    .mobile-screenshot {
        max-width: 250px;
    }

    .windows-screenshot {
        max-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}