/* ===================================================
   WeGoElites Circle — Landing Page
   Navy + Gold + Cream, premium positioning
   Target: 薇閣國七新生家長 (外考生優先)
   =================================================== */

:root {
  --bg-cream: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-section-alt: #F2F1EE;
  --bg-hero: #1C3A5C;
  --bg-hero-overlay: rgba(28, 58, 92, 0.92);
  --text-primary: #2C2C2C;
  --text-secondary: #5A5A5A;
  --text-light: #8A8A8A;
  --text-on-dark: #F5F2EC;
  --accent-gold: #C4922A;
  --accent-gold-light: #D4A43A;
  --accent-gold-dim: rgba(196, 146, 42, 0.1);
  --accent-coral: #D94040;
  --accent-blue: #1C3A5C;
  --accent-blue-light: #2A5080;
  --border-muted: rgba(196, 146, 42, 0.2);
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 20px rgba(196, 146, 42, 0.2);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: Georgia, "Times New Roman", "Noto Serif TC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --content-max: 1080px;
  --section-padding: 5rem 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--text-primary); line-height: 1.75; font-size: 16px; min-height: 100vh; background-color: var(--bg-cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-gold-light); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.35; color: var(--text-primary); }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

/* --- Nav --- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 1rem;
}
.nav-inner {
  max-width: var(--content-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
}
.nav-link {
  font-size: 0.82rem; color: var(--text-secondary); padding: 0.4rem 0.7rem;
  border-radius: var(--radius-xs); transition: all var(--transition);
}
.nav-link:hover { color: var(--accent-gold); background: var(--accent-gold-dim); }
.nav-cta {
  font-size: 0.82rem; font-weight: 600;
  color: #fff; background: var(--accent-gold);
  padding: 0.4rem 1rem; border-radius: var(--radius-xs);
  transition: all var(--transition); margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--accent-gold-light); color: #fff; transform: translateY(-1px); }

/* --- Hero --- */
.hero {
  background: var(--bg-hero); color: var(--text-on-dark);
  padding: 5rem 1.5rem 4.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(196,146,42,0.08) 0%, transparent 50%);
}
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--accent-gold); background: rgba(196,146,42,0.15);
  padding: 0.3rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent-gold); }
.hero-sub {
  font-size: 1.1rem; color: rgba(245,242,236,0.85);
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-cta {
  display: inline-block; font-size: 1rem; font-weight: 700;
  color: var(--bg-hero); background: var(--accent-gold);
  padding: 0.9rem 2.2rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold); transition: all var(--transition);
  letter-spacing: 0.02em;
}
.hero-cta:hover { background: var(--accent-gold-light); color: var(--bg-hero); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(196,146,42,0.3); }
.hero-stats {
  display: flex; justify-content: center; gap: 2.5rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--accent-gold); display: block; }
.hero-stat .label { font-size: 0.78rem; color: rgba(245,242,236,0.6); }

/* --- Sections --- */
.section { padding: var(--section-padding); }
.section-inner { max-width: var(--content-max); margin: 0 auto; }
.section-alt { background: var(--bg-section-alt); }
.section-label {
  font-size: 0.75rem; font-weight: 600; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 640px; margin-bottom: 2.5rem;
}

/* --- Pain Points --- */
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem; margin-top: 2rem;
}
.pain-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card); transition: all var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pain-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }
.pain-card h3 { margin-bottom: 0.5rem; color: var(--accent-coral); font-family: var(--font-sans); }
.pain-card p { font-size: 0.9rem; color: var(--text-secondary); }
.pain-quote {
  font-size: 0.82rem; color: var(--text-light); font-style: italic;
  margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--border-light);
}

/* --- Solution / What You Get --- */
.offer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.offer-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 1.8rem; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card); transition: all var(--transition);
  position: relative;
}
.offer-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.offer-card .offer-num {
  position: absolute; top: 1rem; right: 1.2rem;
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700;
  color: var(--accent-gold-dim); line-height: 1;
}
.offer-card h3 { color: var(--accent-blue); margin-bottom: 0.5rem; font-family: var(--font-sans); }
.offer-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- Sneak Peek --- */
.peek-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.peek-card { position: relative; }
.peek-label {
  font-size: 0.78rem; font-weight: 600; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem;
}
.peek-blurred {
  position: relative; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.peek-doc { background: #fff; padding: 0; }
.peek-doc-header {
  background: var(--accent-blue); color: #fff;
  padding: 0.8rem 1.2rem; font-size: 0.85rem; font-weight: 600;
}
.peek-doc-content {
  padding: 1.2rem; font-size: 0.82rem; color: var(--text-primary);
  line-height: 1.9; min-height: 260px;
  filter: blur(3px); user-select: none;
}
.peek-doc-content p { margin-bottom: 0.3rem; }
.peek-table { overflow-x: auto; }
.peek-table table {
  width: 100%; border-collapse: collapse; font-size: 0.78rem;
}
.peek-table th, .peek-table td {
  padding: 0.5rem 0.6rem; border: 1px solid var(--border-light);
  text-align: left; white-space: nowrap;
}
.peek-table th {
  background: var(--bg-section-alt); font-weight: 600; color: var(--accent-blue);
}
.peek-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.3); backdrop-filter: blur(1px);
}
.peek-lock {
  background: var(--accent-gold); color: #fff;
  padding: 0.6rem 1.5rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-gold); cursor: pointer; transition: all var(--transition);
}
.peek-lock:hover { background: var(--accent-gold-light); transform: translateY(-1px); }

