:root{
  --theme:#0B3D91;
  --theme-source:{主题色};
  --theme-dark:#072c68;
  --theme-soft:#eaf1fb;
  --ink:#17243b;
  --muted:#63718a;
  --line:#dce4ef;
  --surface:#ffffff;
  --page:#f4f7fb;
  --mint:#dff4ee;
  --peach:#fbe8df;
  --lilac:#ebe7fa;
  --sky:#e3f0fb;
  --sand:#f5eedb;
  --rose:#f8e4ec;
  --radius:18px;
  --shadow:0 16px 40px rgba(27,52,91,.12);
  --container:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--page);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang HK","Microsoft JhengHei",sans-serif;
  line-height:1.65;
}
body.drawer-lock{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.container{width:min(var(--container),calc(100% - 36px));margin-inline:auto}
.skip-link{
  position:absolute;
  left:16px;
  top:-80px;
  z-index:9999;
  padding:10px 16px;
  border-radius:10px;
  color:#fff;
  background:var(--theme);
}
.skip-link:focus{top:12px}
.topbar{
  position:relative;
  z-index:80;
  color:#dce8fb;
  background:#071d40;
  font-size:13px;
}
.topbar-inner{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.topbar-contact{display:flex;align-items:center;gap:18px}
.topbar a:hover{color:#fff}
.header{
  position:sticky;
  top:0;
  z-index:70;
  border-bottom:1px solid rgba(11,61,145,.1);
  background:rgba(255,255,255,.96);
  box-shadow:0 6px 24px rgba(20,43,78,.06);
  backdrop-filter:blur(14px);
}
.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:28px;
}
.logo{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--theme-dark);
  font-size:18px;
  font-weight:850;
}
.logo img{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:11px;
}
.main-nav{align-self:stretch;margin-left:auto}
.nav-list{
  height:100%;
  display:flex;
  align-items:stretch;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-item{position:relative;display:flex;align-items:center}
.nav-link{
  min-height:76px;
  display:flex;
  align-items:center;
  padding:0 11px;
  color:#31405a;
  font-size:14px;
  font-weight:750;
  white-space:nowrap;
}
.nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--theme)}
.has-arrow::after{
  width:6px;
  height:6px;
  margin:-4px 0 0 7px;
  border-right:1.5px solid;
  border-bottom:1.5px solid;
  transform:rotate(45deg);
  content:"";
}
.dropdown-panel,.mega-menu{
  position:absolute;
  top:100%;
  left:50%;
  z-index:100;
  visibility:hidden;
  opacity:0;
  transform:translate(-50%,10px);
  transition:.2s ease;
  pointer-events:none;
}
.nav-item:hover>.dropdown-panel,
.nav-item:focus-within>.dropdown-panel,
.nav-item:hover>.mega-menu,
.nav-item:focus-within>.mega-menu{
  visibility:visible;
  opacity:1;
  transform:translate(-50%,0);
  pointer-events:auto;
}
.dropdown-panel{
  width:340px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:0 0 16px 16px;
  background:#fff;
  box-shadow:var(--shadow);
}
.dropdown-panel a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:#34425a;
  font-size:14px;
}
.dropdown-panel a:hover{color:var(--theme);background:var(--theme-soft)}
.dropdown-footer{
  margin-top:7px;
  border-top:1px solid var(--line);
  color:var(--theme)!important;
  font-weight:800;
}
.mega-menu{
  width:min(920px,calc(100vw - 32px));
  padding:22px;
  border:1px solid var(--line);
  border-radius:0 0 20px 20px;
  background:#fff;
  box-shadow:var(--shadow);
}
.mega-menu-wide{width:min(1040px,calc(100vw - 32px))}
.mega-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}
.mega-head strong{font-size:17px;color:var(--theme-dark)}
.mega-head span{color:var(--muted);font-size:13px}
.mega-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.mega-card{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fbfcfe;
  transition:.2s ease;
}
.mega-card:hover{border-color:#aac0e2;background:var(--theme-soft);transform:translateY(-2px)}
.mega-card img{
  width:48px;
  height:48px;
  flex:0 0 auto;
  border-radius:11px;
  object-fit:cover;
  background:#edf2f8;
}
.mega-card-text{min-width:0}
.mega-card b,.mega-card small{display:block}
.mega-card b{overflow:hidden;color:#22324b;text-overflow:ellipsis;white-space:nowrap}
.mega-card small{margin-top:3px;color:var(--muted);font-size:12px}
.mega-card p{
  display:-webkit-box;
  overflow:hidden;
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.mega-categories{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}
.mega-categories a{
  padding:7px 11px;
  border-radius:999px;
  color:var(--theme-dark);
  background:var(--theme-soft);
  font-size:13px;
  font-weight:700;
}
.mega-footer{
  display:flex;
  justify-content:center;
  margin-top:16px;
  padding:10px;
  border-radius:11px;
  color:var(--theme);
  background:#f1f5fb;
  font-size:14px;
  font-weight:800;
}
.header-btns{display:flex;align-items:center;gap:8px}
.header-btns>a{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:11px;
  font-size:14px;
  font-weight:800;
}
.member-entry{color:var(--theme);background:var(--theme-soft)}
.account-btn{color:#fff;background:var(--theme)}
.hamburger{
  width:44px;
  height:42px;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border:0;
  border-radius:11px;
  background:var(--theme-soft);
}
.hamburger span{width:21px;height:2px;border-radius:2px;background:var(--theme);transition:.2s}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.drawer-overlay{
  position:fixed;
  inset:0;
  z-index:190;
  visibility:hidden;
  opacity:0;
  background:rgba(5,19,42,.55);
  transition:.25s;
}
.drawer-overlay.open{visibility:visible;opacity:1}
.mobile-drawer{
  position:fixed;
  top:0;
  right:0;
  z-index:200;
  width:min(390px,92vw);
  height:100dvh;
  overflow-y:auto;
  background:#fff;
  box-shadow:-22px 0 55px rgba(0,0,0,.18);
  transform:translateX(105%);
  transition:.28s ease;
}
.mobile-drawer.open{transform:translateX(0)}
.drawer-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  padding:16px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.drawer-head>a{
  padding:8px 11px;
  border-radius:9px;
  color:var(--theme);
  background:var(--theme-soft);
  font-size:14px;
  font-weight:800;
}
.drawer-close{
  width:38px;
  height:38px;
  margin-left:auto;
  border:0;
  border-radius:10px;
  color:#34415a;
  background:#eef2f7;
  font-size:26px;
  line-height:1;
}
.drawer-menu{padding:12px 16px 30px}
.drawer-link,.drawer-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 8px;
  border:0;
  border-bottom:1px solid #edf0f5;
  color:#283750;
  background:transparent;
  text-align:left;
  font-weight:800;
}
.drawer-toggle::after{content:"＋";color:var(--theme)}
.drawer-toggle.active::after{content:"－"}
.drawer-submenu{display:none;padding:7px 0 10px 12px}
.drawer-submenu.open{display:block}
.drawer-submenu a{
  display:block;
  padding:9px 12px;
  border-radius:8px;
  color:var(--muted);
  font-size:14px;
}
.drawer-submenu a:hover{color:var(--theme);background:var(--theme-soft)}
.hero{
  position:relative;
  overflow:hidden;
  padding:76px 0 84px;
  background:
    radial-gradient(circle at 12% 12%,rgba(187,214,246,.72),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(226,211,245,.7),transparent 27%),
    linear-gradient(180deg,#f8fbff 0%,#eef3f9 100%);
}
.hero::before,.hero::after{
  position:absolute;
  border:1px solid rgba(11,61,145,.09);
  border-radius:50%;
  content:"";
}
.hero::before{width:420px;height:420px;left:-230px;bottom:-180px}
.hero::after{width:300px;height:300px;right:-170px;top:90px}
.hero-heading{
  position:relative;
  z-index:1;
  max-width:850px;
  margin:0 auto 42px;
  text-align:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:7px 13px;
  border:1px solid rgba(11,61,145,.14);
  border-radius:999px;
  color:var(--theme);
  background:rgba(255,255,255,.68);
  font-size:13px;
  font-weight:850;
}
.eyebrow::before{width:7px;height:7px;border-radius:50%;background:var(--theme);content:""}
.hero h1{
  margin:0;
  color:#11294f;
  font-size:clamp(38px,6vw,68px);
  line-height:1.12;
  letter-spacing:-.035em;
}
.hero-intro{max-width:700px;margin:18px auto 0;color:#566782;font-size:18px}
.hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;margin-top:25px}
.btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:11px 20px;
  border:1px solid transparent;
  border-radius:12px;
  font-weight:850;
}
.btn-primary{color:#fff;background:var(--theme);box-shadow:0 10px 24px rgba(11,61,145,.22)}
.btn-secondary{border-color:#bfcde0;color:var(--theme-dark);background:rgba(255,255,255,.8)}
.flip-wall{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.flip-card{min-height:220px;perspective:1100px}
.flip-card-inner{
  position:relative;
  width:100%;
  height:100%;
  min-height:220px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transform-style:preserve-3d;
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}
.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner{transform:rotateY(180deg)}
.flip-face{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:var(--radius);
  backface-visibility:hidden;
}
.flip-front{background:var(--card-color,#fff)}
.flip-back{
  align-items:flex-start;
  justify-content:center;
  color:#fff;
  background:linear-gradient(145deg,var(--theme),var(--theme-dark));
  transform:rotateY(180deg);
}
.flip-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  margin-bottom:auto;
  border-radius:14px;
  color:var(--theme-dark);
  background:rgba(255,255,255,.72);
  font-size:20px;
  font-weight:900;
}
.flip-face h2{margin:20px 0 6px;font-size:21px;line-height:1.3}
.flip-face p{margin:0;color:#56657b;font-size:14px}
.flip-back h2{margin:0 0 10px;color:#fff}
.flip-back p{color:#dbe8ff}
.flip-back a{
  margin-top:18px;
  padding:8px 12px;
  border-radius:9px;
  color:var(--theme-dark);
  background:#fff;
  font-size:13px;
  font-weight:850;
}
.flip-hint{position:absolute;right:18px;top:16px;color:#6b7890;font-size:11px;font-weight:800}
.tone-sky{--card-color:var(--sky)}
.tone-mint{--card-color:var(--mint)}
.tone-peach{--card-color:var(--peach)}
.tone-lilac{--card-color:var(--lilac)}
.tone-sand{--card-color:var(--sand)}
.tone-rose{--card-color:var(--rose)}
.home-section{padding:76px 0}
.home-section.alt{background:#fff}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.section-head h2{margin:0;color:#162b4d;font-size:clamp(28px,4vw,40px);line-height:1.2}
.section-head p{max-width:650px;margin:9px 0 0;color:var(--muted)}
.section-link{flex:0 0 auto;color:var(--theme);font-weight:850}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.content-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 10px 30px rgba(35,57,89,.08);
  transition:.22s ease;
}
.content-card:hover{border-color:#b5c6df;transform:translateY(-4px)}
.card-cover{width:100%;height:190px;object-fit:cover;background:#e9eef5}
.card-body{padding:20px}
.card-label{
  display:inline-flex;
  margin-bottom:9px;
  padding:5px 9px;
  border-radius:999px;
  color:var(--theme);
  background:var(--theme-soft);
  font-size:12px;
  font-weight:850;
}
.card-body h3{margin:0;color:#21324c;font-size:18px;line-height:1.4}
.card-body p{
  display:-webkit-box;
  overflow:hidden;
  margin:9px 0 0;
  color:var(--muted);
  font-size:14px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.card-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;color:#7b8799;font-size:12px}
.broker-card{padding:21px}
.broker-top{display:flex;align-items:center;gap:13px}
.broker-top img{width:54px;height:54px;border-radius:13px;object-fit:contain;background:#f0f3f8}
.broker-top h3{margin:0;font-size:18px}
.rating{color:#a76b00;font-size:13px;font-weight:850}
.broker-data{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
}
.broker-data span{padding:10px 6px;border-radius:10px;background:#f3f6fa;text-align:center;color:var(--muted);font-size:11px}
.broker-data b{display:block;color:#243650;font-size:13px}
.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tool-card{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.tool-card:hover{border-color:#aebfda;box-shadow:0 12px 28px rgba(31,54,88,.09)}
.tool-card img{width:46px;height:46px;flex:0 0 auto;border-radius:12px;object-fit:contain;background:var(--theme-soft)}
.tool-card h3{margin:0 0 5px;font-size:17px}
.tool-card p{margin:0;color:var(--muted);font-size:13px}
.video-cover{position:relative}
.video-cover::after{
  position:absolute;
  left:18px;
  bottom:16px;
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--theme);
  background:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  content:"▶";
}
.video-duration{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:1;
  padding:3px 7px;
  border-radius:6px;
  color:#fff;
  background:rgba(5,14,28,.78);
  font-size:12px;
}
.faq-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.faq-item{
  padding:20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}
.faq-item h3{margin:0 0 8px;color:#253751;font-size:17px}
.faq-item p{margin:0;color:var(--muted);font-size:14px}
.cta-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:38px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(125deg,var(--theme-dark),var(--theme));
  box-shadow:0 20px 45px rgba(11,61,145,.25);
}
.cta-panel h2{margin:0;font-size:clamp(26px,4vw,39px)}
.cta-panel p{margin:8px 0 0;color:#dce8fb}
.cta-panel .btn{flex:0 0 auto;color:var(--theme-dark);background:#fff}
.footer{padding:56px 0 22px;color:#cbd6e8;background:#071a39}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:36px;
}
.footer-brand .logo{color:#fff}
.footer-brand p{max-width:370px;margin:16px 0;color:#aebbd0;font-size:14px}
.footer h2{margin:0 0 15px;color:#fff;font-size:16px}
.footer-links{display:grid;gap:8px}
.footer-links a{color:#b8c5d9;font-size:14px}
.footer-links a:hover{color:#fff}
.footer-contact{display:grid;gap:8px;font-size:14px}
.footer-contact a{overflow-wrap:anywhere}
.footer-social{margin-top:13px;color:#fff}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:38px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#97a8c2;
  font-size:13px;
}
@media (max-width:1100px){
  .main-nav{display:none}
  .header-inner{min-height:68px}
  .header-btns{margin-left:auto}
  .hamburger{display:flex}
  .header-btns>a{display:none}
  .flip-wall,.card-grid,.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .container{width:min(100% - 24px,var(--container))}
  .topbar-inner{min-height:42px}
  .topbar-welcome{display:none}
  .topbar-contact{width:100%;justify-content:space-between;gap:8px;font-size:11px}
  .logo span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hero{padding:52px 0 58px}
  .hero-heading{margin-bottom:30px}
  .hero-intro{font-size:16px}
  .flip-wall,.card-grid,.tool-grid,.faq-wrap{grid-template-columns:1fr}
  .flip-card,.flip-card-inner{min-height:210px}
  .home-section{padding:56px 0}
  .section-head{display:block}
  .section-link{display:inline-flex;margin-top:13px}
  .cta-panel{display:block;padding:28px}
  .cta-panel .btn{margin-top:22px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{display:block}
  .footer-bottom span{display:block;margin-top:7px}
}
@media (max-width:480px){
  .logo img{width:38px;height:38px}
  .logo span{max-width:145px;font-size:16px}
  .hero-actions .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .broker-data{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important}
}