:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.5);
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.7);
}

::-webkit-scrollbar-corner {
    background: rgba(15, 23, 42, 0.8);
}

/* Firefox 滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.5) rgba(15, 23, 42, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fa60da 0%, #3c46fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title-gradient {
    font-size: clamp(2.5rem, 8vw, 6rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

.hero-title-gradient:hover {
    background: linear-gradient(90deg,
            #2563eb 0%,
            #0ea5e9 10%,
            #ffffff 20%,
            #0ea5e9 30%,
            #2563eb 40%,
            #2563eb 50%,
            #0ea5e9 60%,
            #ffffff 70%,
            #0ea5e9 80%,
            #2563eb 90%,
            #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: techFlow 2s linear forwards;
}

@keyframes techFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -200% center;
    }
}

.hero-title-sub {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    background: var(--dark-light);
    overflow: hidden;
}

.products-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.swiper-slide {
    width: auto;
    flex: 0 0 calc((100% - 4.5rem) / 4);
    flex-shrink: 0;
    box-sizing: border-box;
}

.swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.swiper-button:hover {
    background: rgba(37, 99, 235, 0.4);
    border-color: rgba(37, 99, 235, 0.6);
}

.swiper-button.prev {
    left: -60px;
}

.swiper-button.next {
    right: -60px;
}

.swiper-button svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 10;
}

.product-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-badges {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.status-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.status-badge {
    background: linear-gradient(135deg, #eb3625 0%, #d00ee9 100%);
    color: #ffffff;
}

.status-badge::before {
    content: '核心';
    font-weight: 600;
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.product-card[data-app="BUS"] .product-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.product-card[data-app="API"] .product-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.product-card[data-app="DQC"] .product-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-card[data-app="SCH"] .product-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.product-card[data-app="STUDIO"] .product-icon {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
}

.product-card[data-app="AGENT"] .product-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.agent-badge {
    display: inline-flex;
    align-items: center;
    min-width: 62px;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    background: rgba(217, 14, 233, 0.14);
    border: 1px solid rgba(217, 14, 233, 0.32);
    color: #f5d0fe;
    box-shadow: inset 0 0 0 1px rgba(235, 54, 37, 0.08);
    letter-spacing: 0;
}

.product-desc {
    font-size: 13px;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-features li {
    padding: 6px 0;
    color: var(--gray-light);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.product-features li.feature-highlight {
    color: var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* CodeEditor Section */
.code-editor-section {
    background: linear-gradient(135deg, #0a0e1a 0%, #111827 100%);
    position: relative;
    overflow: hidden;
}

.code-editor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.5) 20%,
            rgba(59, 130, 246, 0.8) 50%,
            rgba(59, 130, 246, 0.5) 80%,
            transparent 100%);
}

.editor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.editor-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editor-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.editor-features {
    list-style: none;
}

.editor-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.editor-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
}

.editor-preview {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.code-line {
    display: block;
}

.code-keyword {
    color: #c678dd;
}

.code-function {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.code-comment {
    color: #5c6370;
    font-style: italic;
}

/* Datasources Section */
.datasources {
    background: var(--dark-light);
}

.datasource-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.datasource-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.datasource-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.datasource-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.datasource-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
}

/* Tech Stack Section */
.tech-stack {
    background: var(--dark-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.tech-name {
    font-weight: 600;
    font-size: 1rem;
}

/* Scenarios Section */
.scenarios {
    background: var(--dark-light);
}

.scenarios-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
}

.scenario-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1rem;
}

.scenario-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.scenario-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Security Section */
.security-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.security-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.security-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.security-type {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.security-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.security-desc {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.security-details {
    list-style: none;
}

.security-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-details li:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray);
}

.detail-value {
    color: var(--white);
    font-weight: 600;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 8rem 2rem;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: var(--gray-light);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: var(--gray-light);
    line-height: 1.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-system-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fa60da 0%, #3c46fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}
.about-us{
    color: var(--gray-light);
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
    border: none;
    outline: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.7);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .datasource-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .swiper-slide {
        flex-basis: calc((100% - 1.5rem) / 2);
    }

    .swiper-button.prev {
        left: -40px;
    }

    .swiper-button.next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        overflow-x: hidden;
    }

    .nav-container {
        padding: 0.8rem 1rem;
        gap: 1rem;
    }

    .nav-logo {
        min-width: 0;
        gap: 0.5rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-logo-text {
        font-size: 1.35rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        flex-shrink: 0;
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1rem 3rem;
    }

    .hero-badge {
        max-width: 100%;
        border-radius: 14px;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(2.4rem, 18vw, 4rem);
    }

    .hero-title-gradient {
        font-size: clamp(2.4rem, 18vw, 4rem);
        letter-spacing: 0;
    }

    .hero-title-sub {
        display: inline-block;
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    section {
        padding: 4rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .products-grid,
    .features-grid,
    .security-container,
    .editor-wrapper,
    .datasource-grid {
        grid-template-columns: 1fr;
    }

    .products-wrapper {
        padding: 0 34px;
    }

    .swiper-slide {
        flex-basis: 100%;
    }

    .swiper-button {
        width: 40px;
        height: 40px;
    }

    .swiper-button.prev {
        left: 0;
    }

    .swiper-button.next {
        right: 0;
    }

    .swiper-button svg {
        width: 20px;
        height: 20px;
    }

    .product-card,
    .feature-card,
    .scenario-card,
    .security-card {
        border-radius: 16px;
        padding: 1.5rem;
    }

    .product-features li.feature-highlight {
        flex-wrap: wrap;
    }

    .editor-wrapper {
        gap: 2rem;
    }

    .editor-preview {
        width: 100%;
        overflow-x: auto;
        padding: 1rem;
        font-size: 12px;
    }

    .editor-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .datasource-grid {
        gap: 0.75rem;
    }

    .datasource-item {
        padding: 1rem;
    }

    .security-details li {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-value {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        flex-direction: column;
        gap: 6px;
    }

    .footer-desc {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 8px;
    }

    .scenarios-wrapper {
        grid-template-columns: 1fr;
    }

    .security-container {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .nav-logo-text {
        font-size: 1.15rem;
    }

    .nav-cta {
        padding: 0.45rem 0.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.nav-links a[href*="ai-agent"]{
    color: white;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fa60da 0%, #3c46fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}