/* ========================================
   Download Page Specific Styles
   ======================================== */

/* ========================================
   Hero — Light Theme Redesign
   ======================================== */

/* --- Download Hero Container --- */
.dl-hero {
    padding: 140px 0 80px;
    background: #ffffff;
    background-image:
        radial-gradient(ellipse 70% 50% at 65% -5%, rgba(16,185,129,0.09) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 5% 90%, rgba(16,185,129,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 30% 35% at 100% 60%, rgba(16,185,129,0.04) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Blurred decorative blobs */
.dl-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}
.dl-hero-blob-tr {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 70%);
    top: -160px;
    right: -120px;
}
.dl-hero-blob-bl {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(16,185,129,0.09) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
}

/* Floating decorative leaf icons */
.dl-hero-leaf {
    position: absolute;
    color: var(--brand-green);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}
.leaf-a { font-size: 80px; top: 120px; right: 6%; animation-delay: 0s; }
.leaf-b { font-size: 40px; bottom: 80px; left: 4%; animation-delay: 2.5s; }

/* --- Hero Split Layout --- */
.dl-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

/* --- Left Column --- */
.dl-hero-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.dl-hero-left .hero-tag { margin-bottom: 20px; align-self: flex-start; }

.dl-hero-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    color: var(--dark-deep);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}
.dl-hero-title span { color: var(--brand-green); }

.dl-hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 480px;
}

/* --- Platform Selector Card Tabs --- */
.platform-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #e8f0ed;
    border-radius: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: 'Noto Sans SC', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: left;
}
.platform-btn:hover {
    border-color: rgba(16,185,129,0.45);
    box-shadow: 0 4px 16px rgba(16,185,129,0.1);
    transform: translateY(-2px);
}
.platform-btn.active {
    border-color: var(--brand-green);
    background: rgba(16,185,129,0.05);
    box-shadow: 0 6px 20px rgba(16,185,129,0.15);
}
.platform-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.platform-btn:hover .platform-btn-icon,
.platform-btn.active .platform-btn-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,0.35);
}
.platform-btn-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.platform-btn-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-deep);
    line-height: 1.2;
    transition: color 0.2s;
}
.platform-btn:hover .platform-btn-name,
.platform-btn.active .platform-btn-name { color: var(--brand-green); }

.platform-btn-fmt {
    font-size: 10px;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', monospace;
    line-height: 1.2;
}

/* --- Mini Stats Row --- */
.dl-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.dl-hero-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.dl-hero-stat strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-deep);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.dl-hero-stat span {
    font-size: 12px;
    color: var(--text-muted);
}
.dl-hero-stat-div {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* --- Right Column: Visual Card --- */
.dl-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating chips */
.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-green);
    box-shadow: 0 4px 16px rgba(16,185,129,0.12);
    white-space: nowrap;
    z-index: 10;
    animation: float 5s ease-in-out infinite;
}
.hero-chip i { font-size: 13px; }
.chip-top {
    top: -16px;
    left: -20px;
    animation-delay: 0.5s;
}
.chip-bottom {
    bottom: -16px;
    right: -10px;
    animation-delay: 2s;
    color: var(--dark-deep);
    border-color: rgba(0,0,0,0.08);
}
.chip-bottom i { color: var(--dark-deep); }

/* Mock Download Panel Card */
.hero-vis-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 24px;
    border: 1.5px solid rgba(16,185,129,0.18);
    box-shadow:
        0 20px 60px rgba(16,185,129,0.1),
        0 4px 16px rgba(0,0,0,0.05);
    overflow: hidden;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* macOS-style titlebar */
