/* DBSync 主样式文件 - 深蓝色主题 */

/* CSS 变量定义 */
:root {
    --primary-color: #1e3a8a; /* 深蓝色 */
    --primary-hover: #1d4ed8; /* 较亮的蓝色 */
    --primary-light: #3b82f6; /* 中等蓝色 */
    --secondary-color: #64748b; /* 灰蓝色 */
    --accent-color: #f59e0b; /* 橙色作为强调色 */
    --text-color: #1f2937; /* 深灰色文字 */
    --text-muted: #6b7280; /* 浅灰色文字 */
    --border-color: #e5e7eb; /* 边框颜色 */
    --background-light: #f8fafc; /* 浅色背景 */
    --background-card: #ffffff; /* 卡片背景 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 表单组件间距 */
.form-group + .form-group {
    margin-top: 1rem;
}

.form-submit {
    margin-top: 1.5rem;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10100; /* 提高z-index确保在模态框之上 */
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
}

.message.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.message.error {
    background-color: #f44336; /* 红色 */
}

/* 消息提示框样式 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    z-index: 1001; /* 比模态框更高 */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.message-toast.success {
    background-color: #4CAF50; /* 绿色 */
}

.message-toast.error {
    background-color: #f44336; /* 红色 */
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 主标题样式 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="70" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* 特性展示区域 */
.features-section {
    padding: 4rem 0;
    background: var(--background-card);
}

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

.feature-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 产品展示区域 */
.product-showcase {
    padding: 5rem 0;
    background: var(--background-card);
    position: relative;
}

.showcase-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.showcase-header {
    margin-bottom: 4rem;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.showcase-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.showcase-frame {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    transition: all 0.3s ease;
}

.showcase-frame:hover {
    transform: translateY(-4px);
}

.showcase-image {
    padding: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.main-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.showcase-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
}

.showcase-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--background-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showcase-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.showcase-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.showcase-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.showcase-feature span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* 产品截图区域样式 */
.showcase-section {
    margin-top: 5rem;
    text-align: center;
}

.showcase-section-header {
    margin-bottom: 3rem;
}

.showcase-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.showcase-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    /* 去除顶部多余空隙 */
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 清除footer内部段落默认外边距，确保高度一致 */
footer p {
    margin: 0;
}

/* Footer social icons */
footer .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
footer .social-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}
footer .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
footer .x-icon-svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .showcase-image-container {
        gap: 2rem;
    }
    
    .showcase-frame {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .showcase-image {
        border-radius: 12px;
    }
    
    .main-screenshot {
        border-radius: 12px;
    }
    
    .showcase-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .showcase-feature {
        padding: 1.5rem 1rem;
    }
    
    .showcase-feature i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .showcase-feature span {
        font-size: 1rem;
    }
    
    .showcase-section {
        margin-top: 3rem;
    }
    
    .showcase-section-header {
        margin-bottom: 2rem;
    }
    
    .showcase-section-title {
        font-size: 1.8rem;
    }
    
    .showcase-section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .product-showcase {
        padding: 3rem 0;
    }
    
    .showcase-title {
        font-size: 1.8rem;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
    }
    
    .showcase-header {
        margin-bottom: 2rem;
    }
    
    .showcase-image-container {
        gap: 1.5rem;
    }
    
    .showcase-frame {
        border-radius: 8px;
    }
    
    .showcase-image {
        border-radius: 8px;
    }
    
    .main-screenshot {
        border-radius: 8px;
    }
    
    .showcase-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 400px;
    }
    
    .showcase-feature {
        padding: 1rem 0.75rem;
    }
    
    .showcase-feature i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .showcase-feature span {
        font-size: 0.875rem;
    }
    
    .showcase-section {
        margin-top: 2rem;
    }
    
    .showcase-section-header {
        margin-bottom: 1.5rem;
    }
    
    .showcase-section-title {
        font-size: 1.5rem;
    }
    
    .showcase-section-subtitle {
        font-size: 0.9rem;
    }
}

/* 密码强度指示器样式 */
.password-strength {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 0.5rem;
}

.password-strength.very-weak {
    background-color: #fee2e2;
    color: #dc2626;
}

.password-strength.weak {
    background-color: #fed7aa;
    color: #ea580c;
}

.password-strength.medium {
    background-color: #fef3c7;
    color: #d97706;
}

.password-strength.strong {
    background-color: #dcfce7;
    color: #16a34a;
}

/* 密码错误提示样式 */
.password-errors {
    margin-top: 0.5rem;
}

.password-error {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.password-error.error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.password-error.warning {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.password-error:before {
    content: '•';
    margin-right: 0.5rem;
    font-weight: bold;
}

/* 密码输入框增强样式 */
.form-group.password-group {
    position: relative;
}

.form-group.password-group .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s;
}

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

/* 密码要求列表样式 */
.password-requirements {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.password-requirements h6 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.password-requirements li {
    margin-bottom: 0.25rem;
    position: relative;
}

.password-requirements li:before {
    content: '✓';
    position: absolute;
    left: -1.25rem;
    color: #16a34a;
    font-weight: bold;
}

.password-requirements li.invalid:before {
    content: '✗';
    color: #dc2626;
}

/* 新增区域样式 */

/* 通用section样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 极致安全区域 */
.security-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.security-section::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"><circle cx="10" cy="10" r="1" fill="rgba(30,58,138,0.05)"/><circle cx="90" cy="90" r="1.5" fill="rgba(30,58,138,0.05)"/><circle cx="30" cy="70" r="0.5" fill="rgba(30,58,138,0.03)"/><circle cx="80" cy="20" r="1" fill="rgba(30,58,138,0.05)"/></svg>') repeat;
    pointer-events: none;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.security-feature {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.security-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.security-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.security-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
}

.security-feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-feature p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 无限扩展区域 */
.scalability-section {
    padding: 5rem 0;
    background: var(--background-card);
}

.scalability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.scalability-text .section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.scalability-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scalability-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.scalability-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.scalability-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.scalability-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.scalability-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

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

.scalability-chart {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 300px;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.chart-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 1rem 0.5rem;
    min-width: 80px;
    transition: all 0.3s ease;
    position: relative;
}

.chart-item:hover {
    background: white;
    transform: scale(1.05);
}

.chart-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.chart-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

/* 精准操控区域 */
.precision-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.precision-section::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"><polygon points="50,10 60,35 85,35 65,55 75,80 50,65 25,80 35,55 15,35 40,35" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    opacity: 0.5;
}

.precision-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.precision-section .section-title {
    color: white;
}

.precision-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.precision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.precision-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.precision-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.precision-card-header {
    margin-bottom: 1.5rem;
}

.precision-card-header i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.precision-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.precision-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* 服务优势区域 */
.service-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-text .section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-highlight:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.service-highlight h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.service-highlight p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.subscription-benefits {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.subscription-benefits h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.subscription-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subscription-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.subscription-benefits li i {
    color: var(--accent-color);
    font-size: 1rem;
}

.social-support {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    color: white;
}

.social-support p {
    margin: 0;
    font-size: 1rem;
}

.twitter-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.twitter-link:hover {
    text-decoration: underline;
}

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

.subscription-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.subscription-header {
    margin-bottom: 2rem;
}

.subscription-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.subscription-header p {
    color: var(--text-muted);
    margin: 0;
}

.subscription-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.subscription-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.subscription-feature:hover {
    background: var(--primary-light);
    color: white;
}

.subscription-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.subscription-feature:hover i {
    color: white;
}

.subscription-feature span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.btn-subscription {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.btn-subscription:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* 响应式设计 - 新区域 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .security-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scalability-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .scalability-chart {
        height: 250px;
        padding: 1.5rem;
    }
    
    .chart-item {
        min-width: 60px;
        padding: 0.75rem 0.25rem;
    }
    
    .precision-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .subscription-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .security-section,
    .scalability-section,
    .precision-section,
    .service-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .security-feature,
    .precision-card {
        padding: 1.5rem;
    }
    
    .precision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scalability-item,
    .service-highlight {
        padding: 1rem;
    }
    
    .subscription-card {
        padding: 2rem;
    }
}

/* 免费试用区域 */
.trial-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.trial-section::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="70" cy="30" r="2.5" fill="rgba(255,255,255,0.12)"/><circle cx="15" cy="75" r="1" fill="rgba(255,255,255,0.06)"/></svg>') repeat;
    animation: trialFloat 25s ease-in-out infinite;
}

@keyframes trialFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
    75% { transform: translateY(-12px) rotate(-1deg); }
}

.trial-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.trial-header {
    margin-bottom: 4rem;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
}

.trial-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trial-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
}

