/* 派工坊 Landing Page — 朱紅 + 米白 + 墨黑 */

:root {
    --pgf-red:        #C8553D;
    --pgf-red-hover:  #A8412D;
    --pgf-red-light:  #E8A89C;
    --pgf-gold:       #D4A574;
    --pgf-ink:        #2D2D2D;
    --pgf-cream:      #F8F4E3;
    --pgf-bg:         #FAFAF5;
    --pgf-border:     #E0D5C0;
    --pgf-muted:      #7A7268;
    --pgf-text:       #2D2D2D;
    --pgf-text-light: #5A5248;
    --pgf-success:    #4A7C59;
    --pgf-danger:     #B73E3E;
    --pgf-shadow:     0 4px 24px rgba(45, 45, 45, 0.08);
    --pgf-shadow-lg:  0 12px 40px rgba(45, 45, 45, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont,
                 "PingFang TC", "Microsoft JhengHei", sans-serif;
    background: var(--pgf-bg);
    color: var(--pgf-text);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── 頂部導覽 ── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pgf-border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pgf-ink); }
.brand-logo { width: 36px; height: 36px; }
.brand-name { font-family: 'Noto Serif TC', serif; font-size: 22px; font-weight: 700; color: var(--pgf-red); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--pgf-text); text-decoration: none; font-weight: 500; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--pgf-red); }
.nav-links a.cta-link {
    background: var(--pgf-red); color: white; padding: 8px 18px;
    border-radius: 4px; font-weight: 600;
}
.nav-links a.cta-link:hover { background: var(--pgf-red-hover); color: white; }

/* ── Hero ── */
.hero {
    position: relative; overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #FAFAF5 0%, #F8F4E3 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 64px; font-weight: 900;
    color: var(--pgf-ink); line-height: 1.2;
    margin-bottom: 20px; letter-spacing: 2px;
}
.hero-title .dot { color: var(--pgf-red); padding: 0 8px; }
.hero-subtitle {
    font-size: 18px; color: var(--pgf-text-light);
    margin-bottom: 36px; line-height: 1.8;
}
.hero-tags {
    display: inline-block; color: var(--pgf-red); font-weight: 500;
    margin-top: 8px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-decoration {
    position: absolute; right: -100px; top: 50%;
    transform: translateY(-50%);
    opacity: 0.08; pointer-events: none;
}
.hero-decoration .seal img { width: 500px; height: 500px; }

/* ── Sections ── */
section { padding: 80px 0; }
.section-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 40px; font-weight: 700;
    text-align: center; color: var(--pgf-ink);
    margin-bottom: 12px;
    position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
}
.section-title::after {
    content: ''; position: absolute;
    bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 50px; height: 3px;
    background: var(--pgf-red);
}
.section-subtitle {
    text-align: center; color: var(--pgf-muted);
    margin-bottom: 50px; font-size: 16px; margin-top: 24px;
}

/* ── Features ── */
.features { background: white; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--pgf-bg); padding: 32px 28px; border-radius: 8px;
    border: 1px solid var(--pgf-border); transition: all .3s;
}
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--pgf-shadow-lg);
    border-color: var(--pgf-red);
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 20px; color: var(--pgf-ink);
    margin-bottom: 10px; font-weight: 700;
}
.feature-card p { color: var(--pgf-text-light); font-size: 14px; }

/* ── Why ── */
.why {
    background: linear-gradient(135deg, var(--pgf-red) 0%, var(--pgf-red-hover) 100%);
    color: white; padding: 60px 0;
}
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; text-align: center;
}
.why-num {
    font-family: 'Noto Serif TC', serif;
    font-size: 48px; font-weight: 900; color: var(--pgf-gold);
    line-height: 1; margin-bottom: 10px;
}
.why-label { font-size: 15px; color: rgba(255,255,255,0.9); }

/* ── Pricing ── */
.pricing { background: var(--pgf-bg); }
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; align-items: stretch;
}
.pricing-card {
    background: white; border: 2px solid var(--pgf-border);
    border-radius: 10px; padding: 36px 28px;
    text-align: center; transition: all .3s;
    display: flex; flex-direction: column;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--pgf-shadow-lg); }
.pricing-card.popular {
    border-color: var(--pgf-red);
    box-shadow: var(--pgf-shadow);
    transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-4px); }
