/* ===== PREMIUM MICRO-EFFECTS ===== */

/* Animated gradient border on section labels */
.section-label {
    position: relative;
    overflow: hidden;
}

.section-label::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 229, 176, 0.3), rgba(0, 196, 255, 0.1), rgba(139, 92, 246, 0.2), rgba(0, 229, 176, 0.3));
    background-size: 300% 300%;
    animation: borderShimmer 6s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

/* Section title gradient highlight on the first line */
.section-title {
    background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative dots pattern */
.showcase::after,
.founders::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(0, 229, 176, 0.12) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.5;
    pointer-events: none;
}

.comparison::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.4;
    pointer-events: none;
}

.comparison {
    position: relative;
}

/* Horizontal rule decorative line between sections */
.manifesto::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-gradient);
    margin: 60px auto 0;
    opacity: 0.5;
}

/* Floating light orbs — ambient depth */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.9); }
}

/* Card number badges for "Qué Incluye" */
.includes__card {
    counter-increment: includes-counter;
}

.includes__card .includes__icon::after {
    content: counter(includes-counter, decimal-leading-zero);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--black);
    border: 1px solid rgba(0, 229, 176, 0.15);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.includes {
    counter-reset: includes-counter;
}

/* Premium text selection glow */
.hero__title::selection,
.section-title::selection {
    background: rgba(0, 229, 176, 0.2);
}

/* Showcase card — subtle inner glow ring */
.showcase__card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

/* Demo cards — premium corner accent */
.demos__card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at top right, rgba(0, 229, 176, 0.15) 0%, transparent 70%);
    border-radius: 0 var(--radius-xl) 0 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
}

.demos__card:hover::before {
    opacity: 1;
}

/* Social proof strip — number glow on hover */
.social-proof__item:hover .social-proof__number {
    filter: drop-shadow(0 0 12px rgba(0, 229, 176, 0.3));
    transition: filter 0.4s;
}

/* Founders counter — rotating ring glow */
.founders__counter-ring::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 229, 176, 0.06) 30%, transparent 60%, rgba(0, 196, 255, 0.04) 80%, transparent 100%);
    animation: counterRotate 15s linear infinite;
    pointer-events: none;
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Testimonial — quote mark decoration */
.testimonial__card::after {
    content: '"';
    position: absolute;
    top: 16px;
    right: 28px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(0, 229, 176, 0.06);
    pointer-events: none;
}

/* FAQ items — left accent bar on active */
.faq__item.active {
    border-left: 2px solid var(--accent);
}

/* Comparison card premium shimmer on hover */
.comparison__card--after::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 176, 0.03), transparent);
    transform: skewX(-15deg);
    transition: left 0.8s;
    pointer-events: none;
}

.comparison__card--after:hover::after {
    left: 130%;
}

/* CTA Final — particle-like sparkles */
.cta-final__content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 176, 0.4), transparent);
}

/* Mobile phone screen — scan line effect */
.mobile-exp__phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 176, 0.15), transparent);
    animation: scanLine 4s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Smooth gradient noise overlay on dark sections */
.founders::before,
.mobile-exp::before {
    mix-blend-mode: screen;
}

/* Button ripple micro-interaction */
.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.btn--primary:active::after {
    opacity: 1;
    transform: scale(1);
    transition: all 0s;
}

/* Navbar brand logo rotation on hover */
.navbar__logo {
    display: inline-block;
    transition: transform 0.6s var(--ease-out-expo);
}

.navbar__brand:hover .navbar__logo {
    transform: rotate(-15deg) scale(1.1);
}

/* WhatsApp float — ring glow */
.whatsapp-float__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(37, 211, 102, 0.15);
    animation: waRing 3s ease-in-out infinite;
}

@keyframes waRing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* Price tag — shine sweep */
.founders__price-tag {
    overflow: hidden;
}

.founders__price-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: priceSweep 5s ease-in-out infinite;
}

@keyframes priceSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Social proof avatars — staggered float */
.hero__proof-avatar:nth-child(1) { animation: avatarFloat 3s ease-in-out infinite 0s; }
.hero__proof-avatar:nth-child(2) { animation: avatarFloat 3s ease-in-out infinite 0.3s; }
.hero__proof-avatar:nth-child(3) { animation: avatarFloat 3s ease-in-out infinite 0.6s; }
.hero__proof-avatar:nth-child(4) { animation: avatarFloat 3s ease-in-out infinite 0.9s; }

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .section-label::before,
    .hero::after,
    .founders__counter-ring::after,
    .mobile-exp__phone-screen::after,
    .founders__price-tag::after {
        animation: none;
    }
    .hero__proof-avatar {
        animation: none !important;
    }
}
