/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0f172a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 16px 36px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

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

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

.language-selector {
    position: relative;
}

.language-select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    /* Ensure dropdown opens downward */
    transform-origin: top center;
}

.language-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
}

.language-select option {
    background-color: #1a1f2e;
    color: #ffffff;
}

/* Force dropdown to open downward when near top of viewport */
.language-select.dropdown-down {
    /* This helps ensure the dropdown opens downward */
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main {
    margin-top: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Product Showcase Section */
.product-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background for Product Showcase */
.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Animated grid pattern */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.1) 2px,
            rgba(59, 130, 246, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.1) 2px,
            rgba(59, 130, 246, 0.1) 4px
        ),
        /* Gradient overlay */
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%, rgba(30, 64, 175, 0.1) 100%);
    background-size: 100px 100px, 100px 100px, 100% 100%;
    background-position: 0 0, 0 0, 0 0;
    animation: productShowcaseGridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.product-showcase::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 70%,
        rgba(30, 64, 175, 0.08) 0%,
        transparent 50%
    );
    animation: productShowcasePulse 15s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes productShowcaseGridMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, -100px -100px, 0 0;
    }
}

@keyframes productShowcasePulse {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

/* Floating energy particles for product showcase */
.product-showcase .energy-flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.product-showcase .energy-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.15) 20%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(59, 130, 246, 0.15) 80%,
        transparent 100%
    );
    animation: productShowcaseLineFlow 8s linear infinite;
}

.product-showcase .energy-line:nth-child(1) {
    top: 20%;
    width: 300px;
    animation-delay: 0s;
    left: -300px;
}

.product-showcase .energy-line:nth-child(2) {
    top: 50%;
    width: 400px;
    animation-delay: 2s;
    left: -400px;
}

.product-showcase .energy-line:nth-child(3) {
    top: 80%;
    width: 250px;
    animation-delay: 4s;
    left: -250px;
}

@keyframes productShowcaseLineFlow {
    0% {
        left: -400px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-showcase-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.product-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-showcase-card:hover::before {
    transform: scaleX(1);
}

.product-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.product-showcase-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-showcase-card:hover .product-showcase-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    transform: scale(1.1);
}

.product-showcase-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.product-showcase-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-showcase-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.product-showcase-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.product-showcase-link:hover {
    color: #1d4ed8;
}

.product-showcase-link:hover::after {
    transform: translateX(4px);
}

/* Achievement Stats Section */
.achievement-stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.achievement-header {
    text-align: center;
    margin-bottom: 4rem;
}

.achievement-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.achievement-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.achievement-stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.achievement-stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.achievement-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.achievement-stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Application Scenarios Section */
.application-scenarios {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: white;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.scenario-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.scenario-card:hover::before {
    transform: scaleY(1);
}

.scenario-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.scenario-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
}

.scenario-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.scenario-card:hover .scenario-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    transform: scale(1.1);
}

.scenario-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.scenario-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: transparent;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-top: 0;
    z-index: 2;
}


/* Animated Background - Energy Theme */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 5;
    background-image:
        /* Energy flow lines */
        linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.08) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(59, 130, 246, 0.06) 50%, transparent 100%),
        /* Industrial grid pattern */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.02) 2px,
            rgba(59, 130, 246, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.02) 2px,
            rgba(59, 130, 246, 0.02) 4px
        );
    background-size: 200% 200%, 200% 200%, 100px 100px, 100px 100px;
    background-position: 0% 0%, 0% 0%, 0 0, 0 0;
    animation: energyFlow 20s ease-in-out infinite, gridMove 30s linear infinite;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 6;
    background-image:
        /* Night sky stars */
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 80% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 70% 20%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    animation: starTwinkle 4s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

/* Energy flow animation */
@keyframes energyFlow {
    0%, 100% {
        background-position: -100% -100%, 100% 100%, 0 0, 0 0;
    }
    50% {
        background-position: 200% 200%, -100% -100%, 0 0, 0 0;
    }
}

/* Grid movement animation */
@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 100px 100px, 100px 100px;
    }
}

/* Star twinkle animation */
@keyframes starTwinkle {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.8;
    }
}

/* Additional animated elements - Energy particles */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: backgroundZoom 30s ease-in-out infinite alternate;
    will-change: transform;
    display: block;
    opacity: 1;
}

