:root {
    --primary: #8B4CFC;
    --primary-light: #DED7FA;
    --primary-dark: #6A35C2;
    --accent: #FAD9E6;
    --text: #333333;
    --text-light: #666666;
    --bg: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.7);
    --shadow: rgba(0, 0, 0, 0.1);
    --border: rgba(255, 255, 255, 0.18);
    --gradient-1: linear-gradient(135deg, #8B4CFC 0%, #B47EFF 100%);
    --gradient-2: linear-gradient(135deg, #6A35C2 0%, #8B4CFC 100%);
    --gradient-text: linear-gradient(135deg, #8B4CFC 0%, #D15EFF 50%, #FF79C6 100%);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 76, 252, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(250, 217, 230, 0.1) 0%, transparent 33%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../public/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 玻璃拟态效果 */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 var(--shadow);
    transition: var(--transition);
}

.glass:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* 导航栏 */
header {
    padding: 15px 0;
}

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

/* PC端菜单 */
.desktop-nav {
    display: flex;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.desktop-nav ul li {
    margin-left: 30px;
    position: relative;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.desktop-nav ul li a.btn-primary {
    background: var(--gradient-1);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(139, 76, 252, 0.3);
}

.desktop-nav ul li a.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(139, 76, 252, 0.4);
}

.desktop-nav ul li a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.desktop-nav ul li a:not(.btn-primary):hover::after {
    width: 100%;
}

.desktop-nav ul li a:hover {
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary) !important;
    padding: 9px 19px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid var(--primary);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(139, 76, 252, 0.1);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    margin-right: -10px;
    transition: all 0.3s ease;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* 触摸状态样式 */
.touch-active {
    transform: scale(0.97) !important;
    opacity: 0.9 !important;
    transition: transform 0.1s ease-out !important;
}

/* 主要区域 */

section {
    padding: 100px 0;
    position: relative;
}

/* 英雄区域 */
.hero {
    padding: 150px 0 70px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.gradient-text {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.phone-mockup {
    position: relative;
    width: 240px;
    height: 490px;
    z-index: 3;
}

.phone-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 20px;
}

.app-screen.active {
    display: block;
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    border-radius: 42px;
    z-index: 4;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.5;
}

.blob-1 {
    background: var(--primary-light);
    width: 300px;
    height: 300px;
    top: -150px;
    right: -50px;
}

.blob-2 {
    background: var(--accent);
    width: 250px;
    height: 250px;
    bottom: -100px;
    left: -30px;
}

/* 核心功能 */
.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gradient-1);
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

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

.feature-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.feature-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    text-align: left;
}

/* 技术亮点 */
.highlights-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.highlight-left {
    flex: 1;
}

.highlight-right {
    flex: 1;
}

.phone-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-light);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    opacity: 1;
    background-color: var(--primary);
}

.highlight-tabs {
    display: flex;
    border-bottom: 2px solid var(--primary-light);
    margin-bottom: 25px;
}

.tab {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-color: var(--primary);
}

.tab-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    min-height: 300px;
    border: 1px solid var(--border);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.tab-pane p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    overflow-x: auto;
}

.code-snippet code {
    font-family: monospace;
    color: #fff;
    white-space: pre-wrap;
    word-break: break-word;
}

.feature-list {
    list-style-type: none;
    margin-left: 10px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* 设计理念 */
.design-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
}

.design-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.design-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.design-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.design-card p {
    font-size: 15px;
    color: var(--text-light);
}

