/**
 * public.css
 * 包含导航栏和页脚等全站通用的样式
 */

/* 基础变量 */
:root {
    --spacing-unit: clamp(8px, 1vw, 20px);
    --content-width: clamp(320px, 90%, 1600px);
    
    /* 响应式字体大小变量 */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);     /* 12-14px */
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);       /* 14-16px */
    --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);       /* 16-18px */
    --font-size-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);      /* 18-20px */
    --font-size-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);       /* 20-24px */
    --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);         /* 24-30px */
    --font-size-2xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);   /* 30-36px */
    
    /* 主题色 */
    --primary-color: #4B89DC;
    --primary-dark: #3A70BD;
    --primary-light: #e6ecff;
    --primary-hover: #3A70BD;
    --secondary-color: #f8f9fa;
    --text-color: #212529;
    --light-text: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    /* 紫色和青色变量 */
    --purple-color: #9B7AD5;
    --purple-dark: #7E68C1;
    --purple-light: rgba(155, 122, 213, 0.1);
    
    /* Menu colors */
    --menu-gradient-start: #f3f6ff;
    --menu-gradient-end: #ffffff;
    --menu-hover-color: #f0f5ff;
    --menu-active-color: #e6ecff;
    --menu-border-color: rgba(75, 137, 220, 0.1);
    --menu-shadow: 0 10px 30px rgba(75, 137, 220, 0.1);
    --menu-active-shadow: 0 3px 8px rgba(75, 137, 220, 0.2);
    --menu-active-border: rgba(75, 137, 220, 0.3);
}

/* 添加跨平台字体优化 */

/* 为苹果设备优化字体渲染 */
@supports (-webkit-hyphens:none) {
    body {
        /* 在苹果设备上字体通常渲染得更粗一些，进行微调 */
        -webkit-font-smoothing: antialiased; /* 平滑渲染 */
        text-rendering: optimizeLegibility;
        font-feature-settings: 'kern'; /* 启用字距调整 */
    }
    
    /* 稍微减轻苹果设备上粗体字体的粗细 */
    strong, b, h1, h2, h3, h4, h5, h6, 
    .font-semibold, .font-bold, 
    [class*="font-weight-semibold"], [class*="font-weight-bold"] {
        font-weight: var(--font-weight-semibold) !important;
    }
}

/* 为Windows设备优化字体渲染 */
@supports (-ms-ime-align:auto) {
    body {
        /* Windows字体渲染通常较细 */
        text-rendering: geometricPrecision;
    }
    
    /* 增强Windows上的粗体效果 */
    h1, h2, h3 {
        letter-spacing: -0.02em; /* 紧缩字距 */
    }
}

/* 跨平台一致性修复 */
input, button, select, textarea {
    font-family: inherit;
    letter-spacing: -0.01em;
}

/* 中文字体优化 */
:lang(zh-CN) {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

/* 导航栏基础样式 */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 1) 0;
    background-color: transparent;
}

/* 公共容器 */
.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding-left: 0 calc(var(--spacing-unit) * 2);
    padding-right: 0 calc(var(--spacing-unit) * 2);
    position: relative;
}

/* 下拉菜单激活时的header样式 */
header.dropdown-active {
    background-color: rgba(255, 255, 255, 0.98);
}

/* 滚动状态的header样式 */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: calc(var(--spacing-unit) * 0.7) 0;
}

header.scrolled .logo img {
    height: 35px;
}

header.scrolled .nav-links a {
    color: #333;
}

header.scrolled .auth-buttons .login-btn {
    color: #4B89DC;
    border-color: #4B89DC;
}

/* 初始状态隐藏在顶部 */
header.hidden {
    transform: translateY(-100%);
    box-shadow: none;
    transition: transform 0.3s ease;
}

/* 滚动时显示 */
header.visible {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* 调整 main 内容的位置，避免被 fixed header 遮挡 */
main {
    padding-top: 70px; /* 根据 header 高度调整 */
}

/* 导航基础样式 */
nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 2);
}

