/* ═══════════════════════════════════════════════════════════
   LIKEPOINTS VISUAL ENHANCEMENTS
   Particle effects, shiny buttons, glow, 3D robot, animations
   ═══════════════════════════════════════════════════════════ */

/* ── SHINY BUTTON (pure CSS — applied to all CTAs) ── */
@property --shiny-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --shiny-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

.hero-cta,
.price-btn,
.ac-main-offer-btn,
.lp-tools-btn.primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid transparent !important;
    background-clip: padding-box;
    animation: shinyRotate 3s linear infinite;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero-cta::before,
.price-btn::before,
.ac-main-offer-btn::before,
.lp-tools-btn.primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: conic-gradient(
        from var(--shiny-angle),
        transparent,
        #e60000 var(--shiny-percent),
        #FFEA00 calc(var(--shiny-percent) * 2),
        #e60000 calc(var(--shiny-percent) * 3),
        transparent calc(var(--shiny-percent) * 4)
    );
    animation: shinyRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-cta:hover::before,
.price-btn:hover::before,
.ac-main-offer-btn:hover::before,
.lp-tools-btn.primary:hover::before {
    opacity: 1;
    --shiny-percent: 18%;
}

.hero-cta::after,
.price-btn::after,
.ac-main-offer-btn::after,
.lp-tools-btn.primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        -45deg,
        transparent 40%,
        rgba(255,255,255,0.08) 50%,
        transparent 60%
    );
    background-size: 250% 100%;
    animation: shimmerSlide 2.5s ease-in-out infinite;
}

@keyframes shinyRotate {
    to { --shiny-angle: 360deg; }
}

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

/* ── GLOW PULSE on hover ── */
.hero-cta:hover,
.price-btn:hover {
    box-shadow:
        0 0 20px rgba(230, 0, 0, 0.6),
        0 0 60px rgba(230, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ── ACCENT TEXT GLOW ── */
.accent-glow {
    animation: accentPulse 3s ease-in-out infinite;
}

@keyframes accentPulse {
    0%, 100% {
        text-shadow:
            -2px -2px 0 #000,
            2px -2px 0 #000,
            -2px 2px 0 #000,
            2px 2px 0 #000,
            0 0 10px rgba(255, 234, 0, 0.3),
            0 0 20px rgba(255, 234, 0, 0.1);
    }
    50% {
        text-shadow:
            -2px -2px 0 #000,
            2px -2px 0 #000,
            -2px 2px 0 #000,
            2px 2px 0 #000,
            0 0 20px rgba(255, 234, 0, 0.6),
            0 0 40px rgba(255, 234, 0, 0.3),
            0 0 80px rgba(255, 234, 0, 0.15);
    }
}

/* ── FEATURE CARDS: glassmorphism + hover glow ── */
.feature-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(230, 0, 0, 0.05),
        rgba(255, 234, 0, 0.03),
        transparent
    );
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: rgba(230, 0, 0, 0.25) !important;
    box-shadow:
        0 8px 32px rgba(230, 0, 0, 0.12),
        inset 0 0 60px rgba(230, 0, 0, 0.03) !important;
    transform: translateY(-6px);
}

/* ── PRICING CARDS: enhanced hover ── */
.price-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.price-card:hover {
    box-shadow: 0 20px 60px rgba(230, 0, 0, 0.2) !important;
}

.price-card.featured {
    box-shadow: 0 0 40px rgba(255, 234, 0, 0.08) !important;
}

.price-card.featured:hover {
    box-shadow:
        0 0 30px rgba(255, 234, 0, 0.15),
        0 20px 60px rgba(255, 234, 0, 0.1) !important;
}

/* ── TESTIMONIAL CARDS: subtle float ── */
.testimonial-card {
    transition: all 0.3s ease !important;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
    border-color: rgba(255, 234, 0, 0.2) !important;
}

/* ── 3D ROBOT SECTION ── */
#spline-robot-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.robot-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(0,0,0,0.96), rgba(20,0,0,0.9));
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    min-height: 480px;
}

