* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* 主色调 - 科技蓝 */
    --primary: #165dff;
    --primary-light: #4080ff;
    --primary-dark: #0e42d2;
    --primary-gradient: linear-gradient(135deg, #165dff 0%, #0e42d2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4080ff 0%, #165dff 100%);

    /* 辅助色 */
    --secondary: #7b61ff;
    --success: #00b42a;
    --warning: #ff7d00;
    --danger: #f53f3f;

    /* 中性色 */
    --text-primary: #1d2129;
    --text-secondary: #4e5969;
    --text-tertiary: #86909c;
    --bg-primary: #ffffff;
    --bg-secondary: #f2f3f5;
    --bg-tertiary: #e5e6eb;
    --border-light: #e5e6eb;
    --border-medium: #c9cdd4;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(22, 93, 255, 0.08);
    --shadow-md: 0 4px 16px rgba(22, 93, 255, 0.12);
    --shadow-lg: 0 8px 32px rgba(22, 93, 255, 0.16);
    --shadow-xl: 0 12px 48px rgba(22, 93, 255, 0.2);
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 15px;
    overflow-x: hidden;
}

/* 更宽的container (1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
    }
}

.container {
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
}

/* 全屏色块 - 简化渐变使用 */
.full-block {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 4rem 0;
    overflow: hidden;
}

/* 简化背景样式 - 减少渐变 */
.bg-white {
    background: var(--bg-primary);
}

.bg-light {
    background: var(--bg-secondary);
}

/* 大气背景区块 */
.hero-block {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 0;
    position: relative;
}

.hero-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://picsum.photos/id/1/1920/1080") center/cover
        no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.feature-block {
    background: linear-gradient(135deg, #0a1929 0%, #112240 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
}

.feature-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://picsum.photos/id/3/1920/1080") center/cover
        no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.tech-block {
    background: linear-gradient(135deg, #f8faff 0%, #edf4ff 100%);
    padding: 6rem 0;
}

/* 导航 - 优化 */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    z-index: 1;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    padding: 0.5rem 0.8rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link:hover::after {
    width: 80%;
}

/* 按钮 - 优化 */
.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-outline-custom {
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    background: rgba(22, 93, 255, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 白色按钮（深色背景用） */
.btn-white-custom {
    background: white;
    border: none;
    border-radius: 40px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.btn-white-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}



/* 页脚 - 优化 */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
}

footer a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    text-decoration: none;
    transform: translateX(3px);
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
        color: #fff;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .price-card.popular:hover {
        transform: scale(1.02) translateY(-8px);
    }

    .icon-circle,
    .icon-circle-dark {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .hero-block,
    .feature-block,
    .tech-block {
        padding: 4rem 0;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
