/* ════════════════════════════════════════════════════════════════════ */
/*  AI ALGO TRADING — HERO REDESIGN                                     */
/* ════════════════════════════════════════════════════════════════════ */

.lp-badge--ai {
    background: linear-gradient(90deg, rgba(16,185,129,0.14), rgba(34,211,238,0.10));
    border: 1px solid rgba(16,185,129,0.35);
    box-shadow: 0 0 0 1px rgba(16,185,129,0.05) inset, 0 8px 32px -8px rgba(16,185,129,0.35);
    letter-spacing: 1.4px;
    font-weight: 800;
    font-size: 11px;
    color: #d1fae5;
    position: relative;
    overflow: hidden;
}
.lp-badge--ai .lp-badge-pulse {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(16,185,129,0.18), transparent);
    transform: translateX(-100%);
    animation: aiBadgeSweep 3.2s linear infinite;
    pointer-events: none;
}
@keyframes aiBadgeSweep { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }

.lp-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.lp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.3px;
    color: rgba(255,255,255,0.85);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.lp-chip:hover { transform: translateY(-2px); border-color: rgba(16,185,129,0.45); background: rgba(16,185,129,0.08); }
.lp-chip-ico { font-size: 14px; line-height: 1; }

/* Image scanline overlay (AI feel) */
.lp-hero-scanline {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(16,185,129,0.06) 48%, rgba(16,185,129,0.16) 50%, rgba(16,185,129,0.06) 52%, transparent 100%);
    mix-blend-mode: screen;
    background-size: 100% 200%;
    animation: scanline 4.5s linear infinite;
    border-radius: inherit;
}
@keyframes scanline { 0% { background-position: 0 -200%; } 100% { background-position: 0 200%; } }
.lp-hero-img-wrap { position: relative; }
.lp-hero-img-wrap::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(16,185,129,0.18), inset 0 0 60px rgba(16,185,129,0.08);
}

/* Feature rail (replaces float cards) */
.lp-feature-rail {
    position: absolute;
    top: 50%; right: -20px;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px;
    width: 240px;
    z-index: 3;
}
.lp-feat {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(10,17,33,0.92), rgba(15,23,42,0.85));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 18px 40px -18px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,185,129,0.04) inset;
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateX(28px);
    animation: featSlideIn .7s cubic-bezier(.2,.8,.2,1) forwards;
    animation-delay: var(--d, 0s);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}
.lp-feat::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, transparent, rgba(16,185,129,0.6), transparent);
    opacity: 0.7;
}
.lp-feat:hover { transform: translateX(-4px); border-color: rgba(16,185,129,0.35); box-shadow: 0 20px 50px -15px rgba(16,185,129,0.25); }
@keyframes featSlideIn { to { opacity: 1; transform: translateX(0); } }

.lp-feat-ico {
    width: 38px; height: 38px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(16,185,129,0.10);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.25);
}
.lp-feat-ico--gold  { background: rgba(245,158,11,0.10); color: #fbbf24; border-color: rgba(245,158,11,0.30); }
.lp-feat-ico--red   { background: rgba(239,68,68,0.10);  color: #f87171; border-color: rgba(239,68,68,0.30); }
.lp-feat-ico--blue  { background: rgba(59,130,246,0.10); color: #60a5fa; border-color: rgba(59,130,246,0.30); }
.lp-feat-ico--cyan  { background: rgba(34,211,238,0.10); color: #22d3ee; border-color: rgba(34,211,238,0.30); }
.lp-feat-ico--green { background: rgba(16,185,129,0.10); color: #34d399; border-color: rgba(16,185,129,0.30); }

.lp-feat-body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.lp-feat-label {
    font-size: 10px; letter-spacing: 1.2px; font-weight: 700;
    color: rgba(255,255,255,0.55); text-transform: uppercase;
}
.lp-feat-val {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-size: 16px; font-weight: 800; color: #fff;
    margin-top: 2px;
    background: linear-gradient(90deg, #fff 0%, #d1fae5 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Mobile / tablet adjustments */
@media (max-width: 1100px) {
    .lp-feature-rail { right: 0; width: 220px; }
}
@media (max-width: 900px) {
    .lp-feature-rail {
        position: static; transform: none;
        width: 100%;
        flex-direction: row; flex-wrap: wrap;
        margin-top: 18px;
        justify-content: center;
    }
    .lp-feat { flex: 1 1 calc(50% - 12px); min-width: 0; }
}
@media (max-width: 520px) {
    .lp-feat { flex: 1 1 100%; }
    .lp-hero-chips { gap: 6px; }
    .lp-chip { font-size: 11.5px; padding: 7px 11px; }
}
