/*
Theme Name: SWTraderPro 羊狼道投資學院
Theme URI: https://swtraderpro.com
Author: 羊狼道投資學院
Author URI: https://swtraderpro.com
Description: 高端華語投資教育平台主題 — 狼眼暗金設計系統。深邃夜色搭配琥珀金主色，為羊狼道投資學院打造的專屬 WordPress 主題。
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
License URI: https://swtraderpro.com
Text Domain: swtraderpro
Tags: dark, chinese, investment, education, custom-menu, custom-logo, featured-images, full-width-template
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:           #0A0E1A;
  --bg-card:      #111827;
  --fg:           #F8FAFC;
  --fg-muted:     #8899A6;
  --primary:      #F59E0B;
  --primary-dark: #D97706;
  --secondary:    #3B82F6;
  --border:       #1F2937;
  --border-gold:  rgba(245, 158, 11, 0.18);
  --shadow-gold:  0 0 24px -6px rgba(245, 158, 11, 0.35);
  --radius:       0.5rem;
  --radius-lg:    0.75rem;
  --radius-xl:    1rem;
  --font-sans:    'Noto Sans TC', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #FCD34D; }

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
}

p { color: var(--fg-muted); margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; }

input, textarea, select {
  background: var(--border);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(245,158,11,0.2);
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: #FCD34D;
  color: var(--bg);
  box-shadow: 0 0 32px -4px rgba(245,158,11,0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(245,158,11,0.35);
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(245,158,11,0.15);
  color: var(--primary);
  border: 1px solid rgba(245,158,11,0.3);
}
.badge-blue {
  background: rgba(59,130,246,0.15);
  color: var(--secondary);
  border: 1px solid rgba(59,130,246,0.3);
}

.pulse-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.section-title .highlight {
  background: linear-gradient(90deg, var(--primary), #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.divider-gold {
  width: 3rem; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  margin: 0.75rem 0 2rem;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg);
}
.navbar-brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(245,158,11,0.35);
  box-shadow: 0 0 10px rgba(245,158,11,0.3);
}
.navbar-brand-text {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.navbar-brand-text span { color: var(--primary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0; margin: 0;
}
.navbar-nav a {
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.navbar-nav a:hover,
.navbar-nav .current-menu-item > a {
  color: var(--fg);
  background: rgba(245,158,11,0.1);
}

.navbar-cta { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10,14,26,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .menu-toggle { display: flex; }
  .navbar-cta .btn-outline { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 78vh;
  max-height: 820px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg);
}

/* Hero bg container — clips overflow from filter sizing */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Layer 1 — wolf image with filter (::before isolated so filter doesn't bleed) */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-wolf-wide.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;
  filter: contrast(1.1) saturate(1.2) brightness(0.82);
  z-index: 0;
}

/* Layer 2 — all gradient feathering in one ::after (multiple bg layers) */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* left/right feather */
    linear-gradient(to right,
      #0A0E1A 0%,
      rgba(10,14,26,0.75) 8%,
      rgba(10,14,26,0.15) 22%,
      transparent 38%,
      transparent 62%,
      rgba(10,14,26,0.15) 78%,
      rgba(10,14,26,0.75) 92%,
      #0A0E1A 100%
    ),
    /* top feather + heavy bottom text zone */
    linear-gradient(to bottom,
      #0A0E1A 0%,
      rgba(10,14,26,0.45) 7%,
      rgba(10,14,26,0.04) 18%,
      transparent 30%,
      transparent 52%,
      rgba(10,14,26,0.55) 63%,
      rgba(10,14,26,0.93) 76%,
      #0A0E1A 87%
    );
}

/* Spacer pushes wolf image to upper portion */
.hero-spacer {
  flex: 1;
  min-height: 52vh;
}

