:root{
  --site-bg:#f8fafc;
  --site-surface:#ffffff;
  --site-surface-soft:#f8fafc;
  --site-text:#0f172a;
  --site-text-soft:#475569;
  --site-text-muted:#64748b;
  --site-line:#e2e8f0;
  --site-brand:#0f172a;
  --site-brand-2:#1e293b;
  --site-shadow:0 12px 30px rgba(15,23,42,.06);
  --site-shadow-soft:0 8px 20px rgba(15,23,42,.04);
  --site-radius-xl:28px;
  --site-radius-lg:22px;
  --site-radius-md:16px;
  --site-content-width:1200px;
  --site-header-height:92px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  background:var(--site-bg);
  color:var(--site-text);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,
    "Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
img,svg{display:block;max-width:100%}
::selection{background:rgba(37,99,235,.16)}
mark{background:rgba(251,191,36,.42);padding:0 .08em;border-radius:.25rem}
.scrollbar::-webkit-scrollbar{width:10px;height:10px}
.scrollbar::-webkit-scrollbar-track{background:transparent}
.scrollbar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.scrollbar::-webkit-scrollbar-thumb:hover{background:#94a3b8}

.site-header-shell{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
}

.site-main{
  width:min(calc(100% - 32px), var(--site-content-width));
  margin:0 auto;
  padding-top:calc(var(--site-header-height) + 32px);
  padding-bottom:32px;
}

.site-page-section{
  background:var(--site-surface);
  border:1px solid var(--site-line);
  border-radius:32px;
  box-shadow:var(--site-shadow-soft);
}

.site-header{
  border-bottom:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
  box-shadow:0 2px 12px rgba(15,23,42,.03);
}

.site-header__inner{
  width:min(calc(100% - 32px), var(--site-content-width));
  min-height:92px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

.site-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:14px;
  border-radius:20px;
  padding:6px 8px;
  transition:background-color .2s ease, transform .2s ease;
}

.site-brand:hover{
  background:#f1f5f9;
}

.site-brand__logo{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg, var(--site-brand), var(--site-brand-2));
  color:#fff;
  box-shadow:var(--site-shadow-soft);
}

.site-brand__logo-svg{
  width:24px;
  height:24px;
}

.site-brand__text{
  min-width:0;
}

.site-brand__title{
  font-size:18px;
  font-weight:800;
  letter-spacing:.02em;
  color:var(--site-text);
  white-space:nowrap;
}

.site-brand__subtitle{
  margin-top:2px;
  font-size:12px;
  color:var(--site-text-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.site-nav__link{
  padding:10px 16px;
  border-radius:999px;
  color:var(--site-text-soft);
  font-size:14px;
  font-weight:700;
  transition:background-color .2s ease, color .2s ease;
}

.site-nav__link:hover{
  background:#f1f5f9;
  color:var(--site-text);
}

.site-nav__link.is-active,
.site-mobile-menu__link.is-active{
  background:var(--site-brand);
  color:#fff;
  box-shadow:var(--site-shadow-soft);
}

.site-menu-btn{
  width:46px;
  height:46px;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid var(--site-line);
  border-radius:16px;
  background:#fff;
  color:var(--site-text);
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease;
}

.site-menu-btn:hover{
  background:#f8fafc;
}

.site-menu-btn span{
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}

.site-mobile-menu{
  width:min(calc(100% - 32px), var(--site-content-width));
  margin:0 auto 12px;
  padding:8px;
  border:1px solid var(--site-line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--site-shadow);
}

.site-mobile-menu__link{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  font-size:15px;
  font-weight:700;
  color:var(--site-text-soft);
  transition:background-color .2s ease, color .2s ease;
}

.site-mobile-menu__link + .site-mobile-menu__link{
  margin-top:6px;
}

.site-mobile-menu__link:hover{
  background:#f8fafc;
  color:var(--site-text);
}

.home-hero{
  padding:44px;
}

.home-hero__eyebrow{
  font-size:13px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--site-text-muted);
}

.home-hero__title{
  margin:14px 0 0;
  font-size:42px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
}

.home-hero__desc{
  max-width:720px;
  margin:16px 0 0;
  font-size:17px;
  color:var(--site-text-soft);
}

.home-stats{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.home-stat{
  padding:22px;
  border:1px solid var(--site-line);
  border-radius:24px;
  background:var(--site-surface-soft);
}

.home-stat__label{
  font-size:14px;
  font-weight:700;
  color:var(--site-text-muted);
}

.home-stat__value{
  margin-top:10px;
  font-size:28px;
  font-weight:900;
  color:var(--site-text);
}

.home-tools{
  margin-top:32px;
}

.home-tools__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.home-tools__title{
  margin:0;
  font-size:30px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
}

.home-tools__desc{
  margin:8px 0 0;
  font-size:15px;
  color:var(--site-text-muted);
}

.home-tools__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

.tool-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:280px;
  padding:28px;
  border:1px solid var(--site-line);
  border-radius:28px;
  background:#fff;
  box-shadow:var(--site-shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tool-card:hover{
  transform:translateY(-4px);
  border-color:#cbd5e1;
  box-shadow:var(--site-shadow);
}

.tool-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.tool-card__icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#f1f5f9;
  color:var(--site-text-soft);
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
}

.tool-card__tag{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.tool-card__tag--green{
  background:#ecfdf5;
  color:#047857;
}

.tool-card__tag--blue{
  background:#eff6ff;
  color:#1d4ed8;
}

.tool-card__tag--amber{
  background:#fffbeb;
  color:#b45309;
}

.tool-card__title{
  margin:0;
  font-size:24px;
  line-height:1.3;
  font-weight:900;
}

.tool-card__desc{
  margin:14px 0 0;
  font-size:15px;
  color:var(--site-text-soft);
}

.tool-card__bottom{
  margin-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.tool-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:var(--site-brand);
  color:#fff;
  font-size:14px;
  font-weight:800;
  box-shadow:var(--site-shadow-soft);
}

.tool-card__arrow{
  color:#94a3b8;
  font-size:18px;
  font-weight:900;
}

.site-footer-shell{
  margin-top:40px;
}

.site-footer{
  border-top:1px solid var(--site-line);
  background:#fff;
}

.site-footer__inner{
  width:min(calc(100% - 32px), var(--site-content-width));
  margin:0 auto;
  padding:26px 0 28px;
}

.site-footer__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.site-footer__title{
  font-size:18px;
  font-weight:900;
  color:var(--site-text);
}

.site-footer__desc{
  margin:8px 0 0;
  font-size:14px;
  color:var(--site-text-muted);
}

.site-footer__nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
}

.site-footer__nav a{
  font-size:14px;
  font-weight:700;
  color:var(--site-text-soft);
}

.site-footer__nav a:hover{
  color:var(--site-text);
}

.site-footer__bottom{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--site-line);
  font-size:13px;
  color:var(--site-text-muted);
}

@media (max-width: 1200px){
  .home-tools__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .site-nav--desktop{
    display:none;
  }

  .site-menu-btn{
    display:flex;
  }
}

@media (max-width: 767px){
  :root{
    --site-header-height:88px;
  }

  .site-header__inner{
    min-height:88px;
  }

  .site-main{
    width:min(calc(100% - 24px), var(--site-content-width));
    padding-top:calc(var(--site-header-height) + 24px);
  }

  .home-hero{
    padding:24px 20px;
  }

  .home-hero__title{
    font-size:30px;
  }

  .home-hero__desc{
    font-size:15px;
  }

  .home-stats{
    grid-template-columns:1fr;
  }

  .home-tools__title{
    font-size:26px;
  }

  .home-tools__grid{
    grid-template-columns:1fr;
  }

  .site-footer__top{
    flex-direction:column;
  }
}

@media (max-width: 560px){
  .site-header__inner{
    gap:12px;
  }

  .site-brand{
    gap:10px;
    padding-left:0;
  }

  .site-brand__logo{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .site-brand__title{
    font-size:16px;
  }

  .site-brand__subtitle{
    font-size:11px;
    max-width:180px;
  }
}