/* SEO隐藏关键词样式 */
.seo-keywords {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.seo-keywords span {
    display: inline-block;
    margin: 0 5px;
    font-size: 1px;
    line-height: 1px;
    color: transparent;
}

/* 隐藏的SEO页脚内容 */
.seo-footer-content {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    font-size: 1px;
    line-height: 1px;
    color: transparent;
}

.seo-footer-content p {
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
    color: transparent;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根变量定义 */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5a87;
    --accent-color: #3182ce;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --danger-color: #e53e3e;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-dark: #1a202c;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    --gradient-accent: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 语言切换器样式 */
.language-switcher {
    position: relative;
    margin-left: 20px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 100px;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.language-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.language-name {
    font-weight: 500;
    white-space: nowrap;
}

.language-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-btn.active i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
}

.language-option.active {
    background: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    font-weight: 600;
}

.language-option .flag {
    font-size: 1.3rem;
    line-height: 1;
}

.language-option .name {
    font-size: 0.95rem;
    flex: 1;
}

.language-option .check {
    color: var(--success-color);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.language-option.active .check {
    opacity: 1;
}

/* 多语言布局支持 */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

/* 语言切换动画 */
.language-transition {
    transition: all 0.3s ease;
}

.language-fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.language-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 主页横幅样式 */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.security-animation {
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    position: relative;
}

.security-animation::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(49, 130, 206, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite 0.5s;
}

.security-animation i {
    font-size: 4rem;
    color: var(--accent-color);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* 通用区块样式 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* 服务区块样式 */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.service-list i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* 资质区块样式 */
.qualifications {
    padding: 100px 0;
    background: white;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.qualification-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

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

.qualification-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.qualification-icon i {
    font-size: 2.5rem;
    color: white;
}

.qualification-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.qualification-card p {
    color: var(--text-secondary);
}

/* 原则区块样式 */
.principles {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.principle-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

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

.principle-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.principle-icon i {
    font-size: 1.8rem;
    color: white;
}

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

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

/* 声明区块样式 */
.statement {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.statement-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.statement-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 联系区块样式 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* 流量统计醒目展示 */
.traffic-highlight {
    text-align: center;
    margin: 40px 0 60px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.traffic-stats {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-number {
    font-size: 3rem;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.5);
    }
}

/* Material Design按钮样式 */
.material-button {
    position: relative;
    background: var(--gradient-accent);
    border: none;
    border-radius: 12px;
    padding: 25px 40px;
    min-width: 250px;
    height: auto;
    min-height: 120px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
    font-family: inherit;
}

.material-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(49, 130, 206, 0.4);
}

.material-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(49, 130, 206, 0.3);
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.button-content i {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.button-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
}

.button-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    border-radius: inherit;
}

.material-button:active .button-ripple {
    transform: scale(1);
}

/* 价格区块样式 */
.pricing-section {
    margin-top: 60px;
}

.pricing-title {
    font-size: 2rem;
    text-align: center;
    margin: 50px 0 30px;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.pricing-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.pricing-flow {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(49, 130, 206, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.pricing-price {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 130, 206, 0.1), transparent);
    transition: left 0.5s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

/* 页脚样式 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* 移动端语言切换器 */
    .language-switcher {
        margin-left: 15px;
        order: -1;
    }
    
    .language-btn {
        padding: 6px 10px;
        min-width: 80px;
        font-size: 0.85rem;
    }
    
    .language-name {
        display: none;
    }
    
    .language-dropdown {
        min-width: 160px;
        right: -10px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .material-button {
        min-width: 280px;
        min-height: 140px;
    }
    
    .traffic-stats {
        font-size: 1.8rem;
    }
    
    .highlight-number {
        font-size: 2.2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .statement-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* 超小屏幕语言切换器 */
    .language-switcher {
        margin-left: 10px;
    }
    
    .language-btn {
        padding: 5px 8px;
        min-width: 60px;
    }
    
    .language-flag {
        font-size: 1rem;
    }
    
    .language-dropdown {
        min-width: 140px;
        right: -15px;
    }
    
    .language-option {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 15px 30px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-card,
    .contact-form {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}