/* ========================================
   kClaw_Pro 官网样式表
   ======================================== */

/* CSS 变量 - 深色模式（默认） */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ff8c42;
    --dark-bg: #0f0f1a;
    --darker-bg: #0a0a14;
    --card-bg: #1a1a2e;
    --light-bg: #fafafa;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --border-color: rgba(255, 107, 53, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* 浅色模式变量 */
:root[data-theme="light"] {
    --dark-bg: #ffffff;
    --darker-bg: #f8f9fa;
    --card-bg: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --white: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* ========================================
   背景动画
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 40%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

:root[data-theme="light"] .bg-animation::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 40%);
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

:root[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

:root[data-theme="light"] .logo {
    color: var(--text-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

:root[data-theme="light"] .nav-links a {
    color: var(--text-light);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    padding: 8rem 2rem 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.typewriter-text {
    font-size: 1.8rem;
    min-height: 2.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
    line-height: 1.4;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

:root[data-theme="light"] .typewriter-subtitle {
    color: var(--text-light);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

:root[data-theme="light"] .hero h1 {
    color: var(--text-dark);
}

.hero h1 span {
    display: block;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero .description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

:root[data-theme="light"] .hero .description {
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--white);
    border: 2px solid var(--border-color);
}

:root[data-theme="light"] .btn-secondary {
    color: var(--text-dark);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-color);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   数据证明区域
   ======================================== */
.stats {
    padding: 4rem 2rem;
    background: var(--darker-bg);
    transition: background-color 0.3s;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:root[data-theme="light"] .stat-number {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

:root[data-theme="light"] .stat-label {
    color: var(--text-light);
}

/* ========================================
   特性区域
   ======================================== */
.features {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

:root[data-theme="light"] .section-title h2 {
    color: var(--text-dark);
}

.section-title p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

:root[data-theme="light"] .section-title p {
    color: var(--text-light);
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

:root[data-theme="light"] .feature-card h3 {
    color: var(--text-dark);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

:root[data-theme="light"] .feature-card p {
    color: var(--text-light);
}

/* ========================================
   快速开始区域
   ======================================== */
.quickstart {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.quickstart-container {
    max-width: 1000px;
    margin: 0 auto;
}

.quickstart-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.quickstart-step {
    text-align: center;
    padding: 2rem 1.5rem;
    flex: 1;
    min-width: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

:root[data-theme="light"] .step-title {
    color: var(--text-dark);
}

.step-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

:root[data-theme="light"] .step-desc {
    color: var(--text-light);
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
    animation: bounce 2s infinite;
}

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

/* ========================================
   截图展示区域
   ======================================== */
.screenshots {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.screenshots-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.screenshot-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--darker-bg);
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.05);
}

.screenshot-info {
    padding: 1.5rem;
}

.screenshot-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

:root[data-theme="light"] .screenshot-info h4 {
    color: var(--text-dark);
}

.screenshot-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

:root[data-theme="light"] .screenshot-info p {
    color: var(--text-light);
}

/* ========================================
   用户区域
   ======================================== */
.users {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    transition: background-color 0.3s;
}

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

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

.user-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.user-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.user-card h3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

:root[data-theme="light"] .user-card h3 {
    color: var(--text-dark);
}

.user-card > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

:root[data-theme="light"] .user-card > p {
    color: var(--text-light);
}

.user-card ul {
    list-style: none;
}

.user-card ul li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
}

:root[data-theme="light"] .user-card ul li {
    color: var(--text-light);
}

.user-card ul li:last-child {
    border-bottom: none;
}

.user-card ul li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   FAQ 区域
   ======================================== */
.faq {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

:root[data-theme="light"] .faq-question h3 {
    color: var(--text-dark);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s;
    font-size: 1.2rem;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

:root[data-theme="light"] .faq-answer p {
    color: var(--text-light);
}

/* ========================================
   更新日志区域
   ======================================== */
.changelog {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    transition: background-color 0.3s;
}

.changelog-container {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.version-badge {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.version-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

:root[data-theme="light"] .version-date {
    color: var(--text-light);
}

.changelog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

:root[data-theme="light"] .changelog-title {
    color: var(--text-dark);
}

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

.changelog-list li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 2rem;
    position: relative;
}

:root[data-theme="light"] .changelog-list li {
    color: var(--text-light);
}

.changelog-list li::before {
    content: '• ';
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ========================================
   下载区域
   ======================================== */
.download {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    transition: background-color 0.3s;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

:root[data-theme="light"] .download h2 {
    color: var(--text-dark);
}

.download > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

:root[data-theme="light"] .download > p {
    color: var(--text-light);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--card-bg);
    border-radius: 16px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    min-width: 250px;
}

.download-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.download-btn i {
    font-size: 2rem;
    color: var(--primary-color);
}

.download-btn-text small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

:root[data-theme="light"] .download-btn-text small {
    color: var(--text-light);
}

.download-btn-text strong {
    display: block;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

:root[data-theme="light"] .download-btn-text strong {
    color: var(--text-dark);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.download-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

:root[data-theme="light"] .download-info-item {
    color: var(--text-light);
}

.download-info-item i {
    color: var(--primary-color);
}

/* ========================================
   留言区域
   ======================================== */
.contact {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    transition: background-color 0.3s;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

:root[data-theme="light"] .form-group label {
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

:root[data-theme="light"] .form-group input,
:root[data-theme="light"] .form-group textarea {
    color: var(--text-dark);
    background: var(--light-bg);
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

:root[data-theme="light"] .contact-link {
    color: var(--text-light);
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link i {
    font-size: 1.2rem;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--darker-bg);
    transition: background-color 0.3s;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

:root[data-theme="light"] .footer-logo {
    color: var(--text-dark);
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

:root[data-theme="light"] .footer-brand p {
    color: var(--text-light);
}

.footer-links-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

:root[data-theme="light"] .footer-links-section h4 {
    color: var(--text-dark);
}

.footer-links-section ul {
    list-style: none;
}

.footer-links-section ul li {
    margin-bottom: 0.5rem;
}

.footer-links-section ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

:root[data-theme="light"] .footer-links-section ul a {
    color: var(--text-light);
}

.footer-links-section ul a:hover {
    color: var(--primary-color);
}

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

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

:root[data-theme="light"] .footer-copyright {
    color: rgba(0, 0, 0, 0.5);
}

.footer-powered {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

:root[data-theme="light"] .footer-powered {
    color: rgba(0, 0, 0, 0.4);
}

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

.footer-powered a:hover {
    color: var(--accent-color);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .quickstart-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        max-width: 100%;
    }

    .hero-image {
        order: 2;
    }

    .hero p.description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p.subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .features-grid,
    .screenshots-grid,
    .users-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .quickstart-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .quickstart-step {
        padding: 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .contact-form {
        padding: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .download-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .typewriter-text {
        font-size: 1.4rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   滚动条美化
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ========================================
   滚动显示动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: none;
    
    transition: opacity 0.8s ease;
}

.reveal.active {
    opacity: 1;
    
}
/* 移动端优化 - 禁用动画防止抖动 */
@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .typewriter-text {
        min-height: 2rem;
    }
}
