:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --accent-color: #00d4ff;
    --text-dark: #1d1d1f;
    --text-gray: #86868b;
    --text-light: #f5f5f7;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --bg-dark: #1d1d1f;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

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

.section-title h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }
    .section-title p {
        font-size: 16px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.language-switch:hover {
    background: var(--primary-color);
    color: white;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.language-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.language-menu a:hover {
    background: var(--bg-light);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 16px;
    }

    .mobile-toggle {
        display: flex;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-network-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-network-svg {
        opacity: 0.4;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 120px 40px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    word-break: keep-all;
    line-break: strict;
    min-height: 140px;
}

.hero-title .typing-line {
    display: inline-block;
    position: relative;
}

.hero-title .typing-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    width: 3px;
    height: 100%;
    background: white;
    animation: blink 0.8s infinite;
}

.hero-title .typing-line-2 {
    display: inline-block;
    position: relative;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .typing-line-2::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #f0f0f0;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-title .typing-line.typing-complete::after,
.hero-title .typing-line-2.typing-complete::after {
    animation: none;
    opacity: 0;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
}

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

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        word-break: keep-all;
        line-break: strict;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

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

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.values {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    transform: rotate(45deg);
    transition: var(--transition);
}

.value-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
}

.value-card:hover .value-icon::before {
    background: white;
    opacity: 0.3;
}

.value-card:hover .value-icon::after {
    background: var(--primary-color);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.about {
    background: white;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    z-index: -1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-content .subtitle {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.about-content > p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.about-feature-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 4px;
    transform: rotate(45deg);
}

.about-feature span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-content h2 {
        font-size: 32px;
    }
}

.services {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: var(--gradient-dark);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.services .section-title h2 {
    color: white;
}

.services .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    perspective: 1200px;
}

.service-card {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: visible;
    min-height: 280px;
    perspective: 1200px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
}

.service-card-front {
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(0deg);
}

.service-card-front .service-card-content {
    padding: 32px 20px;
}

.service-card-back {
    background: #001122;
    box-shadow: var(--shadow-md);
    transform: rotateY(180deg);
    overflow: hidden;
}

.service-card-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.service-card-back svg {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin-bottom: 12px;
}

.service-card-back h3 {
    font-size: 16px;
    font-weight: 600;
    color: white !important;
    margin: 0;
    text-align: center;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    overflow: hidden;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.partners {
    background: white;
    padding: 100px 0;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll-partners 20s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.partner-item:hover {
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: visible;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.partner-item:hover .partner-logo {
    width: 150px;
    height: 150px;
    border-color: var(--primary-light);
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.25);
    background: white;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(30%);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    white-space: nowrap;
}

.partner-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .partner-item {
        width: 220px;
        padding: 24px 16px;
    }
    
    .partner-logo {
        width: 100px;
        height: 100px;
    }
    
    .partners-slider::before,
    .partners-slider::after {
        width: 50px;
    }
}

/* ===== 科技风图片预览弹窗 ===== */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
}

.image-modal-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    max-height: 85vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

/* Corner decorations - 更简约 */
.corner-deco {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.4;
}

.corner-deco::before,
.corner-deco::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
}

.corner-tl { top: 20px; left: 20px; }
.corner-tl::before { top: 0; left: 0; width: 20px; height: 1px; }
.corner-tl::after { top: 0; left: 0; width: 1px; height: 20px; }

.corner-tr { top: 20px; right: 20px; }
.corner-tr::before { top: 0; right: 0; width: 20px; height: 1px; }
.corner-tr::after { top: 0; right: 0; width: 1px; height: 20px; }

.corner-bl { bottom: 20px; left: 20px; }
.corner-bl::before { bottom: 0; left: 0; width: 20px; height: 1px; }
.corner-bl::after { bottom: 0; left: 0; width: 1px; height: 20px; }

.corner-br { bottom: 20px; right: 20px; }
.corner-br::before { bottom: 0; right: 0; width: 20px; height: 1px; }
.corner-br::after { bottom: 0; right: 0; width: 1px; height: 20px; }

/* Scan line effect - 更 subtle */
.scan-line-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: scanDown 4s ease-in-out infinite;
    z-index: 5;
}

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

/* Grid overlay - 更淡 */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 3;
}

