@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #0668ff;
  --blue-dark: #0045b8;
  --ink: #0a1830;
  --muted: #5b687c;
  --line: #dce3ed;
  --paper: #f4f7fb;
  --white: #fff;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 259.2px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; }
.nav-contact:hover { color: #fff !important; background: var(--ink); }

.hero { overflow: hidden; background: linear-gradient(135deg, #f8fbff 0%, #eef4fc 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 72px; padding-block: 76px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.17; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 650px; margin: 28px 0 34px; color: var(--muted); font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 5px; padding: 11px 20px; font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(6,104,255,.2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--line); background: #fff; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }

.hero-panel { position: relative; min-height: 480px; isolation: isolate; }
.hero-panel::before { content: ""; position: absolute; inset: 4% -25% -10% 5%; z-index: -2; background-image: linear-gradient(rgba(6,104,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(6,104,255,.1) 1px, transparent 1px); background-size: 32px 32px; transform: perspective(500px) rotateY(-8deg) rotateZ(-3deg); }
.hero-panel::after { content: "AI"; position: absolute; right: -2%; top: -12%; z-index: -1; color: rgba(6,104,255,.06); font-family: var(--mono); font-size: 260px; font-weight: 600; line-height: 1; }
.tech-card { position: absolute; display: flex; flex-direction: column; border: 1px solid rgba(6,104,255,.2); background: rgba(255,255,255,.92); box-shadow: 0 24px 60px rgba(17,50,92,.14); backdrop-filter: blur(10px); padding: 24px; }
.tech-card strong { margin: 30px 0 4px; font-family: var(--mono); font-size: 16px; }
.tech-card small { color: var(--muted); }
.tech-index { color: var(--blue); font-family: var(--mono); font-size: 12px; }
.tech-card-main { width: 72%; min-height: 190px; right: 2%; top: 68px; border-top: 4px solid var(--blue); }
.tech-card-left { width: 52%; min-height: 168px; left: 1%; bottom: 42px; }
.tech-card-right { width: 47%; min-height: 168px; right: -2%; bottom: -3px; }
.signal { position: absolute; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 8px rgba(6,104,255,.08); }
.signal-one { width: 10px; height: 10px; left: 12%; top: 22%; }
.signal-two { width: 7px; height: 7px; right: 7%; bottom: 31%; }

.section { padding-block: 110px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 44px; }
.section-heading h2, .course-content h2, .tool-copy h2, .banner-inner h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.28; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { position: relative; min-height: 330px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px; transition: .25s ease; }
.feature-card:hover { z-index: 2; background: var(--paper); box-shadow: 0 20px 50px rgba(19,44,81,.08); transform: translateY(-4px); }
.feature-blue { background: var(--blue); color: #fff; }
.feature-blue:hover { background: var(--blue-dark); }
.card-number { position: absolute; right: 28px; top: 24px; color: rgba(91,104,124,.35); font-family: var(--mono); font-size: 34px; }
.feature-blue .card-number { color: rgba(255,255,255,.35); }
.card-label { margin: 0 0 72px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.feature-card h3 { margin: 0 0 14px; font-size: 23px; }
.feature-card p:not(.card-label) { color: var(--muted); font-size: 14px; }
.feature-blue p:not(.card-label) { color: rgba(255,255,255,.78); }
.feature-card a { position: absolute; left: 34px; bottom: 30px; font-size: 14px; font-weight: 700; text-decoration: none; }

.course-section { overflow: hidden; background: var(--ink); color: #fff; }
.course-layout { display: grid; grid-template-columns: 230px 1fr; gap: 80px; }
.course-aside { position: relative; border-right: 1px solid rgba(255,255,255,.16); }
.course-aside .eyebrow { color: #7fb2ff; }
.vertical-word { position: absolute; left: -12px; bottom: -80px; margin: 0; color: rgba(255,255,255,.04); font-family: var(--mono); font-size: 140px; font-weight: 600; writing-mode: vertical-rl; }
.course-content { max-width: 790px; }
.status-pill { display: inline-block; margin-bottom: 18px; border-radius: 999px; background: rgba(6,104,255,.24); color: #a8c9ff; padding: 5px 13px; font-family: var(--mono); font-size: 11px; }
.course-content > p { max-width: 760px; margin: 24px 0 30px; color: #b9c4d5; }
.detail-list { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.detail-list li { display: flex; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.16); padding: 14px 0; color: #e7edf6; }
.detail-list span { color: #6fa6ff; font-family: var(--mono); font-size: 12px; }

.tool-highlight { background: var(--paper); }
.tool-layout { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 90px; }
.video-shell { overflow: hidden; border: 1px solid #c8d4e5; background: #fff; box-shadow: 28px 28px 0 #dce9ff; }
.preview-top { height: 48px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); padding: 0 18px; }
.preview-top span { width: 8px; height: 8px; border-radius: 50%; background: #c2ccda; }
.preview-top small { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.video-frame { aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-file-fallback { height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 32px; color: #fff; text-align: center; }
.video-file-fallback[hidden] { display: none; }
.video-file-fallback p { margin: 0; color: #dbe5f3; }
.video-file-fallback a { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 10px 18px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.video-file-fallback a:hover { background: #fff; color: var(--ink); }
.tool-copy > p:not(.eyebrow) { margin: 22px 0 30px; color: var(--muted); }
.text-link { color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; }

.studio-banner { background: var(--blue); color: #fff; }
.studio-banner .eyebrow { color: rgba(255,255,255,.7); }
.banner-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 100px; }
.banner-inner p { margin: 0 0 20px; color: rgba(255,255,255,.82); }
.button-light { border-color: rgba(255,255,255,.5); color: #fff; }
.button-light:hover { background: #fff; color: var(--blue); }

.site-footer { background: #071222; color: #dbe4f1; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .55fr .8fr; gap: 58px; padding-bottom: 54px; }
.footer-logo { width: 230px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin: 14px 0 8px; color: #8492a6; font-size: 13px; }
.footer-email { color: #dbe4f1; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.footer-email:hover { color: #fff; }
.footer-socials { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.footer-social-link { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 2px solid #77869a; border-radius: 50%; color: #dbe4f1; font-family: Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.footer-social-link:hover { border-color: #fff; background: #fff; color: #071222; }
.footer-social-youtube { font-size: 12px; padding-left: 2px; }
.footer-group h2 { margin: 4px 0 18px; color: #77869a; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }
.footer-links a { color: #b7c4d6; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-related { border-left: 1px solid rgba(255,255,255,.12); padding-left: 30px; }
.related-brand { display: flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; }
.related-brand span { color: #8f9cb0; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.related-brand strong { font-size: 14px; }
.related-brand i { color: #74a9ff; font-style: normal; }
.related-brand:hover strong { color: #9cc1ff; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; color: #77869b; font-size: 11px; text-align: center; }

/* 內頁 */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 90px 0 76px; }
.page-hero h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.15; letter-spacing: -.05em; }
.page-hero .lead { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.breadcrumb { margin-bottom: 30px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.breadcrumb a { text-decoration: none; }
.catalog { padding: 80px 0 110px; }
.catalog-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.catalog-visual { min-height: 390px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.catalog-mark { position: relative; width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); font-family: var(--mono); font-size: 68px; font-weight: 600; }
.catalog-mark::before, .catalog-mark::after { content: ""; position: absolute; background: var(--blue); }
.catalog-mark::before { width: 55%; height: 4px; right: -25%; top: 25%; }
.catalog-mark::after { width: 4px; height: 55%; left: 25%; bottom: -25%; }
.catalog-copy { padding: 54px; }
.catalog-copy h2 { margin: 0 0 14px; font-size: 36px; }
.catalog-copy > p { color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.meta-row span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.empty-note { margin-top: 24px; border: 1px dashed #b9c7da; background: var(--paper); padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.product-hero { overflow: hidden; background: var(--ink); color: #fff; padding: 96px 0; }
.product-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 90px; }
.product-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: 1.05; letter-spacing: -.055em; }
.product-hero h1 span { display: block; margin-top: 18px; color: #a8c9ff; font-size: .4em; letter-spacing: -.02em; }
.product-hero .lead { max-width: 620px; margin: 28px 0 34px; color: #b8c4d5; }
.product-diagram { min-height: 360px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; }
.diagram-stack { display: grid; gap: 12px; width: 68%; transform: rotate(-4deg); }
.diagram-stack span { border: 1px solid rgba(255,255,255,.28); background: rgba(7,18,34,.92); padding: 14px 18px; font-family: var(--mono); font-size: 12px; }
.diagram-stack span:nth-child(2) { margin-left: 24px; border-color: rgba(6,104,255,.7); color: #8ab8ff; }
.diagram-stack span:nth-child(3) { margin-left: 48px; background: var(--blue); border-color: var(--blue); }
.product-video-section { background: var(--paper); padding: 100px 0; }
.product-video-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 80px; }
.product-video-grid h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.28; letter-spacing: -.035em; }
.product-video-shell { box-shadow: 20px 20px 0 #dce9ff; }
.process-section { padding: 100px 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.process-card { border-right: 1px solid var(--line); padding: 30px; }
.process-card:last-child { border-right: 0; }
.process-card span { color: var(--blue); font-family: var(--mono); font-size: 12px; }
.process-card h3 { margin: 34px 0 10px; }
.process-card p { color: var(--muted); font-size: 14px; }
.notice { border-left: 4px solid var(--blue); background: var(--paper); padding: 22px 26px; color: var(--muted); font-size: 13px; }
.cta-strip { background: var(--blue); color: #fff; padding: 46px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-strip h2 { margin: 0; font-size: 30px; }

@media (max-width: 920px) {
  .header-inner { padding-block: 18px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-nav { width: 100%; overflow-x: auto; gap: 20px; padding-bottom: 4px; white-space: nowrap; }
  .nav-contact { padding: 5px 12px; }
  .hero-grid, .tool-layout, .product-grid, .product-video-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; padding-block: 64px; }
  .hero-panel { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 290px; }
  .course-layout { grid-template-columns: 1fr; gap: 30px; }
  .course-aside { border: 0; }
  .vertical-word { display: none; }
  .banner-inner, .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .catalog-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-related { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 28px 0 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1160px); }
  .brand img { width: 211.5px; }
  .site-nav { font-size: 13px; }
  .hero-grid { min-height: auto; padding-block: 54px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .hero-panel { min-height: 380px; }
  .tech-card { padding: 18px; }
  .tech-card-main { width: 86%; right: 0; }
  .tech-card-left { width: 66%; }
  .tech-card-right { width: 62%; }
  .tech-card strong { margin-top: 22px; font-size: 13px; }
  .tech-card small { font-size: 11px; }
  .section { padding-block: 74px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .course-content h2, .tool-copy h2, .banner-inner h2 { font-size: 33px; }
  .course-content h2 br { display: none; }
  .video-shell { box-shadow: 12px 12px 0 #dce9ff; }
  .page-hero { padding: 60px 0; }
  .page-hero h1 { font-size: 43px; }
  .catalog-copy { padding: 32px 24px; }
  .catalog-visual { min-height: 300px; }
  .product-hero { padding: 66px 0; }
  .product-diagram { min-height: 280px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .cta-strip .container { align-items: flex-start; flex-direction: column; }
}
