/* ========================================
   殴易交易所 - 全局样式表
   专业加密货币交易平台风格
   ======================================== */

/* CSS 变量定义 */
:root {
    --primary-color: #1677ff;
    --primary-dark: #0958d9;
    --primary-light: #4096ff;
    --accent-color: #00d68f;
    --accent-dark: #00b87a;
    --danger-color: #ff4d4f;
    --warning-color: #faad14;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8c8c8c;
    --bg-primary: #ffffff;
    --bg-secondary: #f8faff;
    --bg-tertiary: #f0f2f5;
    --bg-dark: #0d1117;
    --bg-dark-secondary: #161b22;
    --border-color: #e8e8e8;
    --border-light: #f0f0f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    --container-max: 1200px;
    --header-height: 72px;
}

/* 重置样式 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* 动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* 动画类 */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: var(--header-height);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.header__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__nav-link {
    position: relative;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--primary-color);
    background: rgba(22, 119, 255, 0.08);
}

.header__nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
    color: white;
}

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

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

.btn--ghost {
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary-color);
}

.btn--ghost:hover {
    background: rgba(22, 119, 255, 0.15);
}

.btn--large {
    padding: 14px 36px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.header__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.header__mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 25%, #f0fdf8 50%, #f6ffed 75%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 214, 143, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite reverse;
}

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

.hero__content {
    animation: fadeInLeft 1s ease forwards;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(22, 119, 255, 0.08);
    border: 1px solid rgba(22, 119, 255, 0.2);
    border-radius: 100px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

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

.hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero__title-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hero__stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero__visual {
    position: relative;
    animation: fadeInRight 1s ease forwards;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: white;
}

.hero__image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), transparent);
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hero__floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.hero__floating-card--top {
    top: -20px;
    left: -40px;
}

.hero__floating-card--bottom {
    bottom: -30px;
    right: -20px;
    animation-delay: 1s;
}

.hero__floating-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero__floating-icon--green {
    background: rgba(0, 214, 143, 0.12);
    color: var(--accent-dark);
}

.hero__floating-icon--blue {
    background: rgba(22, 119, 255, 0.12);
    color: var(--primary-color);
}

.hero__floating-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero__floating-text span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   通用 Section 样式
   ======================================== */
.section {
    padding: 100px 0;
}

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

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section__title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section__subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   核心特性区域
   ======================================== */
.features {
    background: var(--bg-primary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.feature-card:nth-child(1) .feature-card__icon {
    background: linear-gradient(135deg, rgba(22, 119, 255, 0.12), rgba(22, 119, 255, 0.04));
    color: var(--primary-color);
}

.feature-card:nth-child(2) .feature-card__icon {
    background: linear-gradient(135deg, rgba(0, 214, 143, 0.12), rgba(0, 214, 143, 0.04));
    color: var(--accent-dark);
}

.feature-card:nth-child(3) .feature-card__icon {
    background: linear-gradient(135deg, rgba(250, 173, 20, 0.12), rgba(250, 173, 20, 0.04));
    color: var(--warning-color);
}

.feature-card:nth-child(4) .feature-card__icon {
    background: linear-gradient(135deg, rgba(24, 144, 255, 0.12), rgba(24, 144, 255, 0.04));
    color: var(--primary-light);
}

.feature-card:nth-child(5) .feature-card__icon {
    background: linear-gradient(135deg, rgba(82, 196, 26, 0.12), rgba(82, 196, 26, 0.04));
    color: #52c41a;
}

.feature-card:nth-child(6) .feature-card__icon {
    background: linear-gradient(135deg, rgba(114, 46, 209, 0.12), rgba(114, 46, 209, 0.04));
    color: #722ed1;
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========================================
   服务介绍区域
   ======================================== */
.services {
    background: var(--bg-secondary);
}

.services__inner {
    display: grid;
    gap: 80px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-row--reverse {
    direction: rtl;
}

.service-row--reverse > * {
    direction: ltr;
}

.service__content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service__content > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

.service__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.service__feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.service__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.service__feature-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.service__visual {
    position: relative;
}

.service__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service__image-wrapper:hover .service__image {
    transform: scale(1.05);
}

/* ========================================
   数据统计区域
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2332 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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: 40px 40px;
}

.stats__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-item__number {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-item__label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ========================================
   产品/下载区域
   ======================================== */
.products {
    background: var(--bg-primary);
}

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

.product-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(0, 214, 143, 0.1));
}

.product-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.product-card:hover .product-card__btn {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   行动号召区域
   ======================================== */
.cta {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1a2332 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta__title {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta__title-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.4);
}

.btn--cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.5);
    color: white;
}

.btn--cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn--cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ========================================
   FAQ / 常见问题
   ======================================== */
.faq {
    background: var(--bg-secondary);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 16px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.faq__item:hover {
    box-shadow: var(--shadow-sm);
}

.faq__question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    background: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.faq__question-icon {
    width: 24px;
    height: 24px;
    background: rgba(22, 119, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    font-size: 12px;
    color: var(--primary-color);
    margin-left: 16px;
}

.faq__item.active .faq__question-icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
    padding: 0 24px;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding: 0 24px 24px;
}

.faq__answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #0d1117;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 32px;
}

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

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
}

