
:root {
  --ink: #10251f;
  --green: #0e5a44;
  --green-dark: #083d30;
  --mint: #e4f1e9;
  --cream: #f6f1e7;
  --orange: #f58a52;
  --paper: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
a { color: inherit; text-decoration: none; }

.nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16,37,31,.13);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .05em; }
.brandMark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: white; background: var(--green); font-size: 17px; box-shadow: 0 7px 18px rgba(14,90,68,.2);
}
.navLinks { display: flex; gap: 34px; color: #3e534d; font-size: 14px; font-weight: 700; }
.navLinks a:hover { color: var(--green); }
.navCta {
  padding: 11px 20px; border: 1.5px solid var(--green); border-radius: 999px;
  color: var(--green); font-size: 14px; font-weight: 800;
}

.hero {
  min-height: 760px;
  padding: 145px max(32px, calc((100vw - 1180px)/2)) 80px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 78px;
  align-items: center;
  background:
    radial-gradient(circle at 5% 4%, rgba(245,138,82,.14), transparent 22%),
    linear-gradient(115deg, #fffdf8 0%, #fffdf8 58%, #eef5ef 58%, #eef5ef 100%);
  overflow: hidden;
}
.eyebrow, .sectionKicker {
  color: var(--green); font-size: 12px; letter-spacing: .18em; font-weight: 900;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--orange); }
.hero h1 {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.17;
  letter-spacing: -.04em;
  font-weight: 900;
}
.hero h1 em { color: var(--green); font-style: normal; position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 9px;
  border-top: 3px solid var(--orange); border-radius: 50%;
}
.heroLead { max-width: 560px; margin: 30px 0; color: #4e625c; font-size: 18px; line-height: 1.9; }
.heroActions { display: flex; align-items: center; gap: 28px; }
.primaryButton {
  display: inline-flex; align-items: center; justify-content: center; gap: 30px;
  background: var(--green); color: white; padding: 17px 25px; border-radius: 8px;
  font-weight: 800; box-shadow: 0 12px 28px rgba(14,90,68,.2); transition: .25s;
}
.primaryButton:hover { transform: translateY(-2px); background: var(--green-dark); }
.primaryButton span { font-size: 21px; }
.textButton { font-weight: 800; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.trustRow { display: flex; gap: 26px; margin-top: 40px; color: #546760; font-size: 13px; font-weight: 700; }
.trustRow span::first-letter { color: var(--green); }
.heroVisual { position: relative; min-height: 510px; }
.heroImage {
  width: 100%; height: 510px; border-radius: 120px 18px 120px 18px;
  background: linear-gradient(135deg, #cddfd4, #8faf9e);
  background-image: url("/hero-classroom.png");
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px rgba(20,60,46,.18);
}
.heroVisual::before {
  content: ""; position: absolute; width: 80%; height: 86%; border: 1.5px solid var(--orange);
  border-radius: 120px 18px 120px 18px; right: -24px; top: -22px; z-index: 0;
}
.heroImage { position: relative; z-index: 1; }
.floatingNote {
  position: absolute; z-index: 2; left: -42px; bottom: 40px; background: white;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px;
  box-shadow: 0 18px 45px rgba(16,37,31,.18);
}
.noteIcon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 900; }
.floatingNote strong, .floatingNote small { display: block; }
.floatingNote strong { font-size: 14px; }
.floatingNote small { color: #718079; margin-top: 4px; }
.orangeDot { position: absolute; z-index: 2; right: -22px; bottom: 10px; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); }

.painSection { padding: 110px max(32px, calc((100vw - 1180px)/2)); background: var(--cream); }
.sectionIntro { display: grid; grid-template-columns: 1.1fr 1.2fr .85fr; gap: 40px; align-items: start; }
.sectionIntro h2, .solutionCopy h2, .centerIntro h2, .pricingHeading h2, .finalCta h2 {
  font-family: "Noto Serif TC", "Songti TC", serif; font-weight: 900; letter-spacing: -.03em;
}
.sectionIntro h2 { margin: -12px 0 0; font-size: 40px; line-height: 1.45; }
.sectionIntro p { color: #65736e; line-height: 1.8; margin: 0; }
.painGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 58px; }
.painCard { position: relative; padding: 38px 32px; background: rgba(255,255,255,.74); border: 1px solid rgba(16,37,31,.08); border-radius: 18px; }
.painCard:hover { background: white; transform: translateY(-4px); transition: .25s; }
.cardNumber { position: absolute; right: 25px; top: 23px; color: #b8c2bc; font-size: 12px; letter-spacing: .15em; }
.painIcon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #f8e2d5; color: #ba522d; font-size: 25px; font-weight: 900; }
.icon02 { background: #fff0d4; color: #d28725; }
.icon03 { background: #e2e9e5; color: var(--green); }
.painCard h3 { margin: 25px 0 12px; font-size: 20px; }
.painCard p { color: #63736d; line-height: 1.8; margin: 0; font-size: 14px; }

.solutionSection { padding: 120px max(32px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.solutionImageWrap { position: relative; }
.solutionImage {
  height: 600px; border-radius: 18px 120px 18px 18px;
  background: linear-gradient(130deg, #d9e8df, #a9c3b4);
  background-image: url("/safety-lock.png"); background-size: cover; background-position: center;
}
.imageBadge {
  position: absolute; right: -28px; bottom: 42px; background: var(--orange); color: white;
  width: 165px; height: 165px; border-radius: 50%; display: flex; flex-direction: column;
  justify-content: center; align-items: center; box-shadow: 0 18px 40px rgba(151,73,37,.25);
}
.imageBadge strong { font-family: serif; font-size: 25px; }
.imageBadge span { font-size: 12px; margin-top: 7px; }
.solutionCopy h2 { font-size: 44px; line-height: 1.42; margin: 18px 0; }
.solutionLead { color: #5c6e67; line-height: 1.9; }
.stepList { margin-top: 35px; }
.step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid #dbe2dd; }
.step > span { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--green); font-weight: 900; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: #687972; font-size: 14px; line-height: 1.7; }

.experienceSection { padding: 105px max(32px, calc((100vw - 1180px)/2)); background: #edf4ef; }
.centerIntro { text-align: center; max-width: 700px; margin: 0 auto; }
.centerIntro h2 { margin: 15px 0; font-size: 42px; }
.centerIntro p { color: #63756e; line-height: 1.8; }
.outcomeGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cddbd3; margin-top: 55px; border: 1px solid #cddbd3; }
.outcomeGrid article { background: #edf4ef; padding: 40px; }
.outcomeGrid span { color: var(--orange); font-family: serif; font-size: 28px; font-weight: 900; }
.outcomeGrid h3 { margin: 22px 0 10px; font-size: 19px; }
.outcomeGrid p { color: #62746d; font-size: 14px; line-height: 1.8; margin: 0; }

.pricingSection { padding: 110px max(32px, calc((100vw - 1180px)/2)); background: var(--green-dark); color: white; }
.pricingHeading { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; }
.sectionKicker.light { color: #8fceb7; }
.pricingHeading h2 { font-size: 48px; line-height: 1.35; margin: 16px 0 0; }
.pricingHeading > p { color: #b9cdc5; line-height: 1.9; }
.priceGrid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; margin-top: 60px; }
.priceCard { position: relative; background: white; color: var(--ink); border-radius: 18px; padding: 38px; overflow: hidden; }
.priceCard.featured { background: #f7eee0; }
.popular { position: absolute; right: -35px; top: 22px; width: 140px; padding: 8px; transform: rotate(40deg); background: var(--orange); color: white; text-align: center; font-size: 12px; font-weight: 900; }
.packageLabel { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.priceCard h3 { margin: 10px 0 26px; font-family: serif; font-size: 29px; }
.priceCard ul { list-style: none; padding: 18px 0; margin: 0; border-top: 1px solid #dce2de; border-bottom: 1px solid #dce2de; }
.priceCard li { display: flex; justify-content: space-between; padding: 7px 0; color: #5d6e67; }
.priceCard li strong { color: var(--ink); }
.price { margin: 26px 0; }
.price small { display: block; color: #64746e; }
.price strong { display: block; color: var(--green); font-family: serif; font-size: 55px; line-height: 1.1; }
.priceCard a { display: flex; justify-content: space-between; padding: 16px 20px; color: white; background: var(--green); border-radius: 7px; font-weight: 800; }
.priceNote { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 22px; padding: 25px 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
.priceNote div { display: flex; align-items: baseline; gap: 14px; }
.priceNote span, .priceNote small { color: #a8c1b7; }
.priceNote strong { font-size: 23px; }

.finalCta { padding: 115px 30px; text-align: center; background: var(--paper); }
.finalCta h2 { font-size: 46px; line-height: 1.45; margin: 15px 0; }
.finalCta p { color: #62746d; line-height: 1.8; margin: 0 auto 30px; max-width: 650px; }
.contactCard {
  width: min(600px, 100%); margin: 34px auto 0; padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; text-align: left;
  background: white; border: 1px solid #dce6e0; border-radius: 16px;
  box-shadow: 0 18px 45px rgba(16,37,31,.1);
}
.lineBadge {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: #06c755; color: white;
  font-size: 11px; font-weight: 900; letter-spacing: .06em;
}
.contactCard > div { flex: 1; }
.contactCard small, .contactCard strong { display: block; }
.contactCard small { color: #718079; font-size: 12px; }
.contactCard > div strong { margin-top: 4px; font-size: 19px; }
.contactCard a {
  min-width: 190px; padding: 12px 16px; display: grid;
  grid-template-columns: 1fr auto; align-items: center;
  background: #edf8f1; border-radius: 11px; color: var(--green);
  transition: .2s;
}
.contactCard a:hover { background: #dff2e6; transform: translateY(-1px); }
.contactCard a small { grid-column: 1 / -1; color: #587067; }
.contactCard a strong { font-size: 17px; letter-spacing: .03em; }
.contactCard a span { font-size: 20px; }
footer { min-height: 120px; padding: 30px max(32px, calc((100vw - 1180px)/2)); display: flex; align-items: center; gap: 30px; border-top: 1px solid #e2e7e3; color: #65756f; }
footer p { flex: 1; }
footer small { font-size: 11px; }

@media (max-width: 900px) {
  .navLinks { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 135px; background: var(--paper); }
  .heroVisual { min-height: 430px; }
  .heroImage { height: 430px; }
  .sectionIntro { grid-template-columns: 1fr; gap: 18px; }
  .painGrid, .outcomeGrid { grid-template-columns: 1fr; }
  .solutionSection { grid-template-columns: 1fr; gap: 70px; }
  .solutionImage { height: 500px; }
  .pricingHeading, .priceGrid { grid-template-columns: 1fr; }
  .priceNote { align-items: flex-start; flex-direction: column; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .nav { height: 74px; width: calc(100% - 28px); }
  .navCta { padding: 9px 14px; }
  .hero { min-height: auto; padding: 115px 20px 70px; }
  .hero h1 { font-size: 45px; }
  .heroLead { font-size: 16px; }
  .heroActions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trustRow { flex-wrap: wrap; gap: 10px 18px; }
  .heroVisual { min-height: 330px; }
  .heroImage { height: 330px; border-radius: 70px 15px 70px 15px; }
  .floatingNote { left: 10px; bottom: 18px; }
  .orangeDot { display: none; }
  .painSection, .solutionSection, .experienceSection, .pricingSection { padding: 80px 20px; }
  .sectionIntro h2, .solutionCopy h2, .centerIntro h2, .pricingHeading h2, .finalCta h2 { font-size: 35px; }
  .solutionImage { height: 420px; border-radius: 15px 70px 15px 15px; }
  .imageBadge { width: 125px; height: 125px; right: -5px; }
  .outcomeGrid article { padding: 30px 24px; }
  .priceCard { padding: 30px 24px; }
  .price strong { font-size: 48px; }
  .priceNote div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .finalCta { padding: 85px 20px; }
  .contactCard { align-items: stretch; flex-wrap: wrap; padding: 16px; }
  .contactCard > div { align-self: center; }
  .contactCard a { flex: 1 0 100%; min-width: 0; }
  footer { padding: 28px 20px; }
  footer p { display: none; }
}
