* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0ea5e9;
    --secondary: #fbbf24;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #f97316;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --electric: #fbbf24;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.electric-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.electric-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.electric-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-delay: 0.2s;
    border-top-color: var(--secondary);
}

.electric-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation-delay: 0.4s;
    border-top-color: var(--accent);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animated Background */
.animated-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0ea5e9 0%, #0f172a 100%);
    opacity: 0.03;
}

#threeWaveBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

#threeWaveBackground canvas {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(1.05) brightness(1.05);
}

.electric-bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.bubble1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.bubble2 {
    width: 120px;
    height: 120px;
    right: 20%;
    animation-delay: 2s;
}

.bubble3 {
    width: 60px;
    height: 60px;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-100px) translateX(50px);
    }

    50% {
        transform: translateY(-50px) translateX(-50px);
    }

    75% {
        transform: translateY(-150px) translateX(25px);
    }
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(14, 165, 233, 0.3);
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.lightning {
    font-size: 80px;
    color: #FFD700;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px #FFD700);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.pillar {
    width: 80px;
    height: 80px;
    background: #000;
    border: 6px solid #000;
    border-top: 8px solid #000;
    border-bottom: 8px solid #000;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.pillar::before,
.pillar::after {
    content: '';
    position: absolute;
    background: #fff;
    width: 4px;
    height: 100%;
}

.pillar-line {
    width: 4px;
    height: 100%;
    background: #fff;
}

.tpa-text {
    font-size: 80px;
    font-weight: bold;
    color: #C41E3A;
    letter-spacing: 5px;
}

h1 {
    color: #333;
    margin: 20px 0;
    font-size: 32px;
}

.tagline {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.cta-button:active {
    transform: translateY(0);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.feature-desc {
    color: #666;
    font-size: 14px;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--electric);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.3rem;
    position: relative;
}

.lang-option {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 2;
    position: relative;
}

.lang-option.active {
    color: var(--dark);
}

.lang-indicator {
    position: absolute;
    height: calc(100% - 0.6rem);
    width: calc(50% - 0.3rem);
    background: var(--electric);
    border-radius: 50px;
    top: 0.3rem;
    left: 0.3rem;
    transition: transform 0.3s ease;
    z-index: 1;
}

.lang-toggle.en .lang-indicator {
    transform: translateX(calc(100% + 0.6rem));
}

.cta-button {
    padding: 0.8rem 1.8rem;
    background: var(--electric);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 5%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fbbf24" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--electric);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease 0.2s both;
    line-height: 1.6;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.btn-hero {
    padding: 1rem 2rem;
    border: 2px solid var(--electric);
    background: transparent;
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero.primary {
    background: var(--electric);
    color: var(--dark);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-hero.primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    animation: slideInLeft 1s ease 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--electric);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05) rotate(1deg);
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

#about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--electric);
    border-radius: 2px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease 0.2s;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text p {
    position: relative;
    color: #ef4107;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.08);
    transition: text-shadow 0.3s ease;
}

.about-text p:hover {
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.about-text {
    --shine-color: rgba(251, 191, 36, 0.45);
    --shine-speed: 3.5s;
}

.about-text p::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), var(--shine-color), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    pointer-events: none;
    animation: textShine var(--shine-speed) ease-in-out infinite;
}

@keyframes textShine {
    0% {
        left: -150%;
    }

    50% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.about-text.shine-reverse p::after {
    animation-name: textShineReverse;
}

@keyframes textShineReverse {
    0% {
        left: 120%;
    }

    50% {
        left: -150%;
    }

    100% {
        left: -150%;
    }
}

.about-text.shine-fast {
    --shine-speed: 2.2s;
}

.about-text.shine-slow {
    --shine-speed: 5s;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 243, 255, 0.2),
        0 0 20px rgba(255, 0, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #b3b3b3;
}

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease 0.4s;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.about-scroll {
    perspective: 1000px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease 0.4s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-track {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 160px;
    will-change: transform;
    transform-style: preserve-3d;
}

.about-item {
    flex: 0 0 auto;
    width: 260px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateZ(24px) scale(1.03);
}

.about-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .about-track {
        height: 120px;
        gap: 12px;
    }

    .about-item {
        width: 200px;
        height: 120px;
    }
}

/* Services Section - Updated with Slider */
.services {
    padding: 5rem 5%;
    background: var(--light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.2fr);
    gap: 2.5rem;
    align-items: stretch;
}

.services-image {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease 0.2s;
    min-height: 300px;
    /* Reduced fixed height, allow growth */
    height: auto;
    align-self: stretch;
}

.services-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.services-image:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.services-slider-container {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease 0.4s;
    min-height: 400px;
    /* Reduced fixed height */
    height: auto;
}

.services-slider-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.services-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
}

.services-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.service-slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 100%;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-slide-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-slide-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.service-slide-title {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-slide-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-top: 1.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #475569;
}

.service-feature i {
    color: var(--primary);
    font-size: 1rem;
}

.service-cta {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: 1rem;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Products Section */
.products {
    padding: 5rem 5%;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
}

.product-card.visible {
    opacity: 1;
    transform: scale(1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: cardGlow 2s ease-in-out infinite;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

/* Team Section */
/* Team Section 3D Carousel */
.team {
    padding: 100px 0;
    background: var(--light);
    overflow: hidden;
}

.team-carousel-scene {
    width: 100%;
    height: 500px;
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.team-carousel {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card-3d {
    position: absolute;
    width: 300px;
    height: 400px;
    left: 0;
    top: 0;
    border-radius: 20px;
    /* The transform will be set by JS, but we need a base */
    transform-origin: center;
    cursor: grab;
}

.team-card-3d:active {
    cursor: grabbing;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.team-card-3d:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.card-front {
    display: flex;
    flex-direction: column;
}

.team-card-3d:hover .card-front {
    border-color: var(--electric);
}

.member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info-front {
    padding: 20px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-back {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid var(--electric);
}

.member-details h3 {
    color: var(--electric);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.member-role-back {
    font-weight: bold;
    margin-bottom: 15px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.team-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.team-instruction {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .team-carousel-scene {
        height: 400px;
        perspective: 1000px;
    }

    .team-carousel {
        width: 240px;
        height: 320px;
    }

    .team-card-3d {
        width: 240px;
        height: 320px;
    }

    .member-image {
        height: 220px;
    }
}


/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--gradient);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: var(--electric);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--electric);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dark);
    flex-shrink: 0;
}

.contact-form {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease 0.2s;
}

.contact-form.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--electric);
    transform: scale(1.02);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--electric);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--electric);
    transform: translateY(-5px) rotate(360deg);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast.show {
    bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-image,
    .services-slider-container {
        min-height: auto;
    }

    .services-slider {
        height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        justify-content: center;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3D产品轮播样式 */
.products-3d-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    position: relative;
    overflow: hidden;
}

.products-3d-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

/* 视图切换按钮 */
.view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.view-btn {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn.active {
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

/* 3D轮播容器 */
.carousel-3d-container {
    perspective: 1200px;
    width: 100%;
    min-height: 500px;
    /* Changed to min-height */
    height: auto;
    position: relative;
    margin: 0 auto;
    display: none;
    padding-bottom: 50px;
    /* Add space for indicators */
}

.carousel-3d-container.active {
    display: block;
}

.carousel-3d {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.product-card-3d {
    position: absolute;
    width: 320px;
    height: 420px;
    left: 50%;
    top: 50%;
    margin-left: -160px;
    margin-top: -210px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    overflow: hidden;
    cursor: pointer;
}

.product-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: cardGlow 2s ease-in-out infinite;
}

.product-card-3d img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-3d:hover img {
    transform: scale(1.05);
}

.product-info-3d {
    padding: 20px;
}

.product-title-3d {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-description-3d {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price-3d {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0078ff;
    margin-bottom: 15px;
}

.product-btn-3d {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.carousel-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    width: 30px;
    border-radius: 6px;
}

/* 网格视图 */
.products-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    display: none;
}

.products-grid-view.active {
    display: grid;
}

.product-card-grid {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    animation: cardGlow 2s ease-in-out infinite;
}

.product-card-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-grid:hover img {
    transform: scale(1.05);
}

.product-info-grid {
    padding: 20px;
}

.product-title-grid {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-description-grid {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price-grid {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0078ff;
    margin-bottom: 15px;
}

.product-btn-grid {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn-grid:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}








/* 滚动按钮样式 */
.scroll-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0078ff;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn.up {
    background-color: #28a745;
}

.scroll-btn.up:hover {
    background-color: #218838;
}

.scroll-btn.down {
    background-color: #dc3545;
}

.scroll-btn.down:hover {
    background-color: #c82333;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0078ff, #28a745);
    z-index: 1001;
    transition: width 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-3d-container {
        height: 400px;
    }

    .product-card-3d {
        width: 280px;
        height: 380px;
        margin-left: -140px;
        margin-top: -190px;
    }

    .section-title {
        font-size: 2rem;
    }

    .view-toggle {
        flex-wrap: wrap;
    }
}

/* 自定义光标和闪电效果样式 */
* {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 20000;
    box-shadow: 0 0 10px 2px rgba(251, 191, 36, 0.5);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 19999;
}

.cursor-click {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(100, 200, 255, 0);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20001;
}

.cursor-click.active {
    animation: cursorClick 0.5s ease-out;
}

@keyframes cursorClick {
    0% {
        width: 40px;
        height: 40px;
        border-color: rgba(255, 0, 0, 0.8);
        opacity: 1;
    }

    100% {
        width: 80px;
        height: 80px;
        border-color: rgba(255, 0, 0, 0);
        opacity: 0;
    }
}

/* 闪电轨迹效果 */
.lightning-trail {
    position: fixed;
    pointer-events: none;
    z-index: 19998;
}

.lightning-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0), rgba(251, 191, 36, 0.8), rgba(251, 191, 36, 0));
    transform-origin: left center;
    opacity: 0;
}

.lightning-line.active {
    animation: lightningTrail 0.5s ease-out;
}

@keyframes lightningTrail {
    0% {
        opacity: 0;
        width: 0;
    }

    50% {
        opacity: 1;
        width: 30px;
    }

    100% {
        opacity: 0;
        width: 10px;
    }
}

/* 点击闪电效果 */
.click-lightning {
    position: fixed;
    pointer-events: none;
    z-index: 19997;
}

.lightning-bolt {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(251, 191, 36, 0.8), rgba(255, 255, 255, 0));
    transform-origin: top center;
    filter: blur(1px);
    box-shadow: 0 0 10px 2px rgba(251, 191, 36, 0.8);
    opacity: 0;
}

.lightning-bolt.active {
    animation: boltFlash 0.3s ease-out;
}

@keyframes boltFlash {
    0% {
        opacity: 0;
        height: 0;
    }

    50% {
        opacity: 1;
        height: 60px;
    }

    100% {
        opacity: 0;
        height: 30px;
    }
}

/* 闪电分支效果 */
.lightning-branch {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, rgba(251, 191, 36, 0), rgba(251, 191, 36, 0.6), rgba(251, 191, 36, 0));
    transform-origin: top center;
    opacity: 0;
}

.lightning-branch.active {
    animation: branchFlash 0.2s ease-out;
}

@keyframes branchFlash {
    0% {
        opacity: 0;
        height: 0;
    }

    50% {
        opacity: 0.7;
        height: 20px;
    }

    100% {
        opacity: 0;
        height: 10px;
    }
}

/* 闪电粒子效果 */
.lightning-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(251, 191, 36, 0.8);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 6px 2px rgba(251, 191, 36, 0.8);
    opacity: 0;
    z-index: 19996;
}

.lightning-particle.active {
    animation: particleFloat 1s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty));
    }
}

/* 可点击元素的光标效果 */
a,
button,
.product-btn-3d,
.product-btn-grid,
.carousel-control,
.slider-arrow,
.view-btn,
.scroll-btn,
.cta-button,
.submit-btn {
    position: relative;
}

a:hover,
button:hover,
.product-btn-3d:hover,
.product-btn-grid:hover,
.carousel-control:hover,
.slider-arrow:hover,
.view-btn:hover,
.scroll-btn:hover,
.cta-button:hover,
.submit-btn:hover {
    cursor: none !important;
}

/* 为可点击元素添加特殊效果 */
.cursor-on-link {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(255, 0, 0, 1) !important;
}

.cursor-follower-on-link {
    width: 60px !important;
    height: 60px !important;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, rgba(251, 191, 36, 0) 70%) !important;
}








