/* ============================================================
   Forex Signal — FX Animation & Microinteraction Layer
   Layered on top of landing.css for premium feel
   ============================================================ */

/* -----------------------------------------------
   1. Hero — Light Mesh Background & Oversized Orbs
   ----------------------------------------------- */
.lp-hero {
    overflow: hidden;
    position: relative;
    background: #ffffff !important;
}

/* Base light grid overlay */
.lp-hero::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
    transition: opacity 0.35s ease;
}

/* Interactive Grid Hover Canvas — replaces CSS grid on hover */
.lp-hero-grid-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Soft accent blob */
.lp-hero::after {
    background: radial-gradient(circle,
        color-mix(in srgb, var(--brand-color, #a855f7) 5%, transparent) 0%,
        transparent 65%) !important;
    width: 1000px !important;
    height: 1000px !important;
    top: -300px !important;
    right: -250px !important;
}

/* Orbs - soft and airy for light bg */
.lp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    animation: lp-orb-drift 20s ease-in-out infinite;
}

.lp-hero-orb--1 {
    width: 800px;
    height: 800px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--brand-color, #a855f7) 12%, transparent) 0%,
        transparent 70%);
}

.lp-hero-orb--2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--brand-color, #a855f7) 8%, transparent) 0%,
        transparent 70%);
    animation-delay: -5s;
}

.lp-hero-orb--3 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 20%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
    animation-delay: -10s;
}

.lp-hero-orb--4 {
    width: 500px;
    height: 500px;
    top: 10%;
    right: 35%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-color, #a855f7) 3%, transparent) 0%, transparent 70%);
    animation-duration: 25s;
    animation-delay: -12s;
}

/* Trading Pulse Chart Line */
.lp-hero-pulse {
    position: absolute;
    top: 65%; /* Lift slightly to allow vertical growth */
    left: 0;
    width: 100%;
    height: 320px; /* Taller for bullish trend */
    z-index: 1;
    pointer-events: none;
    color: var(--brand-color, #a855f7);
    opacity: 0.5;
}

.lp-hero-pulse svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lp-pulse-active {
    filter: drop-shadow(0 0 6px var(--brand-color, #a855f7));
    transition: stroke-dashoffset 0.1s linear; /* Smooth draw on scroll */
}

@keyframes lp-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.04); }
    66%       { transform: translate(-20px, 15px) scale(0.98); }
}

/* -----------------------------------------------
   2. Hero — Oversized Bold Title + Vivid Gradient
   ----------------------------------------------- */
