/* ===================================
   Apps Page - Minimal Professional Design
   =================================== */

.apps-body {
    background: #0A0A0A;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.apps-container {
    min-height: 100vh;
    padding-top: var(--nav-height);
}

.apps-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

/* Section Title - Minimal */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 50px;
    font-weight: 500;
    text-align: center;
}

/* ===================================
   Hero Section - Minimal
   =================================== */
.apps-hero {
    text-align: center;
    padding: 80px 40px;
    margin-bottom: 60px;
    position: relative;
}

.apps-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.apps-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(80, 176, 255, 0.1);
    border: 1px solid rgba(80, 176, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-secondary);
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.apps-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.apps-tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    font-weight: 300;
}

.apps-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    color: #50B0FF;
    font-size: 1.1rem;
}

.stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ===================================
   Overview - Minimal Card
   =================================== */
.apps-overview {
    margin-bottom: 80px;
}

.overview-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #50B0FF;
}

.overview-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.overview-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ===================================
   Gallery - Minimal Grid
   =================================== */
.apps-gallery {
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.screenshot-caption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ===================================
   Features - Minimal Grid
   =================================== */
.apps-features-modern {
    margin-bottom: 80px;
}

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

.feature-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #50B0FF;
    transition: height 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 176, 255, 0.1);
    border: 1px solid rgba(80, 176, 255, 0.2);
    margin-bottom: 20px;
    border-radius: 2px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #50B0FF;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   How To Steps - Minimal
   =================================== */
.apps-howto {
    margin-bottom: 80px;
}

.howto-steps {
    display: grid;
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(80, 176, 255, 0.1);
    border: 2px solid rgba(80, 176, 255, 0.3);
    color: #50B0FF;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 2px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.step-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.step-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.step-link i {
    color: #50B0FF;
}

/* ===================================
   Download Section - Minimal
   =================================== */
.apps-download-modern {
    margin-bottom: 60px;
}

.download-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.download-header i {
    font-size: 3rem;
    color: #50B0FF;
    margin-bottom: 20px;
}

.download-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.download-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.download-info-box {
    padding: 25px;
    background: rgba(80, 176, 255, 0.05);
    border-left: 3px solid #50B0FF;
    margin-bottom: 40px;
    text-align: left;
}

.download-info-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.download-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.btn-download.primary {
    background: rgba(80, 176, 255, 0.15);
    border-color: rgba(80, 176, 255, 0.3);
    color: #fff;
}

.btn-download.primary:hover {
    background: rgba(80, 176, 255, 0.25);
    border-color: rgba(80, 176, 255, 0.5);
    transform: translateY(-2px);
}

.btn-download.secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.btn-download.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-download i {
    font-size: 1.8rem;
    color: #50B0FF;
}

.btn-download span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.btn-download strong {
    font-size: 1rem;
    font-weight: 500;
}

.btn-download small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.download-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.download-footer a {
    color: #50B0FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.download-footer a:hover {
    color: #70C0FF;
    text-decoration: underline;
}

/* ===================================
   Responsive Design
   =================================== */
@media screen and (max-width: 768px) {
    .apps-main {
        padding: 24px;
    }

    .apps-hero {
        padding: 60px 24px;
    }

    .overview-card {
        padding: 30px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .step-card {
        flex-direction: column;
        padding: 24px;
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-buttons-modern {
        flex-direction: column;
        width: 100%;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}
