/* 主题变量与基础设置 */
:root {
    --primary-color: #8A2BE2;
    --primary-light: #9D4EDD;
    --primary-dark: #5A189A;
    --secondary-color: #FF7F50;
    --accent-color: #FFB347;
    --text-color: #333333;
    --text-light: #777777;
    --text-white: #FFFFFF;
    --bg-color: #F8F9FA;
    --bg-light: #FFFFFF;
    --bg-dark: #2E2C49;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Noto Sans TC', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

body.nav-open {
    overflow: hidden;
}

/* 常用工具类 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::after {
    left: 100%;
    transition: 0.5s ease-in-out;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.btn-light {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* 页面布局 */
.page-wrapper {
    position: relative;
    overflow: hidden;
}

/* 标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

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

.light .section-title,
.light .section-subtitle {
    color: var(--text-white);
}

.light .section-title::after {
    background: linear-gradient(90deg, var(--bg-light), rgba(255, 255, 255, 0.7));
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo img {
    height: 50px;
    margin-right: 12px;
    animation: pulse 2s infinite;
    border-radius: 16px;
    overflow: hidden;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--primary-dark);
    font-weight: 900;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #F9F7FF 0%, #EAEAFC 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
    animation: slideInLeft 1s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-color);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(138, 43, 226, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.stat-number .fas {
    font-size: 1.2rem;
    margin-left: 5px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: slideInRight 1s ease forwards;
}

.phone-frame {
    position: relative;
    width: 280px;
    border-radius: 40px;
    background: var(--bg-dark);
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.app-preview {
    width: 100%;
    border-radius: 35px;
    display: block;
    height: 580px;
    object-fit: cover;
}

.phone-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 35px;
    animation: shine 3s infinite linear;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0) 70%);
    top: -50px;
    right: -100px;
    animation: float 6s infinite ease-in-out;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 127, 80, 0.1) 0%, rgba(255, 127, 80, 0) 70%);
    bottom: -50px;
    left: -100px;
    animation: float 8s infinite ease-in-out 1s;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
}

/* 特色功能区 */
.features {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

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

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.feature-icon i {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 截图展示 */
.screenshots {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
}

.screenshots-wrapper {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshots-slider {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.screenshot {
    min-width: 280px;
    margin: 0 15px;
    transition: var(--transition);
    transform: scale(0.95);
    opacity: 0.7;
}

.screenshot-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--bg-dark);
    padding: 10px;
    border-radius: 30px;
}

.screenshot img {
    border-radius: 20px;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.screenshot.active {
    transform: scale(1);
    opacity: 1;
}

.screenshot.active .screenshot-frame {
    box-shadow: var(--shadow-lg);
}

.screenshots-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 40px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.control-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.screenshots-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 下载区域 */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.download .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.download-content {
    flex: 1;
    padding-right: 50px;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-feature i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.download-feature span {
    font-weight: 500;
}

.download-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon {
    width: 180px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: bounce 3s infinite;
    border-radius: 28px;
    overflow: hidden;
}

.download-particles .particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.download-particles .particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float 6s infinite linear;
}

.download-particles .particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 15%;
    animation: float 8s infinite linear 1s;
}

.download-particles .particle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 20%;
    animation: float 5s infinite linear 0.5s;
}

.download-particles .particle:nth-child(4) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 10%;
    animation: float 7s infinite linear 2s;
}

.download-particles .particle:nth-child(5) {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 50%;
    animation: float 9s infinite linear 1.5s;
}

.download-particles .particle:nth-child(6) {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 30%;
    animation: float 8s infinite linear 3s;
}

.download-particles .particle:nth-child(7) {
    width: 90px;
    height: 90px;
    top: 50%;
    right: 5%;
    animation: float 7s infinite linear 2.5s;
}

.download-particles .particle:nth-child(8) {
    width: 110px;
    height: 110px;
    bottom: 30%;
    right: 30%;
    animation: float 6s infinite linear 1s;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(255, 127, 80, 0.1) 100%);
}

