/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --primary-dark: #8B0000;
    --primary-light: #FF6B8A;
    --accent-gold: #FFD700;
    --bg-main: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-sidebar: #1C1C1E;
    --text-main: #1D1D1F;
    --text-light: #FFFFFF;
    --text-muted: #86868B;
    --border-main: #D2D2D7;
    --shadow-soft: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-strong: 0 8px 30px rgba(0,0,0,0.16);
    --radius-base: 10px;
    --radius-large: 20px;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    font-size: 16px;
}

/* 页面布局 - 侧边栏 + 主内容 */
.page-layout {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏导航 */
.sidebar-navigation {
    width: 280px;
    background: var(--bg-sidebar);
    color: var(--text-light);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.brand-info-area {
    display: flex;
    flex-direction: column;
}

.brand-name-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0;
}

.brand-sub-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

.sidebar-menu {
    flex: 1;
    padding: 2rem 0;
    overflow-y: auto;
}

.sidebar-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--easing);
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-menu-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    border-left-color: var(--primary-light);
}

.sidebar-menu-item.active-menu {
    background: rgba(220, 20, 60, 0.15);
    color: var(--primary-light);
    border-left-color: var(--primary-red);
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-red);
    color: var(--text-light);
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-base);
    font-weight: 600;
    transition: all 0.3s var(--easing);
}

.sidebar-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 主内容区域 */
.main-layout-area {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}

/* Hero区域 - 全宽布局 */
.top-hero-zone {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
    padding: 4rem 3rem;
    border-bottom: 1px solid var(--border-main);
}

.hero-content-zone {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-zone {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-main-heading {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.hero-secondary-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.2;
}

.hero-tertiary-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
}

.hero-description-para {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-media-zone {
    position: relative;
}

.media-container-box {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: var(--bg-sidebar);
}

.hero-video-element {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容区域 */
.content-zone {
    padding: 4rem 3rem;
    background: var(--bg-main);
}

.content-inner-zone {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title-zone {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-intro-text {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* 瀑布流视频布局 */
.videos-masonry-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.masonry-video-item {
    background: var(--bg-alt);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all 0.4s var(--easing);
    border: 1px solid var(--border-main);
}

.masonry-video-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-light);
}

.masonry-thumb-area {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--bg-sidebar);
    overflow: hidden;
}

.masonry-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--easing);
}

.masonry-video-item:hover .masonry-thumb-img {
    transform: scale(1.12);
}

.masonry-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0;
    transition: all 0.4s var(--easing);
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.masonry-video-item:hover .masonry-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.masonry-duration-tag {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.85);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-base);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.masonry-content-area {
    padding: 2rem;
}

.masonry-title-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.masonry-desc-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.masonry-meta-area {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.masonry-meta-tag {
    display: flex;
    align-items: center;
}

/* 服务区域 */
.services-zone {
    padding: 4rem 3rem;
    background: var(--bg-alt);
}

.services-inner-zone {
    max-width: 1400px;
    margin: 0 auto;
}

.services-row-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-item-card {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: var(--radius-large);
    text-align: center;
    transition: all 0.4s var(--easing);
    border: 2px solid var(--border-main);
}

.service-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-red);
}

.service-icon-element {
    font-size: 4rem;
    margin-bottom: 1.75rem;
    line-height: 1;
}

.service-heading-element {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.service-heading-element a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s var(--easing);
}

.service-heading-element a:hover {
    color: var(--primary-red);
}

.service-body-element {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 优势区域 */
.advantages-zone {
    padding: 4rem 3rem;
    background: var(--bg-main);
}

.advantages-inner-zone {
    max-width: 1400px;
    margin: 0 auto;
}

.advantages-column-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-row-item {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: var(--radius-large);
    border-left: 5px solid var(--primary-red);
    transition: all 0.3s var(--easing);
}

.advantage-row-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.advantage-heading-row {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.advantage-text-row {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 联系区域 */
.contact-zone {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: var(--text-light);
}

.contact-inner-zone {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading-zone {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-text-zone {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.contact-link-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--text-light);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: var(--radius-large);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s var(--easing);
    box-shadow: var(--shadow-medium);
}

.contact-link-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

/* 页脚 */
.bottom-footer {
    background: var(--bg-sidebar);
    color: var(--text-light);
    padding: 4rem 3rem 2rem;
    margin-left: 280px;
}

.footer-inner-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer-title-box {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text-box {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 0.875rem;
}

.footer-heading-box {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-list-items {
    list-style: none;
}

.footer-list-items li {
    margin-bottom: 1rem;
}

.footer-list-items a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s var(--easing);
    font-size: 0.9375rem;
    display: inline-block;
}

.footer-list-items a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

.footer-bottom-row {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright-row {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar-navigation {
        width: 240px;
    }

    .main-layout-area {
        margin-left: 240px;
    }

    .hero-content-zone {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-main-heading {
        font-size: 3rem;
    }

    .hero-secondary-heading {
        font-size: 2rem;
    }

    .section-heading-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar-navigation {
        transform: translateX(-100%);
        transition: transform 0.3s var(--easing);
    }

    .sidebar-navigation.active {
        transform: translateX(0);
    }

    .main-layout-area {
        margin-left: 0;
    }

    .bottom-footer {
        margin-left: 0;
    }

    .top-hero-zone,
    .content-zone,
    .services-zone,
    .advantages-zone,
    .contact-zone {
        padding: 3rem 1.5rem;
    }

    .hero-main-heading {
        font-size: 2.5rem;
    }

    .hero-secondary-heading {
        font-size: 1.75rem;
    }

    .section-heading-text {
        font-size: 2rem;
    }

    .videos-masonry-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-row-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-heading-zone {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .top-hero-zone,
    .content-zone,
    .services-zone,
    .advantages-zone,
    .contact-zone {
        padding: 2rem 1rem;
    }

    .hero-main-heading {
        font-size: 2rem;
    }

    .hero-secondary-heading {
        font-size: 1.5rem;
    }

    .section-heading-text {
        font-size: 1.75rem;
    }

    .contact-heading-zone {
        font-size: 2rem;
    }

    .contact-link-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* 性能优化 */
.masonry-video-item,
.service-item-card {
    will-change: transform;
}
