:root {
    --primary-orange: #FF9500;
    --primary-red: #FF3B30;
    --text-dark: #1C1C1E;
    --text-gray: #8E8E93;
    --bg-light: #F2F2F7;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a:not(.nav-download-btn) {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:not(.nav-download-btn):hover {
    color: var(--primary-orange);
}

.nav-download-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-download-btn i {
    margin-right: 6px;
    font-size: 1.1em;
}

.nav-download-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero 区域 */
.hero {
    margin-top: 64px;
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(255, 149, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.grid-background {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-image: 
        linear-gradient(rgba(255, 149, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 149, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg) translateY(0);
    animation: grid-move 20s linear infinite;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

@keyframes grid-move {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fade-up 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fade-up 0.8s ease-out 0.2s backwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--text-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.download-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: white;
}

/* 功能展示 */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 149, 0, 0.15);
    border-color: rgba(255, 149, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 20px rgba(255, 149, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 400px;
}

/* 截图展示区域 */
.screenshots {
    background-color: var(--bg-light);
    padding: 4rem 1.5rem;
    text-align: center;
}

.screenshot-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.phone-frame {
    width: 280px;
    height: auto; /* 高度自适应 */
    background: transparent;
    border-radius: 20px; /* 保留适度圆角 */
    border: none; /* 移除边框 */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* 添加悬停动画 */
}

.phone-frame:hover {
    transform: translateY(-10px); /* 悬停上浮 */
}

.phone-screen-img {
    width: 100%;
    height: auto; /* 保持图片比例 */
    object-fit: cover;
    display: block; /* 消除图片底部空隙 */
}

/* 页脚 */
footer {
    background-color: white;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.copyright a {
    color: inherit;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
}
