/* 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;
}

.app-tagline {
    color: var(--primary);
    background: var(--accent);
    padding: 0.5rem 1rem;
    border: var(--border-width) solid var(--border);
    box-shadow: 3px 3px 0px var(--border);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.app-logo {
    width: 150px;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border: var(--border-width) solid var(--border);
    background: #fff;
    padding: 0.5rem;
    box-shadow: var(--shadow);
}

.app-description {
    max-width: 800px;
    margin: 1.5rem auto 2rem auto;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    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: var(--card-bg);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-hover);
    background: var(--accent-purple);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: #fff;
    padding: 1rem;
    border: 2px solid var(--border);
    box-shadow: 2px 2px 0px var(--border);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-title {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tech-highlights {
    margin-top: 4rem;
    padding: 3rem;
    border: var(--border-width) solid var(--border);
    background: var(--accent-blue);
    color: #fff;
    box-shadow: var(--shadow);
}

.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: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-shadow: 2px 2px 0px var(--border);
}

/* 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: 2px solid var(--border);
    color: var(--primary);
    font-weight: 700;
    border-radius: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    background: var(--accent);
    box-shadow: 2px 2px 0px var(--border);
}

/* 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: var(--card-bg);
    border: var(--border-width) solid var(--border);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.warning-icon {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border: 2px solid var(--border);
    box-shadow: 2px 2px 0px var(--border);
    display: inline-block;
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.modal-content p {
    color: var(--primary);
    font-weight: 600;
    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 {
    background: #e0e0e0;
}
#download-anyway:hover {
    background: #ccc;
}

/* 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: var(--card-bg);
    border: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: var(--accent);
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-hover);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
}

.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: var(--border-width) solid var(--border);
    box-shadow: var(--shadow);
    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: var(--card-bg);
    border: var(--border-width) solid var(--border);
    box-shadow: 3px 3px 0px var(--border);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--border);
}

.carousel-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px var(--border);
}

.screenshot-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.indicators {
    display: none;
    gap: 0.8rem;
}

.indicators.active {
    display: flex;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: #e0e0e0;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator:hover {
    background: var(--accent);
}

.indicator.active {
    background: var(--accent-blue);
    box-shadow: 2px 2px 0px var(--border);
}

/* 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: 12px; height: 12px; }
}