.apps-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 8px 48px;
}

.apps-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 0 18px;
    font-size: 13px;
    color: #888;
}

.apps-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.apps-breadcrumb a:hover,
.apps-breadcrumb a:focus { color: #e76537; }
.apps-breadcrumb-separator { color: #ccc; margin: 0 2px; }
.apps-breadcrumb-current { color: #222; font-weight: 600; }

.apps-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.apps-hero-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(14, 55, 146, 0.2);
}

.apps-hero-copy { min-width: 0; }

.apps-hero h1 {
    margin: 0 0 6px;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.apps-hero p { margin: 0; color: #666; font-size: 15px; }

.apps-device-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    margin-top: 12px !important;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0eb;
    color: #b54c2b !important;
    font-size: 13px !important;
    font-weight: 600;
}

.apps-device-chip i { font-size: 15px; }

.apps-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.apps-page[data-platform="android"] .apps-download-grid,
.apps-page[data-platform="ios"] .apps-download-grid {
    grid-template-columns: minmax(0, 540px);
    justify-content: center;
}

.apps-page[data-platform="android"] .apps-download-card--ios,
.apps-page[data-platform="ios"] .apps-download-card--android { display: none; }

.apps-download-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.apps-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.apps-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    font-size: 24px;
}

.apps-platform-icon--android { background: #edf8ec; color: #52a447; }
.apps-platform-icon--apple { background: #f1f2f4; color: #30343a; }

.apps-platform-label {
    margin: 0;
    color: #777;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.apps-download-card h2 {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 21px;
    font-weight: 700;
}

.apps-card-description {
    margin: 0 0 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.apps-card-features {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 16px;
    list-style: none;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
}

.apps-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
}

.apps-card-features i {
    width: 16px;
    margin-top: 2px;
    color: #ff7f50;
    text-align: center;
}

.apps-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #ff7f50;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.apps-download-button:hover,
.apps-download-button:focus {
    background: #e76537;
    color: #fff;
    box-shadow: 0 5px 14px rgba(231, 101, 55, 0.24);
    text-decoration: none;
}

.apps-download-button:focus,
.apps-breadcrumb a:focus {
    outline: 3px solid rgba(255, 127, 80, 0.35);
    outline-offset: 3px;
}

.apps-version-hint {
    margin: 12px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.apps-install-guide {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.apps-install-guide h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.apps-install-guide ol {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.apps-install-guide li {
    margin-bottom: 7px;
    padding-left: 3px;
    font-size: 13px;
    line-height: 1.55;
}

.apps-webclip-notice {
    display: flex;
    gap: 8px;
    margin: 14px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.55;
}

.apps-webclip-notice i { margin-top: 2px; color: #e6a23c; }

@media (max-width: 768px) {
    .apps-page { padding-bottom: 32px; }
    .apps-hero { align-items: flex-start; gap: 14px; padding: 20px; }
    .apps-hero-icon { width: 60px; height: 60px; flex-basis: 60px; border-radius: 15px; }
    .apps-hero h1 { font-size: 22px; }
    .apps-device-chip { margin-top: 10px !important; }
    .apps-download-grid,
    .apps-page[data-platform="android"] .apps-download-grid,
    .apps-page[data-platform="ios"] .apps-download-grid { grid-template-columns: 1fr; }
    .apps-download-card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .apps-download-button { transition: none; }
}