.trial-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trial-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    min-width: 240px;
    transition: all 0.3s ease;
}

.trial-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-content {
    text-align: center;
    padding-top: 1rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.step-icon i {
    font-size: 1.5rem;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.trial-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.trial-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px; */
    padding: 1rem 1.25rem;
    backdrop-filter: blur(8px);
    max-width: 600px;
    margin: 2rem auto 0 auto;
}

.notice-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.notice-content {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.trial-cta {
    text-align: center;
}

.btn-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    margin-bottom: 1rem;
}

.btn-trial:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-trial:active {
    transform: translateY(-1px);
}

.trial-cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* 响应式设计 - 试用区域 */
@media (max-width: 768px) {
    .trial-title {
        font-size: 2.2rem;
    }
    
    .trial-subtitle {
        font-size: 1.1rem;
    }
    
    .trial-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .trial-arrow {
        transform: rotate(90deg);
        animation: bounceVertical 2s ease-in-out infinite;
    }
    
    @keyframes bounceVertical {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(5px); }
    }
    
    .trial-step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .trial-notice {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .notice-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trial-section {
        padding: 3rem 0;
    }
    
    .trial-title {
        font-size: 1.8rem;
    }
    
    .trial-subtitle {
        font-size: 1rem;
    }
    
    .trial-header {
        margin-bottom: 3rem;
    }
    
    .trial-step {
        padding: 1.5rem;
    }
    
    .btn-trial {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 重要声明与风险提示区域样式 */
.disclaimer-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fef2f2 100%);
    padding: 5rem 0;
    position: relative;
    border-top: 3px solid #dc2626;
    overflow: hidden;
}

.disclaimer-section::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"><circle cx="15" cy="15" r="1.5" fill="rgba(220,38,38,0.08)"/><circle cx="85" cy="85" r="2" fill="rgba(220,38,38,0.12)"/><circle cx="45" cy="75" r="1" fill="rgba(220,38,38,0.06)"/><circle cx="75" cy="25" r="1.5" fill="rgba(220,38,38,0.1)"/><polygon points="25,40 30,30 35,40 30,50" fill="rgba(220,38,38,0.05)"/><polygon points="65,70 70,60 75,70 70,80" fill="rgba(220,38,38,0.07)"/></svg>') repeat;
    opacity: 0.6;
    pointer-events: none;
    animation: warningBackground 30s ease-in-out infinite;
}

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

