/* 完整样式 - 包含所有原有样式 + 轮播样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --chrome-color: #4285f4;
    --edge-color: #0078d7;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #e11d48;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 10%;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a, .nav-links span {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links span:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-links .btn-sponsor-nav {
    color: var(--accent-rose);
    font-weight: 600;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    padding: 1px 16px;
    border-radius: 40px;
    font-weight: 300;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    margin-left: 0.5rem;
    color: var(--text-dark);
}

.hero {
    padding: 6rem 10% 5rem;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .version-badge {
    display: inline-block;
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    color: white;
    padding: 8px 28px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    letter-spacing: 1px;
}

#dynamic-slogan {
    font-size: 3.2rem;
    font-weight: 800;
    min-height: 6rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #1e40af, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tagline-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-weight: 500;
}

.hero .subhead {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.download-container {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.btn-download {
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-chrome {
    background: var(--chrome-color);
}

.btn-edge {
    background: var(--edge-color);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slogan-waterfall {
    background: linear-gradient(90deg, #f1f5f9 0%, #ffffff 20%, #ffffff 80%, #f1f5f9 100%);
    padding: 2.8rem 10% 2.2rem;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
    border-top: 1px solid var(--gray-200);
    margin-top: 1rem;
}

.waterfall-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scrollRightToLeft 28s linear infinite;
}

.waterfall-track:hover {
    animation-play-state: paused;
}

.waterfall-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 0.9rem 2.2rem;
    border-radius: 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.25rem));
    }
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #f1f5f9;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.btn-prev {
    left: 16px;
}

.btn-next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: var(--primary-color);
    width: 26px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.features {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: #fff;
}

.feature-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: var(--bg-light);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.showcase {
    padding: 5rem 10%;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

.showcase-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.showcase-list i {
    color: var(--accent-green);
    font-size: 1.3rem;
    margin-top: 2px;
}

.showcase-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.theme-showcase {
    padding: 5rem 10%;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.theme-item {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

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

.theme-color {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin: 0 auto 1rem;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.theme-blue { background: #2563eb; }
.theme-purple { background: #7c3aed; }
.theme-green { background: #10b981; }
.theme-rose { background: #e11d48; }
.theme-orange { background: #f97316; }
.theme-teal { background: #14b8a6; }
.theme-indigo { background: #4f46e5; }
.theme-gray { background: #4b5563; }

.mobile-showcase {
    padding: 5rem 10%;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-showcase h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.mobile-showcase .sub {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.mobile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: flex-end;
}

.mobile-card {
    background: var(--bg-light);
    border-radius: 36px 36px 24px 24px;
    padding: 1.8rem 1.8rem 2rem;
    box-shadow: var(--shadow-lg);
    width: 280px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.mobile-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
}

.mobile-card img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    margin-bottom: 1.2rem;
}

.sync-badge {
    background: #e6f7e6;
    color: #2e7d32;
    padding: 4px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

.highlight {
    background: var(--text-dark);
    color: white;
    padding: 6rem 10%;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.highlight-content {
    flex: 1;
    min-width: 300px;
}

.highlight-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

.privacy-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.privacy-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.privacy-item i {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.privacy-item strong {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-right: 8px;
}

.privacy-tagline {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    color: var(--accent-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-image {
    flex: 1;
    min-width: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.tech-stack {
    padding: 5rem 10%;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq {
    padding: 5rem 10%;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta {
    padding: 5rem 10%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
}

.cta-quote {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 32px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-100);
}

.privacy-policy-content {
    margin-top: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.privacy-policy-content h3 {
    margin: 1.8rem 0 0.8rem;
    color: var(--primary-color);
}

.privacy-policy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-policy-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.privacy-policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.qr-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 140px;
    border-radius: 20px;
}

footer {
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    color: var(--text-light);
    background: #fafafa;
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a, .footer-links span {
    text-decoration: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.footer-links a:hover, .footer-links span:hover {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .theme-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #dynamic-slogan { font-size: 2.2rem; }
    .features { grid-template-columns: 1fr; }
    .carousel-btn { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ==================== 新增功能展示区样式 ==================== */

.new-features {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.new-feature-card {
    background: var(--card-bg, #ffffff);
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200, #e5e7eb);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.new-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #2563eb);
}

.feature-img-placeholder {
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.placeholder-img {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color, #2563eb);
    font-size: 0.85rem;
    font-weight: 500;
}

.placeholder-img i {
    font-size: 3rem;
    opacity: 0.7;
}

/* 各功能卡片不同渐变背景 */
.new-feature-card:nth-child(1) .feature-img-placeholder {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
}
.new-feature-card:nth-child(2) .feature-img-placeholder {
    background: linear-gradient(135deg, #fef3e8 0%, #fde6d4 100%);
}
.new-feature-card:nth-child(3) .feature-img-placeholder {
    background: linear-gradient(135deg, #fce7f3 0%, #fbd5e8 100%);
}
.new-feature-card:nth-child(4) .feature-img-placeholder {
    background: linear-gradient(135deg, #e8f8f0 0%, #d4f0e4 100%);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.new-feature-card h3 {
    font-size: 1.25rem;
    margin: 0.75rem 0 0.5rem;
    color: var(--text-dark, #111827);
}

.new-feature-card p {
    color: var(--text-light, #4b5563);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tags span {
    background: var(--gray-100, #f3f4f6);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--gray-700, #374151);
    border: 1px solid var(--gray-200, #e5e7eb);
}

/* 暗色主题适配 */
.dark-theme .new-feature-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .new-feature-card h3 {
    color: #f9fafb;
}

.dark-theme .feature-tags span {
    background: #374151;
    color: #e5e7eb;
    border-color: #4b5563;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .new-features {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .new-features-grid {
        gap: 1.25rem;
    }

    .new-feature-card {
        padding: 1.25rem;
    }
}