/* ---
文件名: styles.css
描述: 网站全局样式表
作者: AI Assistant
--- */

/* 使用系统字体栈，零外部请求、加快首屏加载（无需从 Google Fonts 拉取） */
/* CSS Variables - 现代深色主题风格 */
:root {
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary-color: #8b9dc3;
    --background-color: #0a0e27;
    --surface-color: #141b2d;
    --surface-light: #1e2742;
    --text-color: #e0e6ed;
    --text-muted: #a0aec0;
    --heading-color: #ffffff;
    --white-color: #ffffff;
    --light-gray-color: #2a3441;
    --border-color: #2a3441;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #0066ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #141b2d 100%);
    --gradient-card: linear-gradient(135deg, #1e2742 0%, #141b2d 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1e2742 50%, #0a0e27 100%);

    /* 系统字体：iOS/macOS 苹方、Windows 微软雅黑、Android 等，与 Roboto/Noto 视觉接近 */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    
    --box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    --box-shadow-hover: 0 12px 48px rgba(0, 212, 255, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 16px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00e6ff 0%, #00b3cc 50%, #0080ff 100%);
    color: var(--white-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

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

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

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}


/* Header */
.header {
    background: rgba(20, 27, 45, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(20, 27, 45, 0.98);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    flex: 0 0 auto;
}
.logo-icon {
    height: 36px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 36px);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 0 0 auto;
}

.mobile-menu-toggle { display: none; }


/* Hero Section */
.hero {
    color: var(--white-color);
    text-align: center;
    padding: 200px 0 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
/* 确保背景图片显示，如果内联样式设置了背景图片，则使用内联样式 */
.hero[style*="background-image"] {
    background-size: cover !important;
    background-position: 100% !important;
    background-repeat: no-repeat !important;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(to right, #e67e22, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   
    animation: fadeInUp 0.8s ease-out;
}
.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 45px;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
}

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


/* Platforms Section */
.platforms-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.platforms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
}
.platform-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}
.platform-card {
    background: var(--gradient-card);
    padding: 35px 25px;
    text-align: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}
.platform-card:hover::before {
    left: 100%;
}
.platform-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(0, 212, 255, 0.5);
}
.platform-card-icon {
    width: 100%;
    max-width: 100%; /* Adjust as needed */
    
    
    margin-bottom: 20px;
}
.platform-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}
.platform-card p {
    margin-bottom: 25px;
    flex-grow: 1;
    color: var(--text-muted);
    line-height: 1.7;
}
.platform-card-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}
.platform-card-buttons .btn {
    flex: 1;
    min-width: 80px;
}


/* Features Section */
.features-section {
    background: var(--background-color);
    position: relative;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}
.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--box-shadow);
}
.feature-item i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 5px;
    flex-shrink: 0;
}
.feature-content h3 {
    margin-bottom: 15px;
    color: var(--heading-color);
}
.feature-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.feature-image img {
    width: 20%;
    max-width: 800px;
    border-radius: var(--border-radius);
}


/* All-in-one Section */
.all-in-one-section {
    background-color: var(--surface-color);
}
.all-in-one-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.all-in-one-text h2 {
    text-align: left;
}
.all-in-one-text p {
    margin-bottom: 20px;
}
.all-in-one-text .fa-ul {
    padding-bottom: 20px;
}
.all-in-one-image img {
    max-width: 100%;
}