.lp-hero__title {
    font-size: clamp(48px, 7vw, 88px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
    margin-bottom: 32px !important;
}

.lp-hero__title-gradient {
    background: linear-gradient(
        135deg,
        #0F172A 15%,
        color-mix(in srgb, var(--brand-color, #a855f7) 85%, #0F172A) 45%,
        #0F172A 85%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lp-gradient-shift 8s linear infinite;
}

/* Light mode text overrides */
.lp-hero--with-widgets .lp-hero__proof-num { color: #0F172A; }
.lp-hero--with-widgets .lp-hero__proof-label { color: #64748B; }
.lp-hero--with-widgets .lp-hero__proof {
    border-top-color: #E2E8F0 !important;
}

@keyframes lp-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* -----------------------------------------------
   3. Forex Ticker Tape
   ----------------------------------------------- */
.lp-ticker {
    background: #0F172A;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 999;
    margin-top: 72px; /* below fixed navbar */
}

.lp-ticker__track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: lp-ticker-scroll 40s linear infinite;
    will-change: transform;
}

.lp-ticker__track:hover {
    animation-play-state: paused;
    cursor: default;
}

.lp-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', monospace;
    letter-spacing: 0.04em;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.lp-ticker__pair {
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.08em;
}

.lp-ticker__price {
    color: rgba(255,255,255,0.9);
    font-variant-numeric: tabular-nums;
}

.lp-ticker__change--up {
    color: #22C55E;
}

.lp-ticker__change--down {
    color: #EF4444;
}

.lp-ticker__dot--up   { color: #22C55E; font-size: 10px; }
.lp-ticker__dot--down { color: #EF4444; font-size: 10px; }

@keyframes lp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -----------------------------------------------
   4. Hero — No top margin (ticker takes it)
   ----------------------------------------------- */
.lp-hero {
    padding-top: 96px;
    padding-bottom: 96px;
}

/* -----------------------------------------------
   5. Hero Badge — Enhanced Pulse
   ----------------------------------------------- */
.lp-hero__badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: color-mix(in srgb, var(--brand-color, #a855f7) 30%, transparent);
}

.lp-hero__badge-dot {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color, #a855f7) 20%, transparent);
    animation: lp-beacon 2s ease-in-out infinite;
}

@keyframes lp-beacon {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-color, #a855f7) 40%, transparent);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-color, #a855f7) 0%, transparent);
    }
}

/* -----------------------------------------------
   6. Magnetic Buttons
   ----------------------------------------------- */
.lp-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease,
                opacity 0.2s ease;
}

/* Ripple effect */
.lp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transform: scale(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.lp-btn:active::after {
    transform: scale(2.5);
    opacity: 0;
    transition: 0s;
}

/* Shine sweep on hover */
.lp-btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.lp-btn--primary:hover::before {
    left: 130%;
}

/* -----------------------------------------------
   7. Feature Cards — Shimmer & Tilt
   ----------------------------------------------- */
.lp-feature-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

/* Shimmer overlay */
.lp-feature-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 50%;
    height: 220%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.35) 50%,
        transparent 80%
    );
    transform: rotate(0deg);
    transition: transform 0.55s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.lp-feature-card:hover::before {
    opacity: 1;
    transform: translateX(300%);
}

.lp-feature-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1),
                0 0 0 1px color-mix(in srgb, var(--brand-color, #a855f7) 25%, transparent);
}

/* -----------------------------------------------
   8. Feature Card Icon — Bounce on Hover
   ----------------------------------------------- */
.lp-feature-card:hover .lp-feature-card__icon {
    transform: scale(1.12) rotate(-4deg);
    background: color-mix(in srgb, var(--brand-color, #a855f7) 22%, transparent);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.lp-feature-card__icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

/* -----------------------------------------------
   9. Pricing Card — 3D Tilt & Glow
   ----------------------------------------------- */
.lp-pricing-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Featured card — clean professional accent, no distracting animation */
.lp-pricing-card--featured {
    position: relative;
    border-top: 3px solid var(--brand-color, #3B82F6);
    box-shadow: 0 8px 40px rgba(0,0,0,0.09), 0 2px 12px rgba(0,0,0,0.05);
}

.lp-pricing-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--brand-color, #3B82F6) 4%, transparent) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.lp-pricing-card--featured:hover {
    box-shadow: 0 16px 56px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
}

.lp-pricing-card--featured > * {
    position: relative;
    z-index: 1;
}

/* -----------------------------------------------
   10. Stats Bar — Counter & Entrance
   ----------------------------------------------- */
.lp-stat-item__num {
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.lp-stat-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-stat-item:hover {
    transform: translateY(-4px);
}

.lp-stat-item:hover .lp-stat-item__num {
    color: var(--brand-color, #a855f7);
}

/* -----------------------------------------------
   11. CTA Section — Animated Flowing Gradient
   ----------------------------------------------- */
.lp-cta {
    background-size: 200% 200%;
    background-image: linear-gradient(
        135deg,
        var(--brand-color, #a855f7) 0%,
        color-mix(in srgb, var(--brand-color, #a855f7) 70%, #1E293B) 50%,
        var(--brand-color, #a855f7) 100%
    );
    animation: lp-cta-gradient 6s ease-in-out infinite;
}

@keyframes lp-cta-gradient {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* Floating particles in CTA */
.lp-cta-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
    animation: lp-float-up linear infinite;
}

@keyframes lp-float-up {
    0%   { transform: translateY(0) scale(1);   opacity: 0.6; }
    100% { transform: translateY(-200px) scale(0); opacity: 0; }
}

/* -----------------------------------------------
   12. Testimonial Cards — Slide-Up + Hover Lift
   ----------------------------------------------- */
.lp-testimonial-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.lp-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}

/* -----------------------------------------------
   13. Blog Cards — Image Scale on Hover
   ----------------------------------------------- */
.lp-blog-card__img {
    transition: transform 0.45s ease;
}

.lp-blog-card:hover .lp-blog-card__img {
    transform: scale(1.06);
}

.lp-blog-card {
    position: relative;
    overflow: hidden;
}

/* -----------------------------------------------
   14. Intersection Observer — Stagger Classes
   ----------------------------------------------- */
.lp-fade-up { will-change: opacity, transform; }

/* Hero items staggered */
.lp-hero .lp-fade-up:nth-child(1) { transition-delay: 0.0s; }
.lp-hero .lp-fade-up:nth-child(2) { transition-delay: 0.12s; }
.lp-hero .lp-fade-up:nth-child(3) { transition-delay: 0.24s; }
.lp-hero .lp-fade-up:nth-child(4) { transition-delay: 0.36s; }
.lp-hero .lp-fade-up:nth-child(5) { transition-delay: 0.48s; }

/* Grid items staggered */
.lp-features__grid  .lp-fade-up:nth-child(n) { transition-delay: calc(0.08s * var(--i, 0)); }
.lp-pricing__grid   .lp-fade-up:nth-child(n) { transition-delay: calc(0.1s  * var(--i, 0)); }
.lp-testimonials__grid .lp-fade-up:nth-child(n) { transition-delay: calc(0.09s * var(--i, 0)); }
.lp-blog__grid      .lp-fade-up:nth-child(n) { transition-delay: calc(0.08s * var(--i, 0)); }

/* -----------------------------------------------
   15. Subscribe Input — Focus Glow Ring
   ----------------------------------------------- */
.lp-subscribe__form {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lp-subscribe__form:focus-within {
    transform: scale(1.01);
}

/* -----------------------------------------------
   16. Navbar Link Active Indicator
   ----------------------------------------------- */
.lp-navbar__nav li a {
    position: relative;
}

.lp-navbar__nav li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-color, #a855f7);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-navbar__nav li a:hover::after {
    transform: scaleX(1);
}

/* -----------------------------------------------
   17. Section Heading Tag — Animated Underline
   ----------------------------------------------- */
.lp-heading__tag {
    position: relative;
    overflow: hidden;
}

.lp-heading__tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--brand-color, #a855f7) 0%, transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

@keyframes lp-tag-entrance {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0%);   opacity: 1; }
}

.is-visible .lp-heading__tag {
    animation: lp-tag-entrance 0.5s ease forwards;
}

/* -----------------------------------------------
   18. Hero Scroll Indicator
   ----------------------------------------------- */
.lp-hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 1;
    opacity: 0.5;
    animation: lp-scroll-bounce 2s ease-in-out infinite;
}

.lp-hero__scroll-hint span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
}

.lp-hero__scroll-hint svg {
    width: 16px;
    height: 16px;
    color: #64748B;
}

@keyframes lp-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* -----------------------------------------------
   19. Floating Signal Preview Card in Hero
   ----------------------------------------------- */
.lp-hero-card {
    position: absolute;
    right: max(5vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 16px;
    padding: 16px;
    width: 200px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
    animation: lp-hero-float 5s ease-in-out infinite;
    z-index: 1;
    display: none; /* enabled via JS when viewport >= 1200px */
}

@keyframes lp-hero-float {
    0%, 100% { transform: translateY(-50%) translateY(0px); }
    50%       { transform: translateY(-50%) translateY(-12px); }
}

.lp-hero-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F5F9;
}

.lp-hero-card__pair {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
}

.lp-hero-card__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: #DCFCE7;
    color: #16A34A;
    letter-spacing: 0.06em;
}

.lp-hero-card__row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
}

.lp-hero-card__label { color: #94A3B8; font-weight: 500; }
.lp-hero-card__val   { color: #0F172A; font-weight: 700; }
.lp-hero-card__val--green { color: #16A34A; }
.lp-hero-card__val--red   { color: #DC2626; }

/* Second floating card (secondary, smaller) */
.lp-hero-card--2 {
    top: 25%;
    right: max(calc(5vw + 160px), 200px);
    width: 160px;
    animation-duration: 6s;
    animation-delay: -2s;
    padding: 12px;
    font-size: 11px;
}

/* -----------------------------------------------
   20. Section Divider Wave
   ----------------------------------------------- */
.lp-wave-divider {
    line-height: 0;
    overflow: hidden;
}

.lp-wave-divider svg {
    display: block;
    width: 100%;
    height: 48px;
}

/* -----------------------------------------------
   21. Reduced motion safety
   ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .lp-hero-orb,
    .lp-ticker__track,
    .lp-cta,
    .lp-hero-card,
    .lp-pricing-card--featured,
    .lp-hero__badge-dot {
        animation: none !important;
    }
    .lp-feature-card:hover,
    .lp-pricing-card:hover,
    .lp-testimonial-card:hover {
        transform: none;
    }
}

/* -----------------------------------------------
   22. Mobile — hide float card, simplify orbs
   ----------------------------------------------- */
@media (max-width: 1199px) {
    .lp-hero-card { display: none !important; }
    .lp-hero-orb--1 { width: 400px; height: 400px; }
    .lp-hero-orb--2 { width: 300px; height: 300px; }
    .lp-hero-orb--3 { display: none; }
}

/* -----------------------------------------------
   23. Hero 2-Column Layout with Widget Panels
   ----------------------------------------------- */
.lp-hero--with-widgets {
    text-align: left;
}

.lp-hero--with-widgets .lp-hero__inner {
    /* Override the base centered max-width layout */
    max-width: 1400px;
    width: 100%;
    margin: -80px auto 0; /* Pull content up */
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: center;
    text-align: left;
}

.lp-hero--with-widgets .lp-hero__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.lp-hero--with-widgets .lp-hero__badge,
.lp-hero--with-widgets .lp-hero__title,
.lp-hero--with-widgets .lp-hero__sub,
.lp-hero--with-widgets .lp-hero__cta {
    text-align: left;
}

.lp-hero--with-widgets .lp-hero__cta {
    justify-content: flex-start;
}

.lp-hero--with-widgets .lp-hero__proof {
    justify-content: flex-start;
    border-top: 1px solid #E2E8F0;
    margin-top: 40px;
    padding-top: 28px;
    width: 100%;
}

/* -----------------------------------------------
   24. Widget Sidebar Column
   ----------------------------------------------- */
.lp-hero__widgets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
    /* Align card top with hero content top */
    align-self: center;
}

/* -----------------------------------------------
   25. News / Events Widget Panel
   ----------------------------------------------- */
.lp-widget-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-widget-panel:hover {
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px) scale(1.01);
    border-color: color-mix(in srgb, var(--brand-color, #a855f7) 30%, transparent);
}

.lp-widget-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    background: #FAFBFC;
}

.lp-widget-panel__title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 7px;
}

.lp-widget-panel__title-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-color, #3B82F6);
    animation: lp-beacon 2s ease-in-out infinite;
    flex-shrink: 0;
}

.lp-widget-panel__see-all {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-color, #3B82F6);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lp-widget-panel__see-all:hover {
    opacity: 0.7;
    color: var(--brand-color, #3B82F6);
}

.lp-widget-panel__body {
    padding: 0;
}

/* -----------------------------------------------
   26. News Items
   ----------------------------------------------- */
.lp-widget-news-item {
    display: flex;
    flex-direction: column;
    padding: 11px 16px;
    border-bottom: 1px solid #F8FAFC;
    cursor: pointer;
    transition: background 0.18s ease;
    text-decoration: none;
    gap: 3px;
}

.lp-widget-news-item:last-child {
    border-bottom: none;
}

.lp-widget-news-item:hover {
    background: #F8FAFC;
}

.lp-widget-news-item__title {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skeleton loaders */
.lp-skeleton {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: lp-shimmer 1.4s infinite;
}

.lp-skeleton--title {
    height: 12px;
    width: 90%;
    margin-bottom: 6px;
}

.lp-skeleton--meta {
    height: 9px;
    width: 55%;
}

@keyframes lp-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lp-widget-news-item__meta {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-widget-news-item__cat {
    color: var(--brand-color, #3B82F6);
    font-weight: 700;
}

/* -----------------------------------------------
   27. Economic Events Items
   ----------------------------------------------- */
.lp-widget-event-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #F8FAFC;
    transition: background 0.18s ease;
    cursor: default;
}

.lp-widget-event-item:last-child {
    border-bottom: none;
}

.lp-widget-event-item:hover {
    background: #F8FAFC;
}

.lp-widget-event-item__time {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    font-variant-numeric: tabular-nums;
    text-align: center;
    line-height: 1.2;
}

.lp-widget-event-item__time small {
    display: block;
    font-size: 9px;
    color: #94A3B8;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.lp-widget-event-item__name {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.3;
}

.lp-widget-event-item__currency {
    font-size: 10px;
    color: #64748B;
    font-weight: 600;
    margin-top: 2px;
}

.lp-widget-event-impact {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-widget-event-impact--high   { background: #EF4444; box-shadow: 0 0 5px rgba(239,68,68,0.45); }
.lp-widget-event-impact--medium { background: #F59E0B; }
.lp-widget-event-impact--low    { background: #22C55E; }

/* -----------------------------------------------
   28. Market Tab Selector Strip
   ----------------------------------------------- */
.lp-market-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lp-market-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: 1.5px solid #E2E8F0;
    background: #ffffff;
    color: #475569;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lp-market-tab:hover {
    border-color: color-mix(in srgb, var(--brand-color, #3B82F6) 50%, transparent);
    color: var(--brand-color, #3B82F6);
}

.lp-market-tab--active {
    background: var(--brand-color, #3B82F6);
    border-color: var(--brand-color, #3B82F6);
    color: #ffffff;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--brand-color, #3B82F6) 35%, transparent);
}

.lp-market-tab__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.lp-market-tab--active .lp-market-tab__dot {
    opacity: 1;
    background: rgba(255,255,255,0.8);
}

/* -----------------------------------------------
   29. Responsive — widgets drop below on mobile
   ----------------------------------------------- */
@media (max-width: 1024px) {
    .lp-hero--with-widgets .lp-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
    .lp-hero__widgets {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .lp-widget-panel {
        flex: 1;
        min-width: 260px;
    }
}

@media (max-width: 640px) {
    .lp-hero--with-widgets .lp-hero__inner {
        padding: 0 16px;
    }
    .lp-hero__widgets {
        flex-direction: column;
    }
}

/* -----------------------------------------------
   30. Horizontal Scroll Agents/Combos Section
   ----------------------------------------------- */
.lp-heading--left {
    text-align: left;
    align-items: flex-start;
}
.lp-heading--mt {
    margin-top: 60px;
}
.lp-heading-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

/* On-Track Navigation Buttons */
.lp-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    color: #334155;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1; /* Always visible to prevent glitchy reveal */
    pointer-events: auto;
    z-index: 100; /* Ensure it stays above the protection zone */
}

.lp-combo-card {
    background: #fff;
    border-radius: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-top: 4px solid #AD00FF; /* Special "Bundle" accent */
}

.lp-combo-card__watermark {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 60px;
    font-weight: 950;
    color: rgba(173, 0, 255, 0.035);
    text-transform: uppercase;
    transform: rotate(-10deg);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
    font-family: 'Inter', sans-serif;
}

.lp-combo-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(173, 0, 255, 0.05) 50%);
    pointer-events: none;
}

.lp-h-scroll__track-wrap .lp-carousel-nav-btn {
    opacity: 1;
}

.lp-carousel-nav-btn:hover {
    background: var(--brand-color, #3B82F6);
    color: #ffffff;
    border-color: var(--brand-color, #3B82F6);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--brand-color, #3B82F6) 40%, transparent);
    transform: translateY(-50%) scale(1.1);
}

.lp-carousel-nav-btn--prev { left: 40px; }
.lp-carousel-nav-btn--next { right: 40px; }

@media (max-width: 640px) {
    .lp-carousel-nav-btn {
        width: 44px;
        height: 44px;
        opacity: 1;
    }
    .lp-carousel-nav-btn--prev { left: 10px; }
    .lp-carousel-nav-btn--next { right: 10px; }
}

.lp-h-scroll {
    width: 100%;
    margin-top: 20px;
    position: relative;
    padding: 0;
}

.lp-h-scroll__track-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
}

/* Fade Overlays as Protection Zones */
.lp-h-scroll__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px; /* Sized for protection */
    z-index: 50; 
    pointer-events: auto; /* Catch mouse to prevent card hover glitch */
}

.lp-h-scroll__fade--left {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.lp-h-scroll__fade--right {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

@media (max-width: 768px) {
    .lp-h-scroll__fade { width: 100px; }
}

.lp-h-scroll__track {
    display: flex;
    gap: 24px;
    padding: 10px 100px 40px;
    width: max-content;
    will-change: transform;
    cursor: grab;
}

/* Fix: Disable card hover expansion when navigating via buttons */
.lp-h-scroll__track.no-hover .lp-agent-card,
.lp-h-scroll__track.no-hover .lp-combo-card {
    pointer-events: none;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

.lp-h-scroll__track.no-hover .lp-agent-features,
.lp-h-scroll__track.no-hover .lp-combo-card__content-panels {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.lp-h-scroll__track:active {
    cursor: grabbing;
}

/* Removed sticky logic sections - now handled by infinite marquee JS */

.lp-agent-card {
    flex: 0 0 auto;
    width: 350px;
    max-width: 85vw;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: left;
}
.lp-combo-card {
    flex: 0 0 auto;
    width: 550px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: left;
}
@media (max-width: 1024px) {
    .lp-agent-card {
        flex: 0 0 calc(50% - 12px);
    }
    .lp-combo-card {
        flex: 0 0 calc(65% - 12px);
    }
}
@media (max-width: 640px) {
    .lp-agent-card, .lp-combo-card {
        flex: 0 0 85%;
        min-width: 280px;
    }
}

.lp-agent-card:hover, .lp-combo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border-color: color-mix(in srgb, var(--brand-color, #3B82F6) 40%, transparent);
}

/* Badges */
.lp-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #F1F5F9;
    color: #475569;
}
.lp-badge--featured {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

/* Agent Card specific */
.lp-agent-card__header {
    height: 110px;
    position: relative;
    background: #F8FAFC;
}
.lp-agent-card__cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #E2E8F0;
}
.lp-agent-card__header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.1), rgba(15,23,42,0.7));
}
.lp-agent-card__badges {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}
.lp-agent-card__avatar-wrap {
    position: absolute;
    bottom: -24px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff;
    padding: 3px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(15,23,42,0.12);
}
.lp-agent-card__avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.lp-agent-avatar-text {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-color, #3B82F6), color-mix(in srgb, var(--brand-color, #3B82F6) 60%, #000));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.lp-agent-card__body {
    padding: 36px 20px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.lp-agent-card__title {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.lp-agent-card__desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 44px;
}
.lp-agent-card__stats {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}
.lp-stat-micro {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-stat-micro__val {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 4px;
}
.lp-stat-micro__val--rating {
    color: #F59E0B;
}
.lp-stat-micro__val--rating svg {
    width: 14px;
    height: 14px;
}
.lp-stat-micro__label {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lp-agent-card__footer {
    padding: 14px 20px;
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.lp-agent-card__price, .lp-combo-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.lp-price-val {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.03em;
}
.lp-price-period {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
}

/* Combo Card specific */
.lp-combo-card {
    background: linear-gradient(180deg, #ffffff 0%, #FAFBFC 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.lp-combo-card__header {
    padding: 18px 24px 16px;
    background-image: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 180px);
}
.lp-combo-card__preview {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.3s ease;
}
.lp-combo-card:hover .lp-combo-card__preview {
    opacity: 0.4;
}
.lp-combo-card__preview-avatars {
    display: flex;
    align-items: center;
}
.lp-preview-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #f1f5f9;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.lp-preview-avatar:first-child { margin-left: 0; }
.lp-preview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-preview-avatar--more { background: #f8fafc; color: #94a3b8; }
.lp-combo-card__preview-text { font-size: 11px; font-weight: 600; color: #64748b; }
.lp-combo-card__footer {
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid #F1F5F9;
}
.lp-combo-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.lp-combo-card__title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1E293B, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.lp-combo-card__desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

.lp-combo-card__agents-wrap {
    padding: 0 24px 28px;
    flex-grow: 1;
}
.lp-combo-card__agents-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.lp-combo-card__agents {
    display: flex;
    margin-left: 12px; /* For overlap compensation */
}
.lp-combo-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #F1F5F9;
    margin-left: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #475569;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
    overflow: hidden;
    position: relative;
    z-index: 1px; /* Changed properly */
    transition: transform 0.2s ease;
}
.lp-combo-card__avatar:hover {
    transform: translateY(-4px);
    z-index: 10;
}
.lp-combo-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-combo-card__avatar--more {
    background: var(--brand-color, #3B82F6);
    color: #fff;
    border-color: #fff;
    z-index: 0;
}
 
 


/* ---------------------------------
   Agent & Combo Cards Additions
   --------------------------------- */
.lp-agent-card__stats-badges { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px;
    margin-top: 10px; 
    margin-bottom: 2px; 
}
.lp-agent-card__stats-badges > span { margin-bottom: 0; margin-right: 0; }
.lp-badge-type { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #F3E8FF; color: #7E22CE; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #E9D5FF; line-height: 1.2; }
.lp-badge-instrument { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #E0F2FE; color: #0369A1; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #BAE6FD; line-height: 1.2; }
.lp-badge-paper { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #ECFCCB; color: #4D7C0F; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #D9F99D; line-height: 1.2; }
.lp-badge-asset { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #EEF2FF; color: #4338CA; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #C7D2FE; line-height: 1.2; }
.lp-badge-market { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #FEF3C7; color: #B45309; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #FDE68A; line-height: 1.2; }
.lp-badge-rating { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #FFEDD5; color: #EA580C; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #FED7AA; line-height: 1.2; }
.lp-badge-rating-na { font-size: 11px; font-weight: 600; padding: 5px 10px; background: #F1F5F9; color: #64748B; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #E2E8F0; line-height: 1.2; }
.lp-badge-rating__count { font-size: 11px; color: #94A3B8; font-weight: 600; margin-left: 2px; }

.lp-agent-card__title-wrap { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.lp-agent-card__title { margin-bottom: 0; }
.lp-badge--agent { background: #F1F5F9; color: #64748B; }

.lp-agent-features { 
    margin-top: 0; 
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding-top: 0;
}
.lp-agent-card:hover .lp-agent-features {
    max-height: 120px;
    opacity: 1;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #E2E8F0;
}
.lp-agent-features__label { font-size: 10px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.lp-agent-features__list { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-agent-feature { font-size: 11px; font-weight: 500; padding: 3px 8px; background: #F8FAFC; color: #475569; border-radius: 6px; border: 1px solid #E2E8F0; display: inline-flex; align-items: center; gap: 4px; }
.lp-agent-feature__icon { display: inline-block; color: #10B981; }
.lp-agent-feature__more { font-size: 10px; font-weight: 600; padding: 3px 6px; color: #64748B; background: #F1F5F9; border-radius: 6px; }

.lp-combo-card__badges-wrap { display: flex; gap: 6px; flex-shrink: 0; }
.lp-badge--combo { background: var(--brand-color, #3B82F6); color: #fff; }
.lp-combo-card__stats-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 24px 20px;
    margin: 0;
}

@media (min-width: 576px) {
    .lp-combo-card__stats-v2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lp-stat-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.lp-stat-v2__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.lp-stat-v2__icon svg {
    width: 18px;
    height: 18px;
}

.lp-stat-v2--agents .lp-stat-v2__icon { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.lp-stat-v2--addons .lp-stat-v2__icon { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.lp-stat-v2--assets .lp-stat-v2__icon { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.lp-stat-v2--rating .lp-stat-v2__icon { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

.lp-stat-v2__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lp-stat-v2__val {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-stat-v2__val svg { width: 12px; height: 12px; }

.lp-stat-v2__label {
    font-size: 10px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}

.lp-combo-card:hover .lp-stat-v2 {
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.06);
}
.lp-combo-card__content-panels { 
    display: flex; 
    gap: 20px; 
    padding: 0 24px 12px; 
    flex-grow: 1; 
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-combo-card:hover .lp-combo-card__content-panels {
    max-height: 350px;
    opacity: 1;
}

@media (min-width: 1024px) {
    .lp-combo-card:hover .lp-combo-card__content-panels {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.lp-combo-card__agents-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-combo-card__agents-label { margin-bottom: 10px; display: block; font-weight: 600; font-size: 13px; color: #1E293B; }
.lp-combo-card__agents-list { flex-grow: 1; max-height: 160px; overflow-y: auto; padding-right: 8px; display: flex; flex-direction: column; gap: 8px; }

.lp-combo-card__addons-panel { flex-shrink: 0; display: flex; flex-direction: column; }
.lp-combo-card__addons-list-wrap { flex-grow: 1; max-height: 160px; overflow-y: auto; padding-right: 8px; }
.lp-combo-card__addons-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-combo-card__addon-item { font-size: 13px; color: #475569; display: flex; align-items: flex-start; gap: 8px; font-weight: 500; line-height: 1.4; }
.lp-combo-card__addon-item svg { width: 14px; height: 14px; color: #10B981; flex-shrink: 0; margin-top: 2px; }
.lp-combo-card__addons-empty { font-size: 13px; color: #94A3B8; margin: 0; }
.lp-combo-card__price { flex-direction: column; align-items: flex-start; gap: 2px; }
.lp-combo-card__price-row { display: flex; align-items: baseline; gap: 4px; }
.lp-combo-card__discount { font-size: 11px; color: #10B981; font-weight: 700; }
.lp-combo-card__discount del { color: #94A3B8; margin-right: 4px; }

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: #CBD5E1; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }

.lp-mini-agent-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 6px;
}

.lp-mini-agent-card:hover {
    border-color: #AD00FF;
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(173, 0, 255, 0.06);
}

.lp-mini-agent-card__header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; width: 100%; }
.lp-mini-agent-card__header img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.lp-mini-agent-card__avatar-placeholder { width: 28px; height: 28px; border-radius: 6px; background: #E2E8F0; color: #64748B; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; }
.lp-mini-agent-card__info { flex: 1; min-width: 0; }
.lp-mini-agent-card__title { font-size: 11px; font-weight: 700; color: #1E293B; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.lp-mini-agent-card__asset { font-size: 9px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.3px; }
.lp-mini-agent-card__rating { display: flex; align-items: center; gap: 3px; background: #FFFBEB; color: #D97706; padding: 1px 4px; border-radius: 4px; font-size: 9px; font-weight: 800; }
.lp-mini-agent-card__rating svg { width: 8px; height: 8px; }

.lp-mini-agent-card__body { margin-top: 4px; }
.lp-mini-agent-card__stats-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.lp-mini-stat-badge { display: inline-flex; align-items: center; gap: 3px; background: #F1F5F9; color: #475569; font-size: 7.5px; font-weight: 800; padding: 1px 4px; border-radius: 3px; text-transform: uppercase; }
.lp-mini-stat-badge svg { width: 8px; height: 8px; color: #64748B; flex-shrink: 0; }
.lp-mini-agent-feature { display: inline-block; font-size: 9px; color: #AD00FF; font-weight: 700; }

.lp-agent-card__desc,
.lp-combo-card__desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 2px 8px !important;
    margin-bottom: 20px !important;
}

.lp-combo-card__footer, .lp-agent-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    margin-top: auto;
}

.lp-combo-card__footer .lp-btn, .lp-agent-card__footer .lp-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.lp-combo-card__price, .lp-agent-card__price {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .lp-combo-card__content-panels {
        flex-direction: column;
        gap: 16px;
        padding: 0 16px 16px;
    }
    .lp-combo-card__addons-panel {
        width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #E2E8F0;
        padding-top: 16px;
    }
    .lp-combo-card__stats-wrap {
        margin: 0 16px 20px;
        gap: 12px 16px;
    }
    
    /* Transform agent cards into compact badges */
    .lp-combo-card__agents-list {
        flex-direction: column;
        align-items: stretch;
        max-height: none;
        overflow: visible;
        gap: 8px;
    }
    .lp-mini-agent-card {
        padding: 8px 14px;
        border-radius: 12px;
        display: flex;
        flex-direction: row;
        width: 100%;
        height: fit-content;
        align-items: center;
        border-color: #E2E8F0 !important;
        box-shadow: none !important;
        background: #F8FAFC !important;
    }
    .lp-mini-agent-card__header {
        gap: 6px;
    }
    .lp-mini-agent-card__header img,
    .lp-mini-agent-card__avatar-placeholder {
        width: 20px;
        height: 20px;
        font-size: 10px;
        border-width: 1px;
    }
    .lp-mini-agent-card__info > div:not(.lp-mini-agent-card__title),
    .lp-mini-agent-card__rating,
    .lp-mini-agent-card__body,
    .lp-mini-agent-card:hover .lp-mini-agent-card__body {
        display: none !important;
    }
    .lp-mini-agent-card__title {
        font-size: 11px;
    }
    
    /* Ensure addons stack */
    .lp-combo-card__addons-list-wrap {
        max-height: none;
        overflow: visible;
    }
}