/* ========================================
   女神视频 - 原创样式表
   品牌色系：深邃靛蓝 + 活力橙 + 科技青绿
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1A1F36;
    --accent: #FF6B35;
    --teal: #00D4AA;
    --bg-light: #F5F7FA;
    --text-dark: #2D3748;
    --text-light: #718096;
    --gradient-start: #FF6B35;
    --gradient-end: #FF3CAC;
    --card-bg: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 24px rgba(26,31,54,0.08);
    --radius: 12px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gradient-end); }

img { max-width: 100%; height: auto; display: block; }

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

/* ========== Header & Navigation ========== */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.site-logo img { height: 40px; width: auto; border-radius: 8px; }

.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav a {
    color: rgba(255,255,255,.85);
    padding: 20px 14px;
    font-size: .9rem;
    font-weight: 500;
    transition: all .3s;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(255,107,53,.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width .3s;
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 60%; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ========== Search Bar ========== */
.search-bar {
    background: linear-gradient(135deg, var(--primary) 0%, #2D3258 100%);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.search-bar .container { display: flex; justify-content: center; }

.search-wrapper {
    display: flex;
    max-width: 680px;
    width: 100%;
    background: rgba(255,255,255,.12);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    transition: all .3s;
}

.search-wrapper:focus-within {
    background: rgba(255,255,255,.18);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255,107,53,.2);
}

.search-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.search-wrapper input::placeholder { color: rgba(255,255,255,.5); }

.search-wrapper button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: #fff;
    padding: 12px 28px;
    font-size: .95rem;
    cursor: pointer;
    font-weight: 600;
    transition: opacity .3s;
}

.search-wrapper button:hover { opacity: .9; }

/* ========== Banner / Hero ========== */
.hero-banner {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.55);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
    line-height: 1.3;
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: .9;
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 20px rgba(255,107,53,.4);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,53,.5);
    color: #fff;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 14px 0;
    font-size: .85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ========== Section Styles ========== */
.section {
    padding: 60px 0;
}

.section-alt {
    background: #fff;
}

.section-dark {
    background: var(--primary);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-dark .section-title h2 { color: #fff; }

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p { color: rgba(255,255,255,.7); }

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* ========== Video Card Grid ========== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26,31,54,.15);
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 56px;
    height: 56px;
    background: rgba(255,107,53,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s;
    z-index: 3;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

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

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .75rem;
    z-index: 3;
}

.video-info { padding: 14px 16px; }

.video-info h3 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 12px;
    font-size: .8rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

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

.video-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.video-tags .tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .75rem;
}

/* ========== Feature Cards ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .3s;
    border: 1px solid var(--border);
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(255,107,53,.1), rgba(255,60,172,.1));
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== Expert Cards ========== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expert-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .3s;
}

.expert-card:hover { transform: translateY(-4px); }

.expert-avatar {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.expert-info { padding: 20px 16px; }

.expert-info h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--primary); }

.expert-info .role {
    color: var(--accent);
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.expert-info p {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 14px;
}

.expert-btns { display: flex; gap: 8px; justify-content: center; }

.btn-sm {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-dark);
    transition: all .3s;
    background: transparent;
    cursor: pointer;
}

.btn-sm:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-sm.primary:hover { background: var(--gradient-end); border-color: var(--gradient-end); }

/* ========== Partner Logos ========== */
.partner-wall {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.partner-wall img {
    max-height: 200px;
    width: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========== Reviews ========== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.review-card .stars {
    color: #F6AD55;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-card blockquote {
    font-size: .95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--text-light);
}

.review-author strong { color: var(--text-dark); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .3s;
    font-size: .95rem;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 700;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

/* ========== How-To Guide ========== */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.howto-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.howto-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.howto-step p {
    font-size: .85rem;
    color: var(--text-light);
}

/* ========== Contact Info ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== Share Buttons ========== */
.share-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: .85rem;
    font-weight: 500;
    color: #fff;
    transition: transform .3s, opacity .3s;
}

.share-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff; }

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00A1D6; }

/* ========== Footer ========== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
}

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

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-brand p {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-qrcodes {
    display: flex;
    gap: 16px;
}

.footer-qrcodes img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,.15);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

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

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

.footer-col a {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: color .3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    text-align: center;
    font-size: .85rem;
}

.footer-bottom p { margin-bottom: 6px; }

/* ========== Inner Page Banner ========== */
.inner-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-banner .hero-bg { filter: brightness(.45); }

.inner-banner h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 2.2rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

/* ========== Content Page ========== */
.page-content {
    padding: 40px 0 60px;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content .highlight-box {
    background: linear-gradient(135deg, rgba(255,107,53,.05), rgba(0,212,170,.05));
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .howto-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

    .main-nav.open { display: flex; }

    .main-nav a { padding: 14px 24px; }

    .mobile-toggle { display: block; }

    .hero-banner { height: 400px; }
    .hero-content h1 { font-size: 1.8rem; }

    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .howto-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .section { padding: 40px 0; }
    .section-title h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .hero-banner { height: 320px; }
    .hero-content h1 { font-size: 1.5rem; }
    .inner-banner { height: 200px; }
    .inner-banner h1 { font-size: 1.5rem; }
}

/* ========== Lazy Load ========== */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* ========== Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s, transform .6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
