@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-main: #09090b;
    --bg-surface: #18181b;
    --bg-glass: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background elements for depth */
body::before, body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}
body::before {
    background: var(--accent-cyan);
    top: -200px;
    left: -200px;
}
body::after {
    background: var(--accent-purple);
    bottom: -200px;
    right: -200px;
}

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

/* 导航栏 Navbar */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px; height: 3px; background: var(--text-primary); margin: 3px 0; transition: 0.3s;
}

/* 页面公共头部 Page Header */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    margin-left: 1rem;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections 公用组件 */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 卡片玻璃拟态 Glass Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 特性/服务网格 Feature/Service Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 带有图像的详细区域 Image split section */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.split-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

/* 数据统计 Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 20px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 { font-size: 1.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.footer-section p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 0.8rem; }

.footer-section a { color: var(--text-secondary); text-decoration: none; transition: var(--transition-smooth); }

.footer-section a:hover { color: var(--accent-cyan); }

.social-links { display: flex; gap: 15px; }

.social-links a {
    display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); align-items: center; justify-content: center;
    border: 1px solid var(--glass-border);
}

.social-links a:hover { background: var(--accent-cyan); color: white; transform: translateY(-3px); }

.contact-info p { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }

.footer-bottom {
    text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.9rem;
}

/* 响应式 Responsive Design */
@media (max-width: 992px) {
    .split-section { flex-direction: column; }
    .split-image { width: 100%; order: -1 !important; margin-bottom: 2rem; }
    .split-content, .split-image { order: unset; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-header { padding: 140px 0 60px; }
    .section { padding: 70px 0; }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 70px; left: -100%; width: 100%; height: 100vh;
        flex-direction: column; background: var(--bg-surface); padding: 40px;
        transition: 0.5s; text-align: center; gap: 2rem;
    }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }
    
    .hero { padding-top: 60px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; margin: 0 auto 2rem; }
    
    .hero-content > div[style*="display: flex"] { justify-content: center; }
    .btn-secondary { margin-left: 0; margin-top: 1rem; }
    
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .section-header h2 { font-size: 2rem; }
    .glass-card { padding: 25px; }
    
    .page-header h1 { font-size: 2.5rem; }
    
    .split-content h2 { font-size: 2rem !important; text-align: center; }
    .split-content p { text-align: center; }
    .stats-grid { gap: 15px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .btn-primary, .btn-secondary { width: 100%; display: block; text-align: center; margin-left: 0; margin-top: 0.5rem; margin-bottom: 0.5rem; }
    .hero-content > div[style*="display: flex"] { flex-direction: column; width: 100%; align-items: stretch; }
    .glass-card { padding: 20px; }
    .nav-container { padding: 1rem; }
    .section { padding: 50px 0; }
}