/* Fallback gradient if images don't load */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f172a 100%);
    z-index: -1;
}

@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Hero Background Overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.4) 0%, rgba(26, 31, 46, 0.3) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    padding: 0;
    outline: none;
}

.carousel-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    height: 32px;
    border-radius: 6px;
}

.energy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
}

.energy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    animation: particleFloat 15s infinite ease-in-out;
}

.energy-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    background: rgba(59, 130, 246, 0.5);
}

.energy-particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
    background: rgba(16, 185, 129, 0.5);
}

.energy-particle:nth-child(3) {
    left: 70%;
    top: 30%;
    animation-delay: 4s;
    background: rgba(59, 130, 246, 0.5);
}

.energy-particle:nth-child(4) {
    left: 50%;
    top: 80%;
    animation-delay: 6s;
    background: rgba(16, 185, 129, 0.5);
}

.energy-particle:nth-child(5) {
    left: 85%;
    top: 50%;
    animation-delay: 8s;
    background: rgba(59, 130, 246, 0.5);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) translateX(15px) scale(1.1);
        opacity: 0.6;
    }
}

/* Energy flow lines animation */

/* Energy flow lines animation */
.energy-flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.energy-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.25) 20%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(59, 130, 246, 0.25) 80%,
        transparent 100%
    );
    animation: energyLineFlow 8s linear infinite;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

.energy-line:nth-child(1) {
    top: 20%;
    width: 200px;
    animation-delay: 0s;
}

.energy-line:nth-child(2) {
    top: 40%;
    width: 300px;
    animation-delay: 2s;
}

.energy-line:nth-child(3) {
    top: 60%;
    width: 250px;
    animation-delay: 4s;
}

.energy-line:nth-child(4) {
    top: 80%;
    width: 180px;
    animation-delay: 6s;
}