/* Text zone — sits in the dark bottom 40% */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2.5rem 1.5rem 4rem;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge { margin-bottom: 1.25rem; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, #FCD34D 55%, #FDE68A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  /* Glow for depth */
  filter: drop-shadow(0 2px 16px rgba(245,158,11,0.3));
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(248,250,252,0.8);
  margin-bottom: 1.75rem;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-spacer { min-height: 44vh; }
  .hero-content { padding: 2rem 1.25rem 3rem; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.85rem; color: var(--fg-muted); }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ============================================================
   COURSE CARD
   ============================================================ */
.course-card { padding: 0; overflow: hidden; }
.course-card-img {
  width: 100%; height: 180px;
  object-fit: cover;
  background: var(--border);
}
.course-card-body { padding: 1.25rem; }
.course-card-level {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.course-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.course-card-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}
.course-card-price { font-weight: 900; color: var(--primary); }
.course-card-price.free { color: #34D399; }

/* ============================================================
   MEMBERSHIP CARDS
   ============================================================ */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}
.plan-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.plan-price sub { font-size: 1rem; font-weight: 400; color: var(--fg-muted); }
.plan-period { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 1.5rem; }
.plan-features { list-style: none; padding: 0; text-align: left; margin-bottom: 1.75rem; }
.plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.post-card { padding: 0; overflow: hidden; }
.post-card-img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 1.25rem; }
.post-card-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.post-card-title a { color: var(--fg); }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single post */
.post-content {
  max-width: 780px;
  margin: 0 auto;
}
.post-header { padding: 4rem 0 2rem; }
.post-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.post-body {
  padding: 2rem 0 4rem;
  color: var(--fg);
  line-height: 1.85;
}
.post-body p { color: rgba(248,250,252,0.8); margin-bottom: 1.25rem; }
.post-body h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; color: var(--fg); }
.post-body h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--primary); }
.post-body blockquote {
  border-left: 3px solid var(--primary);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: rgba(245,158,11,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--fg-muted);
  font-style: italic;
}
.post-body pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
}
.post-body img { border-radius: var(--radius-lg); margin: 1.5rem 0; }
.post-body a { color: var(--primary); text-decoration: underline; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   SIDEBAR (WP default widgets)
   ============================================================ */
.site-main-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .site-main-with-sidebar { grid-template-columns: 1fr; }
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--fg-muted); font-size: 0.9rem; }
.widget ul li a:hover { color: var(--primary); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.875rem;
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   FORMS (comments, contact)
   ============================================================ */
.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}
.comment-form .form-group { margin-bottom: 1.25rem; }
.comment-form .form-submit { margin-top: 0.5rem; }

/* ============================================================
   404
   ============================================================ */
.error-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #FCD34D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.footer-brand img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}
.footer-brand-text {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.footer-brand-text span { color: var(--primary); }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--fg-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy { font-size: 0.8rem; color: var(--fg-muted); }

/* ============================================================
   LINE FREE COURSE CTA
   ============================================================ */
.line-cta-section {
  background: linear-gradient(135deg, #0A1A0F 0%, #0A0E1A 40%, #0D1A10 100%);
  border-top: 1px solid rgba(6,199,85,0.25);
  border-bottom: 1px solid rgba(6,199,85,0.25);
}
.line-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.line-gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(6,199,85,0.15);
  border: 1px solid rgba(6,199,85,0.4);
  color: #06C755;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.line-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.line-value {
  color: #06C755;
}
.line-cta-inner > div > p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.line-course-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.line-course-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--fg);
}
.line-course-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  background: rgba(6,199,85,0.18);
  color: #06C755;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #06C755;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(6,199,85,0.35);
  text-decoration: none;
}
.btn-line:hover {
  background: #05B34A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6,199,85,0.5);
}
.line-btn-icon {
  width: 1.4rem;
  height: 1.4rem;
  fill: #fff;
}
.line-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.line-cta-visual {
  background: rgba(6,199,85,0.06);
  border: 1px solid rgba(6,199,85,0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.line-price-box {
  margin-bottom: 1.25rem;
}
.line-price-original {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: line-through;
}
.line-price-free {
  font-size: 2.5rem;
  font-weight: 900;
  color: #06C755;
  line-height: 1;
  margin: 0.25rem 0;
}
.line-price-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.line-divider {
  border: none;
  border-top: 1px solid rgba(6,199,85,0.15);
  margin: 1.25rem 0;
}
.line-included-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.line-lessons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.line-lesson-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--fg);
}
.line-lesson-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  background: rgba(6,199,85,0.15);
  border: 1px solid rgba(6,199,85,0.3);
  color: #06C755;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .line-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .line-cta-visual { order: -1; }
}

/* ============================================================
   YOUTUBE SECTION
   ============================================================ */
.yt-section { background: linear-gradient(180deg, var(--bg) 0%, rgba(17,24,39,0.6) 50%, var(--bg) 100%); }
.yt-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.5rem;
}
.yt-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.yt-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.yt-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.yt-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.yt-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,0,0,0.12);
  border: 1px solid rgba(255,0,0,0.3);
  color: #FF4444;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 2rem;
  margin-bottom: 0.85rem;
}
.yt-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.yt-info-card p {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FF0000;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-youtube:hover { background: #CC0000; color: #fff; transform: translateY(-1px); }
.yt-schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.yt-schedule-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.yt-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.yt-schedule-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--fg-muted);
}
.yt-schedule-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .yt-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   BOOKING / 一對一諮詢
   ============================================================ */
.booking-section {
  background: linear-gradient(135deg, rgba(245,158,11,0.04) 0%, transparent 60%);
  border-top: 1px solid var(--border-gold);
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.booking-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.6rem;
}
.booking-text > p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.booking-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.booking-perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.booking-perks li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  background: rgba(245,158,11,0.15);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-gold);
  text-align: center;
}
.booking-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.booking-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.booking-card p {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.booking-options {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.booking-option {
  background: rgba(245,158,11,0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: center;
}
.booking-option strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .booking-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   WP CORE CLASSES (accessibility / alignment)
   ============================================================ */
.aligncenter { display: block; margin: 1rem auto; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem; }
.wp-caption-text { font-size: 0.8rem; color: var(--fg-muted); text-align: center; padding: 0.25rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
