/* assets/css/pages/download.css - Get the App page styles (shared styles: assets/css/public-layout.css) */

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
    padding: 30px 0 20px;
    background: #f6f9fc;
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

body.dark .page-header {
    background: #0f172a;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.05rem;
    color: #4a5c72;
}

body.dark .page-header p,
body.dark .page-header .breadcrumb {
    color: #94a3b8;
}

.page-header .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5c72;
    margin-top: 6px;
}

.page-header .breadcrumb a {
    color: #0d6efd;
}

/* ============================================================
   INSTALL
   ============================================================ */

.install-section {
    padding: 56px 0;
}

.install-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.install-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.install-copy h2 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 16px 0 12px;
}

.install-copy p {
    font-size: 1.05rem;
    color: #4a5c72;
    line-height: 1.7;
}

body.dark .install-copy p {
    color: #94a3b8;
}

.install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.install-actions .btn i {
    margin-right: 8px;
}

.install-status {
    margin-top: 12px;
    font-size: 0.9rem !important;
    color: #198754 !important;
    min-height: 1.4em;
}

.install-visual {
    display: flex;
    justify-content: center;
}

.phone {
    width: 250px;
    height: 460px;
    border-radius: 40px;
    padding: 14px;
    background: #0f172a;
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.18);
}

.phone-screen {
    height: 100%;
    border-radius: 28px;
    background: linear-gradient(160deg, #eef4ff, #ffffff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.phone-screen img {
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.3);
}

.phone-screen .brand-word {
    font-size: 1.8rem;
    color: #0f172a;
}

.phone-screen .brand-word span {
    color: #0d6efd;
}

.phone-screen small {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5b6475;
}

/* ============================================================
   STEPS
   ============================================================ */

.steps-section,
.benefits-section {
    padding: 48px 0;
}

.steps-section {
    background: #f6f9fc;
}

body.dark .steps-section {
    background: #111c33;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: #4a5c72;
    margin: 6px 0 24px;
}

body.dark .section-sub {
    color: #94a3b8;
}

.device-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.device-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid #dbe4f0;
    background: #fff;
    color: #0b1e33;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.device-tab.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

body.dark .device-tab:not(.active) {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.device-steps {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.dark .device-steps {
    background: #1e293b;
}

.browser-note {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 12px;
}

.browser-note i {
    margin-right: 6px;
}

.device-steps ol {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 14px;
}

.device-steps li {
    counter-increment: step;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    line-height: 1.6;
}

.device-steps li::before {
    content: counter(step);
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0d6efd;
    background: #e9f0fe;
}

body.dark .device-steps li::before {
    background: rgba(13, 110, 253, 0.2);
    color: #7aa9ff;
}

/* ============================================================
   BENEFITS
   ============================================================ */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.dark .benefit-card {
    background: #1e293b;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #0d6efd;
    background: #e9f0fe;
    margin-bottom: 14px;
}

body.dark .benefit-icon {
    background: rgba(13, 110, 253, 0.2);
}

.benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 0.92rem;
    color: #4a5c72;
    line-height: 1.6;
}

body.dark .benefit-card p {
    color: #94a3b8;
}

.store-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: #4a5c72;
}

body.dark .store-note {
    color: #94a3b8;
}

.store-note i {
    color: #0d6efd;
    margin-right: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .install-grid {
        grid-template-columns: 1fr;
    }
    .benefit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    .install-copy h2 {
        font-size: 1.6rem;
    }
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    .device-steps {
        padding: 20px;
    }
}