/* Download Section */
.download-section {
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        rgba(10, 14, 39, 0.9);
}
.download-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(0,212,255,0.3)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}
.download-section .container {
    position: relative;
    z-index: 1;
}
.download-section h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.download-section p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    background: var(--gradient-dark);
    position: relative;
}
.faq-section h2 {
    margin-bottom: 50px;
    color: var(--heading-color);
}
.faq-accordion {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.faq-item {
    background: var(--gradient-card);
    margin-bottom: 15px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--box-shadow);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    color: var(--heading-color);
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer div {
    padding: 0 20px 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* News Section */
.news-section {
    background: var(--background-color);
    position: relative;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(0, 212, 255, 0.3);
}
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 20px;
}
.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.news-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-top: 15px;
}
.news-content h3 a {
    color: var(--heading-color);
    transition: color 0.3s ease;
}
.news-content h3 a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a0e27 0%, #050811 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-about {
    flex: 2;
    max-width: 350px;
}
.footer-logo {
    display: block;
    margin-bottom: 20px;
}
.footer-logo img {
    height: 72px;
}
.risk-warning {
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
}
.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a, .footer-col p {
    color: rgba(255, 255, 255, 0.7);
}
.footer-col a:hover { color: var(--white-color); }
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-icons a {
    font-size: 1.2rem;
}
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
}
.footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Modal - Keeping as is, assuming it's functional */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: var(--gradient-card);
    margin: 5% auto;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
    animation: slideIn 0.5s;
}
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-button {
    color: var(--text-muted);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 15px;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}
.close-button:hover, .close-button:focus { 
    color: var(--primary-color);
    transform: rotate(90deg);
}
.modal-body {
    display: flex;
}
.modal-info {
    flex: 1;
    padding: 40px;
    background: var(--gradient-primary);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}
.modal-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.modal-info h3 { color: var(--white-color); }
.modal-info ul { list-style: none; margin-top: 20px; }
.modal-info li { margin-bottom: 10px; }
.modal-info i { margin-right: 10px; }
.modal-image {
    max-width: 100%;
    margin-top: 20px;
    opacity: 0.8;
}
.modal-form {
    flex: 1;
    padding: 40px;
    background: var(--surface-light);
}

.modal-form h3 {
    color: var(--heading-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}
.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}
.form-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

.form-group input::placeholder {
    color: var(--text-muted);
}
.verification-code-group {
    display: flex;
}
.verification-code-group input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#sendCodeBtn {
    padding: 0 20px;
    border: 1px solid var(--primary-color);
    border-left: none;
    background: var(--gradient-primary);
    color: var(--white-color);
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#sendCodeBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00e6ff 0%, #00b3cc 50%, #0080ff 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

#sendCodeBtn:disabled {
    background: var(--light-gray-color);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border-color);
}
.btn-submit { width: 100%; }
.form-footer {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.form-footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}


/* List & Show Page Specific Styles */
.main-content {
    padding: 120px 0 60px; /* Adjust for fixed header */
    background: var(--background-color);
    min-height: 100vh;
}
.breadcrumb {
    padding: 15px 20px;
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
}
.list-header {
    text-align: center;
    margin-bottom: 40px;
}
.list-item {
    display: flex;
    gap: 30px;
    background: var(--gradient-card);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}
.list-item:hover {
    transform: translateX(5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--box-shadow-hover);
}
.list-item-image {
    flex: 0 0 250px;
}
.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}
.list-item-content h2 a {
    color: var(--heading-color);
}
.list-item-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 10px 0;
}
.list-item-meta span {
    margin-right: 15px;
}
.list-item-info {
    margin-bottom: 15px;
}

