:root {
    --primary-color: #2d3436;
    --accent-color: #0984e3;
    --warning-color: #e17055;
    --bg-color: #f5f6fa;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #0984e3, #00b894);
    color: white;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #0984e3, #00b894);
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-quote {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 2.5rem auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 12px;
}

.contact-number {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-number strong {
    display: block;
    font-size: 2rem;
    color: #4CAF50;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    background: white;
    padding: 8px;
}

@media (max-width: 768px) {
    .contact-area {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .contact-number strong {
        font-size: 1.6rem;
    }
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stats-section {
    background: white;
    padding: 4rem 0;
    margin: 2rem 0;
}

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

.stat-card {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.warning-section {
    background: #fff5f5;
    border-left: 4px solid var(--warning-color);
    padding: 2rem;
    margin: 2rem 0;
}

.warning-section h2 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.quote-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-author {
    margin-top: 1rem;
    font-weight: bold;
}

.video-section {
    background: white;
    padding: 4rem 0;
    margin: 2rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

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

.nav-bar {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-bar.scrolled {
    padding: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 50px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-bar.scrolled .nav-links a {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

header.hero {
    padding-top: 70px;
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

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

.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.8;
}

.intro-section {
    padding: 4rem 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content {
    max-width: 600px;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #00b894);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.performance-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.performance-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

.hero-cta {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-info {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-info strong {
    color: #4CAF50;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.qr-tip {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #fff;
    background: rgba(76, 175, 80, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* 修复 Safari 兼容性问题 */
.hero-cta {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.version-compare {
    background: white;
    padding: 4rem 0;
    margin: 2rem 0;
}

.version-compare h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.version-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.compare-img-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.compare-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .version-compare {
        padding: 2rem 0;
    }
    
    .version-desc {
        padding: 0 1rem;
        font-size: 1rem;
    }
    
    .compare-img-wrapper {
        padding: 0 1rem;
    }
}

.hero-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 2rem auto;
}

.hero-cta {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-text strong {
    color: #4CAF50;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    background: white;
    padding: 8px;
}

.qr-tip {
    margin-top: 0.8rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .qr-code {
        width: 160px;
        height: 160px;
    }
}