/* ========================================
   Church-AI.HK — Landing Page Styles
   Brand: warm white + orange/gold accents
   NO black backgrounds (教會唔適合)
   ======================================== */

:root {
  --white: #FFFFFF;
  --cream: #FBF7F4;
  --warm: #F5EDE8;
  --warm-dark: #EDE0D8;
  --text-primary: #2D2D2D;
  --text-secondary: #5A5A5A;
  --text-light: #8A8A8A;
  --orange: #b09b49;
  --orange-hover: #9a8840;
  --orange-light: rgba(176, 155, 73, 0.10);
  --orange-glow: rgba(176, 155, 73, 0.18);
  --gold: #b09b49;
  --gold-light: rgba(176, 155, 73, 0.12);
  --border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1080px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans TC', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--orange-hover);
}

/* ========== Layout ========== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--cream);
}

/* ========== Typography ========== */

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.highlight {
  color: var(--orange);
  font-weight: 700;
}

.gold {
  color: var(--gold);
  font-weight: 700;
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(236, 90, 44, 0.3);
}

.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 90, 44, 0.4);
}

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

.btn-secondary:hover {
  background: var(--orange-light);
  color: var(--orange);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* ========== Navigation ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

/* ========== Hero ========== */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--white) 0%, var(--cream) 50%, var(--warm) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  background: var(--orange-light);
  color: var(--orange);
}

.hero-visual {
  flex: 0 0 340px;
  position: relative;
}

.hero-visual .ebook-mockup {
  width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}

.hero-visual .billy-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: -20px;
  right: -10px;
  object-fit: cover;
}

/* ========== Stats Bar ========== */

.stats-bar {
  padding: 40px 0;
  background: var(--text-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ========== MIFGE Section ========== */

.mifge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.mifge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mifge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mifge-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mifge-icon.orange {
  background: var(--orange-light);
}

.mifge-icon.gold {
  background: var(--gold-light);
}

.mifge-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.mifge-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ========== How It Works ========== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 30px;
  font-size: 1.5rem;
  color: var(--text-light);
}

.step-card:last-child::after {
  display: none;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1rem;
}

.step-card p {
  font-size: 0.85rem;
}

/* ========== Demos (Dramatic Demonstrations) ========== */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.demo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.demo-card .demo-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--orange);
  position: relative;
}

.demo-card .demo-thumb .play-btn {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(236, 90, 44, 0.4);
}

.demo-card .demo-body {
  padding: 20px;
}

.demo-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.demo-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.demo-time {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ========== Billy Bio ========== */

.bio-section {
  background: var(--cream);
}

.bio-card {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.bio-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.bio-text h2 {
  margin-bottom: 8px;
}

.bio-title {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}

.bio-text p {
  font-size: 0.95rem;
}

.bio-highlights {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.bio-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========== Membership ========== */

.membership-section {
  background: linear-gradient(170deg, var(--cream) 0%, var(--warm) 100%);
}

.membership-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--orange-glow);
}

.membership-card .membership-header {
  text-align: center;
  margin-bottom: 32px;
}

.membership-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.membership-card h2 {
  margin-bottom: 8px;
}

.membership-price {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
}

.price-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-main span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-annual {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 8px;
}

.benefit-list {
  list-style: none;
  margin-bottom: 32px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.benefit-list li:last-child {
  border-bottom: none;
}

.benefit-check {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-value {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 600;
}

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

.guarantee {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== Form Section ========== */

.form-section {
  background: var(--white);
}

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  text-align: center;
  margin-bottom: 8px;
}

.form-card .section-desc {
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Noto Sans TC', sans-serif;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* ========== FAQ ========== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.95rem;
}

/* ========== Footer ========== */

.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  height: 36px;
  margin: 0 auto 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--orange);
}

/* ========== Final CTA ========== */

.final-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(170deg, var(--warm) 0%, var(--cream) 100%);
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    flex: none;
    order: -1;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-content .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .mifge-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-card::after {
    display: none;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .bio-card {
    flex-direction: column;
    text-align: center;
  }

  .bio-highlights {
    justify-content: center;
  }

  .membership-card {
    padding: 32px 24px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}
