   
          /* =========================================
   神Ai Official Website Styles
   Tech Minimalist Theme
   ========================================= */

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

/* Custom Font Stack (System fonts for speed and localization) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* =========================================
   Hero Section - Image Mask Text Effect
   ========================================= */
.mask-text {
    /* Using a generated gradient as the image source for the mask effect 
       since we cannot rely on external images loading instantly.
       This creates a dynamic, tech-looking texture inside the text. */
    background-image: 
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #0ea5e9 50%, #22d3ee 75%, #0f172a 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: maskGradientMove 8s ease infinite;
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.15));
}

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

/* =========================================
   Glow Effects
   ========================================= */
.glow-icon {
    position: relative;
}

.glow-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.15), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-icon:hover::before,
.group:hover .glow-icon::before {
    opacity: 1;
}

/* =========================================
   Card Hover Enhancements
   ========================================= */
.product-card, .case-card, .contact-card {
    will-change: transform, border-color;
}

/* Subtle neon line accent on cards */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    transition: width 0.5s ease;
}

.product-card:hover::before {
    width: 80%;
}

/* =========================================
   Mobile Menu Animation
   ========================================= */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

#mobile-menu.open {
    max-height: 400px; /* Adjust based on content */
}

/* =========================================
   Scrollbar Styling (Webkit)
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

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

/* =========================================
   Responsive Typography Adjustments
   ========================================= */
@media (max-width: 640px) {
    .mask-text {
        font-size: 5rem;
        line-height: 1.1;
    }
}

/* =========================================
   Canvas Background Fallback
   ========================================= */
#waveCanvas {
    opacity: 0.6;
}

/* Ensure canvas doesn't block interactions */
.pointer-events-none {
    pointer-events: none;
}
        