:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --primary: #1f6bff;
  --primary-dark: #0b3ec5;
  --accent: #ffb347;
  --text: #1f2430;
  --text-muted: #5c6273;
  --border: #e0e6f2;
  --shadow: 0 35px 80px rgba(15, 26, 58, 0.1);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans TC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
  color: var(--text-muted);
}

main {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding-bottom: 6rem;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 249, 251, 0.86);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.cta {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:focus-visible {
  outline: 3px solid rgba(31, 107, 255, 0.3);
  outline-offset: 3px;
}

.cta.solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 30px rgba(15, 57, 153, 0.25);
}

.cta.secondary {
  background: rgba(31, 107, 255, 0.12);
  color: var(--primary);
}

.cta.ghost {
  background: transparent;
  border: 1px solid rgba(31, 107, 255, 0.26);
  color: var(--primary);
}

.cta:hover {
  transform: translateY(-2px);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(31, 107, 255, 0.2);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.2rem;
  background: #fff;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(31, 107, 255, 0.25);
}

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-stats .value {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-shell {
  position: relative;
  width: min(330px, 70vw);
  border-radius: 45px;
  padding: 1rem;
  background: linear-gradient(180deg, #0e1d3b, #111b2f);
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 160px;
  height: 26px;
  background: #000;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 0.7rem;
}

.phone-screen {
  background: #f4f6fb;
  border-radius: 40px;
  padding: 1.2rem;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.screen-time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.screen-title {
  font-weight: 600;
}

.screen-body {
  padding: 0 0.5rem;
}

.screen-lead {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.screen-list {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.screen-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.tab-button {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 0.5rem 0.6rem;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.tab-button.active {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 20px rgba(31, 107, 255, 0.25);
}

.preview-note {
  text-align: center;
  max-width: 320px;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.feature-grid .grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(21, 35, 71, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.card.highlight {
  background: linear-gradient(140deg, #14203d, #26355f);
  color: #fff;
}

.card.highlight p,
.card.highlight li,
.card.highlight h3 {
  color: inherit;
}

.workflow {
  margin-top: 5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.steps li {
  background: var(--surface);
  border-radius: 1.4rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(18, 28, 55, 0.08);
}

.step-index {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.assist-banner {
  background: linear-gradient(120deg, rgba(31, 107, 255, 0.12), rgba(134, 183, 255, 0.4));
  border-radius: 1.6rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.care {
  margin-top: 5rem;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.care-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.care-card {
  background: #131f3c;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(9, 14, 31, 0.6);
}

.care-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0;
}

.care-number {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.care-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.care-author {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.8rem;
}

.testimonials {
  margin-top: 5rem;
}

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

.testimonial-grid article {
  padding: 1.6rem;
  border-radius: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(31, 107, 255, 0.08);
  box-shadow: 0 15px 30px rgba(20, 31, 58, 0.08);
}

.testimonial-grid h3 {
  margin-top: 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.cta-panel {
  margin-top: 5rem;
  background: #0f172a;
  color: #fff;
  border-radius: 2rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.download-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.download-badges a {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.cta-form {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 0.4rem;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
  border-radius: 0.9rem;
  border: none;
  padding: 0.85rem;
  font-size: 1rem;
  font-family: inherit;
}

.cta-form input:focus,
.cta-form textarea:focus,
.cta-form select:focus {
  outline: 3px solid rgba(255, 255, 255, 0.4);
}

.form-note {
  font-size: 0.85rem;
}

.site-footer {
  width: 100%;
  padding: 2.5rem 4vw 3rem;
  background: #020617;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.site-footer .logo {
  color: #fff;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-btn {
    flex: 1;
  }

  .site-header {
    padding: 1rem 5vw;
  }

  .assist-banner {
    flex-direction: column;
    text-align: center;
  }

  .phone-screen {
    min-height: 480px;
  }

  .cta-panel {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