.hero-vis-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    background: var(--bg-section);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.vis-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.vis-dot-red { background: #ff5f57; }
.vis-dot-yellow { background: #febc2e; }
.vis-dot-green { background: #28c840; }
.vis-title-text {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Platform list rows */
.hero-vis-list {
    padding: 8px 0;
}
.hero-vis-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    transition: background 0.2s;
    cursor: default;
}
.hero-vis-row:hover { background: rgba(16,185,129,0.03); }
.vis-row-active {
    background: rgba(16,185,129,0.06);
    border-left: 3px solid var(--brand-green);
}
.vis-row-active .vis-row-dl { color: var(--brand-green); }

.vis-row-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.vis-row-active .vis-row-icon {
    background: rgba(16,185,129,0.1);
    color: var(--brand-green);
}
.vis-row-info { flex: 1; }
.vis-row-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-deep);
    line-height: 1.2;
}
.vis-row-detail {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.vis-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.vis-row-size {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', monospace;
}
.vis-row-dl {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16,185,129,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s;
}
.hero-vis-row:hover .vis-row-dl {
    background: var(--brand-green);
    color: #fff;
}

/* Card footer with progress bar */
.hero-vis-footer {
    padding: 12px 18px 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: var(--bg-section);
}
.vis-footer-label {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.vis-footer-label i {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(16,185,129,0.4));
}
.vis-progress-bar {
    height: 4px;
    background: rgba(16,185,129,0.12);
    border-radius: 100px;
    overflow: hidden;
}
.vis-progress-fill {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--brand-green), #34d399);
    border-radius: 100px;
    animation: shimmer 2.5s ease-in-out infinite;
    background-size: 200% 100%;
}

/* --- Download Content Section --- */
.dl-content {
    padding: 72px 0 80px;
    background: var(--bg-light);
}

/* --- Platform Section --- */
.platform-section {
    display: none;
    animation: fadeUp 0.4s ease;
}
.platform-section.active { display: block; }

.platform-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.platform-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 60%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(16,185,129,0.35), 0 2px 8px rgba(16,185,129,0.2);
    position: relative;
    overflow: hidden;
}
.platform-header-icon::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.platform-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-deep);
    margin-bottom: 6px;
}
.platform-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* --- Recommend Notice --- */
.recommend-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.recommend-notice > i {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(16,185,129,0.3));
}
.recommend-notice strong { color: var(--dark-deep); font-weight: 600; }

/* --- Client Grid --- */
.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.client-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

/* --- Client Card --- */
.client-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    border: 1.5px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.client-card:hover {
    border-color: rgba(16,185,129,0.25);
    box-shadow: 0 12px 40px rgba(16,185,129,0.08);
    transform: translateY(-3px);
}
.client-card.featured {
    border-color: rgba(16,185,129,0.3);
    background: linear-gradient(145deg, #fff, rgba(16,185,129,0.02));
    box-shadow: 0 8px 32px rgba(16,185,129,0.1);
}
.client-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), #059669);
    border-radius: 24px 24px 0 0;
}
.client-card.deprecated {
    background: #fafafa;
    border-color: rgba(0,0,0,0.08);
    opacity: 0.85;
}
.client-card.deprecated:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
}

