/* ============================================
   酷漫屋app下载 - 高端设计样式
   ============================================ */

:root {
    --primary: #FDB913;
    --primary-dark: #D4A574;
    --secondary: #8B6F47;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* ============================================
   头部导航
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    right: 0;
    top: 70px;
    width: 100%;
    max-width: 300px;
    background: var(--bg-white);
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-item {
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    font-weight: 500;
}

.mobile-nav-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ============================================
   Hero 部分
   ============================================ */

.hero {
    margin-top: 70px;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fef9e7 0%, #fff5e6 100%);
    z-index: -1;
}

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

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.stat span {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #9d7f52 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

/* ============================================
   按钮样式
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(253, 185, 19, 0.3);
}

.btn-primary:hover {
    background: #e6a500;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(253, 185, 19, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ============================================
   Section 通用样式
   ============================================ */

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

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* ============================================
   功能特性
   ============================================ */

.features {
    padding: 80px 20px;
    background: var(--bg-white);
}

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

.feature-item {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   下载区域
   ============================================ */

.download-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fef9e7 0%, #fff5e6 100%);
}

.download-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.download-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

.download-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.download-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.download-size {
    font-size: 12px !important;
    color: #999 !important;
    margin-bottom: 20px !important;
}

.download-tips {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.tips-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-light);
}

.tips-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: bold;
}

/* ============================================
   教程区域
   ============================================ */

.tutorial-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

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

.tutorial-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.tutorial-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tutorial-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.tutorial-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   FAQ 区域
   ============================================ */

.faq-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fef9e7 0%, #fff5e6 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    padding: 24px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   评论区域
   ============================================ */

.comments-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

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

.comment-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.comment-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.comment-header {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.comment-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-weight: 600;
}

.comment-info p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.comment-rating {
    margin-bottom: 12px;
    font-size: 14px;
}

.comment-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   CTA 区域
   ============================================ */

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--primary);
    color: white;
}

.cta-section .btn:hover {
    background: #e6a500;
}

/* ============================================
   底部
   ============================================ */

.footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 20px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
}

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

/* ============================================
   返回顶部按钮
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: #e6a500;
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .features-grid,
    .download-container,
    .tutorial-grid,
    .comments-carousel {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        height: 60px;
    }

    .hero {
        padding: 60px 15px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 14px;
    }

    .feature-item,
    .download-card,
    .tutorial-card,
    .comment-item {
        padding: 24px 20px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat strong {
        font-size: 18px;
    }

    .stat span {
        font-size: 11px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 14px;
    }
}
