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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 32px;
    width: auto;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #333;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    background: #000;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.3;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone {
    width: 340px;
    height: 736px; /* 调整高度以匹配截图比例 375:812 */
    background: #000;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.phone::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 22px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 70px;
}

/* 自定义滚动条 */
.phone-screen::-webkit-scrollbar {
    width: 4px;
}

.phone-screen::-webkit-scrollbar-track {
    background: transparent;
}

.phone-screen::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

/* 使用真实截图的手机屏幕样式 */
.phone-screen-screenshot {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
    font-size: 14px;
    font-weight: 600;
}

.time {
    color: #fff;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 3px;
}

.status-icons span {
    font-size: 12px;
}

.app-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #333;
}

.title-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.app-logo {
    font-size: 20px;
}

/* 主按钮 */
.main-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: #1a1a1a;
}

.main-button {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #333;
}

.main-button:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

.button-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.button-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* 模板分区 */
.template-section {
    padding: 15px 20px;
    background: #1a1a1a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.view-all {
    color: #888;
    font-size: 13px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.template-card {
    aspect-ratio: 9/16;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.template-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 底部导航 */
.bottom-navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 15px 0;
    border-top: 1px solid #333;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #999;
}

.nav-item.active {
    color: #fff;
}

.nav-icon {
    font-size: 20px;
}

.create-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: -10px;
}

.nav-label {
    font-size: 11px;
}

/* Features Section */
.features {
    padding: 80px 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.feature-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
    color: #666;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .phone {
        width: 300px;
        height: 620px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

/* Page Content Styles */
.page-content {
    padding-top: 80px;
}

.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

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

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

/* Navigation Active State */
.nav-menu a.active {
    color: #667eea;
    font-weight: 600;
}

/* Features Page Styles */
.features-detail {
    padding: 80px 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Download Page Styles */
.download-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.download-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-options {
    padding: 80px 2rem;
}

.download-options h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.platform-card > p {
    color: #666;
    margin-bottom: 1.5rem;
}

.download-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ios-btn {
    background: #000;
    color: white;
}

.ios-btn:hover {
    background: #333;
}

.android-btn {
    background: #34a853;
    color: white;
}

.android-btn:hover {
    background: #2d8f47;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    margin-top: 4rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

