/* 色咪直播 - 手机APP页面专用样式 */

/* 基础设置和变量 */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ff8a80;
    --accent-color: #ffc1cc;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg-primary: #ffffff;
    --bg-secondary: #fff5f7;
    --bg-gradient: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 50%, #ffc1cc 100%);
    --app-ios: #007AFF;
    --app-android: #34A853;
    --shadow-soft: 0 10px 35px rgba(255, 107, 157, 0.15);
    --shadow-hover: 0 20px 45px rgba(255, 107, 157, 0.25);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* 基础容器居中系统 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* CSS重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    font-size: 28px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.slogan {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-2px);
}

.nav-item.cta-btn {
    background: var(--bg-gradient);
    color: white;
    font-weight: 600;
}

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

/* APP英雄区域 */
.app-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><rect x="100" y="20" width="60" height="60" rx="15"/><rect x="300" y="10" width="40" height="40" rx="10"/><rect x="700" y="30" width="50" height="50" rx="12"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.app-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.download-btn.ios {
    background: var(--app-ios);
    color: white;
}

.download-btn.android {
    background: var(--app-android);
    color: white;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text small {
    font-size: 11px;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 16px;
    font-weight: 600;
}

/* 手机模型 */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.phone-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    pointer-events: none;
}

/* APP功能区域 */
.app-features {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* APP截图区域 */
.app-screenshots {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.screenshot-item {
    flex-shrink: 0;
    width: 250px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    opacity: 0.7;
    transform: scale(0.9);
}

.screenshot-item.active {
    opacity: 1;
    transform: scale(1);
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.screenshot-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.screenshot-info {
    padding: 20px;
    text-align: center;
}

.screenshot-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.screenshot-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 用户评价区域 */
.user-reviews {
    padding: 80px 0;
    background: var(--bg-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.user-device {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.rating {
    font-size: 14px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-date {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
}

/* 下载号召区域 */
.download-cta {
    padding: 80px 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 50px;
}

.qr-download {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    align-items: center;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin-bottom: 15px;
}

.qr-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.download-info {
    text-align: left;
    max-width: 300px;
}

.download-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.download-methods {
    list-style: none;
}

.download-methods li {
    padding: 8px 0;
    opacity: 0.9;
}

.system-requirements {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    max-width: 500px;
    margin: 0 auto;
}

.system-requirements h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.requirements-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.requirement-item {
    text-align: center;
}

.req-platform {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.req-version {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

/* 底部样式 */
.main-footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .app-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-download {
        flex-direction: column;
        gap: 30px;
    }
    
    .requirements-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}