/* Dedup removed: unified custom cursor styles kept earlier (electric theme) */



/* 关于页面样式 */
.about-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    position: relative;
    overflow: hidden;
}

.about-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://picsum.photos/seed/about-hero/1920/600') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    border-radius: 2px;
}

.about-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-hero .btn-hero {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

.about-hero .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 255, 0.4);
}

.about-story {
    padding: 80px 0;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    border-radius: 2px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.story-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    z-index: 1;
}

.values-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.values-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0078ff;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.team-section {
    padding: 80px 0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.team-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 1rem;
    color: #0078ff;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    transform: translateY(-3px);
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2a6c 0%, #0078ff 100%);
    color: white;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.stats-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFDE00;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: linear-gradient(90deg, #0078ff, #00c6ff);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

.btn-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 255, 0.4);
}

.btn-cta.secondary {
    background: transparent;
    color: #0078ff;
    border: 2px solid #0078ff;
}

.btn-cta.secondary:hover {
    background: #0078ff;
    color: white;
    transform: translateY(-3px);
}

/* 移动设备上禁用自定义光标 */
@media (max-width: 768px) {
    * {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-follower,
    .cursor-click,
    .lightning-trail,
    .click-lightning,
    .lightning-particle {
        display: none;
    }

    .logo-container {
        transform: scale(0.6);
        /* 在移动设备上进一步缩小 */
    }

    .logo-text {
        font-size: 30px;
        /* 在移动设备上调整文字大小 */
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Shop Section Styles --- */

/* Controls */
.shop-section {
    padding: 4rem 0;
    min-height: 80vh;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.search-bar i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.category-filter select {
    padding: 1rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem auto;
    padding-right: 2.5rem;
}

.category-filter select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.shop-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.1);
}

.shop-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-card:hover .shop-card-overlay {
    opacity: 1;
}

.view-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-card:hover .view-btn {
    transform: translateY(0);
}

.shop-card-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card-category {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.shop-card-price {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 1rem;
}

.add-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.add-cart-btn:hover {
    background: var(--primary);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.remove-btn {
    margin-left: auto;
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--electric);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.empty-cart-msg {
    text-align: center;
    color: #94a3b8;
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    background: white;
    z-index: 2100;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    display: flex;
    overflow: hidden;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: var(--primary);
    color: white;
}

.modal-body {
    display: flex;
    width: 100%;
}

.modal-image {
    flex: 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-info {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
}

.modal-category {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-price {
    font-size: 1.8rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 2rem;
}

.modal-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-image {
        padding: 1rem;
        min-height: 300px;
    }

    .modal-info {
        padding: 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --light: #0f172a;
    --dark: #f8fafc;
    background: #0f172a;
    color: #f8fafc;
}

[data-theme="dark"] .shop-card,
[data-theme="dark"] .cart-sidebar,
[data-theme="dark"] .product-modal,
[data-theme="dark"] .search-bar input,
[data-theme="dark"] .category-filter select {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

[data-theme="dark"] .shop-card-title,
[data-theme="dark"] .cart-item-title,
[data-theme="dark"] .modal-title,
[data-theme="dark"] .modal-price,
[data-theme="dark"] .cart-total {
    color: #f8fafc;
}

[data-theme="dark"] .shop-card-category,
[data-theme="dark"] .modal-description,
[data-theme="dark"] .cart-header h3,
[data-theme="dark"] .empty-cart-msg {
    color: #94a3b8;
}

[data-theme="dark"] .cart-footer {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .qty-btn {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

[data-theme="dark"] .modal-image {
    background: #0f172a;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--electric);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}