/* Logo样式 */
.logo img {
    height: clamp(20px, 3vw, 30px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: var(--font-size-md);
    color: #444;
}

/* 导航链接样式 */
.nav-links {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: var(--font-size-sm);
}

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

/* 链接下划线效果 */
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}


/* 认证按钮样式 */
.auth-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
    align-items: center;
    margin-left: auto;
}

.login-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.get-started-btn {
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-color);
    padding:calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.3);
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: var(--font-size-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.get-started-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(50, 109, 255, 0.2);
}

.get-started-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.get-started-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 解决方案下拉菜单样式 */
.solution-link {
    position: relative;
}

.solution-dropdown {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(50, 109, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 30px rgba(50, 109, 255, 0.1), 4px 10px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
    max-height: 0;
}

.solution-dropdown.active {
    opacity: 1;
    visibility: visible;
    max-height: 90vh;
    padding: 20px 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.solution-dropdown-inner {
    display: flex;
    padding: 0;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.98) !important;
    transition: all 0.3s ease;
}

@keyframes slideIn {
    0% { transform: translateY(-10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.solution-dropdown::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 49%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.05);
    opacity: 0;
}

@keyframes fadeInDown {
    0% { transform: translateY(-20px) translateX(-50%) rotate(45deg); opacity: 0; }
    100% { transform: translateY(0) translateX(-50%) rotate(45deg); opacity: 1; }
}

.solution-link::after {
    content: '▼';
    display: inline-block;
    font-size: 9px;
    margin-left: 5px;
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.solution-link:hover::after,
.solution-link.active::after {
    transform: translateY(0) rotate(180deg);
}

.solution-dropdown::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.solution-link:hover .solution-dropdown,
.solution-dropdown:hover {
    opacity: 1;
    visibility: visible;
    max-height: 90vh;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.solution-link:hover .solution-dropdown::before,
.solution-dropdown:hover::before,
.solution-link.active .solution-dropdown::before {
    pointer-events: auto;
}

.solution-link:hover .solution-dropdown::after,
.solution-dropdown:hover::after,
.solution-link.active .solution-dropdown::after {
    opacity: 1;
    animation: fadeInDown 0.3s forwards;
}

/* 菜单侧边栏 */
.menu-sidebar {
    width: 280px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98) !important;
    border-right: 1px solid var(--menu-border-color);
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: inset -5px 0 15px -10px rgba(50, 109, 255, 0.1);
}

/* 菜单内容区 */
.menu-content {
    flex: 1;
    padding: 20px 0px 20px 30px;
    overflow-y: auto;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.98) !important;
}

/* 菜单分类 */
.menu-category {
    margin-bottom: 15px;
}

.category-title {
    font-weight: 700;
    font-size: var(--font-size-xs);
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 35%;
    transform: translateY(-50%);
    width: 5px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary-color), #8EAEFF);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(50, 109, 255, 0.3);
}

/* 菜单项 */
.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-unit) * 0.8) calc(var(--spacing-unit) * 1.5);
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-sm);
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    z-index: 1;
}

.menu-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--menu-hover-color) !important;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: -1;
}

.menu-item a:hover::before {
    transform: translateX(0);
    opacity: 0.6;
}

.menu-item a:hover,
.menu-item:hover a {
    transform: translateX(5px);
    color: var(--primary-color);
}

.menu-item.active {
    background-color: var(--menu-active-color) !important;
    box-shadow: var(--menu-active-shadow) !important;
    border-left: 3px solid var(--primary-color) !important;
}

.menu-item.active a {
    color: var(--primary-color);
    font-weight: 600;
    transform: translateX(2px);
}

.menu-item.active i {
    color: var(--primary-color);
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.25s ease;
}

.menu-item.active i {
    transform: scale(1.1);
}