.footer__brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer__column h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.footer__list a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   内部页面 - Banner
   ======================================== */
.page-banner {
    padding: calc(var(--header-height) + 80px) 0 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%);
    text-align: center;
}

.page-banner__title {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-banner__breadcrumb {
    font-size: 15px;
    color: var(--text-muted);
}

.page-banner__breadcrumb a {
    color: var(--primary-color);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-intro {
    padding: 80px 0;
    background: white;
}

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

.about-intro__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-intro__image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-intro__content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.mission-vision {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.mission-vision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mission-card {
    padding: 48px 36px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mission-card__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mission-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.team-section {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   联系我们页面
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 40px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    background: rgba(22, 119, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item__content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item__content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   新闻列表页
   ======================================== */
.news-list-section {
    padding: 60px 0 80px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.news-card__image {
    height: 200px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image img {
    transform: scale(1.1);
}

.news-card__content {
    padding: 24px;
}

.news-card__date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   新闻详情页
   ======================================== */
.news-detail-section {
    padding: 60px 0 80px;
}

.news-detail {
    max-width: 820px;
    margin: 0 auto;
}

.news-detail__header {
    margin-bottom: 36px;
    text-align: center;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.news-detail__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}

.news-detail__cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}

.news-detail__cover img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.news-detail__content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.news-detail__content p {
    margin-bottom: 20px;
}

.news-detail__content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.news-detail__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.news-detail__content ul,
.news-detail__content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.news-detail__content li {
    margin-bottom: 8px;
}

/* ========================================
   产品页面
   ======================================== */
.products-page {
    padding: 80px 0;
    background: white;
}

.product-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    transition: all var(--transition-fast);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 40px) 0 60px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-row--reverse {
        direction: ltr;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .header__nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__nav-link {
        width: 100%;
        padding: 14px 20px;
    }

    .header__actions .btn--outline {
        display: none;
    }

    .header__mobile-toggle {
        display: flex;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hero__stat-number {
        font-size: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 28px;
    }

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

    .service__content h3 {
        font-size: 24px;
    }

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

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

    .stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item__number {
        font-size: 40px;
    }

    .cta__title {
        font-size: 28px;
    }

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

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

    .mission-vision__grid {
        grid-template-columns: 1fr;
    }

    .page-banner__title {
        font-size: 32px;
    }

    .news-detail__title {
        font-size: 26px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero__floating-card--top {
        left: -10px;
    }

    .hero__floating-card--bottom {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .stats__inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-item__number {
        font-size: 32px;
    }

    .cta__buttons {
        flex-direction: column;
    }

    .cta__buttons .btn {
        width: 100%;
    }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
    .header,
    .footer,
    .back-to-top,
    .cta,
    .faq {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}
