/* ===== 17C 官网样式 ===== */
:root {
    --color-cream: #f9f8f6;
    --color-beige: #e6e0d4;
    --color-wood: #d2c8b8;
    --color-sage: #a3b1a6;
    --color-sage-dark: #8a998d;
    --color-warm-gray: #5a554e;
    --color-white: #ffffff;
    --color-text: #4a4640;
    --color-text-light: #7a7570;
    --font-main: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --radius: 10px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-sage); }

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

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

.section-pad { padding: 80px 0; }
.bg-light { background-color: var(--color-white); }

.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 16px;
    margin-bottom: 50px;
}

/* ===== HEADER ===== */
header {
    background-color: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    padding: 16px 0;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-sage);
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition), color var(--transition);
}

nav a:hover, nav a[aria-current="page"] {
    color: var(--color-sage);
    border-bottom-color: var(--color-sage);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.search-box input {
    padding: 8px 16px;
    border: 1px solid var(--color-wood);
    border-radius: 20px;
    outline: none;
    background-color: var(--color-cream);
    color: var(--color-text);
    font-size: 14px;
    width: 200px;
    transition: border-color var(--transition);
}

.search-box input:focus { border-color: var(--color-sage); }

.search-box button {
    padding: 8px 18px;
    background-color: var(--color-sage);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color var(--transition);
}

.search-box button:hover { background-color: var(--color-sage-dark); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--color-text);
    margin-left: auto;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-beige);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 50px 40px;
    background: rgba(255,255,255,0.82);
    border-radius: 16px;
    animation: fadeInUp 1.2s ease;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 18px;
    color: var(--color-text);
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 13px 34px;
    background-color: var(--color-sage);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--color-sage-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163,177,166,0.4);
}

.btn-link {
    color: var(--color-sage);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-sage);
    padding-bottom: 2px;
    transition: color var(--transition);
}

.btn-link:hover { color: var(--color-sage-dark); }

/* ===== DAILY SECTION ===== */
.daily-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 340px;
    gap: 20px;
}

.daily-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.daily-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.daily-item:hover img { transform: scale(1.04); }

.daily-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.45));
    color: white;
}

.daily-text h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.daily-text p { font-size: 13px; opacity: 0.85; }

/* ===== VIDEO SECTION ===== */
.video-section { background-color: var(--color-white); }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.video-card {
    background: var(--color-cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #ddd;
    overflow: hidden;
    cursor: pointer;
}

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

.video-placeholder:hover img { transform: scale(1.06); }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-sage);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

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

.video-meta {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity var(--transition);
}

.video-placeholder:hover .video-meta { opacity: 1; }

.video-tag {
    background: rgba(163,177,166,0.9);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

.video-info { padding: 20px; }
.video-info h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.video-stats { font-size: 12px; color: var(--color-text-light); margin-bottom: 8px; }
.video-desc { font-size: 13px; color: var(--color-text-light); line-height: 1.6; }

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--color-cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}

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

.product-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 70%;
    overflow: hidden;
}

.product-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-card h3 { font-size: 20px; font-weight: 500; margin: 20px 20px 10px; }
.product-card p { font-size: 14px; color: var(--color-text-light); margin: 0 20px 16px; line-height: 1.6; }
.product-card .btn-link { margin: 0 20px 20px; display: inline-block; }

/* ===== REVIEWS ===== */
.reviews { background-color: var(--color-beige); }

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

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

.review-quote {
    font-size: 60px;
    color: var(--color-sage);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -10px;
    font-family: Georgia, serif;
}

.review-card p {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.review-author { display: flex; flex-direction: column; gap: 4px; }
.author-name { font-weight: 600; font-size: 15px; color: var(--color-text); }
.author-tag { font-size: 12px; color: var(--color-sage); }

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

.note-card {
    background: var(--color-cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}

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

.note-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.note-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.note-card:hover .note-img-wrap img { transform: scale(1.04); }

.note-body { padding: 24px; }
.note-tag {
    display: inline-block;
    background: var(--color-sage);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 12px;
}

.note-body h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.note-body h3 a { color: var(--color-text); }
.note-body h3 a:hover { color: var(--color-sage); }
.note-body p { font-size: 14px; color: var(--color-text-light); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { background-color: var(--color-white); }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--color-wood);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: color var(--transition);
}

.faq-q:hover { color: var(--color-sage); }
.faq-icon { font-size: 22px; color: var(--color-sage); flex-shrink: 0; }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-a p {
    padding: 0 0 20px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-a a { color: var(--color-sage); border-bottom: 1px solid var(--color-sage); }

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-warm-gray);
    color: var(--color-beige);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-sage);
    margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); }

.footer-nav h4, .footer-qr h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-beige);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-sage); }

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p { margin: 5px 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-sage); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .daily-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px;
    }
    .daily-item-large { grid-column: 1 / -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; gap: 12px; }
    nav { width: 100%; display: none; }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 0; }
    nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--color-beige); }
    .nav-toggle { display: block; }
    .search-box { width: 100%; }
    .search-box input { flex: 1; width: auto; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 15px; }
    .hero-content { padding: 30px 24px; }
    .daily-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .daily-item { height: 220px; }
    .section-title { font-size: 24px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-nav, .footer-qr { display: none; }
}

@media (max-width: 480px) {
    .hero { height: 70vh; }
    .section-pad { padding: 50px 0; }
    .video-grid, .products-grid, .review-grid, .notes-grid { grid-template-columns: 1fr; }
}
