/* 全局样式重置 - Apple风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 全局导航 */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0);
}

.global-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    margin: 0 20px;
}

.nav-item a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.global-nav.scrolled .nav-item a {
    color: #1d1d1f;
}

.nav-item a:hover {
    color: #0071e3;
}

/* 主视觉区域 - 图片铺满屏幕 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 30px;
    top: 500px;
    width: 100%;
    background-color: #6e6d6d54;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.cta-button:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
}

.learn-more-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.learn-more-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 通用区域样式 */
section {
    position: relative;
    padding: 40px 0;
}

section h2 {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: #86868b;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* 特点区域 */
.features-section {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1d1d1f;
    font-weight: 500;
}

.feature-card p {
    color: #86868b;
    font-size: 1rem;
    line-height: 1.6;
}

/* 画廊区域 */
.gallery-section {
    background-color: #f5f5f7;
    padding-bottom: 150px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background-color: white;
    width: 25px;
    border-radius: 4px;
}

/* 全屏图片区域 */
.fullscreen-image-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.fullscreen-content {    
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    padding: 0 20px;
    background-color: #6e6d6d54;
    width: 100%;
}

.fullscreen-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.fullscreen-content p {
    font-size: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fullscreen-image {
    position: relative;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    margin: 100px auto;
}

/* 设备兼容性区域 */
.compatibility-section {
    background-color: white;
    padding-top: 150px;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.device-card {
    text-align: center;
}

.device-frame {
    width: 200px;
    height: 350px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 10px solid #1d1d1f;
    background: white;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.device-frame:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.device-frame.desktop {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    border: 12px solid #1d1d1f;
}

.device-frame.tablet {
    width: 230px;
    height: 300px;
    border-radius: 28px;
    border: 10px solid #1d1d1f;
}

.device-frame:before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: #444;
    border-radius: 2px;
}

.device-frame.desktop:before {
    width: 0;
    height: 0;
}

.device-frame.tablet:before {
    width: 50px;
}

.device-frame:after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #444;
}

.device-frame.desktop:after {
    width: 0;
    height: 0;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.device-card p {
    color: #86868b;
    font-size: 1rem;
}

/* 价格区域 */
.pricing-section {
    background-color: #f5f5f7;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-width: 300px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #0071e3;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.price {
    margin-bottom: 30px;
}

.price-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0071e3;
}

.price-period {
    font-size: 1rem;
    color: #86868b;
    margin-left: 10px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    color: #86868b;
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
}

.price-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: bold;
}

.buy-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.buy-button:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.3);
}

/* 客户评价区域 */
.testimonials-section {
    background-color: white;
    padding-top: 150px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.testimonial-quote {
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 600;
    color: #1d1d1f;
}

.author-title {
    color: #86868b;
    font-size: 0.9rem;
}

/* FAQ区域 */
.faq-section {
    background-color: #f5f5f7;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding-right: 50px;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: #0071e3;
    transition: transform 0.2s ease;
}

.faq-question.active:after {
    transform: rotate(45deg);
}

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

.faq-answer.open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #86868b;
    line-height: 1.6;
}

/* CTA区域 */
.cta-section {
    background-color: white;
    padding: 150px 20px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 40px;
}

.cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: 1;
}

/* 页脚 */
.footer {
    background-color: #f5f5f7;
    padding: 100px 20px 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

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

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

.footer-links a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #0071e3;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: rgba(0, 113, 227, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom p {
    color: #86868b;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 5px 10px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 80px 15px;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel {
        height: 400px;
    }
    
    .fullscreen-content h2 {
        font-size: 2.5rem;
    }
    
    .fullscreen-content p {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        min-width: 280px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .carousel {
        height: 300px;
    }
    
    .fullscreen-content h2 {
        font-size: 2rem;
    }
    
    .fullscreen-content p {
        font-size: 1rem;
    }
    
    .cta-button.large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 模态框样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
    max-width: 1200px; /* 增加最大宽度以容纳两个并排的二维码 */
    width: 95%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    animation: modalAppear 0.3s forwards;
}

@keyframes modalAppear {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #86868b;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #1d1d1f;
    background-color: #f5f5f5;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* 二维码容器 - 修改为并排显示 */
.qr-code-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto 25px;
    flex-wrap: wrap;
}

/* 保持512*700的比例 */
.qr-code {
    width: 410px;
    height: 560px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.qr-code img {
    max-width: 380px;
    max-height: 519px;
    margin-bottom: 10px;
    object-fit: contain;
}

.modal-description {
    color: #86868b;
    margin-bottom: 10px;
    line-height: 1.5;
}

.modal-tips {
    color: #a8a8a8;
    font-size: 0.9rem;
}

/* 响应式设计 - 针对不同屏幕尺寸调整 */
@media (max-width: 1200px) {
    .modal-content {
        margin: 3% auto;
        max-width: 95%;
    }
    
    .qr-code-container {
        gap: 30px;
    }
    
    .qr-code {
        width: 450px; /* 按比例缩小 */
        height: 618px; /* 保持512:700的比例 */
    }
    
    .qr-code img {
        max-width: 420px;
        max-height: 570px;
    }
}

@media (max-width: 1000px) {
    .qr-code {
        width: 400px;
        height: 547px;
    }
    
    .qr-code img {
        max-width: 370px;
        max-height: 500px;
    }
}

@media (max-width: 900px) {
    .qr-code-container {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-code {
        width: 512px;
        height: 700px;
    }
    
    .qr-code img {
        max-width: 480px;
        max-height: 650px;
    }
}

@media (max-width: 600px) {
    .modal-content {
        margin: 5% auto;
        padding: 25px;
    }
    
    .qr-code {
        width: 400px;
        height: 547px;
    }
    
    .qr-code img {
        max-width: 370px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .qr-code {
        width: 320px;
        height: 438px;
        margin: 0 auto;
    }
    
    .qr-code img {
        max-width: 300px;
        max-height: 400px;
    }
}