.robot-card .robot-content {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.robot-card .robot-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.1;
}

.robot-card .robot-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 24px;
}

.robot-card .robot-content .robot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.robot-card .robot-content .robot-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.robot-card .robot-spline {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.robot-card .robot-spline iframe,
.robot-card .robot-spline spline-viewer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide Spline branding/logo link */
spline-viewer::part(logo),
spline-viewer #logo,
spline-viewer [href*="spline.design"] {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.robot-card .robot-spline a[href*="spline"],
.robot-card .robot-spline a[href*="spline.design"] {
    display: none !important;
    pointer-events: none !important;
}

.robot-spotlight {
    position: absolute;
    z-index: 1;
    top: -40%;
    left: 10%;
    width: 80%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(230,0,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .robot-card {
        flex-direction: column;
        min-height: auto;
    }
    .robot-card .robot-content {
        padding: 32px 24px 20px;
    }
    .robot-card .robot-spline {
        min-height: 300px;
    }
}

/* ── SECTION DIVIDER GLOW LINES ── */
section {
    position: relative;
}

.section-inner {
    position: relative;
}

/* ── MAGNETIC BUTTON TRANSITION ── */
.magnetic-btn {
    transition: transform 0.25s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.3s ease !important;
    will-change: transform;
}

/* ── PARTICLE TEXT CANVAS ── */
.particle-text-canvas {
    max-width: 900px;
    border-radius: 12px;
    margin: 0 auto;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e60000, #FFEA00, #e60000);
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(230,0,0,0.5);
}

/* ── VIDEO THUMBNAIL HOVER ── */
.vt-thumb {
    position: relative;
    overflow: hidden;
}

.vt-thumb img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.cv-item:hover .vt-thumb img,
.vt-item:hover .vt-thumb img {
    transform: scale(1.06);
}

.vt-play {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cv-item:hover .vt-play,
.vt-item:hover .vt-play {
    transform: translate(-50%, -50%) scale(1.15) !important;
    box-shadow: 0 0 30px rgba(230,0,0,0.6) !important;
}

/* ── PRINT CARDS: tilt on hover ── */
.print-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.print-card:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4) !important;
}

/* ── GUARANTEE BOX GLOW ── */
.guarantee-box {
    transition: all 0.4s ease !important;
}

.guarantee-box:hover {
    box-shadow:
        0 0 40px rgba(255, 234, 0, 0.1),
        0 20px 60px rgba(0,0,0,0.3) !important;
    border-color: rgba(255, 234, 0, 0.3) !important;
}

/* ── FAQ ENHANCED ── */
.faq-q {
    transition: all 0.3s ease !important;
}

.faq-q:hover {
    color: var(--accent) !important;
    padding-left: 8px;
}

/* ── FLOATING CTA GLOW ANIMATION ── */
@keyframes ctaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.sticky-bar a {
    animation: ctaFloat 2s ease-in-out infinite;
}

/* ── LOADING SKELETON SHIMMER (for widgets) ── */
@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.lpsu-loading-spinner,
.lpcw-loading-spinner {
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 16px;
}

/* ── ANIMATED GLOW BORDER on hero video ── */
.video-wrapper {
    position: relative;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(45deg, #e60000, #FFEA00, #e60000, #FFEA00);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    opacity: 0.5;
    filter: blur(8px);
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── NOT-IS BOX ENHANCEMENTS ── */
.not-box,
.is-box {
    transition: all 0.3s ease !important;
}

.not-box:hover {
    border-color: rgba(255, 0, 0, 0.4) !important;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.1) !important;
}

.is-box:hover {
    border-color: rgba(0, 200, 0, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 200, 0, 0.1) !important;
}

/* ── MS-CARD (módulos) glass hover ── */
.ms-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, rgba(255,234,0,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ms-card:hover::before {
    opacity: 1;
}

/* ── COMBO DETAILS ENHANCED ── */
.combo-module-item {
    transition: all 0.2s ease !important;
}

.combo-module-item:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,0.06) !important;
}
