:root {
  --ink: #08111f;
  --muted: #627086;
  --paper: #f5f8fc;
  --line: rgba(13, 35, 63, .11);
  --cyan: #29d8ee;
  --blue: #2769ff;
  --violet: #8d59ff;
  --dark: #050914;
  --display: 'Space Grotesk', 'Noto Sans TC', sans-serif;
}

* { box-sizing: border-box; }

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.7;
}

a { -webkit-tap-highlight-color: transparent; }

.site-section { position: relative; }
.container { max-width: 1180px; padding: 5.5rem 2rem; }

/* Navigation */
.navbar {
  padding: .7rem 0;
  color: #fff;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}

.navbar.solid {
  padding: .25rem 0;
  background: rgba(4, 9, 21, .82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.nav-container { max-width: 1180px; padding: .85rem 2rem; }
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .02em;
  color: #fff;
  font-family: var(--display);
  font-size: 1.37rem;
  font-weight: 700;
  letter-spacing: -.06em;
  text-decoration: none;
}
.logo span { color: #8cf4ff; }
.logo small { margin-left: .85rem; color: rgba(229, 249, 255, .55); font-size: .48rem; font-weight: 600; letter-spacing: .14em; }
.navbar .nav-links { margin: 0; padding: 0; gap: .25rem; }
.navbar .nav-link { position: relative; padding: .5rem .72rem; color: rgba(236, 250, 255, .76); font-size: .81rem; font-weight: 500; letter-spacing: .03em; text-decoration: none; }
.navbar .nav-link::after { position: absolute; right: .72rem; bottom: .22rem; left: .72rem; height: 1px; content: ''; background: #7df0ff; transform: scaleX(0); transform-origin: right; transition: transform .24s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { width: 2.7rem; height: 2.5rem; padding: .55rem; border: 1px solid rgba(220, 250, 255, .25); border-radius: .6rem; background: rgba(5, 16, 33, .22); }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: .32rem 0; background: #e8fcff; transition: transform .25s ease; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* Hero refinements */
.hero-copy h1 { font-family: var(--display); }
.hero-copy h1 em { font-family: 'Noto Sans TC', sans-serif; }
.hero-kicker { font-family: var(--display); }
.hero-scroll-cue { font-family: var(--display); }
.hero-background { background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(91, 242, 255, .22), transparent 21rem), radial-gradient(circle at 17% 18%, rgba(101, 72, 255, .38), transparent 34rem), radial-gradient(circle at 83% 74%, rgba(0, 195, 255, .27), transparent 28rem), linear-gradient(135deg, #02030c 0%, #070b28 48%, #011721 100%); }

/* Shared editorial heading */
.section-heading h2 {
  margin: .55rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1.05;
  letter-spacing: -.065em;
}
.section-heading h2 em { color: var(--blue); font-style: normal; }
.section-kicker { margin: 0; color: #1a7aa1; font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.section-heading-centered { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
.section-lead { max-width: 34rem; margin: 1.15rem auto 0; color: var(--muted); font-size: 1.02rem; }

/* About */
#about { overflow: hidden; background: #fff; }
#about::before { position: absolute; width: 38rem; height: 38rem; right: -21rem; bottom: -27rem; border: 1px solid rgba(46, 108, 255, .15); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(46, 108, 255, .025), 0 0 0 10rem rgba(46, 108, 255, .018); content: ''; }
.about-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 7rem; align-items: start; }
.about-content { padding-top: 1rem; }
.about-content > p { margin: 0; color: #42516a; font-size: 1.1rem; line-height: 2; }
.capability-list { display: grid; gap: .85rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.capability-list li { display: flex; align-items: center; gap: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); color: #22324a; font-size: .94rem; font-weight: 500; }
.capability-list span { color: var(--blue); font-family: var(--display); font-size: .72rem; font-weight: 700; }

/* Team */
#profile { background: linear-gradient(135deg, #edf3fa 0%, #f9fbff 52%, #eff7ff 100%); }
#profile::before { position: absolute; inset: 0; pointer-events: none; content: ''; background-image: radial-gradient(rgba(39, 105, 255, .14) .7px, transparent .7px); background-size: 1.35rem 1.35rem; mask-image: linear-gradient(90deg, black, transparent 65%); opacity: .38; }
#profile .container { position: relative; z-index: 1; }
.profile-grid { max-width: 800px; margin: 0 auto; gap: 1.5rem; }
.profile-card { position: relative; padding: 1.7rem; border: 1px solid rgba(255, 255, 255, .9); border-radius: 1.25rem; background: rgba(255, 255, 255, .78); box-shadow: 0 18px 48px rgba(33, 65, 115, .1); backdrop-filter: blur(12px); }
.profile-card::before { position: absolute; top: 1rem; right: 1rem; width: .55rem; height: .55rem; border-radius: 50%; background: #5de4ee; box-shadow: 0 0 12px #5de4ee; content: ''; }
.profile-card:hover { transform: translateY(-7px); box-shadow: 0 24px 48px rgba(33, 65, 115, .16); }
.avatar { width: min(100%, 250px); height: auto; aspect-ratio: 1; margin-bottom: 1.15rem; border: 5px solid rgba(220, 244, 255, .8); box-shadow: 0 10px 28px rgba(31, 78, 136, .16); }
.member-info h3 { color: #14223a; font-family: var(--display); font-size: 1.42rem; letter-spacing: -.03em; }
.member-info .title { margin: .28rem 0 .7rem; color: #1879ab; font-size: .88rem; font-weight: 700; letter-spacing: .08em; }
.member-info .desc { min-height: 3.3rem; color: #5b6880; line-height: 1.7; }

/* Exhibition products */
#products { padding: 7.5rem 0 5.5rem; }
#products .product-container { max-width: 1180px; }
.product-intro h2 { font-family: var(--display); }
.product-card { border-radius: 1.25rem; }
.product-info h3 { font-family: var(--display); letter-spacing: -.04em; }
.product-info a, .exhibition-note a { transition: color .2s ease; }
.product-info a:hover, .exhibition-note a:hover { color: #fff; }
.product-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Pre-order */
#preorder {
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(39, 105, 255, .19), transparent 28rem),
    radial-gradient(circle at 95% 85%, rgba(141, 89, 255, .17), transparent 31rem),
    #091120;
}

#preorder::before {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(135, 230, 255, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(135, 230, 255, .11) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  content: '';
}

.preorder-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.preorder-intro h2 {
  margin: .75rem 0 1.15rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.75rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}

.preorder-intro h2 em { color: #a0efff; font-style: normal; text-shadow: 0 0 30px rgba(108, 237, 255, .3); }
.preorder-intro > p { max-width: 30rem; margin: 0; color: #b4c6d7; font-size: 1rem; line-height: 1.9; }
.preorder-intro .section-kicker { color: #6eeaff; }

.preorder-perks { display: grid; gap: .85rem; margin-top: 2.2rem; }
.preorder-perks > div { display: flex; align-items: center; gap: .85rem; color: #9caec1; font-size: .8rem; line-height: 1.45; }
.preorder-perks i { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid rgba(135, 240, 255, .22); border-radius: .65rem; color: #87f1ff; }
.preorder-perks b { color: #e4fbff; font-weight: 500; }

.preorder-form {
  padding: clamp(1.35rem, 3.2vw, 2.2rem);
  border: 1px solid rgba(173, 239, 255, .22);
  border-radius: 1.4rem;
  color: #eaf9ff;
  background: linear-gradient(145deg, rgba(21, 37, 61, .94), rgba(7, 14, 29, .94));
  box-shadow: 0 25px 65px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
}

.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(191, 242, 255, .15); }
.form-heading span { color: #96f0ff; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .17em; }
.form-heading p { margin: 0; color: #8ea2ba; font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: .42rem; }
.form-field-full { margin-top: 1rem; }
.form-field > span, .product-picker legend { color: #d8f6ff; font-size: .78rem; font-weight: 700; }
.form-field b, .product-picker b, .privacy-consent b { color: #77edff; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .78rem .85rem;
  border: 1px solid rgba(184, 238, 255, .18);
  border-radius: .65rem;
  outline: 0;
  color: #ecfbff;
  background: rgba(0, 7, 20, .45);
  font: inherit;
  font-size: .88rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field select { color-scheme: dark; }
.form-field textarea { resize: vertical; min-height: 6rem; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #71859d; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #6eeaff; box-shadow: 0 0 0 3px rgba(91, 221, 255, .14); }

.product-picker { margin: 1.25rem 0 0; padding: 0; border: 0; }
.product-picker legend { margin-bottom: .65rem; }
.product-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.product-choice-grid label { position: relative; cursor: pointer; }
.product-choice-grid input { position: absolute; opacity: 0; }
.product-choice-grid span { display: flex; flex-direction: column; gap: .25rem; min-height: 4.45rem; padding: .78rem; border: 1px solid rgba(184, 238, 255, .18); border-radius: .7rem; color: #d5e4f1; background: rgba(0, 7, 20, .34); font-size: .78rem; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.product-choice-grid i { color: #74eaff; font-family: var(--display); font-size: .65rem; font-style: normal; letter-spacing: .1em; }
.product-choice-grid input:checked + span { border-color: #72edff; background: rgba(45, 182, 221, .18); box-shadow: 0 0 0 2px rgba(95, 229, 255, .13); transform: translateY(-2px); }
.product-choice-grid input:focus-visible + span { outline: 2px solid #72edff; outline-offset: 2px; }
.form-error { min-height: 1.3rem; margin: .5rem 0 0; color: #ffb8bd; font-size: .75rem; }

.privacy-consent { display: flex; gap: .65rem; align-items: flex-start; margin: 1.1rem 0 1.25rem; color: #9db0c4; font-size: .77rem; line-height: 1.6; cursor: pointer; }
.privacy-consent input { width: 1rem; height: 1rem; margin: .15rem 0 0; accent-color: #58ddea; }
.preorder-submit { width: 100%; padding: .95rem 1rem; border: 0; border-radius: .7rem; color: #02101b; background: linear-gradient(110deg, #83efff, #88a8ff); box-shadow: 0 12px 28px rgba(61, 194, 255, .2); font-family: var(--display); font-size: .96rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.preorder-submit:hover { box-shadow: 0 16px 34px rgba(61, 194, 255, .34); transform: translateY(-2px); }
.preorder-submit i { margin-left: .4rem; font-style: normal; }
.form-footnote { margin: .9rem 0 0; color: #7e92a9; font-size: .72rem; line-height: 1.65; text-align: center; }
.form-runtime-note { display: none; margin: .85rem 0 0; color: #ffd7a3; font-size: .75rem; line-height: 1.65; text-align: center; }
.form-runtime-note.is-visible { display: block; }
.form-success { display: none; margin: 1rem 0 0; padding: .85rem 1rem; border: 1px solid rgba(115, 244, 190, .42); border-radius: .65rem; color: #b7ffdc; background: rgba(52, 207, 133, .12); font-size: .84rem; line-height: 1.6; }
.form-success.is-visible { display: block; }
.honeypot { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-submit-frame { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }


/* Services */
#services { background: #fff; }
#services .container { max-width: 1180px; }
.services-list { gap: 1.15rem; }
.service-card, .service-card:nth-child(even), .service-card:nth-child(odd) { gap: 2.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; box-shadow: 0 10px 28px rgba(24, 54, 91, .06); }
.service-card:nth-child(even) { flex-direction: row-reverse; }
.service-card:hover { transform: translateY(-.35rem); border-color: rgba(55, 152, 221, .3); box-shadow: 0 17px 36px rgba(24, 54, 91, .1); }
.service-image { flex-basis: 42%; border-radius: .85rem; }
.service-content { padding: 1.2rem .8rem; }
.service-content h3 { margin-bottom: .8rem; color: #12213a; font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.3; letter-spacing: -.045em; }
.service-content p { padding-left: 0; color: #66758b; line-height: 1.82; }

/* Capabilities */
#summary { padding: 1rem 0 5.5rem; background: #fff; }
.summary-container { gap: 1.25rem; max-width: 1180px; }
.summary-card { min-height: 100%; padding: 2rem; border: 1px solid rgba(40, 108, 192, .12); border-radius: 1.25rem; background: linear-gradient(145deg, #f3f8ff, #fff); box-shadow: none; }
.summary-card:hover { transform: translateY(-.35rem); box-shadow: 0 15px 32px rgba(35, 84, 152, .1); }
.summary-card h2 { color: #164d98; font-family: var(--display); font-size: 1.25rem; }
.summary-card li { color: #536278; font-size: .98rem; }

/* Footer */
footer { position: relative; overflow: hidden; padding: 0; color: #e9f9ff; text-align: left; background: #050914; }
footer::before { position: absolute; width: 44rem; height: 44rem; top: -29rem; right: -10rem; border: 1px solid rgba(87, 215, 255, .18); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(87, 215, 255, .035), 0 0 0 10rem rgba(87, 215, 255, .02); content: ''; }
.footer-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; max-width: 1180px; margin: 0 auto; padding: 6rem 2rem 4.5rem; }
.footer-intro .section-kicker { color: #74e9f5; }
.footer-intro h2 { margin: .8rem 0 0; color: #fff; font-family: var(--display); font-size: clamp(2.5rem, 5.5vw, 4.75rem); line-height: 1.03; letter-spacing: -.065em; }
.footer-intro h2 em { color: #a0edff; font-style: normal; }
.footer-contact { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.footer-contact > p { max-width: 27rem; margin: 0 0 1.2rem; color: #a7bbc9; font-size: 1rem; line-height: 1.9; }
.email-link { display: inline-flex; gap: .8rem; align-items: center; padding-bottom: .35rem; border-bottom: 1px solid rgba(147, 239, 255, .55); color: #fff; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -.03em; text-decoration: none; }
.email-link i { color: #86f3ff; font-style: normal; transition: transform .2s ease; }
.email-link:hover i { transform: translate(.22rem, -.22rem); }
footer .social { display: flex; gap: .6rem; margin-top: 1.55rem; }
footer .social a { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; margin: 0; border: 1px solid rgba(198, 246, 255, .22); border-radius: 50%; color: #dffbff; font-size: 1rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
footer .social a:hover { border-color: #7bedff; background: rgba(69, 218, 255, .15); transform: translateY(-.2rem); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 1.2rem 2rem; border-top: 1px solid rgba(198, 246, 255, .12); color: rgba(222, 247, 255, .48); font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .14em; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer-bottom a:hover { color: #a7f5ff; }

/* Entrance animation */
[data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-container, .container { padding-right: 1.5rem; padding-left: 1.5rem; }
  .navbar .nav-link { padding-right: .42rem; padding-left: .42rem; font-size: .74rem; }
  .about-layout { gap: 3rem; }
  .preorder-container { gap: 3rem; padding-right: 1.5rem; padding-left: 1.5rem; }
  .footer-container { gap: 3rem; padding-right: 1.5rem; padding-left: 1.5rem; }
  .service-card, .service-card:nth-child(even) { gap: 1.3rem; }
}

@media (max-width: 768px) {
  .navbar { padding: .45rem 0; }
  .nav-container { position: relative; padding-top: .7rem; padding-bottom: .7rem; }
  .menu-toggle { display: block; }
  .navbar .nav-links { position: absolute; top: calc(100% + .25rem); right: 1rem; left: 1rem; display: none; gap: .1rem; padding: .7rem; border: 1px solid rgba(179, 237, 255, .17); border-radius: .85rem; background: rgba(4, 10, 23, .96); box-shadow: 0 16px 34px rgba(0, 0, 0, .23); backdrop-filter: blur(18px); }
  .navbar .nav-links.show { display: flex; }
  .navbar .nav-links li { margin: 0; }
  .navbar .nav-link { display: block; padding: .68rem .8rem; color: #e6f9ff; font-size: .88rem; }
  .navbar .nav-link::after { display: none; }
  .about-layout, .footer-container { grid-template-columns: 1fr; }
  .preorder-container { grid-template-columns: 1fr; }
  .preorder-intro { max-width: 38rem; }
  .about-layout { gap: 2rem; }
  .about-content { padding-top: 0; }
  .profile-grid { max-width: 30rem; }
  .service-card, .service-card:nth-child(even) { flex-direction: column; align-items: stretch; }
  .service-image { width: 100%; }
  .service-content { padding: .75rem .3rem .5rem; }
  .footer-container { gap: 2.5rem; }
}

@media (max-width: 600px) {
  .container { padding: 4.25rem 1.25rem; }
  .nav-container { padding-right: 1.25rem; padding-left: 1.25rem; }
  .logo small { display: none; }
  .section-heading-centered { margin-bottom: 2.25rem; }
  .section-heading h2 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .about-content > p { font-size: 1rem; }
  .profile-card { padding: 1.45rem; }
  .avatar { width: min(100%, 230px); }
  .product-intro { margin-bottom: 2.2rem; }
  #preorder { padding: 4.8rem 0; }
  .preorder-container { padding-right: 1.25rem; padding-left: 1.25rem; }
  .form-grid, .product-choice-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(even) { padding: .75rem; }
  .service-content h3 { font-size: 1.35rem; }
  #summary { padding-bottom: 4.25rem; }
  .summary-card { padding: 1.5rem; }
  .footer-container { padding: 4.25rem 1.25rem 3rem; }
  .footer-bottom { padding: 1.15rem 1.25rem; font-size: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
