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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8c42;
    --accent-color: #ff4757;
    --gradient-start: #ff6b35;
    --gradient-end: #ff4757;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f5f5f5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero {
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.5);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #fff5f0;
}

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

.stats {
    padding: 40px 20px;
    background: var(--bg-white);
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-unit {
    font-size: 20px;
}

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

.phone-showcase {
    padding: 40px 20px 80px;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
}

.phone-container {
    perspective: 1000px;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
    border-radius: 30px;
    overflow: hidden;
    padding: 16px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.app-search {
    font-size: 20px;
    color: var(--text-secondary);
}

.app-banner {
    margin-bottom: 16px;
}

.banner-placeholder {
    height: 100px;
    background: linear-gradient(135deg, #ff9a56, #ff6b35);
    border-radius: var(--radius-md);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.app-card {
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
}

.card-1 {
    background: linear-gradient(135deg, #ff9a56, #ff6b35);
}

.card-2 {
    background: linear-gradient(135deg, #a855f7, #6366f1);
}

.card-3 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.card-4 {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

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

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-title.white {
    color: white;
}

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

.section-subtitle.white {
    color: rgba(255, 255, 255, 0.8);
}

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

.features-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.icon-1 {
    background: linear-gradient(135deg, #ff9a56, #ff6b35);
}

.icon-2 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.icon-3 {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

.icon-4 {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.icon-5 {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.icon-6 {
    background: linear-gradient(135deg, #fb7185, #f43f5e);
}

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

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.content-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e5e7eb;
}

.content-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.manga-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.manga-cover {
    aspect-ratio: 3/4;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.manga-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.manga-card:hover .manga-cover img {
    transform: scale(1.05);
}

.manga-info {
    padding: 12px;
    background: white;
}

.manga-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manga-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
}

.history {
    padding: 80px 20px;
    background: var(--bg-light);
}

.history-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.history-item:hover {
    box-shadow: var(--shadow-md);
}

.version-icon {
    font-size: 32px;
}

.version-info {
    flex: 1;
}

.version-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.version-date {
    font-size: 12px;
    color: var(--text-light);
}

.version-download {
    padding: 8px 16px;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.version-download:hover {
    background: var(--primary-color);
    color: white;
}

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

.download-container {
    max-width: 1000px;
    margin: 0 auto;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.download-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

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

.download-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.download-size {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ios-btn {
    background: #000;
    color: white;
}

.ios-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.android-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.android-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.5);
}

.download-arrow {
    font-size: 20px;
}

.qrcode-section {
    display: flex;
    justify-content: center;
}

.qrcode-box {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.qrcode-placeholder {
    width: 160px;
    height: 160px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.qr-pattern {
    width: 120px;
    height: 120px;
}

.qr-grid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qr-row {
    flex: 1;
    display: flex;
    gap: 4px;
}

.qr-row span {
    flex: 1;
    background: #1a1a1a;
    border-radius: 1px;
}

.qr-row span.white {
    background: white;
}

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

.footer {
    background: #1a1a2e;
    padding: 48px 20px 32px;
    color: white;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    font-size: 24px;
    background: linear-gradient(135deg, #ff9a56, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

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

    .section-title {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .manga-title {
        font-size: 13px;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-card {
        padding: 32px 24px;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 16px 40px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
        transform: none;
    }

    .features,
    .content,
    .history,
    .download-section {
        padding: 60px 16px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .download-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .qrcode-placeholder {
        width: 140px;
        height: 140px;
    }
}