.content-layout {
    display: flex;
    gap: 30px;
}
.main-column {
    flex: 3;
}
.sidebar {
    flex: 1;
}
.article-content {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: var(--box-shadow);
}
.article-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray-color);
}
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 15px;
}
.article-body {
    line-height: 1.8;
}
.article-body h2, .article-body h3, .article-body h4 { margin-top: 1.5rem; }
.article-body p { margin-bottom: 1rem; color: black;}
.article-body img { max-width: 100%; height: auto; border-radius: var(--border-radius); }
.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray-color);
}
.tag {
    display: inline-block;
    background: var(--light-gray-color);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 0.9rem;
}
.article-cta {
    background: var(--gradient-card);
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    margin-top: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: var(--box-shadow);
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.sidebar-section {
    background: var(--gradient-card);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}
.sidebar-section:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--box-shadow-hover);
}
.sidebar-title {
    font-size: 1.2rem;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: black;
}
.cta-card {
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white-color);
}
.cta-card img { max-width: 80%; margin-bottom: 15px; }
.cta-card h3, .cta-card p { color: var(--white-color); }
.cta-card .btn { background: var(--white-color); color: var(--primary-color); }
.sidebar-footnote { font-size: 0.8rem; opacity: 0.8; margin-top: 10px; }
.download-list, .related-articles { list-style: none; }
.download-list li a {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
}
.download-list li a:hover { background: var(--light-gray-color); }
.related-article-item {
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.related-article-item h4 { font-size: 1rem; margin-bottom: 5px; }
.related-article-date { font-size: 0.8rem; color: var(--secondary-color); }


/* Responsive Styles */
@media (max-width: 992px) {
    .nav-list { display: none; }
    .header-actions .hidden-md { display: none; }
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--heading-color);
        margin: 6px 0;
        transition: all 0.3s;
    }
    
    /* 移动端菜单背景遮罩层 */
    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav.active::before {
        opacity: 1;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        z-index: 999;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        cursor: pointer; /* 点击背景区域时显示指针 */
    }
    .nav.active { 
        display: flex; 
    }
    /* 菜单列表区域不显示指针，表示可点击内容 */
    .nav.active .nav-list {
        cursor: default;
    }
    
    /* 移动端菜单独立背景面板 */
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        flex: none;
        background: var(--gradient-card);
        border-radius: var(--border-radius-lg);
        padding: 20px 15px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(0, 212, 255, 0.3);
        width: 100%;
        max-width: 400px;
        max-height: calc(100vh - 40px);
        position: relative;
        transform: translateY(-50px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        overflow-y: auto;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }
    .nav.active .nav-list {
        transform: translateY(0);
        opacity: 1;
        display: flex;
        align-items: flex-start;
    }
    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--white-color);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        padding: 12px 15px;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        display: block;
        position: relative;
        white-space: nowrap;
    }
    .nav-link:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        height: 1px;
        background: rgba(0, 212, 255, 0.2);
    }
    .nav-link:hover {
        background: rgba(0, 212, 255, 0.15);
        color: var(--primary-color);
        transform: translateX(5px);
    }
    .nav-link:active {
        background: rgba(0, 212, 255, 0.25);
    }

    .platform-cards { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .all-in-one-content { grid-template-columns: 1fr; }
    .footer-main { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 30px; }

    .content-layout { flex-direction: column; }
    .modal-body { flex-direction: column; }
    .modal-info { display: none; }
    
    .header-actions .btn span {
        display: none;
    }
    
    /* 移动端隐藏下载按钮 */
    .header-actions .btn-primary {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero { 
        padding: 140px 0 80px;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
    .hero[style*="background-image"] {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    .hero h1 { font-size: 2.8rem; }
    
    /* 小屏幕菜单优化 */
    .nav {
        padding: 10px;
        height: 100vh;
        height: 100dvh; /* 使用动态视口高度，避免移动浏览器地址栏影响 */
    }
    .nav-list {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px); /* 使用动态视口高度 */
        padding: 15px 12px;
        width: 100%;
        max-width: 100%;
    }
    .nav-link {
        font-size: 1rem;
        padding: 10px 10px;
    }
    .platform-cards { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; }
    .list-item-image { flex: auto; height: 200px; }
    .faq-accordion { grid-template-columns: 1fr; }
    
    /* 移动端 Modal 优化 */
    .modal-content {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    /* 第一行：关闭按钮 - 放在标题区域右上角，白色 */
    .close-button {
        color: var(--white-color);
        float: none;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 24px;
        transition: all 0.3s ease;
        border: none;
    }
    
    .close-button:hover,
    .close-button:focus {
        background: rgba(255, 255, 255, 0.3);
        color: var(--white-color);
    }
    
    /* 标题区域 - 使用渐变背景 */
    .modal-info {
        display: block;
        padding: 20px 50px 20px 20px;
        background: var(--gradient-primary);
        color: var(--white-color);
        position: relative;
        order: -1;
    }
    
    .modal-info h3 {
        color: var(--white-color);
        margin: 0;
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .modal-info p,
    .modal-info ul,
    .modal-info img {
        display: none;
    }
    
    .modal-body {
        flex-direction: column;
        order: 1;
    }
    
    .modal-form {
        padding: 25px 20px;
    }
}
    