.tips-section { margin-bottom: 3rem; }
.tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.tip-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card); position: relative;
}
.tip-num {
  position: absolute; top: 0.8rem; right: 1rem;
  font-family: var(--font-serif); font-size: 2rem;
  font-weight: 700; color: var(--accent-gold-dim); line-height: 1;
}
.tip-card h4 {
  font-family: var(--font-sans); font-size: 0.95rem;
  font-weight: 700; color: var(--accent-blue); margin-bottom: 0.5rem;
}
.tip-card p { font-size: 0.88rem; color: var(--text-secondary); }

.lecture-preview { margin-top: 1rem; }
.lecture-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  color: #fff; background: var(--accent-coral);
  padding: 0.2rem 0.8rem; border-radius: 20px; margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}
.lecture-preview h3 { margin-bottom: 1rem; }
.lecture-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 1.8rem; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.lecture-info { flex: 1; min-width: 280px; }
.lecture-title {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem;
}
.lecture-meta {
  font-size: 0.78rem; color: var(--text-light);
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.8rem;
}
.lecture-desc { font-size: 0.88rem; color: var(--text-secondary); }
.lecture-cta {
  display: inline-block; font-size: 0.88rem; font-weight: 600;
  color: #fff; background: var(--accent-gold);
  padding: 0.7rem 1.5rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold); transition: all var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.lecture-cta:hover { background: var(--accent-gold-light); color: #fff; transform: translateY(-1px); }

/* --- Pricing --- */
.pricing-box {
  max-width: 520px; margin: 2rem auto 0;
  background: var(--bg-card); border-radius: var(--radius);
  padding: 2.5rem; text-align: center;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
}
.pricing-box .price {
  font-family: var(--font-serif); font-size: 2.8rem;
  font-weight: 700; color: var(--accent-blue);
}
.pricing-box .price-unit { font-size: 1rem; color: var(--text-secondary); }
.pricing-box .price-note {
  font-size: 0.85rem; color: var(--accent-gold); font-weight: 600; margin-top: 0.5rem;
}
.pricing-features {
  list-style: none; text-align: left; margin: 1.5rem 0;
  padding: 1.5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
}
.pricing-features li {
  font-size: 0.9rem; color: var(--text-secondary);
  padding: 0.4rem 0; padding-left: 1.5rem; position: relative;
}
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent-gold); font-weight: 700;
}

/* --- FAQ --- */
.faq-list { max-width: 720px; margin: 2rem auto 0; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius-sm);
  margin-bottom: 0.8rem; border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-q {
  padding: 1.2rem 1.5rem; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; transition: background var(--transition);
}
.faq-q:hover { background: var(--accent-gold-dim); }
.faq-toggle { color: var(--accent-gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.5rem 1.2rem; font-size: 0.9rem;
  color: var(--text-secondary); display: none;
}
.faq-item.open .faq-a { display: block; }

/* --- CTA Section --- */
.cta-section {
  background: var(--bg-hero); color: var(--text-on-dark);
  padding: 4rem 1.5rem; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(245,242,236,0.8); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-block; font-size: 1.05rem; font-weight: 700;
  color: var(--bg-hero); background: var(--accent-gold);
  padding: 1rem 2.5rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold); transition: all var(--transition);
}
.cta-btn:hover { background: var(--accent-gold-light); color: var(--bg-hero); transform: translateY(-2px); }

/* --- Footer --- */
footer {
  text-align: center; padding: 2rem 1rem;
  font-size: 0.75rem; color: var(--text-light);
  border-top: 1px solid var(--border-light);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 1.2rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .num { font-size: 1.4rem; }
  .section { padding: 3rem 1rem; }
  .pain-grid, .offer-grid { grid-template-columns: 1fr; }
  .pricing-box { padding: 1.8rem; }
  .pricing-box .price { font-size: 2.2rem; }
  .nav-inner { justify-content: flex-start; }
}
