/* ============================================================
   妈妈被困在洗衣机里 - Laundry Theme
   Playful, bright laundry-room design
   Soft pastels with colorful clothing accents
   ============================================================ */

:root {
    /* Core palette */
    --bg: #faf8f5;
    --bg-card: #ffffff;
    --bg-hero: linear-gradient(135deg, #e8f4f8 0%, #f0e6f6 30%, #fff0f5 60%, #f5f0e6 100%);
    --text: #3d3846;
    --text-muted: #777586;
    --text-light: #9a96a8;
    --heading: #2c2538;

    /* Accent - laundry detergent blue/pink */
    --accent: #5b8def;
    --accent-hover: #4a7de0;
    --accent-light: #e8f0fd;
    --accent-glow: rgba(91, 141, 239, 0.3);

    /* Secondary accents - colorful clothing pops */
    --pink: #f472b6;
    --pink-light: #fce7f3;
    --yellow: #fbbf24;
    --yellow-light: #fef3c7;
    --green: #34d399;
    --green-light: #d1fae5;
    --purple: #a78bfa;
    --purple-light: #ede9fe;
    --orange: #fb923c;
    --orange-light: #ffedd5;

    /* UI */
    --border: #e8e5ef;
    --shadow: 0 2px 12px rgba(60, 50, 80, 0.06);
    --shadow-lg: 0 8px 32px rgba(60, 50, 80, 0.1);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: 0.25s ease;

    /* Layout */
    --max-width: 1100px;
    --header-height: 68px;

    /* Typography */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
}

.header-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.925rem;
    font-weight: 500;
    transition: all var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--accent);
    background: var(--accent-light);
}

/* CTA button in header */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: var(--accent);
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.925rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 2px 8px var(--accent-glow);
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ MAIN ============ */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px 64px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-hero);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px 48px 48px 56px;
    min-height: 360px;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero h1 .en-name {
    display: block;
    font-size: 0.45em;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-tags .tag {
    padding: 5px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-img {
    flex: 0 0 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* ============ SECTIONS ============ */
.section {
    margin-bottom: 56px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============ INFO CARDS ============ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.info-card .card-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: block;
}

.info-card h3 {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

/* ============ FEATURE CARDS ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-card .feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card .feat-icon.blue { background: var(--accent-light); color: var(--accent); }
.feature-card .feat-icon.pink { background: var(--pink-light); color: var(--pink); }
.feature-card .feat-icon.yellow { background: var(--yellow-light); color: var(--yellow); }
.feature-card .feat-icon.green { background: var(--green-light); color: var(--green); }
.feature-card .feat-icon.purple { background: var(--purple-light); color: var(--purple); }
.feature-card .feat-icon.orange { background: var(--orange-light); color: var(--orange); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.75;
}

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

.screenshot-grid a {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: block;
    cursor: zoom-in;
}

.screenshot-grid a:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.screenshot-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ============ CTA SECTION ============ */
.cta-section {
    text-align: center;
    background: var(--bg-hero);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
}

.cta-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: all var(--transition);
}

.cta-section .btn-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 24px var(--accent-glow);
    transform: translateY(-2px);
    color: #fff;
}

/* ============ STORY / CONTENT PAGE ============ */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    margin: 40px 0 16px;
}

.content-block h2:first-child { margin-top: 0; }

.content-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading);
    margin: 28px 0 10px;
}

.content-block p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}

.content-block .highlight-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

/* ============ CHARACTER CARDS ============ */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.char-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.char-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.char-card-header {
    background: linear-gradient(135deg, var(--accent-light), var(--pink-light));
    padding: 24px;
    text-align: center;
}

.char-card-header .char-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
}

.char-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading);
}

.char-card-header .char-role {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.char-card-body {
    padding: 20px 24px;
}

.char-card-body p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============ GUIDE STEPS ============ */
.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.guide-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.guide-step-content p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.guide-tip {
    background: var(--yellow-light);
    border-left: 4px solid var(--yellow);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--text);
}

/* ============ FAQ ACCORDION ============ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
    user-select: none;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--accent-light);
}

.faq-question .faq-arrow {
    font-size: 0.75rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.85;
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
    background: none;
    border: none;
}

.lightbox-close:hover { opacity: 1; }

/* ============ FOOTER ============ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    background: var(--bg-card);
}

/* ============ RATING BADGE ============ */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--yellow-light);
    border-radius: 50px;
    font-weight: 600;
    color: #b45309;
    font-size: 0.925rem;
}

.rating-stars {
    color: var(--yellow);
    letter-spacing: 2px;
}

/* ============ PROS / CONS ============ */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .pros-cons { grid-template-columns: 1fr; }
}

.pros-list, .cons-list {
    padding: 24px;
    border-radius: var(--radius);
}

.pros-list {
    background: var(--green-light);
    border: 1px solid var(--green);
}

.cons-list {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.pros-list h3 { color: #065f46; margin-bottom: 12px; font-size: 1rem; }
.cons-list h3 { color: #991b1b; margin-bottom: 12px; font-size: 1rem; }

.pros-list li, .cons-list li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

.pros-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.cons-list li::before { content: "✗ "; color: #f87171; font-weight: 700; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
    }
    .hero-desc { max-width: 100%; }
    .hero-tags { justify-content: center; }
    .hero-img { flex: 0 0 auto; max-width: 340px; margin: 0 auto; }
    .hero h1 { font-size: 1.8rem; }
}

@media (max-width: 700px) {
    .menu-toggle { display: flex; }
    .header-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        display: none;
        gap: 8px;
    }
    .header-nav.open { display: flex; }
    .header-nav a { width: 100%; padding: 12px 16px; }
    .header-cta { margin-top: 8px; width: 100%; justify-content: center; }
    .guide-step { flex-direction: column; gap: 12px; }
    .section-header h2 { font-size: 1.4rem; }
}

/* ============ UTILITY CLASSES ============ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
