:root {
  --bg: #0a1628;
  --bg-2: #111d32;
  --accent: #f5a623;
  --accent-2: #ff7a18;
  --text: #f5f7fa;
  --muted: #9fb0c7;
  --border: #1f2d44;
  --success: #2ecc71;
  --danger: #e74c3c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(900px, 92%);
  margin: 0 auto;
  padding: 40px 0;
}

/* 頁面導覽 */
.site-nav {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 14px 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover,
.site-nav a.current {
  color: var(--accent);
  background: rgba(245, 166, 35, 0.1);
}

.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 900;
}

.subhead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

/* 影片位置 placeholder */
.video-embed {
  max-width: 720px;
  margin: 0 auto 32px;
}

.video-placeholder {
  background: var(--bg-2);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

.video-placeholder p:first-child {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Hero 重點條列 */
.hero-bullets {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.hero-bullets li {
  font-size: 1rem;
  color: var(--text);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  color: var(--muted);
}

.hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #0a1628;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-large { padding: 18px 36px; font-size: 1.2rem; }

section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 36px;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: -20px auto 32px;
}

.section-outro {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 32px auto 0;
}

.who-for { background: var(--bg-2); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.card h3 { margin-top: 0; color: var(--accent); }

.not-for {
  text-align: center;
  color: var(--muted);
  margin-top: 28px;
  padding: 20px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.five-days .day-list {
  display: grid;
  gap: 18px;
}

.day {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--bg-2);
  padding: 22px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.day-number {
  font-weight: 900;
  color: var(--accent);
  font-size: 0.95rem;
  padding-top: 4px;
}

.day h3 { margin: 0 0 8px; }

.day p { margin: 0; color: var(--muted); }

.day-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin-left: 10px;
}

.day-link:hover { text-decoration: underline; }

.why-free { background: var(--bg); }

.how-to-apply { background: var(--bg-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.step {
  background: var(--bg);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a1628;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
}

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

.prize {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #0a1628;
  text-align: center;
}

.prize h2 { color: #0a1628; }

.prize p { max-width: 700px; margin: 0 auto 16px; }

.prize-value {
  font-size: 1.8rem;
  font-weight: 900;
}

.prize .small { font-size: 0.95rem; opacity: 0.85; }

.instructor { background: var(--bg); text-align: center; }

.faq { background: var(--bg-2); }

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--bg);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.1rem;
}

.faq-item p { margin: 0; color: var(--muted); }

.final-cta {
  background: var(--bg);
  text-align: center;
}

/* VIP 頁專用樣式 */
.vip-benefits-section { background: var(--bg-2); }

.vip-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.vip-benefits li {
  background: var(--bg);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.vip-benefits li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  margin-right: 10px;
}

.stack-table-section { background: var(--bg); }

.stack-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 32px;
  border-collapse: collapse;
  background: var(--bg-2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.stack-table th,
.stack-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.stack-table th {
  background: var(--accent);
  color: #0a1628;
  font-weight: 900;
}

.stack-table tfoot td {
  border-bottom: none;
  background: var(--bg);
  font-size: 1.15rem;
}

.stack-table tfoot td:last-child {
  color: var(--accent);
  font-weight: 900;
}

.vip-price {
  text-align: center;
  margin: 36px 0 24px;
}

.vip-price .label { display: block; color: var(--muted); margin-bottom: 4px; }

.vip-price .price {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
}

.vip-price .note { color: var(--muted); font-size: 0.95rem; }

.urgency-section { background: var(--bg-2); }

/* 表單樣式 */
form {
  background: var(--bg);
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 26px;
}

legend {
  padding: 0 10px;
  font-weight: 700;
  color: var(--accent);
}

label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
}

label.inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

button[type="submit"] {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

/* 每日課程頁專用樣式 */
.lesson-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.lesson-section {
  background: var(--bg-2);
}

.lesson-section.alt {
  background: var(--bg);
}

.lesson-block {
  background: var(--bg);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.lesson-section.alt .lesson-block {
  background: var(--bg-2);
}

.lesson-block h3 {
  margin-top: 0;
  color: var(--accent);
}

.lesson-block ul {
  padding-left: 20px;
}

.lesson-block li {
  margin-bottom: 8px;
  color: var(--muted);
}

.workbook-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.workbook-link:hover { text-decoration: underline; }

.next-day {
  text-align: center;
  background: var(--bg);
}

/* OTO 頁專用樣式 */
.oto-intro { text-align: center; }

.oto-intro h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.oto-price-box {
  background: var(--bg-2);
  padding: 32px;
  border-radius: 14px;
  border: 2px solid var(--accent);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}

.oto-price-box .label {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.oto-price-box .price {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
}

.oto-price-box .note {
  color: var(--muted);
  font-size: 0.95rem;
}

.oto-guarantee {
  text-align: center;
  color: var(--success);
  font-weight: 700;
  margin-bottom: 32px;
}

.oto-features {
  background: var(--bg-2);
}

.oto-features .cards {
  grid-template-columns: 1fr;
}

footer {
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .site-nav .container { gap: 8px; }
  .site-nav a { font-size: 0.8rem; padding: 5px 8px; }
  .hero { padding: 50px 0 40px; }
  .hero-bullets { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; gap: 6px; }
  .day-number { padding-top: 0; }
  .steps { grid-template-columns: 1fr; }
  form { padding: 20px; }
}
