/* ModifyVideo.cc - Main Stylesheet
   Based on LUMA AI design aesthetic
   Created for SEO-optimized responsive website
*/

/* CSS Variables for Theming */
:root {
    --background-color: #0d0d0d;
    --text-color: #e0e0e0;
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --card-background: #1a1a1a;
    --border-color: #333;
    --header-background: rgba(13, 13, 13, 0.8);
    --text-muted: #b0b0b0; /* 提高对比度 */
    --dropdown-bg: #191919;
    --dropdown-hover: #4338ca;

    /* Color Palette - Inspired by LUMA AI */
    --primary: #6366f1;
    --primary-dark: #4f46e5; 
    --primary-light: #818cf8;
    --secondary: #10b981;
    --background: #0f172a;
    --background-light: #1e293b;
    --background-lighter: #334155;
    --text: #f8fafc;
    --text-secondary: #e2e8f0; /* 增强对比度 */
    --border: #475569;
    --accent: #8b5cf6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* 添加新的渐变色和阴影变量 */
    --hero-gradient: linear-gradient(135deg, #4f46e5, #7c3aed, #10b981);
    --text-shadow-hero: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(101, 81, 255, 0.3);
}

body.light-theme {
    --background-color: #f8fafc;
    --text-color: #0f172a;
    --card-background: #ffffff;
    --border-color: #e2e8f0;
    --header-background: rgba(248, 250, 252, 0.8);
    --text-muted: #475569; /* Darkened for better contrast */
    --dropdown-bg: #1a1a1a;
    --dropdown-hover: #4338ca;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

@font-face {
    font-family: 'ModifyLogo';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');
}

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

a:hover {
    color: var(--secondary-color);
}

img, video {
    max-width: 100%;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Merriweather Sans', sans-serif;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    line-height: 1.2;
}

h4, h5, h6 {
    margin-bottom: var(--space-sm);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.section-intro {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

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

section {
    padding: 80px 0;
}

section:nth-child(odd) {
    background: var(--background-light);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* 从80px减小到70px */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 32px; /* 从36px减小 */
    height: 32px; /* 从36px减小 */
    margin-right: 12px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.25rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-btn svg {
    transition: transform 0.3s;
}

.control-btn:hover svg {
    transform: scale(1.1);
}

/* Theme Toggle */
#theme-toggle .moon { display: none; }
body.light-theme #theme-toggle .sun { display: none; }
body.light-theme #theme-toggle .moon { display: block; }

/* Language Selector - Redesigned */
.language-selector {
    position: relative;
}

.language-selector .control-btn {
    padding: 6px 10px;
    border-radius: 4px;
    background: transparent;
}

.language-dropdown {
    position: absolute;
    top: 150%;
    right: 0;
    background-color: var(--dropdown-bg);
    border-radius: 4px;
    list-style: none;
    padding: 0;
    min-width: 130px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    overflow: hidden;
    z-index: 1001;
}

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

.language-dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.language-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 0.94rem;
}

.language-dropdown a:hover,
.language-dropdown a.active {
    background-color: var(--dropdown-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Ensure it's above other elements */
    width: 25px;
    height: 25px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section - Enhanced for Dark Mode Readability */
.hero {
    padding-top: 160px; /* 从180px减小到160px以适应更小的header */
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero .container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #ffffff;
    font-size: 3.5rem; /* 稍微缩小字体 */
    font-weight: 700; /* 减轻字重 */
    letter-spacing: 0.02em; /* 增加字间距 */
    line-height: 1.2; /* 调整行高 */
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 简化阴影 */
}

.hero h1 span {
    color: #ffffff; /* 与标题主体保持一致的颜色 */
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 2rem auto 3rem;
    color: var(--text-secondary);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Section - Enhanced */
.features {
    background: linear-gradient(180deg, var(--background-color) 0%, var(--card-background) 100%);
    padding-top: 100px;
    padding-bottom: 120px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover:before {
    opacity: 1;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
}

.feature-details ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.feature-details li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.feature-details li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Feature Callout Section */
.feature-callout {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.callout-content {
    text-align: center;
}

.callout-content h3 {
    margin-bottom: 20px;
    font-size: 1.75rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.callout-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Social media icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

/* Why Choose Section - Completely redesigned layout */
#why-choose {
    background-color: var(--card-background);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

#why-choose:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(79, 70, 229, 0.1), transparent 70%);
    pointer-events: none;
}

.why-choose-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.why-choose-list li {
    background-color: rgba(30, 41, 59, 0.9); /* 更深的背景色，提高对比度 */
    border-radius: 12px;
    border: 1px solid var(--primary-color); /* 高亮边框 */
    padding: 25px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 添加阴影增强立体感 */
}

.why-choose-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.why-choose-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 30%;
    background-color: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.why-choose-list strong {
    display: block;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff; /* 更白的文字颜色 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* 增强阴影 */
}

.why-choose-list p {
    color: #e2e8f0; /* 更亮的文字颜色 */
    line-height: 1.7;
    margin-bottom: 0;
}

/* Footer - Redesigned for 4-Column Grid Layout */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-color);
}

/* Footer - Update for language links */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-description {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background-color: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Language selector in footer */
.footer-language-links {
    margin-top: 20px;
}

.footer-language-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-language-links li {
    margin-bottom: 8px;
}

.footer-language-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s, color 0.2s;
}

.footer-language-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive adjustments for Why Choose section */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .why-choose-list {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .header-controls { 
        display: none; 
        position: absolute;
        top: 60px; /* 适应新的header高度 */
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--background-color);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active, .header-controls.active {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 20px;
    }

    .header-controls {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        top: calc(60px + 160px); /* 适应新的header高度 */
    }

    .mobile-menu-btn { display: block; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-choose-list li {
        padding: 20px;
    }
    
    .why-choose-list strong {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 为白天模式添加WHY CHOOSE区域的淡紫色背景 */
body.light-theme .why-choose-list li {
    background-color: rgba(99, 102, 241, 0.05);  /* 淡紫色背景，低透明度 */
    border: 1px solid rgba(79, 70, 229, 0.2);    /* 淡紫色边框 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);   /* 轻微阴影 */
}

body.light-theme .why-choose-list li:hover {
    background-color: rgba(99, 102, 241, 0.1);   /* 悬停时稍微深一点的紫色 */
    border-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .why-choose-list strong {
    color: #1e293b;  /* 深蓝色文字 */
    text-shadow: none;
}

body.light-theme .why-choose-list p {
    color: #334155;  /* 稍浅一点的文字颜色 */
}

/* 修改白天模式下的页脚标题颜色 */
body.light-theme .footer-column h4 {
    color: #1e293b;
    font-size: 0.95rem;
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq h2 {
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* 白天模式下的FAQ样式 */
body.light-theme .faq-item {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-theme .faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Technical Specifications Section */
.tech-specs {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--card-background) 100%);
}

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

.specs-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.specs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.specs-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.specs-list strong {
    color: var(--text-color);
    display: inline-block;
    margin-right: 8px;
}

.nested-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.nested-list li {
    margin-bottom: 8px;
    position: relative;
}

.nested-list li:before {
    content: "→";
    position: absolute;
    left: -20px;
    color: var(--primary-color);
}

.specs-note {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.specs-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Light theme adjustments for specs section */
body.light-theme .tech-specs {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.light-theme .specs-card {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

body.light-theme .specs-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

body.light-theme .specs-card h3 {
    color: #1e293b;
}

body.light-theme .specs-list li {
    color: #475569;
}

body.light-theme .specs-list strong {
    color: #0f172a;
}

body.light-theme .nested-list li:before {
    color: var(--primary-color);
}

body.light-theme .specs-note {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

body.light-theme .specs-note p {
    color: #475569;
}

body.light-theme h2 {
    color: #0f172a;
}

body.light-theme .section-intro {
    color: #334155;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-card {
        padding: 20px;
    }
}

/* Light theme adjustments for all sections */
body.light-theme .features,
body.light-theme .tech-specs,
body.light-theme .faq {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.light-theme .feature-card,
body.light-theme .specs-card,
body.light-theme .faq-item {
    background-color: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-theme .feature-card:hover,
body.light-theme .specs-card:hover,
body.light-theme .faq-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .feature-card h3,
body.light-theme .specs-card h3,
body.light-theme .faq-item h3 {
    color: #1e293b;
}

body.light-theme .feature-card p,
body.light-theme .specs-card p,
body.light-theme .faq-item p,
body.light-theme .feature-details li,
body.light-theme .specs-list li {
    color: #334155;
}

body.light-theme .feature-details li:before,
body.light-theme .nested-list li:before {
    color: var(--primary-color);
}

body.light-theme .specs-note,
body.light-theme .feature-callout {
    background-color: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* 移除之前的单独样式，因为已经合并到上面的统一样式中 */
body.light-theme .tech-specs {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.light-theme .specs-card {
    background-color: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-theme .specs-card h3 {
    color: #1e293b;
}

body.light-theme .specs-list li {
    color: #475569;
}

body.light-theme .specs-list strong {
    color: #0f172a;
}

body.light-theme .nested-list li:before {
    color: var(--primary-color);
}

body.light-theme .specs-note p {
    color: #475569;
}

body.light-theme h2 {
    color: #0f172a;
}

body.light-theme .section-intro {
    color: #334155;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-card {
        padding: 20px;
    }
}

/* 法律页面样式 */
.legal-page {
    padding: 80px 0 60px;
    background-color: var(--background-color);
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-page h1 {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary-color);
}

.legal-page .last-updated {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    text-align: left;
}

.legal-section h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.2rem;
    margin-top: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
    text-align: left;
}

.legal-section p {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-section ul, 
.legal-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 6px;
    color: var(--text-muted);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-section strong {
    font-weight: 600;
    color: var(--text-color);
}

/* 深色模式特定样式 - 默认 */
body:not(.light-theme) .legal-page {
    background-color: var(--background-color);
}

body:not(.light-theme) .legal-section h2 {
    color: var(--primary-color);
}

body:not(.light-theme) .legal-section h3 {
    color: var(--text-color);
}

body:not(.light-theme) .legal-section p,
body:not(.light-theme) .legal-section li {
    color: #b0b0b0; /* 浅灰色 */
}

body:not(.light-theme) .legal-section strong {
    color: var(--text-color);
}

/* 浅色模式特定样式 */
body.light-theme .legal-page {
    background-color: #f8fafc;
}

body.light-theme .legal-page h1 {
    color: var(--primary-color);
}

body.light-theme .legal-section h2 {
    color: var(--primary-color);
}

body.light-theme .legal-section h3 {
    color: #0f172a;
}

body.light-theme .legal-section p,
body.light-theme .legal-section li {
    color: #475569; /* 深灰色 */
}

body.light-theme .legal-section strong {
    color: #0f172a;
}

body.light-theme .legal-page .last-updated {
    color: #64748b;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .legal-page {
        padding: 60px 0 40px;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
} 