﻿/* ============================================
   SiteGo AI绘画系统 - 默认首页模板样式
   ============================================ */

/* 基础变量 */
:root {
    --bg-primary: #0c0e1a;
    --bg-secondary: #131628;
    --bg-card: #1a1d2e;
    --bg-card-hover: #212540;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-light: rgba(99, 102, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    --green: #10b981;
    --green-light: rgba(16, 185, 129, 0.15);
    --amber: #f59e0b;
    --amber-light: rgba(245, 158, 11, 0.15);
    --rose: #f43f5e;
    --rose-light: rgba(244, 63, 94, 0.15);
    --border-color: #2d3348;
    --border-light: rgba(255, 255, 255, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --transition: 0.3s ease;
}

/* 浅色主题 */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.08);
}
[data-theme="light"] .hero-title,
[data-theme="light"] .stat-number,
[data-theme="light"] .section-header h2,
[data-theme="light"] .pricing-price,
[data-theme="light"] .cta h2,
[data-theme="light"] .advantage-card h3 { color: var(--text-primary); }
[data-theme="light"] .hero-grid {
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}
[data-theme="light"] .landing-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .nav-links a { color: var(--text-secondary); }
[data-theme="light"] .nav-links a:hover { color: var(--accent); background: var(--accent-light); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== 导航栏 ========== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    transition: all var(--transition);
    background: transparent;
}

.landing-header.scrolled {
    background: rgba(12, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    border: 1.5px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-white {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #1e293b;
}

.btn-white:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.2);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.15);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #fff;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Hero 视觉区域 - 居中展示 */
.hero-visual {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.hero-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-1 {
    width: 340px;
}

.card-2 {
    width: 280px;
    opacity: 0.7;
    align-self: center;
}

.hero-card-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: #f43f5e; }
.card-dots span:nth-child(2) { background: #f59e0b; }
.card-dots span:nth-child(3) { background: #10b981; }

.hero-card-body {
    padding: 16px;
}

.chat-mock {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
}

.user-msg {
    background: var(--accent-light);
    color: var(--accent);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-msg {
    background: var(--bg-card-hover);
    color: var(--text-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

.mock-image {
    width: 100%;
    aspect-ratio: 1.6;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

.mock-image i {
    font-size: 28px;
    color: var(--accent);
}

/* 浮动图标 */
.floating-icons {
    position: relative;
    width: 100%;
    height: 200px;
}

.fi {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    animation: float 6s ease-in-out infinite;
}

.fi-1 { top: 20px; left: 30px; animation-delay: 0s; }
.fi-2 { top: 50px; right: 50px; animation-delay: 1.5s; }
.fi-3 { bottom: 40px; left: 60px; animation-delay: 3s; }
.fi-4 { bottom: 50px; right: 30px; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========== 通用区域样式 ========== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== 首页轮播图 ========== */
.home-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.home-carousel .carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 200px;
    max-height: 400px;
    background: var(--bg-secondary);
}
.home-carousel .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}
.home-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.home-carousel .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.home-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-carousel .carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.home-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 5;
}
.home-carousel:hover .carousel-btn { opacity: 1; }
.home-carousel .carousel-btn:hover { background: rgba(0,0,0,0.7); }
.home-carousel .carousel-prev { left: 12px; }
.home-carousel .carousel-next { right: 12px; }
.home-carousel .carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.home-carousel .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}
.home-carousel .carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.home-carousel .carousel-dot:hover { background: rgba(255,255,255,0.7); }

[data-theme="light"] .home-carousel {
    box-shadow: var(--shadow-md);
}
[data-theme="light"] .home-carousel .carousel-container {
    background: #e2e8f0;
}
[data-theme="light"] .home-carousel .carousel-btn {
    background: rgba(255,255,255,0.7);
    color: var(--text-primary);
}
[data-theme="light"] .home-carousel .carousel-btn:hover {
    background: rgba(255,255,255,0.9);
}
[data-theme="light"] .home-carousel .carousel-dot {
    background: rgba(0,0,0,0.25);
}
[data-theme="light"] .home-carousel .carousel-dot.active {
    background: var(--accent);
}

@media (max-width: 768px) {
    .home-carousel {
        margin: 0 8px 40px;
        border-radius: var(--radius-md);
    }
    .home-carousel .carousel-container {
        aspect-ratio: 16 / 7;
        min-height: 160px;
        max-height: 240px;
    }
    .home-carousel .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .home-carousel .carousel-dots { bottom: 10px; gap: 6px; }
    .home-carousel .carousel-dot { width: 8px; height: 8px; }
}

/* ========== 功能特性 ========== */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.icon-chat { background: var(--accent-light); color: var(--accent); }
.icon-image { background: var(--green-light); color: var(--green); }
.icon-video { background: var(--rose-light); color: var(--rose); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--green);
    font-size: 16px;
}

/* ========== 点数套餐 ========== */
.pricing {
    padding: 100px 24px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-price .currency {
    font-size: 22px;
    font-weight: 600;
    vertical-align: super;
}

.pricing-points {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
}

.pricing-points i { font-size: 16px; }

.pricing-body {
    flex: 1;
    margin-bottom: 24px;
}

.pricing-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-body li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-body li i {
    color: var(--green);
    font-size: 16px;
}

.pricing-action {
    margin-top: auto;
}

/* ========== 图片广场预览 ========== */
.gallery-preview {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-prompt {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.placeholder-img {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    border-radius: var(--radius-md);
}

.placeholder-img i {
    font-size: 36px;
    opacity: 0.5;
}

.gallery-more {
    text-align: center;
}

.gallery-more .btn {
    display: inline-flex;
}

/* ========== 平台优势 ========== */
.advantages {
    padding: 100px 24px;
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.advantage-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CTA ========== */
.cta {
    position: relative;
    padding: 100px 24px;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.08;
}

.cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    position: relative;
}

/* ========== 页脚 ========== */
.landing-footer {
    padding: 64px 24px 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 12px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 响应式 ========== */
/* 防止图片/媒体溢出 */
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; text-align: center; margin: 0 auto; }
    .hero-buttons { justify-content: center; }

    .feature-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 各区块缩小内边距 */
    .features, .pricing, .gallery-preview, .advantages, .cta { padding: 60px 16px; }
    .landing-footer { padding: 40px 16px 24px; }

    .hero { padding: 80px 16px 60px; }
    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .hero-stats {
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-actions .btn-ghost {
        display: none;
    }
    .nav-actions { gap: 8px; }
    .nav-actions .btn { padding: 8px 14px; font-size: 13px; }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .advantage-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }
    .section-header p { font-size: 14px; }

    .cta h2 { font-size: 26px; }
    .cta p { font-size: 15px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    /* 页面内容区自适应 */
    .section-container { width: 100%; padding: 0 12px; }
}

/* 超小屏 */
@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .hero { padding: 60px 12px 40px; }
    .features, .pricing, .gallery-preview, .advantages, .cta { padding: 40px 12px; }
    .header-inner { padding: 0 12px; }
    .logo-text { font-size: 16px; }
    .feature-card, .pricing-card { padding: 24px 18px; }
    .btn-lg { padding: 12px 20px; font-size: 14px; }
}
