/* 17c 品牌官网样式表 */
:root {
    --primary-color: #ff4757;
    --secondary-color: #2f3542;
    --bg-color: #f1f2f6;
    --text-color: #2f3542;
    --light-text: #747d8c;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 5px 15px;
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
}

.search-container button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Video Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ddd;
    position: relative;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}

.video-card:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 14px;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-q {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.faq-a {
    color: var(--light-text);
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: var(--white);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-col a {
    color: #a4b0be;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a4b0be;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

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

.breadcrumb span {
    margin: 0 10px;
    color: var(--light-text);
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: var(--white);
    min-height: 500px;
}

.page-content h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-content p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
}