.disclaimer-content {
    position: relative;
    z-index: 1;
}

.disclaimer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.disclaimer-badge i {
    font-size: 1rem;
}

.disclaimer-title {
    color: #dc2626;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.disclaimer-subtitle {
    color: #7f1d1d;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.disclaimer-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.disclaimer-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.warning-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.warning-content {
    color: #92400e;
    font-size: 1.125rem;
    line-height: 1.6;
}

.disclaimer-items {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.disclaimer-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(254, 242, 242, 0.8), rgba(255, 255, 255, 0.95));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.disclaimer-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.03), transparent);
    pointer-events: none;
}

/* 官方渠道特殊样式 */
.disclaimer-item:first-child {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 50%, #fef2f2 100%);
    border-left: 6px solid #dc2626;
    border: 2px solid #dc2626;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15), 0 8px 16px rgba(220, 38, 38, 0.1);
}

.disclaimer-item:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #dc2626, #b91c1c, #ef4444, #dc2626);
    animation: warningShine 3s ease-in-out infinite;
}

.disclaimer-item:first-child::after {
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08), transparent);
    width: 150px;
    height: 150px;
}

@keyframes warningShine {
    0%, 100% { 
        opacity: 1; 
        background: linear-gradient(90deg, #dc2626, #b91c1c, #ef4444, #dc2626);
    }
    50% { 
        opacity: 0.8; 
        background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c, #ef4444);
    }
}

.disclaimer-item:first-child .item-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    animation: pulse 2s ease-in-out infinite;
}

.disclaimer-item:first-child .item-header h4 {
    color: #dc2626;
    font-weight: 700;
}

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

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.item-header h4 {
    color: #dc2626;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.disclaimer-item p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.disclaimer-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.disclaimer-item li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.disclaimer-note {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #991b1b;
    font-weight: 500;
}

