/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 深色主题配色 */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;

    /* 科技感渐变 */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #06b6d4;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* 文字颜色 */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    /* 边框与分割线 */
    --border-color: rgba(99, 102, 241, 0.2);
    --border-glow: rgba(99, 102, 241, 0.4);

    /* 间距 */
    --container-max: 1200px;
    --section-spacing: 120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 500;
}

.brand-logo {
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-en {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-main);
    border-radius: 24px;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-primary);
}

.lang-toggle .lang-zh,
.lang-toggle .lang-en {
    color: var(--text-muted);
    transition: color 0.3s;
}

.lang-toggle .lang-divider {
    color: var(--text-muted);
}

.lang-toggle[data-active="zh"] .lang-zh {
    color: var(--accent-primary);
}

.lang-toggle[data-active="en"] .lang-en {
    color: var(--accent-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: pulse 6s ease-in-out infinite reverse;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(99, 102, 241, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(6, 182, 212, 0.3), transparent);
    background-size: 200% 200%;
    animation: twinkle 20s linear infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 0.85rem;
    color: var(--accent-tertiary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 16px;
}

.title-cn {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
}

.title-en {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 8px;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--text-primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, transparent 70%);
    top: 20%;
    left: 20%;
    animation-delay: -2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: -4s;
}

/* ===== Section 通用样式 ===== */
section {
    padding: var(--section-spacing) 0;
}

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

.section-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--accent-tertiary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== 关于我们 ===== */
.about {
    background: var(--bg-secondary);
}

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

.about-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== 产品介绍 ===== */
.product {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.product-visual {
    display: flex;
    justify-content: center;
}

.product-window {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.2);
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.window-dot:first-child {
    background: #ef4444;
}

.window-dot:nth-child(2) {
    background: #f59e0b;
}

.window-dot:nth-child(3) {
    background: #22c55e;
}

.window-body {
    padding: 24px;
    min-height: 280px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.chat-bubble-left {
    background: var(--bg-card-hover);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.chat-bubble-right {
    background: var(--gradient-main);
    color: var(--text-primary);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.product-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-tertiary);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.product-desc-en {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.product-highlights {
    list-style: none;
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ===== 核心特点 ===== */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.feature-item {
    display: flex;
    gap: 32px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== 团队理念 ===== */
.philosophy {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.philosophy-text blockquote {
    margin: 24px 0;
    padding: 24px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 12px 12px 0;
}

.philosophy-text blockquote p {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
}

.philosophy-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.philosophy-en {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.philosophy-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-line {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.connection-nodes {
    position: relative;
    width: 200px;
    height: 200px;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node-2 {
    bottom: 20%;
    left: 0;
}

.node-3 {
    bottom: 20%;
    right: 0;
}

/* ===== 联系我们 ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.contact-info {
    text-align: center;
    max-width: 500px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.email-link {
    color: var(--accent-tertiary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-slogan {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== 动画 ===== */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

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

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 968px) {
    .hero .container,
    .product-content,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual,
    .philosophy-visual {
        order: -1;
    }

    .orb-container {
        width: 280px;
        height: 280px;
    }

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

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

    .title-cn {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-card);
        padding: 24px;
        gap: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .feature-item {
        padding: 24px;
    }

    .contact-wrapper {
        min-height: auto;
    }
}
