/* =========================================================
   口播文案生成器首頁 — Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;700;900&family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

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

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: #FEF8F0;
  color: #1A1208;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'Noto Sans TC', sans-serif; }

/* ── Content Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Google Sign-In overlay (real Google button invisibly stacked on custom-styled button) ── */
.gsi-overlay-wrap {
  position: relative;
  display: inline-block;
}
.gsi-overlay-wrap > button {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.gsi-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.001;
  z-index: 2;
}
.gsi-overlay iframe {
  width: 100% !important;
}

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  background: rgba(254, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #EAE0D5;
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #E86010;
  flex-shrink: 0;
}
.nav__logo-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  color: #6B5A48;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: #E86010; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E86010;
  color: white;
  border: none;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
}
.nav__cta:hover { background: #C85008; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 80px;
  min-height: 640px;
  position: relative;
}

.hero__blob-1 {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, #FDEBD0 0%, rgba(254,248,240,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__blob-2 {
  position: absolute;
  left: 40%; top: 20px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,165,35,0.08) 0%, rgba(254,248,240,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__left {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDEBD0;
  border: 1px solid #F5C890;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #E86010;
  flex-shrink: 0;
}
.hero__badge-text {
  font-size: 12px;
  color: #9A5010;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero__h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.hero__h1 em {
  font-style: normal;
  color: #E86010;
}

.hero__desc {
  font-size: 17px;
  line-height: 1.85;
  color: #6B5A48;
  margin-bottom: 44px;
  max-width: 420px;
}

.hero__cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1A1208;
  color: white;
  border: none;
  padding: 17px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 14px;
  transition: background 0.15s;
}
.hero__cta-btn:hover { background: #2E200E; }
.hero__cta-note {
  font-size: 12px;
  color: #B0A090;
}

/* Mockup */
.hero__right {
  flex-shrink: 0;
  width: 520px;
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

.mockup {
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 0 #E8DDD2, 0 20px 60px rgba(26,18,8,0.10), 0 4px 16px rgba(26,18,8,0.05);
  overflow: hidden;
  border: 1px solid #EAE0D5;
}
.mockup__chrome {
  background: #F5F0EA;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #E8E0D6;
}
.mockup__dots { display: flex; gap: 6px; }
.mockup__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup__dot--red   { background: #FF5F57; }
.mockup__dot--yellow{ background: #FFBD2E; }
.mockup__dot--green { background: #28C840; }
.mockup__urlbar {
  flex: 1;
  background: white;
  border-radius: 6px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #E0D8CE;
  font-size: 11px;
  color: #B0A090;
  font-family: monospace;
}
.mockup__appnav {
  background: #1A1208;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup__appnav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mockup__appnav-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E86010;
}
.mockup__appnav-name {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.mockup__appnav-btn {
  background: #E86010;
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}
.mockup__inputs {
  padding: 16px 20px;
  background: #FAF7F2;
  border-bottom: 1px solid #EAE0D5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup__input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup__input-label {
  font-size: 11px;
  color: #B0A090;
  min-width: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.mockup__input-field {
  flex: 1;
  background: white;
  border: 1.5px solid #DDD0C0;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 13px;
  color: #1A1208;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup__input-field--muted { color: #6B5A48; }
.mockup__output {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.script-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.script-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  margin-top: 3px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.script-tag--hook   { background: #FFEDE0; color: #E86010; }
.script-tag--story  { background: #FFF3D6; color: #C4800A; }
.script-tag--flip   { background: #DDFAF3; color: #0A8A72; }
.script-tag--method { background: #E0EAFF; color: #2A5FC1; }
.script-tag--result { background: #F0E8FF; color: #7040C0; }
.script-text {
  font-size: 13px;
  color: #4A3A2A;
  line-height: 1.65;
}
.script-text--strong { color: #1A1208; font-weight: 500; }

/* =========================================================
   TRUST BELT
   ========================================================= */
.trust-belt {
  background: #1A1208;
  height: 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.trust-belt__track {
  display: flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.trust-belt__items {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}
.trust-belt__item {
  font-size: 13px;
  color: #6B5A48;
}
.trust-belt__item--accent { color: #E86010; }

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section { padding: 0; }
.section .container { padding-top: 80px; padding-bottom: 80px; }
.section--alt { background: #FAF5EE; }

.section__eyebrow {
  font-size: 12px;
  color: #E86010;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.section__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.8px;
}
.section__subtitle {
  font-size: 14px;
  color: #9A8878;
  max-width: 280px;
  text-align: right;
  line-height: 1.7;
}

/* =========================================================
   RHYTHM GRID
   ========================================================= */
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #EAE0D5;
  border-radius: 16px;
  overflow: hidden;
}
.rhythm-cell {
  padding: 28px 24px;
  border-right: 1px solid #EAE0D5;
  background: white;
}
.rhythm-cell:last-child { border-right: none; }
.rhythm-cell__bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.rhythm-cell__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.rhythm-cell__name {
  font-size: 17px;
  font-weight: 700;
  color: #1A1208;
  margin-bottom: 8px;
}
.rhythm-cell__desc {
  font-size: 12px;
  color: #9A8878;
  line-height: 1.6;
}

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.compare-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.compare-badge {
  background: #FDEBD0;
  border: 1px solid #F5C890;
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
}
.compare-badge__label {
  font-size: 11px;
  color: #9A5010;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.compare-badge__value {
  font-size: 15px;
  color: #1A1208;
  font-weight: 700;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: 16px;
  padding: 36px;
}
.compare-card--before {
  background: #F0EAE2;
}
.compare-card--after {
  background: white;
  border: 2px solid #E86010;
  position: relative;
  box-shadow: 0 8px 40px rgba(232,96,16,0.08);
}
.compare-card__ai-badge {
  position: absolute;
  top: -13px; right: 28px;
  background: #E86010;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.compare-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.compare-card__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.compare-card__icon--before { background: #E0D8CE; color: #9A8878; }
.compare-card__icon--after  { background: #FFEDE0; color: #E86010; }
.compare-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.compare-card__label--before { color: #9A8878; }
.compare-card__label--after  { color: #E86010; }
.compare-card__text {
  font-size: 16px;
  color: #9A8878;
  line-height: 2;
  font-style: italic;
}
.compare-card__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-row { display: flex; gap: 10px; align-items: flex-start; }
.compare-row .script-tag { margin-top: 3px; }
.compare-row__text {
  font-size: 15px;
  line-height: 1.7;
}
.compare-row__text--strong { color: #1A1208; font-weight: 600; }
.compare-row__text--muted  { color: #3A3028; }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #EAE0D5;
}
.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-card__kanji {
  font-family: 'Noto Serif TC', serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}
.feature-card__badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.feature-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1A1208;
}
.feature-card__desc {
  font-size: 13px;
  color: #9A8878;
  line-height: 1.75;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, #C05008 0%, #E86010 45%, #F5A523 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.cta-banner__deco-1 {
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-banner__deco-2 {
  position: absolute;
  right: 120px; bottom: -120px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-banner__left { position: relative; z-index: 1; }
.cta-banner__eyebrow {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cta-banner__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 44px;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.cta-banner__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}
.cta-banner__right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.cta-banner__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #1A1208;
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}
.cta-banner__btn:hover { transform: translateY(-2px); }
.cta-banner__note {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}
.faq-item {
  padding: 28px 0;
  border-top: 1px solid #EAE0D5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.faq-item:last-child { border-bottom: 1px solid #EAE0D5; }
.faq-item__q {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1A1208;
}
.faq-item__a {
  font-size: 14px;
  color: #6B5A48;
  line-height: 1.8;
}
.faq-item__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-item__icon--open   { background: #FDEBD0; color: #E86010; }
.faq-item__icon--closed { background: #F0EDE8; color: #9A8878; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #1A1208;
}
.footer .container { padding-top: 48px; padding-bottom: 48px; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid #2A2018;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E86010;
}
.footer__logo-name {
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.footer__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer__links a {
  color: #6B5A48;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.footer__links a:hover { color: #E86010; }
.footer__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E86010;
  color: white;
  border: none;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.footer__bottom span {
  color: #3A3028;
  font-size: 13px;
}

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section .container { padding-top: 56px; padding-bottom: 56px; }
  .cta-banner .container { padding-top: 56px; padding-bottom: 56px; }
  .footer .container { padding-top: 40px; padding-bottom: 40px; }
  .nav__links { display: none; }

  .hero .container {
    flex-direction: column;
    padding-top: 48px;
    padding-bottom: 56px;
    min-height: unset;
  }
  .hero__h1 { font-size: 40px; }
  .hero__right { width: 100%; }
  .hero__blob-1, .hero__blob-2 { display: none; }

  .trust-belt { display: none; }


  .section__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section__subtitle { text-align: left; max-width: 100%; }
  .section__title { font-size: 28px; }

  .rhythm-grid { grid-template-columns: repeat(3, 1fr); }
  .rhythm-cell { border-bottom: 1px solid #EAE0D5; }

  .compare-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .compare-grid { grid-template-columns: 1fr; }

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

  .cta-banner .container {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .cta-banner__title { font-size: 32px; }
  .cta-banner__right { align-items: center; }

  .faq-list { max-width: 100%; }

  .footer__top { flex-direction: column; gap: 24px; text-align: center; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .hero__h1 { font-size: 32px; }
  .rhythm-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
}
