/* ===== App Hero ===== */
.app-hero {
    position: relative;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #162344 0%, #293955 50%, #264f86 100%);
    overflow: hidden;
}

.app-hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23grid)'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.app-hero .container {
    position: relative;
    z-index: 1;
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-hero-text {
    color: white;
}

.app-version-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
}

.app-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.app-hero-title span {
    display: block;
    color: #60a5fa;
}

.app-hero-desc {
    font-size: 1.1rem;
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.app-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-bazaar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-bazaar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6);
}

.btn-bazaar .download-icon {
    width: 20px;
    height: 20px;
    animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.btn-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.btn-scroll:hover {
    background: rgba(255,255,255,0.2);
}

.btn-scroll svg {
    width: 18px;
    height: 18px;
    animation: bounce 2s infinite;
}

.app-stats {
    display: flex;
    gap: 2.5rem;
}

.app-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.app-stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Phone Mockup */
.app-hero-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #111827;
    border-radius: 2.5rem;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 25px;
    background: #111827;
    border-radius: 0 0 1rem 1rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    border-radius: 2rem;
    overflow: hidden;
    padding: 2rem 1rem;
}

.app-preview {
    color: white;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    color: #94a3b8;
}

.preview-logo {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.preview-card {
    background: rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.preview-case {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 600;
}

.preview-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.preview-status.closed {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.preview-date {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.preview-nav {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-item {
    font-size: 0.7rem;
    color: #94a3b8;
    cursor: pointer;
}

.nav-item.active {
    color: #60a5fa;
}

/* ===== App Features ===== */
.app-features {
    padding: 3rem 0;
    background: #ffffff;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.app-feature-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.app-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #93c5fd;
}

.app-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.app-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.app-feature-icon.blue { background: #dbeafe; color: #2563eb; }
.app-feature-icon.green { background: #d1fae5; color: #059669; }
.app-feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.app-feature-icon.orange { background: #fff7ed; color: #ea580c; }
.app-feature-icon.red { background: #fee2e2; color: #dc2626; }
.app-feature-icon.indigo { background: #e0e7ff; color: #4f46e5; }

.app-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.app-feature-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== Stats Section ===== */
.app-stats-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.app-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.app-stat-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.app-stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.app-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.app-stat-text {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ===== Download CTA ===== */
.app-download-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    text-align: center;
}

.app-cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-cta-content p {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.app-cta-buttons {
    margin-bottom: 1.5rem;
}

.btn-bazaar-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-bazaar-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

.app-cta-note {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ===== FAQ ===== */
.app-faq {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== Shared ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: #2563eb;
}

.section-description {
    font-size: 1.1rem;
    color: #6b7280;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .app-hero-desc {
        margin: 0 auto 2.5rem;
    }
    .app-hero-buttons {
        justify-content: center;
    }
    .app-stats {
        justify-content: center;
    }
    .app-hero-mockup {
        display: none;
    }
    .app-features-grid,
    .app-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-hero-title {
        font-size: 2rem;
    }
    .app-features-grid,
    .app-stats-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .app-cta-content h2 {
        font-size: 1.8rem;
    }
    .app-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

/* Animations */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ====== اطلاعات فایل ====== */
.app-file-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.app-file-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4a5568;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.app-file-info-item i {
    font-size: 14px;
}

.app-file-info-item .text-success {
    color: #48bb78;
}

/* ====== دکمه دانلود با زیرمتن ====== */
.btn-bazaar-lg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    gap: 4px;
    min-width: 260px;
}

.btn-bazaar-lg .btn-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-bazaar-lg .btn-sub-text {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.btn-bazaar-lg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-bazaar-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.5);
    color: white;
}

/* ====== ریسپانسیو ====== */
@media (max-width: 768px) {
    .app-file-info {
        gap: 10px;
    }

    .app-file-info-item {
        font-size: 12px;
        padding: 4px 12px;
    }

    .btn-bazaar-lg {
        padding: 14px 25px;
        font-size: 16px;
        min-width: 200px;
    }

    .btn-bazaar-lg .btn-sub-text {
        font-size: 12px;
    }
}