.about-image-frame img {
    width: 100%;
    display: block;
}

.about-info {
    flex: 1;
}

.company-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.company-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

/* 页脚 */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.footer-logo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo h2 span {
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: var(--transition);
    overflow: hidden;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    overflow: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .feature-card {
        padding: 30px 25px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .hero {
        padding: 120px 0 40px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .download .container {
        flex-direction: column;
    }

    .download-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .download-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 1 0 40%;
    }

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

    .screenshot {
        min-width: 240px;
    }

    .screenshot img {
        height: 450px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* 修复手机和平板上的hero区域 */
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-image .phone-frame {
        width: 220px;
        margin: 0 auto;
    }
    
    .app-preview {
        height: auto;
    }
    
    /* 改进移动导航体验 */
    .main-nav.active {
        padding-top: 80px;
    }
    
    /* 提高在移动设备上的可读性 */
    .section-title {
        font-size: 2.2rem;
    }
    
    /* 优化下载区域在移动设备上的视觉效果 */
    .download {
        padding: 80px 0;
    }
    
    /* 修复关于我们区域 */
    .about {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .stat {
        flex: 0 0 100%;
    }

    .screenshot {
        min-width: 200px;
    }

    .screenshot img {
        height: 400px;
    }

    .download-features {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* 触摸屏优化 */
@media (hover: none) {
    .feature-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* 响应式设计 - 笔记本优化 */
@media (max-width: 1366px) {
    .container {
        max-width: 1100px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .phone-frame {
        width: 250px;
    }
    
    .app-preview {
        height: 520px;
    }
    
    .hero-content {
        padding-right: 20px;
    }

    .screenshots-wrapper {
        max-width: 900px;
    }

    /* Hero区域微调 */
    .hero-content {
        flex: 0 0 50%;
    }
    
    .hero-image {
        flex: 0 0 45%;
    }
    
    /* 下载区域适配 */
    .download-content {
        padding-right: 30px;
    }
    
    .app-icon {
        width: 160px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    /* Feature卡片修复 */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    /* 截图区域优化 */
    .screenshot {
        min-width: 230px;
        margin: 0 8px;
    }
    
    /* 下载区域调整 */
    .download-content {
        flex: 0 0 65%;
    }
    
    .download-image {
        flex: 0 0 30%;
    }
    
    /* 关于我们区域调整 */
    .contact-details {
        gap: 15px;
    }
}

/* 修复logo在笔记本上的大小问题 */
@media (max-width: 1366px) {
    .logo img {
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
}

/* 针对更小的笔记本屏幕 */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    
    .hero {
        padding: 130px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .phone-frame {
        width: 220px;
    }
    
    .app-preview {
        height: 450px;
    }
    
    .main-nav ul {
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .screenshot img {
        height: 480px;
    }

    .screenshots-wrapper {
        max-width: 800px;
    }
}

/* 修复笔记本特定问题 */
@media (min-width: 992px) and (max-width: 1366px) {
    .hero .container {
        align-items: center;
        justify-content: space-between;
    }
    
    .hero-content {
        flex: 0 0 55%;
    }
    
    .hero-image {
        flex: 0 0 40%;
    }
    
    .screenshot {
        min-width: 260px;
        margin: 0 10px;
    }
    
    .screenshot img {
        height: auto;
        max-height: 500px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .screenshots-slider .screenshot {
        min-width: 250px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .company-info h3 {
        font-size: 1.8rem;
    }

    .hero-content {
        padding-right: 30px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* 微调截图滑动区域 */
@media (min-width: 992px) {
    .screenshots-wrapper {
        padding: 20px 0 40px;
    }
}

/* 修复iOS上的一些特殊问题 */
@supports (-webkit-touch-callout: none) {
    /* 修复iOS上的滚动行为 */
    .main-nav {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 修复iOS上的点击延迟 */
    .btn, .nav-link, .social-icon, .dot, .control-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
} 