/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* 头部样式 */
.header {
    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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff4757;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ff4757;
    border-radius: 2px;
}

/* 主要内容区域 */
.main {
    margin-top: 80px;
    flex: 1;
}

/* 页面整体布局 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    display: none;
    padding: 1rem 0;
}

.page-content.active {
    display: block;
}

/* 首页样式 */
.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    min-height: 80vh;
}

.brand-section {
    max-width: 500px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    position: relative;
}

.app-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.app-icon::after {
    content: '牛';
    position: absolute;
    font-size: 1.5rem;
}

.brand-logo h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.brand-description {
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.download-section {
    margin-top: 1.5rem;
}

.download-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.download-icon {
    font-size: 1rem;
}

.version-info {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
}

.terms {
    color: #ff4757;
    cursor: pointer;
}

.terms-link {
    color: #ff4757;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.terms-link:hover {
    color: #ff6b7a;
    border-bottom-color: #ff6b7a;
}

/* 手机展示区域 */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh;
    margin: 0 auto;
}

.phone-mockup img {
    width: 90%;
    height: 95%;
    object-fit: contain;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    position: relative;
    border: 3px solid #333;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffeaa7, #fab1a0);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffeaa7, #fab1a0);
    position: relative;
}

.app-screenshot::after {
    content: '牛马兼职\A上午好用户\A\A精选推荐\A\A线上作业员\A300元/天\A\A出差作业员/高薪\A180元/天\A\A一般装卸搬运工\A140元/天\A\A客服PPT美工一体一体\A220元/天\A\A美女管理主播（单休）\A200元/天\A\A在家手机接单赚钱\A150元/天';
    white-space: pre-line;
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    font-size: 0.75rem;
    color: #333;
    line-height: 1.8;
    font-weight: 500;
}

/* 关于我们页面 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* 服务中心页面 */
.service-content {
    text-align: center;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

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

.service-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-icon-1 {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.service-icon-1::after {
    content: '📦';
}

.service-icon-2 {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.service-icon-2::after {
    content: '👥';
}

.service-icon-3 {
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.service-icon-3::after {
    content: '💼';
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '•';
    color: #ff4757;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 联系我们页面 */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.company-info {
    text-align: center;
    margin-bottom: 3rem;
}

.company-name {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

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

.contact-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.phone-icon {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
}

.phone-icon::after {
    content: '📞';
}

.time-icon {
    background: linear-gradient(135deg, #5352ed, #7bed9f);
}

.time-icon::after {
    content: '🕒';
}

.location-icon {
    background: linear-gradient(135deg, #70a1ff, #5352ed);
}

.location-icon::after {
    content: '📍';
}

/* 页脚样式 */
.footer {
    background: #f8f9fa;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left p {
    font-weight: 600;
    color: #333;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem !important;
    color: #999 !important;
}

.icp-link {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.icp-link:hover {
    color: #ff4757;
    border-bottom-color: #ff4757;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .nav-menu ul {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .home-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: 70vh;
    }
    
    .phone-mockup {
        height: 60vh;
    }
    
    .phone-mockup img {
        width: 80%;
        height: 90%;
    }
    
    .brand-logo h2 {
        font-size: 2.5rem;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup {
        height: 55vh;
    }
    
    .phone-mockup img {
        width: 75%;
        height: 85%;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main {
        margin-top: 120px;
    }
    
    .page-content {
        padding: 2rem 0;
    }
    
    .brand-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-logo h2 {
        font-size: 2rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .about-text,
    .service-card {
        padding: 2rem 1.5rem;
    }
}
