/* ========================================
   Course 2: 生活自理重啟系統
   Target: 生活崩盤 + 高敏感焦慮型
   Style: Soft, Gentle, Low-pressure
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700&display=swap');

:root {
    /* Primary: Soft Purple (Gentle, Calming) */
    --primary: #8b7ec8;
    --primary-light: #a99eda;
    --primary-dark: #6b5ca7;

    /* Accent: Warm Blush (Encouragement) */
    --accent: #e8a4b8;
    --accent-light: #f5c9d6;
    --accent-dark: #d4879d;

    /* Background: Cream & Soft Lavender */
    --bg-cream: #faf8f5;
    --bg-lavender: #f5f3fb;
    --bg-white: #ffffff;

    /* Text */
    --text-dark: #3d3d5c;
    --text-muted: #6b6b8a;
    --text-light: #9999b3;

    /* Functional */
    --success: #7ec89e;
    --border: #e8e6f0;

    /* Shadows - Extra soft */
    --shadow-sm: 0 2px 12px rgba(139, 126, 200, 0.06);
    --shadow-md: 0 4px 24px rgba(139, 126, 200, 0.1);
    --shadow-lg: 0 8px 40px rgba(139, 126, 200, 0.14);
}

body {
    background: var(--bg-cream);
    color: var(--text-dark);
}

/* =============== HERO SECTION =============== */
.hero {
    background: linear-gradient(160deg, var(--bg-lavender) 0%, var(--bg-cream) 100%);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(232, 164, 184, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(139, 126, 200, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero h1 span {
    color: var(--primary);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero .btn-primary {
    background: var(--primary);
    color: white;
    font-size: 1.0625rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.hero .btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.hero-note {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.hero-note span {
    color: var(--accent-dark);
}

/* =============== EMPATHY SECTION =============== */
.empathy-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.empathy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.empathy-card {
    background: var(--bg-lavender);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.empathy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.empathy-card .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.empathy-card h3 {
    color: var(--primary-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.empathy-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* =============== SAFE SECTION =============== */
.safe-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.safe-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
}

.safe-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.safe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.safe-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-lavender);
    border-radius: 16px;
}

.safe-item .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.safe-item p {
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* =============== COURSE CONTENT =============== */
.course-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.course-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.course-intro h2 span {
    color: var(--primary);
}

.module-list {
    max-width: 700px;
    margin: 0 auto;
}

.module-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-cream);
    border-radius: 24px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.module-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.module-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.module-content h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.module-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.module-tag {
    display: inline-block;
    background: rgba(139, 126, 200, 0.15);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-top: 0.75rem;
}

/* =============== TESTIMONIALS =============== */
.testimonial-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-lavender) 0%, var(--bg-cream) 100%);
}

.testimonial-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* =============== PRICING =============== */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-lavender) 0%, rgba(232, 164, 184, 0.1) 100%);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--border);
}

.pricing-header h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-header .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-header .note {
    font-size: 0.875rem;
    color: var(--accent-dark);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.pricing-features .check {
    color: var(--success);
    font-size: 1.25rem;
}

.pricing-cta .btn-primary {
    background: var(--primary);
    color: white;
    font-size: 1.0625rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.pricing-cta .btn-primary:hover {
    background: var(--primary-light);
}

.pricing-guarantee {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =============== GENTLE FAQ =============== */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.faq-intro {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: 20px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-lavender);
}

.faq-question .icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* =============== FOOTER CTA =============== */
.footer-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
}

.footer-cta h2 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
}

.footer-cta .btn {
    background: white;
    color: var(--primary);
    font-size: 1.0625rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

.footer-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 1100px) {
    .empathy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 4rem;
    }

    .empathy-grid {
        grid-template-columns: 1fr;
    }

    .safe-container {
        padding: 2rem;
    }

    .module-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .pricing-card {
        padding: 2rem;
    }
}