/* Deprecated Banner */
.deprecated-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: #b45309;
    font-weight: 500;
}
.deprecated-banner i { color: #f59e0b; flex-shrink: 0; }

/* --- Client Card Header --- */
.client-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.client-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.verge-icon { background: linear-gradient(135deg, #1a2744, #0d1b38); color: var(--brand-green); }
.flclash-icon { background: linear-gradient(135deg, #1e1b4b, #312e81); color: #818cf8; }
.nyanpasu-icon { background: linear-gradient(135deg, #2d1b4e, #4c1d95); color: #c084fc; }
.cfw-icon { background: linear-gradient(135deg, #162032, #0d1929); color: #60a5fa; }
.clashx-icon { background: linear-gradient(135deg, #0f2027, #1a0a2e); color: #a78bfa; }
.meta-android-icon { background: linear-gradient(135deg, #052e16, #14532d); color: var(--brand-green); }
.stash-icon { background: linear-gradient(135deg, #1e1b4b, #312e81); color: #60a5fa; }
.shadowrocket-icon { background: linear-gradient(135deg, #3b0764, #7e22ce); color: #e879f9; }
.surfboard-icon { background: linear-gradient(135deg, #0c4a6e, #075985); color: #38bdf8; }

.client-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-deep);
    margin-bottom: 4px;
}

/* --- Badges --- */
.client-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-recommended { background: rgba(16,185,129,0.12); color: var(--brand-green); }
.badge-active { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.badge-meta { background: rgba(139,92,246,0.1); color: var(--accent-purple); }
.badge-deprecated { background: rgba(245,158,11,0.1); color: #b45309; border: 1px solid rgba(245,158,11,0.2); }
.badge-appstore { background: rgba(96,165,250,0.1); color: #3b82f6; border: 1px solid rgba(96,165,250,0.2); }

/* --- Client Description --- */
.client-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* --- Client Features --- */
.client-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.client-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-section);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 400;
}
.client-features span i {
    font-size: 10px;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Download Options --- */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.download-options.three-col {
    flex-direction: row;
    flex-wrap: wrap;
}
.download-options.three-col .dl-btn-deprecated {
    flex: 1;
    min-width: 140px;
}

/* Download Button - Primary */
.dl-btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(16,185,129,0.25);
}
.dl-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16,185,129,0.35);
}
.dl-btn-primary > i { font-size: 18px; flex-shrink: 0; }

/* Download Button - Secondary */
.dl-btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: transparent;
    color: var(--dark-deep);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
}
.dl-btn-secondary:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    transform: translateY(-2px);
    background: rgba(16,185,129,0.03);
}
.dl-btn-secondary > i { font-size: 18px; flex-shrink: 0; }

/* Download Button - Deprecated */
.dl-btn-deprecated {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.03);
    color: var(--text-muted);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 400;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    font-size: 13px;
}
.dl-btn-deprecated:hover {
    border-color: rgba(245,158,11,0.3);
    background: rgba(245,158,11,0.04);
    color: #b45309;
}
.dl-btn-deprecated > i { font-size: 14px; flex-shrink: 0; }

/* Download Button - App Store */
.dl-btn-appstore {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1c1c1e, #2c2c2e);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.dl-btn-appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.dl-btn-appstore > i { font-size: 22px; flex-shrink: 0; }

/* Download button text structure */
.dl-btn-main-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.dl-btn-sub {
    font-size: 11px;
    opacity: 0.72;
    margin-top: 2px;
    font-weight: 400;
}

/* --- Client Footer --- */
.client-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 12px;
}
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', monospace;
    transition: color 0.2s;
}
.github-link:hover { color: var(--dark-deep); }
.github-link i { font-size: 14px; }
.github-link-disabled {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    font-family: 'Plus Jakarta Sans', monospace;
    text-decoration: line-through;
    opacity: 0.7;
}
.github-link-archived {
    color: #b45309 !important;
    text-decoration: none !important;
    opacity: 0.85;
}
.sys-req {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.sys-req i {
    font-size: 12px;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- iOS Special Section --- */
.ios-notice {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(96,165,250,0.05));
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
}
.ios-notice-icon {
    font-size: 36px;
    color: var(--accent-purple);
    flex-shrink: 0;
    line-height: 1;
    padding-top: 4px;
}
.ios-notice-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-deep);
    margin-bottom: 10px;
}
.ios-notice-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}
.ios-app-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.ios-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-section);
    padding: 5px 12px;
    border-radius: 100px;
}
.ios-info-item i { color: var(--accent-purple); font-size: 12px; }

/* --- Core Grid --- */
.core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.core-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1.5px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.core-card-wide {
    grid-column: 1 / -1;
}
.core-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.core-os-icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.core-os-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-deep);
}
.core-os-desc {
    font-size: 12px;
    color: var(--text-muted);
}
.core-downloads {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.core-downloads-multi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.core-dl-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    font-size: 13px;
    color: var(--dark-deep);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}
.core-dl-btn:hover {
    background: rgba(16,185,129,0.05);
    border-color: rgba(16,185,129,0.25);
    color: var(--brand-green);
    transform: translateX(3px);
}
.core-dl-btn i {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 13px;
    flex-shrink: 0;
}
.core-github-notice {
    margin-top: 4px;
    margin-bottom: 60px;
}
.github-link-large {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--dark-deep);
    border-radius: 18px;
    padding: 20px 28px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
}
.github-link-large:hover { background: #0f172a; transform: translateY(-2px); }
.github-link-large > i:first-child { font-size: 28px; color: rgba(255,255,255,0.85); flex-shrink: 0; }
.github-link-large > div { flex: 1; }
.github-link-title { font-size: 16px; font-weight: 600; font-family: 'Plus Jakarta Sans', monospace; }
.github-link-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 3px; }

/* --- Client Comparison Table --- */
.client-comparison {
    padding: 100px 0;
    background: var(--dark-deep);
}
.client-comparison .section-title,
.client-comparison .section-label { color: #fff; }
.client-comparison .section-title { color: #fff; }
.client-comparison .section-title span { color: var(--brand-green); }
.client-comparison .section-desc { color: rgba(255,255,255,0.5); }

.cmp-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cmp-table thead tr {
    background: rgba(255,255,255,0.04);
}
.cmp-table th {
    padding: 16px 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}
.cmp-table th:first-child { text-align: left; min-width: 200px; }
.cmp-table td {
    padding: 14px 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.cmp-table td:first-child { text-align: left; font-size: 15px; }
.cmp-table tbody tr { transition: background 0.2s; }
.cmp-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.cmp-table .row-featured { background: rgba(16,185,129,0.04); }
.cmp-table .row-featured td:first-child strong { color: var(--brand-green); }
.cmp-table .row-deprecated { opacity: 0.55; }
.cmp-tag {
    display: inline-block;
    padding: 1px 8px;
    background: rgba(16,185,129,0.15);
    color: var(--brand-green);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}
.cmp-yes { color: var(--brand-green); font-size: 16px; }
.cmp-no { color: #334155; font-size: 16px; }
.status-active {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(16,185,129,0.12);
    color: var(--brand-green);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}
.status-deprecated {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(100,116,139,0.12);
    color: #64748b;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 1024px) {
    .dl-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dl-hero-right { display: none; }
    .dl-hero-title { font-size: clamp(32px, 5vw, 46px); }
    .dl-hero-desc { max-width: 100%; }
    .platform-nav { grid-template-columns: repeat(3, 1fr); }

    .client-grid {
        grid-template-columns: 1fr;
    }
    .core-grid {
        grid-template-columns: 1fr;
    }
    .core-card-wide {
        grid-column: 1;
    }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
    .dl-hero { padding: 100px 0 56px; }
    .dl-hero-title { letter-spacing: -0.5px; }

    .platform-nav { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .platform-btn { padding: 10px 12px; }
    .platform-btn-name { font-size: 12px; }

    .dl-hero-stats { gap: 12px; }
    .dl-hero-stat strong { font-size: 15px; }

    .platform-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .platform-title { font-size: 22px; }

    .client-grid,
    .client-grid.two-col { grid-template-columns: 1fr; }

    .download-options { flex-direction: column; }
    .download-options.three-col { flex-direction: column; }
    .download-options.three-col .dl-btn-deprecated { min-width: unset; }

    .client-footer { flex-direction: column; align-items: flex-start; gap: 8px; }

    .ios-notice { flex-direction: column; gap: 12px; }
    .ios-notice-icon { font-size: 28px; }

    .core-downloads-multi { grid-template-columns: 1fr; }
    .github-link-large { padding: 16px 20px; }

    .cmp-table th, .cmp-table td { padding: 10px 12px; font-size: 12px; }
    .cmp-table th:first-child, .cmp-table td:first-child { min-width: 140px; }
    .cmp-table th:nth-child(6),
    .cmp-table td:nth-child(6) { display: none; }

    .dl-content { padding: 48px 0 60px; }
    .client-comparison { padding: 72px 0; }
}

@media (max-width: 480px) {
    .platform-nav { grid-template-columns: repeat(2, 1fr); }
    .platform-btn { padding: 10px 10px; }
    .platform-btn-icon { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
    .client-card { padding: 20px; }
    .badge { font-size: 10px; padding: 2px 8px; }
    .dl-btn-primary, .dl-btn-secondary, .dl-btn-appstore { padding: 12px 16px; }
    .dl-btn-main-text { font-size: 13px; }
    .dl-hero-stats { gap: 10px; }
    .dl-hero-stat-div { display: none; }
}