@keyframes energyLineFlow {
    0% {
        left: -300px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 4rem 0;
    padding-top: calc(4rem + 90px);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-main-title {
    margin-bottom: 2.5rem;
}

.hero-title-line-1,
.hero-title-line-2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    margin: 0;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-title-line-2 {
    margin-bottom: 0;
}

.hero-subtitle-group {
    margin-bottom: 1.5rem;
}

.hero-subtitle-line-1,
.hero-subtitle-line-2 {
    font-size: 1.625rem;
    margin: 0;
    margin-bottom: 0.5rem;
    opacity: 0.98;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-group-alt {
    margin-top: 1.5rem;
}

.hero-subtitle-alt-line-1,
.hero-subtitle-alt-line-2 {
    font-size: 1.625rem;
    margin: 0;
    margin-bottom: 0.5rem;
    opacity: 0.98;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Featured Card */
.hero-featured-card {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-featured-card:hover {
    background: rgba(30, 41, 59, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.5);
}

.featured-card-content {
    text-align: center;
}

.featured-card-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-card-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.featured-card-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.featured-card-link:hover {
    background: rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}


/* Section Styles */
section {
    padding: 9rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.company-intro h3,
.company-timeline h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.company-intro p {
    font-size: 1.125rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

/* Timeline line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3b82f6;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e5e7eb;
}

.timeline-year {
    position: absolute;
    left: -3rem;
    top: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3), 0 4px 8px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.team-showcase {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

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

.team-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

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

.company-features {
    background: rgba(30, 41, 59, 0.6);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.company-features h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.company-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.company-features .feature-item:hover {
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.company-features .feature-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-features .feature-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company-features .feature-item p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* Technology Stack Section */
.technology {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: white;
}

.tech-stack-container {
    margin-bottom: 4rem;
}

.tech-group {
    margin-bottom: 3rem;
}

.tech-group:last-child {
    margin-bottom: 0;
}

.tech-group-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    letter-spacing: 0.02em;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    min-width: 0;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.tech-item:hover .tech-logo {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transform: scale(1.05);
}

.tech-logo {
    width: auto;
    height: 36px;
    padding: 0 14px;
    background: #3b82f6;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

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

.highlight-item {
    text-align: center;
    padding: 3rem 2.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.highlight-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

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

/* Services Section */
.services {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: white;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: rgba(30, 41, 59, 0.6);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3b82f6;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #93c5fd;
}

.service-process {
    background: rgba(30, 41, 59, 0.6);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.service-process h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
    }

    .tech-logo {
        font-size: 0.7rem;
        height: 34px;
        padding: 0 12px;
    }

    .tech-group-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tech-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tech-logo {
        font-size: 0.65rem;
        height: 32px;
        padding: 0 10px;
    }

    .tech-item {
        padding: 0.75rem 0.5rem;
    }

    .tech-group-title {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .tech-group {
        margin-bottom: 2.5rem;
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: #3b82f6;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* Case Studies Section */
.cases {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 6rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.case-image {
    height: 120px;
    background: #3b82f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.case-industry {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-logo {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.case-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.testimonials {
    background: rgba(30, 41, 59, 0.6);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.testimonials h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: rgba(15, 23, 42, 0.5);
    padding: 2.75rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-6px);
    border-color: #3b82f6;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #3b82f6;
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    padding-left: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.author-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Products Section */
.products {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: white;
    padding: 6rem 0;
}

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

.product-card {
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-content h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-content h3 a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.product-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-link-inline {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link-inline:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    align-content: start;
}

.contact-method {
    background: rgba(30, 41, 59, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.contact-method .contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.qr-code-image {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.wechat-qr {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wechat-qr:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-brand-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

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

/* RTL (Right-to-Left) Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .container {
    text-align: right;
}

[dir="rtl"] .navbar {
    direction: rtl;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    left: 20px;
    right: auto;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-actions {
    justify-content: flex-end;
}

[dir="rtl"] .about-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .services-grid {
    direction: rtl;
}

[dir="rtl"] .cases-grid {
    direction: rtl;
}

[dir="rtl"] .products-grid {
    direction: rtl;
}

[dir="rtl"] .contact-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-section {
    text-align: right;
}

[dir="rtl"] .footer-links {
    text-align: right;
}

[dir="rtl"] .footer-contact {
    text-align: right;
}

/* RTL Support for Tool Pages */
[dir="rtl"] .tool-tabs {
    flex-direction: row-reverse;
}

[dir="rtl"] .button-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group {
    text-align: right;
}

[dir="rtl"] .input-label {
    text-align: right;
}

[dir="rtl"] .result-section {
    text-align: right;
}

[dir="rtl"] .help-section {
    text-align: right;
}

[dir="rtl"] .help-content {
    text-align: right;
}

[dir="rtl"] .help-content ul {
    text-align: right;
}

[dir="rtl"] .help-content li {
    text-align: right;
}

/* RTL Support for Modbus Tool */
[dir="rtl"] .modbus-form {
    text-align: right;
}

[dir="rtl"] .modbus-form label {
    text-align: right;
}

[dir="rtl"] .modbus-form select {
    text-align: right;
}

[dir="rtl"] .modbus-form input {
    text-align: right;
}

[dir="rtl"] .modbus-form textarea {
    text-align: right;
}

[dir="rtl"] .modbus-results {
    text-align: right;
}

[dir="rtl"] .modbus-results .result-item {
    text-align: right;
}

[dir="rtl"] .modbus-results .result-label {
    text-align: right;
}

[dir="rtl"] .modbus-results .result-value {
    text-align: right;
}

/* RTL Support for JSON Tool */
[dir="rtl"] .json-input {
    text-align: right;
}

[dir="rtl"] .result-content {
    text-align: right;
}

[dir="rtl"] .stats {
    direction: rtl;
}

[dir="rtl"] .stat-card {
    text-align: right;
}

/* RTL Support for Regex Tool */
[dir="rtl"] .input-field {
    text-align: right;
}

[dir="rtl"] .flags-section {
    direction: rtl;
}

[dir="rtl"] .flag-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .flag-label {
    text-align: right;
}

/* RTL Support for UUID Tool */
[dir="rtl"] .uuid-display {
    text-align: right;
}

[dir="rtl"] .bulk-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .bulk-results {
    text-align: right;
}

[dir="rtl"] .version-info {
    direction: rtl;
}

[dir="rtl"] .version-card {
    text-align: right;
}

[dir="rtl"] .stats {
    direction: rtl;
}

[dir="rtl"] .stat-card {
    text-align: right;
}