.design-showcase {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.design-image {
    border-radius: 12px;
    overflow: hidden;
    margin-right: 30px;
    max-width: 300px;
}

.poster-container {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.design-image img {
    max-height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.design-caption {
    max-width: 400px;
}

.design-caption h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
    text-align: left;
}

.design-caption p {
    font-size: 15px;
    color: var(--text-light);
    text-align: left;
}

/* 下载部分 */
.download {
    background: linear-gradient(135deg, rgba(139, 76, 252, 0.08) 0%, rgba(250, 217, 230, 0.1) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    color: var(--text);
}

.download-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(139, 76, 252, 0.1);
}

.download h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.app-store-btn {
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.app-store-btn img {
    width: 180px;
    height: auto;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.app-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.info-item strong {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-item span {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

/* 页脚 */
footer {
    background: linear-gradient(
        to bottom,
        var(--bg) 0%,
        rgba(139, 76, 252, 0.05) 100%
    );
    padding: 80px 0 30px;
}

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

.footer-logo {
    margin-right: 60px;
}

.footer-logo-img {
    width: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 14px;
}

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

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--primary-light);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        padding-right: 0;
    }
    
    .gradient-text {
        font-size: 48px;
    }
    
    .design-container {
        flex-direction: column;
    }
}

/* 平板设备 */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    header .container {
        padding: 0 15px;
    }
    
    .logo {
        z-index: 1001;
    }
    
    .logo img {
        height: 32px;
        margin-right: 8px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        top: 70px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* 移动端菜单样式 */
    nav ul.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0; /* 消除内联元素间的空白 */
    }
    
    nav ul.active li {
        margin: 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(139, 76, 252, 0.1);
        font-size: 16px; /* 恢复字体大小 */
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(139, 76, 252, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
        height: auto;
    }
    
    nav ul li a.btn-primary {
        width: 160px;
        margin: 15px auto;
        padding: 10px 20px;
        text-align: center;
        box-sizing: border-box;
    }
    
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero .container {
        flex-direction: column;
        padding-top: 60px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .gradient-text {
        font-size: 40px;
    }
    
    .highlights-container {
        flex-direction: column;
    }
    
    .design-showcase {
        flex-direction: column;
        align-items: center;
    }
    
    .design-image {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 250px;
    }
    
    .poster-container {
        height: 350px;
    }
    
    .design-caption {
        text-align: center;
        max-width: 100%;
    }
    
    .design-caption h4,
    .design-caption p {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        margin-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }
    
    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        padding: 0 15px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 570px;
    }
    
    .code-snippet {
        padding: 12px;
        font-size: 14px;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .code-snippet code {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 0 15px;
    }
}

/* 大型手机 */
@media (max-width: 576px) {
    header {
        padding: 8px 0;
    }
    
    .glass-nav {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .mobile-menu {
        top: 50px;
    }
    
    .logo img {
        height: 28px;
        margin-right: 6px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .menu-toggle {
        padding: 8px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        margin-bottom: 4px;
    }
    
    /* 小屏幕菜单优化 */
    nav ul.active {
        top: 60px;
        padding: 0 !important;
        margin: 0 !important;
        background-color: var(--background);
        border-radius: 0 !important;
        overflow: hidden !important;
        flex-direction: column !important;
    }
    
    nav ul.active li {
        height: 45px !important;
        background-color: white !important;
        border-bottom: 1px solid rgba(139, 76, 252, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
    }
    
    nav ul.active li:last-child {
        border-bottom: none !important;
    }
    
    nav ul.active li a {
        height: 45px !important;
        line-height: 45px !important;
        font-size: 14px;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    nav ul li a.btn-primary {
        width: 140px;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
        padding: 0;
        margin: 5px auto;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .design-content {
        grid-template-columns: 1fr;
    }
    
    .gradient-text {
        font-size: 32px;
    }
    
    .highlight-tabs {
        flex-direction: column;
    }
    
    .tab {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .tab.active {
        border-bottom: 2px solid var(--primary);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .design-showcase {
        padding: 20px;
    }

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

    /* 调整hero区域在移动端的上边距 */
    .hero .container {
        padding-top: 30px;
    }

    .phone-mockup {
        width: 240px;
        height: 490px;
    }

    section {
        padding: 70px 0;
    }

    .footer-links {
        flex-wrap: nowrap !important;
        gap: 10px !important;
        justify-content: space-between !important;
        display: flex !important;
        width: 100% !important;
        flex-direction: row !important;
        margin: 0 !important;
    }
    
    .footer-column {
        width: auto !important;
        margin-bottom: 20px;
        text-align: center;
        float: none !important;
        display: block !important;
        flex: 1 1 0px !important;
        min-width: 0 !important;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column ul li {
        margin-bottom: 12px;
    }

    .info-item {
        width: 100%;
    }

    .footer-logo img {
        height: 30px;
        width: auto;
        display: block;
        margin: 0 auto 10px;
    }
    
    .footer-logo p {
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 20px 10px 0;
    }
}

/* 图片懒加载相关样式 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"] {
    opacity: 1;
}

/* 图片加载时的占位样式 */
.phone-inner, .feature-icon {
    position: relative;
    background-color: transparent;
}

.phone-inner::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
    background-size: 200% 100%;
}

/* 优化图片显示 */
.app-screen, .feature-icon img, .footer-logo-img, #logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* 移动端图片优化 */
@media (max-width: 768px) {
    .app-screen {
        width: 100%;
        height: auto;
        max-height: 570px;
        object-fit: contain;
    }
    
    .feature-icon img {
        width: 35px;
        height: 35px;
    }
    
    .app-store-btn img {
        max-width: 150px;
    }
}

@media (max-width: 420px) {
    .feature-icon img {
        width: 30px;
        height: 30px;
    }
    
    .app-store-btn img {
        max-width: 140px;
    }
    
    nav ul.active {
        background-color: white !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-direction: column !important;
    }
    
    nav ul.active li {
        height: 45px !important;
        background-color: white !important;
        border-bottom: 1px solid rgba(139, 76, 252, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
    }
    
    nav ul.active li a {
        height: 45px !important;
        line-height: 45px !important;
        font-size: 14px;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    nav ul li a.btn-primary {
        width: 120px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        padding: 0;
        margin: 5px auto;
    }
    
    /* 超小屏幕下的footer样式 */
    .footer-logo {
        padding: 0 10px;
    }
    
    .footer-logo img {
        height: 28px;
        width: auto;
        margin-bottom: 8px;
    }
    
    .footer-logo p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .footer-links {
        gap: 5px !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        display: flex !important;
        width: 100% !important;
        flex-direction: row !important;
        margin: 0 !important;
    }
    
    .footer-column {
        width: auto !important;
        padding: 0 2px;
        text-align: center;
        float: none !important;
        display: block !important;
        flex: 1 1 0px !important;
        min-width: 0 !important;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 10px;
        white-space: nowrap;
    }
    
    .footer-column ul {
        align-items: center;
        padding: 0;
    }
    
    .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .footer-column ul li a {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .footer-bottom {
        padding: 15px 10px 0;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* 改进的滚动体验 */
.features-grid, .highlight-tabs, .tab-content {
    -webkit-overflow-scrolling: touch;
}

/* 移动端菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    pointer-events: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: white;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    top: 60px;
    left: 0;
    pointer-events: auto;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu li {
    height: 50px;
    margin: 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-bottom: 1px solid rgba(139, 76, 252, 0.1);
}

.mobile-menu li:first-child {
    margin-top: 5px;
}

.mobile-menu li:last-child {
    border-bottom: none;
    margin-bottom: 5px;
    padding: 15px;
    height: auto;
}

.mobile-menu li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu li a.btn-primary {
    background: var(--gradient-1);
    color: white !important;
    width: 90px !important;
    height: 35px !important;
    margin: 5px auto;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(139, 76, 252, 0.3);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 420px) {
    .mobile-menu {
        top: 50px;
        padding: 8px 0;
    }
    
    .mobile-menu li {
        height: 45px;
        padding: 0 12px;
    }
    
    .mobile-menu li:last-child {
        padding: 12px;
        height: auto;
    }
    
    .mobile-menu li a {
        font-size: 14px;
    }
    
    .mobile-menu li a.btn-primary {
        width: 80px !important;
        height: 36px;
        font-size: 14px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    header {
        padding: 10px 0;
        position: relative;
    }
    
    .glass-nav {
        z-index: 1002;
    }
    
    .mobile-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: var(--gradient-1);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(139, 76, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(139, 76, 252, 0.4);
} 