:root {
      --primary: #0B3D91;
      --primary-dark: #06275f;
      --primary-soft: #eaf2ff;
      --indigo: #111b4d;
      --cyan: #13a8c7;
      --ink: #172033;
      --muted: #657087;
      --line: #dce3ed;
      --surface: #f5f7fb;
      --white: #fff;
      --danger: #c93b4b;
      --shadow: 0 14px 36px rgba(17, 27, 77, .1);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: Arial, "Noto Sans TC", "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 {
      color: inherit;
    }

    .container {
      width: min(var(--container), calc(100% - 40px));
      margin-inline: auto;
    }

    .topbar {
      color: #dce9ff;
      background: var(--indigo);
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar-contact {
      display: flex;
      gap: 22px;
    }

    .topbar a:hover {
      color: var(--white);
    }

    .header {
      position: relative;
      z-index: 40;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 255, 255, .98);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--indigo);
      font-weight: 800;
    }

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      object-fit: contain;
    }

    .logo span {
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      margin-left: auto;
    }

    .nav-list {
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      min-height: 76px;
      padding: 0 13px;
      display: flex;
      align-items: center;
      gap: 6px;
      color: #26334d;
      font-size: 14px;
      font-weight: 700;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link {
      color: var(--primary);
    }

    .has-arrow::after {
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: rotate(45deg) translateY(-2px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 60;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .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;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown-panel {
      width: 320px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 0 0 6px 6px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .dropdown-title {
      margin-bottom: 10px;
      display: block;
      color: var(--indigo);
    }

    .dropdown-article {
      padding: 9px 0;
      display: block;
      border-bottom: 1px solid #edf1f6;
      color: #40506b;
      font-size: 14px;
    }

    .dropdown-article:hover,
    .dropdown-more:hover {
      color: var(--primary);
    }

    .dropdown-more {
      margin-top: 13px;
      display: inline-block;
      color: var(--primary);
      font-weight: 800;
    }

    .mega-menu {
      left: 50%;
      width: min(880px, calc(100vw - 40px));
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 0 0 6px 6px;
      background: var(--white);
      box-shadow: var(--shadow);
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      transform: translate(-50%, 0);
    }

    .mega-menu-title {
      margin-bottom: 16px;
      padding-bottom: 13px;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 15px;
      border-bottom: 1px solid var(--line);
    }

    .mega-menu-title strong {
      color: var(--indigo);
      font-size: 18px;
    }

    .mega-menu-title 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;
      padding: 13px;
      border: 1px solid #e6ebf2;
      border-radius: 6px;
      background: #fbfcfe;
    }

    .mega-card:hover {
      border-color: #a9c2eb;
      background: var(--primary-soft);
    }

    .mega-card-head {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .mega-card-head img {
      width: 34px;
      height: 34px;
      flex: 0 0 auto;
      object-fit: contain;
    }

    .mega-card strong {
      color: var(--indigo);
      font-size: 14px;
    }

    .mega-card p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .mega-stats {
      margin-top: 9px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .mega-stats span {
      padding: 2px 6px;
      color: var(--primary);
      background: var(--primary-soft);
      font-size: 11px;
      font-weight: 700;
    }

    .mega-footer {
      margin-top: 16px;
      padding-top: 13px;
      display: block;
      border-top: 1px solid var(--line);
      color: var(--primary);
      text-align: right;
      font-size: 14px;
      font-weight: 800;
    }

    .mega-split {
      display: grid;
      grid-template-columns: 180px minmax(0, 1fr);
      gap: 18px;
    }

    .mega-categories {
      display: flex;
      flex-direction: column;
      border-right: 1px solid var(--line);
    }

    .mega-categories a {
      padding: 8px 12px;
      color: #43506a;
      font-size: 13px;
    }

    .mega-categories a:hover {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .video-mega-card,
    .product-mega-card {
      display: grid;
      grid-template-columns: 78px minmax(0, 1fr);
      gap: 10px;
    }

    .video-mega-card > img,
    .product-mega-card > img {
      width: 78px;
      height: 62px;
      object-fit: cover;
      border-radius: 4px;
    }

    .video-mega-copy,
    .product-mega-copy {
      min-width: 0;
    }

    .video-mega-copy strong,
    .product-mega-copy strong {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .video-mega-copy p,
    .product-mega-copy p {
      margin-top: 4px;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .video-duration,
    .product-meta {
      color: var(--primary);
      font-size: 11px;
      font-weight: 700;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn {
      min-height: 42px;
      padding: 9px 17px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: 5px;
      font-weight: 800;
      cursor: pointer;
    }

    .btn-primary {
      color: var(--white);
      background: var(--primary);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
    }

    .btn-small {
      min-height: 38px;
      padding: 7px 13px;
      font-size: 13px;
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 9px;
      display: none;
      border: 1px solid var(--line);
      border-radius: 5px;
      background: var(--white);
      cursor: pointer;
    }

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 4px 0;
      display: block;
      background: var(--indigo);
      transition: transform .2s ease, opacity .2s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 90;
      visibility: hidden;
      opacity: 0;
      background: rgba(8, 17, 43, .58);
      transition: opacity .22s ease, visibility .22s;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 100;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: var(--white);
      box-shadow: -18px 0 40px rgba(8, 17, 43, .2);
      transform: translateX(105%);
      transition: transform .24s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 70px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > a {
      color: var(--primary);
      font-weight: 800;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      border: 0;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 10px 18px 28px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      padding: 11px 3px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      text-align: left;
      font-weight: 800;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      color: var(--primary);
      font-size: 20px;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: var(--surface);
      transition: max-height .25s ease;
    }

    .drawer-submenu.open {
      max-height: 720px;
    }

    .drawer-submenu a {
      padding: 9px 15px;
      display: block;
      border-bottom: 1px solid #e4e9f1;
      color: #4b5870;
      font-size: 14px;
    }

    .video-page {
      min-height: 650px;
      background: var(--surface);
    }

    .video-page .video-heading {
      padding: 72px 0 60px;
      color: var(--white);
      background:
        linear-gradient(rgba(6, 39, 95, .92), rgba(17, 27, 77, .96)),
        radial-gradient(circle at 80% 20%, #13a8c7 0, transparent 34%);
    }

    .video-page .eyebrow {
      margin: 0 0 10px;
      color: #7de1f1;
      font-size: 13px;
      font-weight: 800;
    }

    .video-page h1 {
      max-width: 760px;
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.16;
    }

    .video-page .heading-copy {
      max-width: 720px;
      margin: 18px 0 0;
      color: #d6e4ff;
      font-size: 17px;
    }

    .video-page .category-band {
      border-bottom: 1px solid var(--line);
      background: var(--white);
    }

    .video-page .category-scroll {
      padding: 15px 0;
      display: flex;
      gap: 9px;
      overflow-x: auto;
      scrollbar-width: thin;
    }

    .video-page .category-chip {
      min-height: 38px;
      padding: 7px 15px;
      flex: 0 0 auto;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: #42506b;
      background: var(--white);
      font-size: 14px;
      font-weight: 700;
    }

    .video-page .category-chip:hover {
      color: var(--white);
      border-color: var(--primary);
      background: var(--primary);
    }

    .video-page .video-section {
      padding: 54px 0 76px;
    }

    .video-page .section-head {
      margin-bottom: 24px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
    }

    .video-page .section-head h2 {
      margin: 0;
      color: var(--indigo);
      font-size: 28px;
    }

    .video-page .section-head p {
      margin: 0;
      color: var(--muted);
    }

    .video-page .video-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .video-page .video-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: var(--white);
      box-shadow: 0 8px 24px rgba(17, 27, 77, .06);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .video-page .video-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }

    .video-page .video-cover {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: var(--indigo);
    }

    .video-page .video-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .3s ease;
    }

    .video-page .video-card:hover .video-cover img {
      transform: scale(1.04);
    }

    .video-page .play-mark {
      position: absolute;
      inset: 50% auto auto 50%;
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border: 2px solid rgba(255, 255, 255, .8);
      border-radius: 50%;
      color: var(--white);
      background: rgba(11, 61, 145, .86);
      transform: translate(-50%, -50%);
    }

    .video-page .play-mark::after {
      margin-left: 3px;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 11px solid currentColor;
      content: "";
    }

    .video-page .duration {
      position: absolute;
      right: 9px;
      bottom: 9px;
      padding: 3px 7px;
      color: var(--white);
      background: rgba(8, 17, 43, .86);
      font-size: 12px;
      font-weight: 800;
    }

    .video-page .video-body {
      padding: 18px;
    }

    .video-page .video-label {
      color: var(--primary);
      font-size: 12px;
      font-weight: 800;
    }

    .video-page .video-body h3 {
      margin: 7px 0 8px;
      color: var(--indigo);
      font-size: 19px;
      line-height: 1.4;
    }

    .video-page .video-body p {
      min-height: 4.8em;
      margin: 0;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .video-page .watch-link {
      margin-top: 15px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--primary);
      font-size: 14px;
      font-weight: 800;
    }

    .video-page .pagination {
      margin-top: 42px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .video-page .pagination a {
      min-width: 40px;
      min-height: 40px;
      padding: 7px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: #42506b;
      background: var(--white);
      font-weight: 700;
    }

    .video-page .pagination a:hover,
    .video-page .pagination a.active,
    .video-page .pagination a.current {
      color: var(--white);
      border-color: var(--primary);
      background: var(--primary);
    }

    .footer {
      color: #cbd6eb;
      background: #0b1533;
    }

    .footer-main {
      padding: 58px 0 42px;
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
      gap: 42px;
    }

    .footer .logo {
      color: var(--white);
    }

    .footer-brand p {
      max-width: 390px;
      margin: 18px 0 0;
      color: #9eabc4;
      font-size: 14px;
    }

    .footer-title {
      margin: 0 0 16px;
      color: var(--white);
      font-size: 16px;
    }

    .footer-links,
    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .footer-links a,
    .footer-contact a {
      color: #aebbd1;
      font-size: 14px;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: var(--white);
    }

    .social-link {
      color: #77d4e8 !important;
      font-weight: 800;
    }

    .footer-bottom {
      min-height: 65px;
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, .1);
      color: #8492ad;
      font-size: 13px;
    }

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

      .hamburger {
        display: block;
      }

      .header-btns {
        margin-left: auto;
      }

      .video-page .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 700px) {
      .container {
        width: min(100% - 28px, var(--container));
      }

      .topbar-inner {
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 4px 14px;
      }

      .header-inner {
        min-height: 66px;
        gap: 12px;
      }

      .header .logo span {
        max-width: 112px;
      }

      .header-btns > .btn {
        display: none;
      }

      .video-page .video-heading {
        padding: 52px 0 45px;
      }

      .video-page h1 {
        font-size: 36px;
      }

      .video-page .heading-copy {
        font-size: 15px;
      }

      .video-page .video-section {
        padding: 40px 0 58px;
      }

      .video-page .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }

      .video-page .video-grid {
        grid-template-columns: 1fr;
      }

      .footer-main {
        padding-top: 44px;
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
      }
    }