/* 童心圓 TONEgether — 全站樣式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --pink:     #FCF4F1;
  --btn:      #D28990;
  --btn-d:    #B8717A;
  --ink:      #686868;
  --ink-dark: #3D2B2B;
  --accent:   #D28990;
  --muted:    #9A8A8A;
  --border:   #EDD8D0;
  --serif:    'jf-jinxuanlatte', 'Noto Serif TC', serif;
  --sans:     'jf-jinxuanlatte', 'Noto Sans TC', sans-serif;
  --hand:     'meiyifont', cursive;
}

body { font-family: var(--sans); font-weight: 300; color: var(--ink); background: #fff; line-height: 1.8; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent); }

/* ── NAV ── */
.tn-nav { position: sticky; top: 0; z-index: 100; background: rgba(252,244,241,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 2.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.tn-nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-size: 16px; color: var(--ink-dark); }
.tn-nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.tn-nav-links { display: flex; gap: 2rem; }
.tn-nav-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.tn-nav-links a:hover, .tn-nav-links a.active { color: var(--accent); }
.tn-nav-cta { background: var(--btn); color: #fff; padding: 8px 20px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: all .2s; }
.tn-nav-cta:hover { background: var(--btn-d); transform: translateY(-1px); color: #fff; }

/* ── FOOTER ── */
.tn-footer { background: var(--pink); border-top: 1px solid var(--border); padding: 32px 2.5rem; }
.tn-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.tn-footer-left { display: flex; align-items: center; gap: 12px; }
.tn-footer-brand { font-family: var(--hand); font-size: 15px; color: var(--ink-dark); display: block; margin-bottom: 2px; }
.tn-footer-sub { font-size: 12px; color: var(--muted); }
.tn-footer-right { text-align: right; }
.tn-footer-email { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.tn-footer-note { font-size: 11px; color: var(--muted); opacity: .7; max-width: 320px; }
.tn-footer-socials { display: flex; gap: 10px; margin-top: 10px; justify-content: flex-end; }
.tn-footer-socials a { font-size: 12px; color: var(--muted); transition: color .2s; }
.tn-footer-socials a:hover { color: var(--accent); }

/* ── SECTIONS ── */
.tn-sec { padding: 80px 2rem; }
.tn-sec-inner { max-width: 1100px; margin: 0 auto; }
.tn-sec-center { text-align: center; }
.tn-sec-label { font-size: 11px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.tn-sec-title { font-family: var(--serif); font-size: clamp(22px, 3.5vw, 34px); font-weight: 500; line-height: 1.4; color: var(--ink-dark); margin-bottom: 12px; }
.tn-sec-desc { font-size: 15px; color: var(--ink); max-width: 540px; line-height: 1.85; }
.tn-sec-center .tn-sec-desc { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-fill { display: inline-block; background: var(--btn); color: #fff; padding: 12px 28px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; box-shadow: 0 3px 16px rgba(210,137,144,.3); }
.btn-fill:hover { background: var(--btn-d); transform: translateY(-2px); color: #fff; }
.btn-line { display: inline-block; background: transparent; color: var(--ink-dark); border: 1.5px solid var(--border); padding: 12px 28px; border-radius: 999px; font-size: 14px; transition: all .2s; }
.btn-line:hover { border-color: var(--btn); color: var(--btn); }

/* ── PAGE HERO ── */
.page-hero { background: var(--pink); padding: 80px 2rem 64px; text-align: center; }
.page-hero-inner { max-width: 720px; margin: 0 auto; }
.page-hero-label { font-size: 11px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 46px); font-weight: 500; line-height: 1.35; color: var(--ink-dark); margin-bottom: 16px; }
.page-hero p { font-size: 16px; color: var(--ink); line-height: 1.85; max-width: 520px; margin: 0 auto 32px; }
.page-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── CARDS ── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tn-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: transform .2s, box-shadow .2s; }
.tn-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(210,137,144,.12); }
.tn-card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--pink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; }
.tn-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.tn-card h3 { font-size: 17px; font-weight: 500; color: var(--ink-dark); margin-bottom: 8px; }
.tn-card p { font-size: 13px; color: var(--ink); line-height: 1.75; }

/* ── CTA BAND ── */
.tn-cta-band { background: var(--btn); padding: 64px 2rem; text-align: center; }
.tn-cta-band h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.tn-cta-band p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.tn-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-w { display: inline-block; background: #fff; color: var(--btn-d); padding: 13px 30px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; }
.cta-btn-w:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--btn-d); }
.cta-btn-o { display: inline-block; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 13px 30px; border-radius: 999px; font-size: 14px; transition: all .2s; }
.cta-btn-o:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .tn-nav-links { display: none; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .tn-footer-inner { flex-direction: column; text-align: center; }
  .tn-footer-right { text-align: center; }
  .tn-footer-socials { justify-content: center; }
}
