:root {
    --watermelon-red: #f43f5e;
    --watermelon-deep: #be123c;
    --melon-green: #10b981;
    --melon-dark: #064e3b;
    --seed-black: #1c1917;
    --bg-cream: #fffbf5;
    --text-main: #292524;
    --text-muted: #78716c;
    --card-bg: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; color: var(--seed-black); }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.header-nav { display: none; gap: 24px; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.header-nav a:hover { color: var(--watermelon-red); }
.btn-download {
    background-color: var(--watermelon-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
    min-height: 44px;
}
.btn-download:hover { transform: scale(1.05); background-color: var(--watermelon-deep); }

/* Common Section */
section { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 1.8rem; margin-bottom: 30px; color: var(--seed-black); display: flex; align-items: center; gap: 10px; }
.section-title::before {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    background: var(--seed-black);
    border-radius: 50%;
    box-shadow: 18px 0 0 var(--seed-black);
}

/* Hero */
.hero { display: flex; flex-direction: column; gap: 40px; padding-top: 100px; padding-bottom: 60px; position: relative; overflow: hidden;}
.hero-content { z-index: 2; }
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--seed-black); }
.hero h1 span { color: var(--watermelon-red); }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; max-width: 500px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-wall {
    position: absolute;
    top: 0; right: -20%; width: 70%; height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}
.hero-wall img { border-radius: var(--radius); }

/* Category */
.cat-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.cat-tag {
    background: #fff; border: 1px solid #e5e5e5;
    padding: 8px 16px; border-radius: 50px;
    font-size: 0.95rem; color: var(--text-main);
    transition: all 0.2s;
}
.cat-tag:hover { border-color: var(--melon-green); color: var(--melon-green); }
.static-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
.static-item { text-align: center; }
.static-item img { width: 100%; aspect-ratio: 3/4; border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.static-item h3 { font-size: 1rem; font-weight: bold; margin-bottom: 4px; }
.static-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Knock (敲瓜) */
.knock-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.knock-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); cursor: pointer; position: relative;
    transition: transform 0.3s;
}
.knock-card img { width: 100%; aspect-ratio: 3/4; transition: transform 0.3s; }
.knock-info {
    padding: 15px; background: #fff;
    border-top: 2px dashed #eee;
}
.knock-info h3 { font-size: 1.05rem; margin-bottom: 5px; }
.knock-info p { font-size: 0.85rem; color: var(--text-muted); }
.knock-card.active { transform: scale(1.02); box-shadow: 0 8px 30px rgba(244, 63, 94, 0.2); }
.knock-card.active img { transform: scale(0.95); border-radius: 12px; }

/* Icebox (冰镇) */
.icebox {
    background: #f0fdf4; border: 4px solid #bbf7d0; border-radius: 24px; padding: 20px;
    display: flex; flex-direction: column; gap: 20px;
}
.shelf { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.shelf::-webkit-scrollbar { height: 6px; }
.shelf::-webkit-scrollbar-thumb { background: #bbf7d0; border-radius: 10px; }
.shelf img { width: 100px; aspect-ratio: 3/4; border-radius: 8px; flex-shrink: 0; box-shadow: var(--shadow); }

/* Vine (顺藤摸瓜) */
.vine-block { display: flex; flex-direction: column; gap: 20px; }
.vine-path { display: flex; align-items: center; gap: 15px; overflow-x: auto; padding: 10px 0; }
.vine-path img { width: 120px; aspect-ratio: 3/4; border-radius: 12px; flex-shrink: 0; position: relative; z-index: 2; }
.vine-line { position: absolute; height: 4px; background: var(--melon-green); top: 50%; left: 0; right: 0; z-index: 1; border-radius: 2px; }

/* Update Table (落瓜表) */
.fruit-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fruit-row { display: flex; align-items: center; padding: 15px; border-bottom: 1px solid #f5f5f5; }
.fruit-row:last-child { border-bottom: none; }
.fruit-date { width: 80px; font-weight: bold; color: var(--melon-green); font-size: 0.9rem; }
.fruit-titles { flex: 1; font-size: 0.95rem; }
.fruit-status { font-size: 0.8rem; background: #fef2f2; color: var(--watermelon-red); padding: 4px 8px; border-radius: 4px; }

/* Experience & Management */
.feature-grid { display: grid; gap: 20px; }
.feature-item { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-item h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--seed-black); }
.feature-item p { font-size: 0.95rem; color: var(--text-muted); }

/* Audience & Reviews */
.audience { background: #f8fafc; padding: 40px 20px; border-radius: 24px; }
.review-card { background: #fff; padding: 20px; border-radius: 16px; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.review-card p { font-size: 0.95rem; margin-bottom: 10px; }
.review-user { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.review-user span { width: 24px; height: 24px; background: var(--melon-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 15px; }
details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 15px 20px; }
summary { font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; color: var(--watermelon-red); font-size: 1.2rem; }
details[open] summary::after { content: '-'; }
details p { margin-top: 10px; color: var(--text-muted); font-size: 0.95rem; }

/* Download */
.download-area { text-align: center; background: var(--watermelon-red); color: #fff; border-radius: 24px; padding: 50px 20px; }
.download-area h2 { color: #fff; font-size: 2rem; margin-bottom: 20px; }
.download-area h2::before { display: none; }
.download-area .btn-download { background: #fff; color: var(--watermelon-red); margin: 0 auto; display: inline-flex; font-size: 1.1rem; padding: 15px 30px;}
.qr-code { width: 120px; height: 120px; background: #fff; margin: 20px auto; border-radius: 12px; padding: 10px; }
.qr-code img { width: 100%; height: 100%; border-radius: 4px; }
.download-steps { margin-top: 30px; font-size: 0.9rem; opacity: 0.9; text-align: left; max-width: 300px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { text-align: center; padding: 40px 20px; font-size: 0.85rem; color: #a8a29e; border-top: 1px solid #eee; }
footer a { color: #a8a29e; text-decoration: underline; }
footer p { margin-bottom: 10px; }

/* Responsive */
@media (min-width: 768px) {
    .hero { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 80px; }
    .hero-content { max-width: 500px; }
    .hero-wall { position: relative; top: 0; right: 0; width: 45%; height: auto; opacity: 1; display: flex; flex-direction: column; overflow: hidden; height: 500px;}
    .hero-wall .wall-col { display: flex; flex-direction: column; gap: 15px; }
    .hero-wall .wall-col:nth-child(odd) { animation: slideUp 20s linear infinite; }
    .hero-wall .wall-col:nth-child(even) { animation: slideDown 20s linear infinite; }
    @keyframes slideUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
    @keyframes slideDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }
    
    .hero h1 { font-size: 3rem; }
    .header-nav { display: flex; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .static-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (min-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .knock-container { grid-template-columns: repeat(4, 1fr); }
    .download-area { display: flex; justify-content: space-around; align-items: center; text-align: left; }
    .download-area h2 { margin-bottom: 10px; }
    .download-steps { margin: 20px 0 0; }
    .qr-code { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-wall .wall-col { animation: none !important; }
}