/* 香蕉视频 官网主样式 - 深空黑+霓虹蓝紫渐变配色 */
:root {
    --primary: #0a0a0a;
    --secondary: #8A2BE2;
    --accent: #00f2fe;
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --card-bg: #111111;
    --border: #2a2a2a;
    --gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 40%, #8A2BE2 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
header {
    background: rgba(5, 5, 5, 0.92);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

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

/* ===== SEARCH BOX ===== */
.search-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.search-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 9px 20px;
    border: 1px solid #333;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 24px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--secondary);
    background: rgba(138,43,226,0.08);
}

.search-box input::placeholder {
    color: #666;
}

.search-btn {
    padding: 9px 22px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.search-btn:hover {
    opacity: 0.85;
}

/* ===== HERO ===== */
.hero {
    margin-top: 120px;
    padding: 100px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(138,43,226,0.15) 0%, rgba(0,242,254,0.05) 50%, transparent 100%),
                linear-gradient(180deg, #0a0a0a 0%, #050510 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(138,43,226,0.05) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn-primary {
    padding: 14px 36px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(138,43,226,0.4);
}

.btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.3s, background 0.3s;
}

.btn-outline:hover {
    border-color: var(--secondary);
    background: rgba(138,43,226,0.1);
}

/* ===== SECTIONS ===== */
.section {
    padding: 90px 0;
}

.section-alt {
    background: rgba(255,255,255,0.02);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* ===== CARDS ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.18);
    border-color: rgba(138,43,226,0.4);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.card ul {
    color: var(--text-muted);
    padding-left: 20px;
    margin-top: 12px;
}

.card ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* ===== VIDEO CARDS ===== */
.video-card {
    cursor: pointer;
    padding: 0;
}

.video-card .video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.video-card .video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 0;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(138, 43, 226, 0.85);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #fff;
    margin-left: 4px;
}

.video-content {
    padding: 20px 24px 24px;
}

.video-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.video-stats {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    font-size: 12px;
    color: #666;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--card-bg);
    margin-bottom: 16px;
    padding: 24px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(138,43,226,0.08);
}

.faq-q {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
    color: #fff;
}

.faq-a {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== REVIEWS ===== */
.review-item {
    background: var(--card-bg);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
}

.review-item::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 60px;
    color: rgba(138,43,226,0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-item p {
    color: #ccc;
    font-style: italic;
    line-height: 1.8;
    padding-top: 20px;
}

.review-author {
    margin-top: 16px;
    font-weight: 700;
    color: var(--secondary);
    font-style: normal;
    font-size: 14px;
}

.stars {
    color: #FFD700;
    font-size: 14px;
    margin-bottom: 8px;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

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

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    position: relative;
}

.process-item {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.process-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.process-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    font-size: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    text-align: center;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    color: #666;
    margin-bottom: 36px;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 8px;
    color: #444;
}

/* ===== TAGS ===== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(138,43,226,0.15);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 12px;
    margin-right: 6px;
    margin-top: 8px;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 110px;
        padding: 60px 0 50px;
    }

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

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

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

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

    .section {
        padding: 60px 0;
    }

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

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

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

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

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

    .hero h1 {
        font-size: 26px;
    }

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