/* 幼水铃衣 - 短视频制作网站样式 */

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --tech-blue: #004E89;
    --viral-red: #F71735;
    --dark-bg: #1A1A1D;
    --light-bg: #FFFFFF;
    --text-dark: #1A1A1D;
    --text-light: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 - 非sticky设计 */
header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--tech-blue) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Hero区域 - 对角线切割设计 */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--viral-red) 50%, var(--tech-blue) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--dark-bg);
    color: var(--text-light);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* 卡片式布局 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--tech-blue);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--viral-red));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 网红案例卡片网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.case-card {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.case-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--tech-blue);
}

.case-creator {
    font-size: 16px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 600;
}

.case-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid var(--gray-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: var(--viral-red);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: #888;
}

/* 特色服务区域 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--light-bg) 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--tech-blue);
}

.feature-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* 关于我们区域 */
.about-section {
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--primary-orange);
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* 数据展示区域 */
.stats-section {
    background: var(--gray-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-box {
    background: var(--light-bg);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-box .big-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 10px;
}

.stat-box .stat-text {
    font-size: 18px;
    color: #555;
}

/* 评论区域 */
.reviews-section {
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--tech-blue);
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
}

.reviewer-location {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.review-date {
    font-size: 13px;
    color: #999;
    text-align: right;
}

/* FAQ区域 */
.faq-section {
    background: var(--gray-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 25px 30px;
    font-size: 19px;
    font-weight: bold;
    color: var(--tech-blue);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: var(--primary-orange);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* 页脚 */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #999;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 40px;
    width: auto;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background: var(--gray-light);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: #888;
}

.breadcrumb-list a {
    color: var(--tech-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-orange);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: 500px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 性能优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