/* Close button - 更简约 */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Image wrapper - 更简约 */
.modal-image-wrapper {
    position: relative;
    z-index: 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
    padding: 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

#modalImage {
    display: block;
    max-width: 700px;
    max-height: 60vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Title - 更简约 */
.modal-title {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    z-index: 4;
}

.modal-title::before,
.modal-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
}

.modal-title::before {
    right: calc(100% + 12px);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.modal-title::after {
    left: calc(100% + 12px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

/* Floating particles - 更 subtle */
.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) {
    top: 15%; left: 10%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 70%; left: 90%;
    animation: floatParticle 7s ease-in-out infinite 1s;
}

.particle:nth-child(3) {
    top: 85%; left: 20%;
    animation: floatParticle 6.5s ease-in-out infinite 2s;
}

.particle:nth-child(4) {
    top: 25%; left: 80%;
    animation: floatParticle 5.5s ease-in-out infinite 0.5s;
}

.particle:nth-child(5) {
    top: 45%; left: 50%;
    animation: floatParticle 6.8s ease-in-out infinite 1.5s;
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0.2; }
    25% { transform: translate(8px, -12px); opacity: 0.5; }
    50% { transform: translate(-5px, -20px); opacity: 0.3; }
    75% { transform: translate(12px, -8px); opacity: 0.4; }
}

.clients {
    background: var(--bg-light);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(0, 255, 102, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.clients-title {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.clients-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.clients-title p {
    font-size: 16px;
    color: var(--text-gray);
}

.clients-marquee {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clients-marquee-row {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.clients-marquee-row:nth-child(even) .clients-marquee-track {
    animation-direction: reverse;
}

.clients-marquee-track {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    animation: marqueeScroll 50s linear infinite;
    animation-play-state: running;
}

.clients-marquee-row:hover .clients-marquee-track {
    animation-play-state: paused;
}

.clients-marquee-row:nth-child(1) .clients-marquee-track { animation-duration: 40s; }
.clients-marquee-row:nth-child(2) .clients-marquee-track { animation-duration: 45s; }
.clients-marquee-row:nth-child(3) .clients-marquee-track { animation-duration: 38s; }
.clients-marquee-row:nth-child(4) .clients-marquee-track { animation-duration: 48s; }
.clients-marquee-row:nth-child(5) .clients-marquee-track { animation-duration: 42s; }
.clients-marquee-row:nth-child(6) .clients-marquee-track { animation-duration: 50s; }
.clients-marquee-row:nth-child(7) .clients-marquee-track { animation-duration: 44s; }
.clients-marquee-row:nth-child(8) .clients-marquee-track { animation-duration: 46s; }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
                0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(80%) brightness(0.95);
    opacity: 0.85;
}

.client-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15),
                0 2px 6px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.client-logo img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .clients-marquee-row {
        gap: 15px;
    }
    .clients-marquee-track {
        gap: 15px;
    }
    .client-logo {
        width: 120px;
        height: 80px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: 100px;
        height: 70px;
    }
}

.clients-grid {
    display: none;
}

.contact {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-content p {
    font-size: 16px;
    color: white;
    margin: 0;
}

.contact-links {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-links-left {
    flex: 1;
}

.contact-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-links a:hover {
    color: white;
    padding-left: 8px;
}

.contact-qrcode {
    text-align: center;
    flex-shrink: 0;
}

.contact-qrcode h4 {
    margin-bottom: 16px;
}

.qrcode-wrapper {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-links-left {
        width: 100%;
    }

    .contact-links-left ul {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