.disclaimer-footer {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0, #dcfce7);
    border: 2px solid #22c55e;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.disclaimer-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a, #22c55e);
    animation: confirmPulse 2.5s ease-in-out infinite;
}

@keyframes confirmPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.disclaimer-footer p {
    color: #166534;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* 响应式设计 - 重要声明区域 */
@media (max-width: 768px) {
    .disclaimer-section {
        padding: 3rem 0;
    }
    
    .disclaimer-title {
        font-size: 2rem;
    }
    
    .disclaimer-subtitle {
        font-size: 1rem;
    }
    
    .disclaimer-warning {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .warning-content {
        font-size: 1rem;
    }
    
    .disclaimer-items {
        gap: 1.5rem;
    }
    
    .disclaimer-item {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .disclaimer-item::after {
        width: 80px;
        height: 80px;
    }
    
    .disclaimer-item:first-child::after {
        width: 120px;
        height: 120px;
    }
    
    .item-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .item-header h4 {
        font-size: 1.125rem;
    }
    
    .disclaimer-footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .disclaimer-footer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .disclaimer-section {
        padding: 2.5rem 0;
    }
    
    .disclaimer-title {
        font-size: 1.75rem;
    }
    
    .disclaimer-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .disclaimer-warning {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .disclaimer-item {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .disclaimer-item::after {
        width: 60px;
        height: 60px;
    }
    
    .disclaimer-item:first-child::after {
        width: 90px;
        height: 90px;
    }
    
    .item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .warning-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .disclaimer-footer {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* FAQ 常见问题区域样式 */
.faq-section {
    padding: 5rem 0;
    background: var(--background-card);
    position: relative;
}

.faq-section::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"><circle cx="25" cy="25" r="1.5" fill="rgba(30,58,138,0.04)"/><circle cx="75" cy="75" r="2" fill="rgba(30,58,138,0.06)"/><circle cx="45" cy="80" r="1" fill="rgba(30,58,138,0.03)"/><circle cx="80" cy="30" r="1.5" fill="rgba(30,58,138,0.05)"/></svg>') repeat;
    pointer-events: none;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item[open] {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.faq-item[open]::before {
    transform: scaleX(1);
}

.faq-item summary {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f067'; /* Font Awesome plus icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item[open] summary::after {
    content: '\f068'; /* Font Awesome minus icon */
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.02), rgba(59, 130, 246, 0.05));
    color: var(--primary-light);
}

.faq-item summary:hover::after {
    color: var(--primary-light);
}

.faq-item > div {
    padding: 0 2rem 1.5rem 2rem !important;
    background: linear-gradient(135deg, var(--background-light), rgba(248, 250, 252, 0.5)) !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    color: var(--text-muted) !important;
    line-height: 1.7;
    font-size: 1rem;
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item > div a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item > div a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* FAQ 响应式设计 */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-item summary {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-item summary::after {
        right: 1.5rem;
        font-size: 0.875rem;
    }
    
    .faq-item > div {
        padding: 0 1.5rem 1.25rem 1.5rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-item summary::after {
        right: 1.25rem;
        font-size: 0.8rem;
    }
    
    .faq-item > div {
        padding: 0 1.25rem 1rem 1.25rem !important;
        font-size: 0.875rem;
    }
}

/* 认证加载状态骨架屏样式 */
.auth-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: auth-loading 1.5s infinite;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.auth-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.5) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: auth-shimmer 1.5s infinite;
}

@keyframes auth-loading {
    0% { 
        background-position: 200% 0; 
    }
    100% { 
        background-position: -200% 0; 
    }
}

@keyframes auth-shimmer {
    0% { 
        background-position: 200% 0; 
    }
    100% { 
        background-position: -200% 0; 
    }
}

/* 针对特定认证元素的骨架屏优化 */
#guest-buttons.auth-skeleton,
#user-menu.auth-skeleton {
    min-height: 40px; /* 确保有足够的高度显示加载效果 */
    transition: all 0.3s ease-in-out;
}

/* 加载完成后的淡入效果 */
#guest-buttons,
#user-menu {
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#guest-buttons[style*="visibility: visible"],
#user-menu[style*="visibility: visible"] {
    opacity: 1;
}

#guest-buttons[style*="visibility: hidden"],
#user-menu[style*="visibility: hidden"] {
    opacity: 0;
} 