/* 内容区样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: slideIn 0.3s ease forwards;
}

.content-header {
    margin-bottom: 20px;
}

.content-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.content-header p {
    color: #666;
    max-width: 90%;
    font-size: 14px;
}

/* 内容区功能卡片 */
.content-section .feature-grid {
    display: flex;
    gap: 16px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0px;
    margin: auto;
    max-width: none;
    flex-wrap: wrap;
}

.content-section .feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.content-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(50, 109, 255, 0.1);
    border-color: rgba(75, 137, 220, 0.1);
}

.content-section .feature-card .feature-icon {
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.content-section .feature-card .feature-icon img {
    width: 40px;
    height:40px;
}

.content-section .feature-card .feature-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.content-section .feature-card .feature-desc {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: 1.5;
}
.feature-grid a{
    width: 19%;
}

/* site-footer相关样式 */
.site-footer {
    background: linear-gradient(135deg, #0d1b48 0%, #0a123a 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    position: relative;
    margin-top: 0px;
    overflow: hidden;
}

.footer-gradient-line {
    height: 4px;
    background: linear-gradient(90deg, #4B89DC, #8c52ff);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* 新增：订阅区域样式 */
.footer-newsletter {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-newsletter:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.newsletter-content {
    flex: 1;
    min-width: 280px;
}

.newsletter-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4B89DC, #8c52ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
    min-width: 280px;
}

.form-group {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-input:focus {
    border-color: #4B89DC;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 137, 220, 0.2);
}

.newsletter-button {
    position: absolute;
    right: 5px;
    background-color: #4B89DC;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-button:hover {
    background-color: #3A70BD;
    transform: translateX(2px);
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--font-size-xs);
    color: #666;
    cursor: pointer;
}

.newsletter-checkbox input {
    margin-top: 3px;
}

.checkbox-text {
    line-height: 1.4;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-logo {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
    letter-spacing: 1.4px;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

.footer-social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.social-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;
}

.footer-social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

.qrcode-popup {
    position: absolute;
    top: -135px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.qrcode-img {
    width: 100px;
    height: 100px;
}

.qrcode-popup p {
    margin: 5px 0 0;
    color: #333;
    font-size: 12px;
    text-align: center;
}

.footer-social-icon:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    top: -130px;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4B89DC, #8c52ff);
    border-radius: 2px;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-nav-link i {
    font-size: 14px;
    width: 16px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-nav-link:hover i {
    color: #4B89DC;
    transform: scale(1.2);
}

.status-link {
    position: relative;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff4d4d;
    margin-left: 6px;
    position: relative;
}

.status-indicator.online {
    background-color: #4CAF50;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.footer-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    width: 100%;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.footer-address a{
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-decoration: none;
}

.footer-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-terms {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-terms-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-terms-link:hover {
    color: #ffffff;
}

.footer-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-language-switcher.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.footer-language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.language-option {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: #4B89DC;
}

.language-option.active {
    background-color: rgba(75, 137, 220, 0.1);
    color: #4B89DC;
    font-weight: 500;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #4B89DC;
    color: #fff;
    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;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

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

.scroll-to-top:hover {
    background-color: #326bbb;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 响应式样式调整 */
@media (max-width: 992px) {
    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        margin-bottom: 20px;
    }
    
    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-terms {
        margin-top: 15px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-terms {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .newsletter-button {
        position: relative;
        right: auto;
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }
    
    .form-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-newsletter {
        padding: 20px;
    }
    
    .newsletter-title {
        font-size: var(--font-size-lg);
    }
}

/* FAQ样式 */
.pricing-faq {
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    }
    
.faq-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #666;
    position: relative;
    }
    
.faq-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4B89DC, #8c52ff);
    border-radius: 2px;
}

.faq-list {
    display: flex;
        flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.faq-item:hover {
    border-left-color: #4B89DC;
}

.faq-item.active {
    border-left-color: #8c52ff;
    background: rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pricing-faq {
        padding: 20px 15px;
    }
    
    .faq-title {
        font-size: 20px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
} 