.link-item {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.link-item:hover .link-chevron { transform: translateX(4px); opacity: 1; }

.link-chevron {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.65;
    transition: transform 0.25s ease, opacity 0.25s ease;
    margin-left: 0.5rem;
}
.link-chevron svg { width: 100%; height: 100%; fill: white; }

.link-item:active {
    transform: translateY(0);
}

/* Spotlight card — visually amplifies the highest-intent route (templates).
   Larger padding, accent border, gradient sheen so it reads as the primary
   secondary CTA after the store buttons. */
.link-item.is-spotlight {
    padding: 1.6rem 1.6rem;
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,107,138,0.16));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.link-item.is-spotlight .link-title { font-size: 1.25rem; }
.link-item.is-spotlight .link-description { color: rgba(255,255,255,0.85); }
.link-cta {
    display: inline-block;
    margin-top: 0.7rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, background 0.25s ease;
}
.link-item.is-spotlight:hover .link-cta {
    background: white;
    transform: translateX(2px);
}
.link-item .link-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

/* Primary download stack — sits above the fold. The two store
   badges do the talking; no eyebrow label needed. */
.primary-download-stack {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

/* Secondary social rail at the bottom (cross-platform follow loop) */
.social-icons-row.is-bottom {
    margin-top: 1.6rem;
    margin-bottom: 0.4rem;
    gap: 1rem;
}
.social-icons-row.is-bottom .social-icon-link {
    width: 32px;
    height: 32px;
    opacity: 0.65;
}
.social-icons-row.is-bottom .social-icon-link:hover { opacity: 1; }

.link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,107,138,0.95), rgba(194,48,76,0.95));
    box-shadow: 0 4px 12px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.3);
}

.link-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.link-item.is-spotlight .link-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFD37A 0%, #FF6B8A 55%, #C2304C 100%);
    box-shadow: 0 6px 16px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.35);
}
.link-item.is-spotlight .link-icon svg { width: 28px; height: 28px; }

.link-content {
    flex: 1;
    text-align: left;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.link-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Footer */
.footer-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
}

.footer-link:hover {
    color: white;
}

@media (max-width: 520px) {
    .logo-image {
        height: 54px;
    }

    .social-icons-row {
        gap: 1rem;
    }

    .social-icon-link {
        width: 42px;
        height: 42px;
    }

    .link-item {
        padding: 1rem 1.25rem;
    }

    .link-icon {
        width: 36px;
        height: 36px;
    }

    .link-title {
        font-size: 1rem;
    }

    .download-button-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .btn-large-download {
        min-height: 108px;
        padding: 0.9rem 1.25rem;
    }

    .btn-large-download .store-badge {
        height: 46px;
    }
}