.pricing-card.premium {
    background: linear-gradient(180deg, #FFF8EF 0%, #FAEDC8 100%);
    border-color: var(--pgf-gold);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--pgf-red); color: white;
    padding: 4px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
}
.plan-name {
    font-family: 'Noto Serif TC', serif;
    font-size: 22px; color: var(--pgf-ink);
    margin-bottom: 16px; font-weight: 700;
}
.plan-price {
    font-family: 'Noto Serif TC', serif;
    font-size: 44px; color: var(--pgf-red);
    font-weight: 900; line-height: 1;
    margin: 12px 0;
}
.plan-price .currency { font-size: 22px; vertical-align: top; margin-right: 4px; }
.plan-price .period { font-size: 16px; color: var(--pgf-muted); font-weight: 400; }
.plan-period {
    color: var(--pgf-muted); font-size: 14px;
    margin-bottom: 24px; min-height: 20px;
}
.plan-features {
    list-style: none; text-align: left; margin: 0 0 28px 0;
    flex-grow: 1;
}
.plan-features li {
    padding: 8px 0; color: var(--pgf-text-light); font-size: 14px;
    border-bottom: 1px dashed var(--pgf-border);
}
.plan-features li:last-child { border-bottom: none; }
.pricing-note {
    text-align: center; color: var(--pgf-muted);
    font-size: 13px; margin-top: 40px;
    line-height: 2;
}

/* ── FAQ ── */
.faq { background: white; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--pgf-border); border-radius: 6px;
    margin-bottom: 12px; overflow: hidden;
    background: var(--pgf-bg);
}
.faq-item summary {
    padding: 18px 24px; font-weight: 600; cursor: pointer;
    color: var(--pgf-ink); font-size: 15px;
    list-style: none; position: relative;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 24px; top: 50%;
    transform: translateY(-50%); font-size: 24px;
    color: var(--pgf-red); font-weight: 300;
    transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item:hover summary { background: rgba(200, 85, 61, 0.05); }
.faq-item[open] summary { background: rgba(200, 85, 61, 0.05); }
.faq-item p {
    padding: 0 24px 20px 24px;
    color: var(--pgf-text-light); font-size: 14px; line-height: 1.8;
}

/* ── Contact ── */
.contact {
    background: linear-gradient(180deg, var(--pgf-cream) 0%, var(--pgf-bg) 100%);
}
.contact-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px; max-width: 700px; margin: 0 auto 40px;
}
.contact-card {
    background: white; padding: 32px 24px;
    border-radius: 8px; text-align: center;
    text-decoration: none; transition: all .3s;
    border: 2px solid transparent;
}
.contact-card:hover {
    transform: translateY(-4px); box-shadow: var(--pgf-shadow);
    border-color: var(--pgf-red);
}
.contact-icon { font-size: 36px; margin-bottom: 12px; }
.contact-label { color: var(--pgf-muted); font-size: 13px; margin-bottom: 4px; }
.contact-value { color: var(--pgf-ink); font-weight: 600; }
.contact-cta { text-align: center; }

/* ── Buttons ── */
.btn {
    display: inline-block; padding: 12px 28px;
    border-radius: 4px; text-decoration: none;
    font-weight: 600; font-size: 15px;
    cursor: pointer; border: 2px solid transparent;
    transition: all .25s;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary { background: var(--pgf-red); color: white; }
.btn-primary:hover { background: var(--pgf-red-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 85, 61, 0.3); }
.btn-outline {
    background: transparent; color: var(--pgf-red);
    border-color: var(--pgf-red);
}
.btn-outline:hover { background: var(--pgf-red); color: white; }
.btn-block { display: block; width: 100%; }

/* ── Footer ── */
.footer {
    background: var(--pgf-ink); color: rgba(255,255,255,0.85);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span {
    font-family: 'Noto Serif TC', serif;
    font-size: 22px; font-weight: 700; color: var(--pgf-gold);
}
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col h4 {
    color: var(--pgf-gold); font-size: 14px;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block; color: rgba(255,255,255,0.7);
    text-decoration: none; font-size: 14px;
    padding: 4px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--pgf-red-light); }
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0; font-size: 12px;
    color: rgba(255,255,255,0.5); line-height: 1.8;
}
.footer-copy {
    text-align: center; font-size: 13px;
    color: rgba(255,255,255,0.4);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── 響應式 ── */
@media (max-width: 768px) {
    .nav-links { gap: 16px; }
    .nav-links a:not(.cta-link) { display: none; }
    .hero { padding: 60px 0 40px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 30px; }
    section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .pricing-card.popular { transform: none; }
    .hero-decoration { display: none; }
}
