/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --red: #cc0000;
    --red-dark: #990000;
    --red-bright: #ff4444;
    --red-glow: rgba(204, 0, 0, 0.3);
    --bg-dark: #0a0a0a;
    --bg-section: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-dim: #666666;
    --border: #2a2a2a;
    --border-light: #333333;
    --font-display: 'Noto Serif TC', serif;
    --font-body: 'Noto Sans TC', sans-serif;
    --max-width: 960px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-section);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ============================================
   UTILITIES
   ============================================ */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.45em;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 0.4em;
    letter-spacing: 0.03em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    padding: 12px 28px;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 4px 30px var(--red-glow);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* ============================================
   0. SITE HEADER
   ============================================ */
#site-header {
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e0e0e0;
}

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

.site-logo-img {
    height: 52px;
    width: auto;
}

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

.site-header-nav a {
    font-size: 0.88rem;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.site-header-nav a:hover {
    color: var(--red);
}

/* ============================================
   1. HERO
   ============================================ */
#hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.75) 0%,
        rgba(10, 10, 10, 0.55) 40%,
        rgba(10, 10, 10, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: var(--max-width);
    padding: 80px 24px 60px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--red-bright);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--red-bright);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ============================================
   2. BANNER
   ============================================ */
#banner {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.92rem;
}

.banner-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.banner-text {
    text-align: center;
}

.banner-text strong {
    font-size: 1.1em;
}

.banner-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ============================================
   3. PAIN POINTS
   ============================================ */
#pain-points {
    padding: 80px 0;
    background: var(--bg-section);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.25s;
}

.pain-card:hover {
    border-color: var(--border-light);
}

.pain-q {
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--red-bright);
}

.pain-a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   4. PLANS
   ============================================ */
#plans {
    padding: 80px 0;
    background: var(--bg-dark);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.plan-card--popular {
    border-color: var(--red);
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.15);
}

.plan-card--popular:hover {
    border-color: var(--red-bright);
}

.plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 3;
    letter-spacing: 0.03em;
}

.plan-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.plan-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-body {
    padding: 20px;
}

.plan-header {
    margin-bottom: 10px;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.3;
}

.plan-crew {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.plan-scene {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.plan-price-block {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.plan-price-old {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.plan-promo-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
    letter-spacing: 0.05em;
    position: relative;
    top: -2px;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red-bright);
}

.plan-price-unit {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-left: 2px;
}

.plan-items {
    list-style: none;
    margin-bottom: 16px;
}

.plan-items li {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 3px 0 3px 18px;
    position: relative;
    line-height: 1.5;
}

.plan-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
}

.plan-item-note {
    display: block;
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-top: 1px;
    line-height: 1.4;
}

.plan-items li.plan-item-highlight {
    color: var(--red-bright);
    font-weight: 700;
}

.plan-items li.plan-item-highlight::before {
    background: var(--red);
}

.plan-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-dim);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.plan-value strong {
    color: var(--text-secondary);
    font-weight: 700;
}

/* ============================================
   5. ADD-ONS
   ============================================ */
#addons {
    padding: 80px 0;
    background: var(--bg-section);
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.addon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.25s;
}

.addon-card:hover {
    border-color: var(--border-light);
}

.addon-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    line-height: 1;
}

.addon-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.addon-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.addon-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--red-bright);
}

/* ============================================
   6. DISCOUNT
   ============================================ */
#discount {
    padding: 80px 0;
    background: var(--bg-dark);
}

.discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.discount-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
}

.discount-card--coming {
    opacity: 0.7;
}

.discount-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--red-bright);
    border: 1px solid var(--red);
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.discount-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.discount-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.discount-perks {
    list-style: none;
    margin-bottom: 20px;
}

.discount-perks li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 4px 0 4px 22px;
    position: relative;
}

.discount-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red-bright);
    font-weight: 700;
}

.discount-note {
    display: block;
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 2px;
    line-height: 1.4;
}

/* ============================================
   7. PROCESS
   ============================================ */
#process {
    padding: 80px 0;
    background: var(--bg-section);
}

.process-timeline {
    position: relative;
    padding-left: 48px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.process-step {
    position: relative;
    padding-bottom: 36px;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: -48px;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    z-index: 2;
}

.step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
    padding-top: 6px;
}

.step-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   8. FAQ
   ============================================ */
#faq {
    padding: 80px 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 720px;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--red-bright);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--text-dim);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   9. TERMS
   ============================================ */
#terms {
    padding: 80px 0;
    background: #F8F8F8;
}

#terms .section-title {
    color: var(--red);
}

.terms-content {
    max-width: 720px;
}

.terms-block {
    margin-bottom: 28px;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-block h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.terms-block p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.terms-block ol,
.terms-block ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.terms-block li {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 4px;
}

.terms-table {
    width: 100%;
    max-width: 360px;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.82rem;
}

.terms-table th,
.terms-table td {
    padding: 8px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.terms-table th {
    color: #333;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

.terms-table td {
    color: #555;
}

/* ============================================
   10. UPSELL
   ============================================ */
#upsell {
    padding: 60px 0;
    background: var(--bg-section);
}

.upsell-box {
    text-align: center;
    padding: 40px;
    border: 1px dashed var(--border-light);
    border-radius: 12px;
}

.upsell-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.upsell-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

/* ============================================
   11. BOTTOM CTA
   ============================================ */
#cta-bottom {
    padding: 80px 0;
    background: var(--bg-dark);
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-radius: 16px;
    padding: 60px 40px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    padding: 32px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-align: center;
}

.footer-privacy-link {
    display: block;
    margin: 8px auto 0;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-body);
}

.footer-privacy-link:hover {
    color: var(--text-secondary);
}

.privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.privacy-modal.open {
    display: flex;
}

.privacy-content {
    background: #fff;
    color: #333;
    border-radius: 10px;
    padding: 36px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.privacy-content h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #111;
}

.privacy-content p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #444;
}

.privacy-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.privacy-content li {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 6px;
}

.privacy-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.privacy-close:hover {
    color: #333;
}

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

@media (max-width: 768px) {
    .site-header-inner {
        height: 56px;
    }

    .site-logo-img {
        height: 36px;
    }

    .site-header-nav {
        gap: 12px;
    }

    .site-header-link {
        display: none;
    }

    #hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 60px 20px 48px;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .banner-inner {
        font-size: 0.82rem;
        gap: 10px;
    }

    #pain-points,
    #plans,
    #addons,
    #discount,
    #process,
    #faq,
    #terms,
    #cta-bottom {
        padding: 56px 0;
    }

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

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .plan-price {
        font-size: 1.3rem;
    }
}
