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

:root {
    /* 颜色变量 - Apple风格 */
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --accent-color: #FF3B30;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1A6;
    --text-dark: #1D1D1F;
    --background-primary: #000000;
    --background-secondary: #1C1C1E;
    --background-tertiary: #2C2C2E;
    --background-card: #1C1C1E;
    --background-dark: #000000;
    --border-color: #38383A;
    --border-light: #48484A;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 16px 40px rgba(0, 0, 0, 0.5);
    
    /* 字体 */
    --font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

.container {
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.nav-logo {
    flex-shrink: 0;
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo .logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* 主横幅区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #1c1c1e 60%, #1f1f1f 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(88, 86, 214, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 59, 48, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    animation: heroGridMove 25s linear infinite;
}

@keyframes heroGridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, 100px);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content {
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.title-primary {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.title-gradient {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #FF3B30 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: left;
}

.stat-number {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: var(--primary-color);
    color: white;
}

.hero-btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: rgba(20, 20, 22, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-lg);
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-feature-card {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.hero-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.2);
}

.hero-feature-card[data-feature="ios"] {
    grid-column: 1;
    grid-row: 1;
}

.hero-feature-card[data-feature="watchos"] {
    grid-column: 2;
    grid-row: 1;
}

.hero-feature-card[data-feature="ml"] {
    grid-column: 3;
    grid-row: 1;
}

.hero-feature-card[data-feature="aigc"] {
    grid-column: 1 / 3;
    grid-row: 2;
}

.hero-feature-card[data-feature="chip"] {
    grid-column: 3;
    grid-row: 2;
}

.hero-feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-feature-card:hover .hero-feature-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.hero-feature-icon svg {
    width: 100%;
    height: 100%;
}

.hero-feature-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.hero-feature-card:hover .hero-feature-label {
    color: var(--text-primary);
}

.hero-visual-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
}

.hero-connection-svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.hero-connection-line {
    animation: heroConnectionFlow 3s ease-in-out infinite;
}

.hero-connection-line:nth-child(2) {
    animation-delay: 1s;
}

.hero-connection-line:nth-child(3) {
    animation-delay: 2s;
}

@keyframes heroConnectionFlow {
    0%, 100% {
        stroke-dasharray: 0, 100;
        opacity: 0.2;
    }
    50% {
        stroke-dasharray: 50, 50;
        opacity: 0.5;
    }
}

/* 功能卡片动画 */
.hero-feature-card[data-feature="ios"] {
    animation: heroCardFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-feature-card[data-feature="watchos"] {
    animation: heroCardFloat 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.hero-feature-card[data-feature="ml"] {
    animation: heroCardFloat 4s ease-in-out infinite;
    animation-delay: 1.6s;
}

.hero-feature-card[data-feature="aigc"] {
    animation: heroCardFloat 4s ease-in-out infinite;
    animation-delay: 2.4s;
}

.hero-feature-card[data-feature="chip"] {
    animation: heroCardFloat 4s ease-in-out infinite;
    animation-delay: 3.2s;
}

@keyframes heroCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 应用展示区域 */
.apps-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 应用展示区域 */
.app-showcase {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 一洞一记应用展示 - 磨砂玻璃效果 */
.app-showcase-holebyhole {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-showcase-holebyhole::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/holebyhole/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.3;
}

/* 健身计数器应用展示 - 磨砂玻璃效果 */
.app-showcase-gymcount {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-showcase-gymcount::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/gymcount/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.3;
}

.app-showcase:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.app-showcase-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.app-icon-container {
    position: relative;
    flex-shrink: 0;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}

.app-info {
    flex: 1;
}

.app-info .app-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.app-info .app-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: 1rem;
}

.app-screenshots {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.screenshot-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.screenshot-container:hover {
    transform: scale(1.05);
}

.screenshot-container.vertical {
    width: 200px;
    height: 400px;
}

.screenshot-container.square {
    width: 200px;
    height: 200px;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.app-card.featured {
    border: 2px solid var(--primary-color);
    background: var(--background-tertiary);
}

.app-image-container {
    position: relative;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.app-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.app-card:hover .app-image {
    transform: scale(1.05);
}

.app-badge {
    position: absolute;
    top: -8px;
    right: calc(50% - 60px);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.app-badge.watch {
    background: var(--secondary-color);
}

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

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--background-tertiary);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.app-actions {
    display: flex;
    justify-content: center;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-store-btn.primary {
    background: var(--primary-color);
    color: white;
}

.app-store-btn.secondary {
    background: var(--secondary-color);
    color: white;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.app-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.app-store-btn:hover::before {
    left: 100%;
}

.app-store-icon {
    width: 20px;
    height: 20px;
}

/* 关于区域 */
.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-secondary);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.skill-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: var(--background-card);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-4px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.skill-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 联系区域 */
.contact-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-dark);
    color: white;
}

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

.contact-text {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-xl);
}

.contact-buttons {
    display: flex;
    justify-content: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0056CC;
    transform: translateY(-2px);
}

.contact-icon {
    width: 20px;
    height: 20px;
}

/* 页脚 */
.footer {
    background: var(--background-dark);
    color: white;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid #333;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

.footer-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端导航栏 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-md);
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-links.mobile-menu-open {
        transform: translateX(0);
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-md);
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover,
    .nav-link:active {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.05);
        padding-left: var(--spacing-lg);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* 防止滚动当菜单打开时 */
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--spacing-sm);
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .app-showcase {
        padding: var(--spacing-lg);
    }
    
    .app-showcase-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .app-screenshots {
        gap: var(--spacing-md);
    }
    
    .screenshot-container.vertical {
        width: 150px;
        height: 300px;
    }
    
    .screenshot-container.square {
        width: 150px;
        height: 150px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端页脚优化 */
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer .container {
        padding: 0 var(--spacing-sm);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-content p {
        font-size: 0.8125rem;
        order: 2;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        order: 1;
        align-items: center;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
        padding: var(--spacing-xs) 0;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links a:last-child {
        border-bottom: none;
    }
    
    .footer-links a:hover {
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-sm);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* 移动端主横幅区域优化 */
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .title-primary {
        font-size: 2.5rem;
    }
    
    .title-gradient {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        text-align: center;
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: space-around;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-features-grid {
        gap: var(--spacing-md);
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .hero-feature-card[data-feature="ios"] {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero-feature-card[data-feature="watchos"] {
        grid-column: 2;
        grid-row: 1;
    }
    
    .hero-feature-card[data-feature="ml"] {
        grid-column: 1;
        grid-row: 2;
    }
    
    .hero-feature-card[data-feature="aigc"] {
        grid-column: 2;
        grid-row: 2;
    }
    
    .hero-feature-card[data-feature="chip"] {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    
    .hero-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-feature-label {
        font-size: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 移动端容器调整 */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    
    /* 移动端应用卡片优化 */
    .app-card {
        margin-bottom: var(--spacing-lg);
    }
    
    /* 移动端关于区域优化 */
    .about-section {
        padding: var(--spacing-xl) 0;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    /* 移动端联系区域优化 */
    .contact-section {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-text {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .app-showcase {
        padding: var(--spacing-md);
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-info .app-title {
        font-size: 1.5rem;
    }
    
    .screenshot-container.vertical {
        width: 120px;
        height: 240px;
    }
    
    .screenshot-container.square {
        width: 120px;
        height: 120px;
    }
    
    .app-screenshots {
        gap: var(--spacing-sm);
    }
    
    .hero-container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-features-grid {
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .hero-feature-card {
        padding: var(--spacing-md);
    }
    
    .hero-feature-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-feature-label {
        font-size: 0.7rem;
    }
    
    .hero-visual-connections {
        display: none;
    }
    
    .title-primary {
        font-size: 2rem;
    }
    
    .title-gradient {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* 小屏幕 hero-stats 进一步缩小 */
    .hero-stats {
        gap: var(--spacing-xs);
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* 小屏幕导航栏调整 */
    .nav-logo .logo-image {
        height: 32px;
    }
    
    .nav-logo .logo-text {
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        width: 24px;
        height: 24px;
    }
    
    /* 小屏幕页脚进一步优化 */
    .footer {
        padding: var(--spacing-sm) 0;
    }
    
    .footer-content {
        gap: var(--spacing-sm);
    }
    
    .footer-content p {
        font-size: 0.75rem;
    }
    
    .footer-links {
        gap: var(--spacing-xs);
    }
    
    .footer-links a {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

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

.app-card {
    animation: fadeInUp 0.6s ease forwards;
}

.app-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
