/* ===== Reset / base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --c-bg: #f8f7f4;
  --c-surface: #ffffff;
  --c-surface-alt: #f1eee9;
  --c-ink: #0a2540;
  --c-ink-soft: #475569;
  --c-ink-mute: #94a3b8;
  --c-line: #e3dfd8;
  --c-accent: #ff6b35;
  --c-accent-dark: #e0511c;
  --c-success: #10b981;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container: 1140px;
  --pad-x: clamp(16px, 4vw, 48px);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Noto Sans TC",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang TC",
    "Microsoft JhengHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  font-weight: 700;
}

p {
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.btn--ghost:hover {
  background: var(--c-ink);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
}

.site-nav a {
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--c-ink);
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
  }
}

/* ===== Section utilities ===== */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section--alt {
  background: var(--c-surface-alt);
}

.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 1rem;
}

.section__title--center {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section__lede {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  max-width: 640px;
}

.section__lede--center {
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.eyebrow--center {
  display: block;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 6vw, 64px);
  background:
    radial-gradient(
      ellipse 60% 50% at 100% 0%,
      rgba(255, 107, 53, 0.08) 0%,
      transparent 60%
    ),
    var(--c-bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero__accent {
  color: var(--c-accent);
  position: relative;
  white-space: nowrap;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--c-ink-soft);
  max-width: 540px;
  margin-bottom: 0.6rem;
}

.hero__sub--small {
  font-size: 0.98rem;
  color: var(--c-ink);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__device {
    order: -1;
    max-width: 320px;
    margin: 0 auto 1rem;
  }
}

/* ===== Phone mock-up ===== */
.phone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 18;
  background: #1c1c1e;
  border-radius: 36px;
  padding: 12px;
  margin: 0 auto;
  box-shadow:
    0 32px 64px -16px rgba(10, 37, 64, 0.25),
    0 8px 16px rgba(10, 37, 64, 0.1),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #1c1c1e;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone__screen {
  background: #06c755;
  border-radius: 26px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.line-header {
  background: #06c755;
  color: #fff;
  padding: 38px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.line-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: #06c755;
  font-weight: 900;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.line-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

.line-status {
  font-size: 0.75rem;
  opacity: 0.82;
}

.chat {
  flex: 1;
  background: #e8f5e9;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.chat__row {
  display: flex;
  align-items: flex-end;
}

.chat__row--in {
  justify-content: flex-end;
}

.chat__row--bot {
  justify-content: flex-start;
}

.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.bubble--bot {
  background: #fff8f0;
  color: #1a1a1a;
  border-left: 3px solid var(--c-accent);
}

.typing {
  background: #fff;
  padding: 10px 14px;
  border-radius: 18px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #94a3b8;
  animation: blink 1.2s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}

/* ===== Problem ===== */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.problem__card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
}

.problem__num {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.problem__card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.problem__card p {
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
  font-size: 0.96rem;
}

.problem__answer {
  background: rgba(255, 107, 53, 0.08);
  border-left: 3px solid var(--c-accent);
  padding: 0.8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-ink);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.problem__answer strong {
  color: var(--c-accent);
}

/* ===== Features ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.feature {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}

.feature__icon {
  width: 56px;
  height: 56px;
  background: rgba(10, 37, 64, 0.06);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.feature__icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature > p {
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
  font-size: 0.96rem;
}

.feature__list {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-line);
}

.feature__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  margin-bottom: 0.5rem;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 2px;
  background: var(--c-accent);
}

/* ===== Flow ===== */
.flow__steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 720px;
  margin: 2rem auto 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  align-items: start;
  position: relative;
}

.flow-step__num {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.flow-step__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.flow-step__body p {
  color: var(--c-ink-soft);
  font-size: 0.96rem;
}

/* ===== Why us ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.why__card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border-top: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
}

.why__card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.why__card p {
  color: var(--c-ink-soft);
  font-size: 0.94rem;
}

/* ===== Industries ===== */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.industry {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.industry h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--c-ink);
}

.industry p {
  color: var(--c-ink-soft);
  font-size: 0.94rem;
}

/* ===== Pricing ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border: 2px solid var(--c-ink);
  position: relative;
}

.plan__header {
  margin-bottom: 1.4rem;
}

.plan__header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.plan__tag {
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 700;
}

.plan__price {
  margin-bottom: 1.4rem;
}

.plan__amount {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1.3;
}

.plan__note {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
}

.plan__list {
  flex: 1;
  margin-bottom: 1.6rem;
}

.plan__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
  color: var(--c-ink-soft);
}

.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-weight: 900;
}

.pricing__footnote {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--c-ink-soft);
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  color: var(--c-ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-accent);
  transition: transform 0.18s ease;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin-top: 0.8rem;
  color: var(--c-ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta {
  background: var(--c-ink);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cta__copy p {
  color: rgba(255, 255, 255, 0.78);
  margin: 1rem 0 1.4rem;
  font-size: 1.05rem;
}

.cta__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta__list li::before {
  content: "✓";
  color: var(--c-accent);
  position: absolute;
  left: 0;
  font-weight: 900;
}

.cta__form {
  background: var(--c-surface);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.cta__form h3 {
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
}

.cta__form label {
  display: block;
  margin-bottom: 1rem;
}

.cta__form label > span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 0.4rem;
}

.cta__form input,
.cta__form select,
.cta__form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  background: var(--c-bg);
  color: var(--c-ink);
  transition: border-color 0.15s ease;
}

.cta__form input:focus,
.cta__form select:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
}

.cta__form textarea {
  resize: vertical;
  min-height: 80px;
}

.cta__privacy {
  font-size: 0.82rem;
  color: var(--c-ink-mute);
  margin-top: 0.8rem;
  text-align: center;
}

.cta__thanks {
  text-align: center;
  padding: 2rem 0;
}

.cta__thanks h3 {
  color: var(--c-success);
  margin-bottom: 0.8rem;
}

@media (max-width: 880px) {
  .cta__inner {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: #050d18;
  color: #94a3b8;
  padding: 3rem 0 2rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.site-footer__brand strong {
  color: #fff;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.4rem;
}

.site-footer__brand p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.site-footer__small {
  font-size: 0.82rem !important;
  color: #64748b;
  margin-top: 1rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.site-footer__links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.site-footer__links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #94a3b8;
}

.site-footer__links a:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .site-footer__links a {
    font-size: 0.85rem;
  }
}
