/* 详情页面专用样式 */

/* 产品详情头部 */
.product-hero {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.product-hero.tea-theme {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.product-hero.baby-theme {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.product-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-meta span {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.download-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #007AFF;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

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

.download-btn-large i {
    font-size: 1.5rem;
}

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

.download-label {
    font-size: 1rem;
    line-height: 1.2;
}

.download-price {
    font-size: 0.875rem;
    opacity: 0.9;
}

.product-screenshot {
    text-align: center;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    object-fit: contain;
}

/* 产品描述区域 */
.product-description {
    padding: 80px 0;
    background: white;
}

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

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

.description-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* 功能区域 */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-card.highlight {
    border: 2px solid #007AFF;
    position: relative;
}

.feature-card.highlight::before {
    content: '核心功能';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #007AFF;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 技术特点 */
.tech-features {
    padding: 80px 0;
    background: white;
}

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

.tech-item {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid #007AFF;
}

.tech-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.tech-item ul {
    list-style: none;
    padding: 0;
}

.tech-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.tech-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007AFF;
    font-weight: bold;
}

/* 目标用户 */
.target-users {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.user-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.user-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.user-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.user-card p {
    color: #666;
    line-height: 1.6;
}

/* 版本历程 */
.version-history {
    padding: 80px 0;
    background: white;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007AFF;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #007AFF;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #007AFF;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #007AFF;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 游戏区域 (Baby Meadow专用) */
.games-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.game-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.game-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF9A9E, #FECFEF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.game-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 体质类型 (茶养专用) */
.constitution-types {
    padding: 80px 0;
    background: white;
}

.constitution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.constitution-card {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.constitution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.constitution-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.constitution-card p {
    color: #4caf50;
    font-size: 0.875rem;
}

/* 茶饮分类 */
.tea-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.category-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #4caf50;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 筛选维度 */
.filter-dimensions {
    padding: 80px 0;
    background: white;
}

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

.dimension-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    border-top: 4px solid #4caf50;
}

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

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 能力发展 (Baby Meadow专用) */
.development-areas {
    padding: 80px 0;
    background: white;
}

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

.development-card {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #ffc107;
}

.development-icon {
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.development-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

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

.development-card li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.development-card li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ffc107;
}

/* 年龄适宜性 */
.age-suitability {
    padding: 80px 0;
    background: #f8f9fa;
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.age-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.age-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.age-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.age-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.age-card p {
    color: #666;
    line-height: 1.6;
}

/* 家长指南 */
.parent-guide {
    padding: 80px 0;
    background: white;
}

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

.guide-card {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 16px;
    border-top: 4px solid #007AFF;
    text-align: center;
}

.guide-icon {
    width: 50px;
    height: 50px;
    background: #007AFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin: 0 auto 1rem;
}

.guide-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.guide-card p {
    color: #666;
    line-height: 1.6;
}

/* 底部下载区域 */
.download-section-bottom {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-section-bottom.tea-theme {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}

.download-section-bottom.baby-theme {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.download-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.download-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 导航栏链接样式 */
.nav-logo a {
    color: #007AFF;
    text-decoration: none;
}

.nav-logo a:hover {
    color: #0056CC;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .product-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .games-grid,
    .users-grid,
    .categories-grid,
    .dimensions-grid,
    .development-grid,
    .age-cards,
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .constitution-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-cta h2 {
        font-size: 2rem;
    }
}

/* 功能特性展示区域 */
.features-showcase {
    padding: 80px 0;
    background: white;
}

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

.showcase-item {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.showcase-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.showcase-content {
    padding: 2rem;
}

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.showcase-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tags .tag {
    background: linear-gradient(135deg, #007AFF, #5856D6);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .product-hero {
        padding: 40px 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .game-card,
    .user-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .download-cta h2 {
        font-size: 1.75rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-content {
        padding: 1.5rem;
    }
    
    .showcase-img {
        height: 280px;
    }
}