/* ============================================================
   Parent Meeting Studio - Official Design System
   Visual Bible Theme: Warm Sunshine Picture-Book (向日葵與溫暖木質)
   ============================================================ */

:root {
  --primary: #F4B236;        /* 陽光向日葵金黃 */
  --primary-light: #FEF7E6;  /* 柔和奶油黃底色 */
  --primary-dark: #D48806;   /* 深金黃 */
  --secondary: #6B9080;      /* 薄荷鼠尾草綠 */
  --secondary-light: #EAF4F4;/* 淺草綠 */
  --accent: #E76F51;         /* 暖磚橘紅 */
  --accent-soft: #F4A261;    /* 柔杏橘 */
  --dark: #2B2D42;           /* 深炭灰（閱讀舒適） */
  --text-muted: #5F6368;     /* 次要文字灰 */
  --bg-page: #FAF7F2;        /* 繪本紙張暖米白 */
  --card-bg: #FFFFFF;        /* 純白卡片 */
  --border-color: #E8DFD8;   /* 溫暖木質分隔線 */
  --shadow-sm: 0 2px 8px rgba(43, 45, 66, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 45, 66, 0.08);
  --shadow-lg: 0 16px 36px rgba(43, 45, 66, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: all 0.25s ease-in-out;
}

/* Reset & Basic */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Container & Typography */
.container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(231, 111, 81, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #332305;
  box-shadow: 0 4px 14px rgba(244, 178, 54, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 144, 128, 0.3);
}

.btn-secondary:hover {
  background-color: #557769;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn-accent-soft {
  background: var(--primary-light);
  color: #A05A00;
  border: 1px solid rgba(244, 178, 54, 0.4);
}

.btn-accent-soft:hover {
  background: var(--primary);
  color: #fff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sunflower-icon {
  font-size: 1.8rem;
  animation: gentle-tilt 3s ease-in-out infinite alternate;
}

@keyframes gentle-tilt {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(8deg); }
}

.brand-title {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--accent);
}

.nav-btn-highlight {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-btn-highlight:hover {
  background: #C85032;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1rem 5rem;
  background: linear-gradient(135deg, #FEFBF6 0%, #F8EFE0 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.hero-bg-shapes .circle-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244, 178, 54, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-shapes .circle-2 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(107, 144, 128, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #794D00;
  background: #FFF4D9;
  border: 1px solid rgba(244, 178, 54, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #E76F51;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-heading {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.highlight-text {
  background: linear-gradient(120deg, #F4B236 0%, #E76F51 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-meta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

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

/* 簡報全景導覽 (Slide Showcase Card) */
.slides-section {
  padding: 4.5rem 0;
  background: #F4EFE6;
}

.slide-player-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.slide-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1E1F29;
  overflow: hidden;
}

.slide-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease-in-out;
}

.slide-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(43, 45, 66, 0.85);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.slide-control-panel {
  padding: 1.8rem;
  border-bottom: 1px solid var(--border-color);
}

.slide-active-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.slide-active-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.slide-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 0.6rem;
}

/* 講者備註展開方塊 */
.speaker-note-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #FEF9F0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.speaker-note-box.hidden {
  display: none;
}

.note-header {
  font-weight: 700;
  font-size: 0.9rem;
  color: #935A00;
  margin-bottom: 0.5rem;
}

.note-body {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
}

/* 縮圖導覽條 */
.slide-thumbnails-tray {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: #FAF7F2;
  overflow-x: auto;
}

.thumb-item {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 178, 54, 0.7);
}

.thumb-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(231, 111, 81, 0.3);
}

/* Meet the Teacher & Pillars */
.teacher-profile-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.teacher-photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.teacher-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.teacher-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.teacher-bio {
  flex-grow: 1;
}

.teacher-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.teacher-name small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.teacher-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 1rem 0 1.25rem;
}

.teacher-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.detail-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 核心柱狀卡片 (Pillars) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Timeline 一日作息 */
.routine-section {
  background: #FDFBF7;
}

.routine-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.routine-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: #E4D8CD;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #FFF;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-time {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.timeline-card {
  background: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.timeline-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.timeline-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 學習評量 Grid */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.feature-card {
  background: #FFFFFF;
  padding: 2.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.card-icon-round {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.styled-list {
  list-style: none;
}

.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
}

.styled-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

/* 親師 Tips Banner */
.tips-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.tips-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.tips-badge.tips-warn {
  background: #FFEBEE;
  color: #C62828;
}

.tips-col ul {
  list-style: none;
}

.tips-col li {
  font-size: 0.93rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-arrow {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-dark);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #FAF7F2;
}

.faq-answer p {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact & Download Section */
.contact-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF3E4 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(244, 178, 54, 0.4);
  box-shadow: var(--shadow-md);
}

.contact-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.method-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-method h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-method p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-box {
  background: #FFFFFF;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px dashed var(--primary-dark);
}

.download-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.download-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.download-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #25282A;
  color: #E2E4E6;
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

.footer-quote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.footer-copy {
  color: #A0A4A8;
  margin-bottom: 0.5rem;
}

.footer-privacy {
  font-size: 0.78rem;
  color: #717579;
}

/* Responsive Breakdown (Mobile First QA) */
@media (max-width: 900px) {
  .teacher-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .teacher-details {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
  .tips-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FAF7F2;
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .slide-thumbnails-tray {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-card {
    padding: 1.8rem;
  }
}
