/* When the transparent header is over this dark hero (not yet scrolled),
   override the nav link color so links are legible on the dark background. */
body.dark-hero-page:not(.scrolled) .header {
    --nav-color: rgba(255, 255, 255, 0.88);
    --nav-hover-color: #ffffff;
}

.hero-download {
    background: linear-gradient(135deg, #0d2d6b 0%, #1565C0 60%, #1e88e5 100%);
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-download::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 6cap;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
    top: -200px;
    right: -150px;
}

.hero-download .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
    background: #fff;
    padding: 10px;
    object-fit: contain;
}

.hero-download h1 {
    font-weight: 700;
    font-size: 2.4rem;
}

.hero-download .tagline {
    font-size: 1.15rem;
    opacity: .88;
    max-width: 560px;
}

.badge-version {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    display: inline-block;
    margin-bottom: 14px;
}

.btn-dl-primary {
    background: #fff;
    color: #1565C0;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    border: none;
    transition: .2s;
}

.btn-dl-primary:hover {
    background: #e3f0ff;
    color: #0d47a1;
    transform: translateY(-2px);
}

.btn-dl-secondary {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, .35);
    transition: .2s;
}

.btn-dl-secondary:hover {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* Features */
.feature-card {
    border: none;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    transition: .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-icon.blue {
    background: #e3f0ff;
    color: #1565C0;
}

.feature-icon.green {
    background: #e8f5e9;
    color: #2E7D32;
}

.feature-icon.amber {
    background: #fff8e1;
    color: #F57F17;
}

.feature-icon.teal {
    background: #e0f7f7;
    color: #00796b;
}

/* Screenshot */
.screenshot-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .18);
    border: 1px solid #e0e0e0;
}

.screenshot-placeholder {
    background: linear-gradient(135deg, #e3f0ff, #f5f5f5);
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #90a4ae;
    font-size: 1rem;
    gap: 12px;
}

/* Platform cards */
.platform-card {
    border: 2px solid #e8edf2;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    transition: .25s;
    background: #fff;
}

.platform-card:hover {
    border-color: #1565C0;
    box-shadow: 0 6px 24px rgba(21, 101, 192, .12);
}

.platform-card .platform-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.platform-card .platform-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a2e;
}

.platform-card .platform-arch {
    font-size: .82rem;
    color: #78909c;
    margin-bottom: 16px;
}

.btn-download {
    background: #1565C0;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: 600;
    border: none;
    width: 100%;
    display: block;
    text-decoration: none;
    transition: .2s;
}

.btn-download:hover {
    background: #0d47a1;
    color: #fff;
    transform: translateY(-1px);
}

.btn-download i {
    margin-right: 6px;
}

/* Requirements */
.req-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.req-item:last-child {
    border-bottom: none;
}

.req-item i {
    color: #2E7D32;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}