/* ═══════════════════════════════════════
   CS 1.6 Download Landing — download.css
   BG on body (full page), content max 1024px
   Values tuned via DevTools on 1920×901 viewport
   ═══════════════════════════════════════ */

/* ── GLOBAL PAGE SETUP ── */
.page-download .ambient-glow,
.page-download .grid-pattern { display: none; }

.page-download {
    background: url('/assets/img/download/bg-full.webp') top center / contain no-repeat;
    background-color: #050a05;
}

/* Side fades — smooth transition from bg image to black */
.page-download main::before,
.page-download main::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc((100vw - 960px) / 2 + 60px);
    z-index: 2;
    pointer-events: none;
}
.page-download main::before {
    left: 0;
    background: linear-gradient(90deg,
        #050a05 0%,
        #050a05 40%,
        rgba(5,10,5,0.8) 70%,
        transparent 100%
    );
}
.page-download main::after {
    right: 0;
    background: linear-gradient(270deg,
        #050a05 0%,
        #050a05 40%,
        rgba(5,10,5,0.8) 70%,
        transparent 100%
    );
}

/* Content wrapper */
.dl-wrap {
    max-width: 1024px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* ═══ HERO ═══ */
.dl-hero {
    padding-top: 230px;
    padding-bottom: 70px;
}

.dl-hero__content {
    max-width: 480px;
    animation: dlFadeInUp 0.8s ease-out;
}

.dl-hero__title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 16px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.dl-hero__title span { display: block; }

.dl-hero__subtitle {
    font-size: clamp(14px, 1.6vw, 18px);
    color: rgba(180, 200, 180, 0.7);
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 380px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* ── CTA BUTTON ── */
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #4ade80, #a3e635);
    color: #050a05;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
        0 0 30px rgba(74, 222, 128, 0.3),
        0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.dl-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 50px rgba(74, 222, 128, 0.5), 0 8px 30px rgba(0,0,0,0.5);
    color: #050a05;
}
.dl-btn:active { transform: translateY(0) scale(0.98); }
.dl-btn svg { width: 18px; height: 18px; }

/* ── CHECKS ── */
.dl-hero__checks {
    display: flex;
    gap: 20px;
    margin-top: 18px;
    font-size: clamp(12px, 1.3vw, 14px);
    color: rgba(180, 200, 180, 0.6);
    font-weight: 500;
}
.dl-hero__checks span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.dl-check-icon {
    width: 16px;
    height: 16px;
    color: #4ade80;
    flex-shrink: 0;
}

/* ═══ FEATURES ═══ */
.dl-features {
    padding-top: 150px;
    padding-bottom: 150px;
}

.dl-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dl-card {
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}
.dl-card:hover {
    transform: translateY(-3px);
}

.dl-card__icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dl-card__icon svg { width: 20px; height: 20px; color: #4ade80; }

.dl-card__title {
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    margin-bottom: 8px;
}

.dl-card__text {
    font-size: clamp(11px, 1.3vw, 14px);
    color: rgba(180, 200, 180, 0.6);
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.dl-card__text .dl-check-icon { width: 13px; height: 13px; }

/* ═══ CTA ═══ */
.dl-cta {
    padding-top: 20px;
    padding-bottom: 130px;
}

.dl-cta__inner {
    position: relative;
}

.dl-cta__content {
    max-width: 50%;
}

.dl-cta__title {
    font-size: clamp(24px, 3.8vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.dl-cta__title em {
    font-style: italic;
    color: #4ade80;
}

/* ── GRID DOTS ── */
.dl-grid-dots {
    position: absolute;
    bottom: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, 8px);
    gap: 4px;
    opacity: 0.5;
}
.dl-grid-dots span {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 2px;
}

/* ═══ SEO TEXT ═══ */
.dl-seo {
    padding-top: 20px;
    padding-bottom: 80px;
}

.dl-seo__inner {
    padding: 36px;
    background: rgba(16, 28, 16, 0.5);
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}
.dl-seo__inner h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #86efac;
}
.dl-seo__inner p {
    font-size: 14px;
    color: rgba(134, 239, 172, 0.5);
    line-height: 1.7;
    margin-bottom: 10px;
}
.dl-seo__inner p:last-child { margin-bottom: 0; }

/* ═══ ANIMATIONS ═══ */
.dl-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.dl-fade-up.visible { opacity: 1; transform: translateY(0); }
.dl-fade-up:nth-child(2) { transition-delay: 0.12s; }
.dl-fade-up:nth-child(3) { transition-delay: 0.24s; }

@keyframes dlFadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .page-download main::before,
    .page-download main::after { display: none; }

    .dl-wrap { padding-left: 20px; padding-right: 20px; }

    .dl-hero { padding-top: 300px; padding-bottom: 30px; }
    .dl-hero__content { max-width: 65%; }
    .dl-hero__title { font-size: 36px; }
    .dl-hero__subtitle { font-size: 13px; margin-bottom: 18px; }
    .dl-btn { padding: 12px 24px; font-size: 14px; }
    .dl-hero__checks { gap: 12px; font-size: 11px; }

    .dl-features { padding-top: 80px; padding-bottom: 80px; }
    .dl-card { padding: 16px 12px; }
    .dl-card__icon { width: 34px; height: 34px; }
    .dl-card__icon svg { width: 16px; height: 16px; }
    .dl-card__title { font-size: 14px; }
    .dl-card__text { font-size: 11px; }

    .dl-cta { padding-top: 30px; padding-bottom: 60px; }
    .dl-cta__content { max-width: 60%; }
    .dl-cta__title { font-size: 24px; }

    .dl-seo__inner { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .dl-wrap { padding-left: 16px; padding-right: 16px; }

    .dl-hero { padding-top: 200px; padding-bottom: 20px; }
    .dl-hero__content { max-width: 80%; }
    .dl-hero__title { font-size: 30px; }
    .dl-hero__checks { flex-direction: column; gap: 6px; }

    .dl-features { padding-top: 50px; padding-bottom: 50px; }
    .dl-features__grid { gap: 8px; }
    .dl-card { padding: 12px 8px; border-radius: 8px; }
    .dl-card__title { font-size: 12px; }
    .dl-card__text { font-size: 10px; }

    .dl-cta { padding-top: 20px; padding-bottom: 40px; }
    .dl-cta__content { max-width: 70%; }
    .dl-cta__title { font-size: 20px; }

    .dl-seo__inner { padding: 20px 14px; }
    .dl-seo__inner h2 { font-size: 17px; }
    .dl-seo__inner p { font-size: 13px; }
}
