/* ============================================================
   Download Platform Pages — /download/windows, /download/android
   ============================================================ */

/* ── Breadcrumb ── */
.dlp-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.2rem;
}
.dlp-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.dlp-breadcrumb a:hover { color: var(--primary); }
.dlp-breadcrumb-sep { opacity: 0.4; }

/* ── Platform badge ── */
.dlp-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255,255,255,0.15);
}
.dlp-badge-windows {
    background: rgba(0, 120, 212, 0.15);
    color: #4fc3f7;
    border-color: rgba(79,195,247,0.3);
}
.dlp-badge-android {
    background: rgba(61, 220, 132, 0.12);
    color: #3ddc84;
    border-color: rgba(61,220,132,0.3);
}

/* ── Main CTA area ── */
.dlp-main-cta {
    margin: 2rem 0 1.5rem;
    display: flex;
    justify-content: center;
}
.dlp-download-btn {
    min-width: 320px;
    max-width: 460px;
}

/* ── Trust row ── */
.dlp-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 1.5rem;
}
.dlp-trust-item {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Platform switch ── */
.dlp-platform-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1.2rem;
}
.dlp-switch-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}
.dlp-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.dlp-switch-btn:not(.dlp-switch-soon):hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0,217,126,0.05);
}
.dlp-switch-soon {
    opacity: 0.45;
    cursor: default;
}
.dlp-badge-soon {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.1);
    padding: 1px 6px;
    border-radius: 999px;
}

/* ── Preview section ── */
.dlp-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .dlp-preview-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.dlp-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dlp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}
.dlp-feature-list li .dlp-feat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dlp-feature-list li .dlp-feat-text strong {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    display: block;
    line-height: 1.3;
}
.dlp-feature-list li .dlp-feat-text span {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    display: block;
    line-height: 1.3;
}
.dlp-check {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
}

/* ── App mockup (desktop) ── */
.dlp-app-mockup {
    background: rgba(15,20,30,0.8);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,217,126,0.1);
}
.dlp-mockup-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 10px;
}
.dlp-mockup-dots { display: flex; gap: 7px; }
.dlp-mockup-dots span {
    width: 14px; height: 14px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.dlp-mockup-dots span:first-child { background: #ff5f57; }
.dlp-mockup-dots span:nth-child(2) { background: #febc2e; }
.dlp-mockup-dots span:last-child { background: #28c840; }
.dlp-mockup-title { font-size: 1rem; color: rgba(255,255,255,0.5); margin-left: 6px; }
.dlp-mockup-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.dlp-mockup-status { font-size: 1.1rem; font-weight: 600; }
.dlp-status-connected { color: #00d97e; }
.dlp-mockup-server { font-size: 1.05rem; color: rgba(255,255,255,0.8); }
.dlp-mockup-protocol { font-size: 0.95rem; color: rgba(255,255,255,0.45); }
.dlp-mockup-traffic { font-size: 0.95rem; color: rgba(255,255,255,0.5); font-family: monospace; }

/* ── Phone mockup (Android) ── */
.dlp-phone-mockup {
    width: 270px;
    height: 480px;
    background: rgba(15,20,30,0.9);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 40px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(61,220,132,0.15);
}
.dlp-phone-notch {
    width: 80px; height: 16px;
    background: rgba(0,0,0,0.6);
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
}
.dlp-phone-screen { padding: 32px 14px 14px; height: 100%; }

/* ── Steps (4 items) ── */
.dlp-steps-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 900px) {
    .dlp-steps-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .dlp-steps-4 .dl-step-arrow { display: none; }
}
@media (max-width: 500px) {
    .dlp-steps-4 { grid-template-columns: 1fr !important; }
}

/* ── Android tip ── */
.dlp-android-tip {
    margin: 2rem auto 0;
    max-width: 640px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.dlp-tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── System requirements grid ── */
.dlp-sysreq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 2rem auto 0;
}
@media (max-width: 768px) { .dlp-sysreq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dlp-sysreq-grid { grid-template-columns: 1fr; } }
.dlp-sysreq-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: border-color 0.2s;
}
.dlp-sysreq-card:hover { border-color: rgba(0,217,126,0.25); }
.dlp-sysreq-icon { font-size: 1.8rem; margin-bottom: 8px; }
.dlp-sysreq-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.dlp-sysreq-value { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.9); }

/* ── Version info bar ── */
.dlp-version-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.dlp-sep { opacity: 0.3; }

/* ── Protocols grid ── */
.dlp-protocols-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 2.5rem;
}
@media (max-width: 1100px) { .dlp-protocols-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .dlp-protocols-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .dlp-protocols-grid { grid-template-columns: 1fr; } }
.dlp-protocol-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 18px 14px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}
.dlp-protocol-card:hover {
    border-color: rgba(0,217,126,0.25);
    transform: translateY(-2px);
}
.dlp-proto-best {
    border-color: rgba(0,217,126,0.3);
    background: rgba(0,217,126,0.05);
}
.dlp-proto-badge {
    position: absolute;
    top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.dlp-proto-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 6px;
    margin-top: 4px;
}
.dlp-proto-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 10px;
    line-height: 1.5;
}
.dlp-proto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.dlp-proto-tags span {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.55);
}

/* ── Compatibility grid ── */
.dlp-compat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 800px;
    margin: 2rem auto 0;
}
@media (max-width: 640px) { .dlp-compat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .dlp-compat-grid { grid-template-columns: 1fr; } }
.dlp-compat-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.dlp-compat-brand { font-size: 1rem; font-weight: 700; color: #3ddc84; margin-bottom: 6px; }
.dlp-compat-models { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ── FAQ ── */
.dlp-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dlp-faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.dlp-faq-item[open] { border-color: rgba(0,217,126,0.25); }
.dlp-faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.88);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.dlp-faq-item summary::-webkit-details-marker { display: none; }
.dlp-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.dlp-faq-item[open] summary::after { transform: rotate(45deg); }
.dlp-faq-item p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.dlp-faq-item a { color: var(--primary); }

/* ── "Also available" footer line ── */
.dlp-also-available {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}
.dlp-also-available a { color: var(--primary); text-decoration: none; }
.dlp-also-available a:hover { text-decoration: underline; }

/* ── Android page: blue accents ── */
.download-android-page .dl-step-num {
    background: linear-gradient(135deg, #2196F3, #1565C0);
    box-shadow: 0 4px 20px rgba(33,150,243,0.4);
}
.download-android-page .fp-accent { color: #3ddc84; }
.download-android-page .dlp-faq-item[open] { border-color: rgba(33,150,243,0.3); }
.download-android-page .dlp-faq-item summary::after { color: #3ddc84; }
.download-android-page .dlp-proto-best { border-color: rgba(33,150,243,0.3); background: rgba(33,150,243,0.05); }
.download-android-page .dlp-proto-best .dlp-proto-badge { background: #2196F3; color: #fff; }

/* ── Preview section spacing ── */
.dlp-preview-section .dlp-preview-inner h2 { margin-bottom: 0.8rem; }
.dlp-preview-section .dlp-preview-inner p { color: rgba(255,255,255,0.65); }
