:root {
  --bg: #07080b;
  --bg-soft: #11151b;
  --panel: rgba(17, 20, 27, 0.88);
  --panel-strong: #151922;
  --line: rgba(219, 180, 92, 0.26);
  --line-cool: rgba(70, 205, 201, 0.23);
  --gold: #d9ad57;
  --gold-bright: #ffe09a;
  --red: #b8332d;
  --teal: #36c6bf;
  --violet: #7b55cc;
  --text: #f7efe0;
  --muted: #b9b2a4;
  --ink: #050607;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.76), rgba(4, 4, 5, 0.94)),
    url("assets/brand/site-background-premium.svg") top center / cover fixed,
    #050506;
  font-family:
    "Microsoft JhengHei",
    "PingFang TC",
    "Noto Sans TC",
    Arial,
    sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 8px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 173, 87, 0.24);
  background: rgba(5, 6, 8, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 124px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(217, 173, 87, 0.36));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.45vw, 24px);
  align-items: center;
}

.main-nav a,
.header-contact {
  color: #f6ead0;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.main-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(217, 173, 87, 0.62);
  border-radius: 6px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.header-contact:hover,
.header-contact:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(217, 173, 87, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--gold-bright);
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: clamp(84px, 11vw, 150px) clamp(18px, 5vw, 80px) 40px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.9), rgba(4, 4, 5, 0.42) 50%, rgba(4, 4, 5, 0.9)),
    linear-gradient(180deg, rgba(217, 173, 87, 0.1), rgba(4, 4, 5, 0.22) 52%, rgba(4, 4, 5, 0.9)),
    url("assets/brand/site-background-premium.svg") center top / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 27%, rgba(217, 173, 87, 0.08) 27.2% 27.6%, transparent 28% 69%, rgba(54, 198, 191, 0.045) 69.2% 69.5%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), transparent 26%, transparent 74%, rgba(0, 0, 0, 0.66));
  opacity: 0.62;
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 11, 0) 100%);
  content: "";
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #f7dfb6;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.hero-actions,
.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  border: 1px solid rgba(255, 224, 154, 0.6);
  color: #170d03;
  background: linear-gradient(135deg, #ffe4a2, #d99c30 62%, #bc342d);
}

.btn-ghost {
  border: 1px solid rgba(70, 205, 201, 0.55);
  color: #e5fffb;
  background: rgba(8, 19, 22, 0.64);
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.78), rgba(13, 17, 22, 0.92));
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(340px, 100%);
  margin: 0 auto 16px;
}

.contact-lines {
  display: grid;
  gap: 10px;
}

.contact-lines span,
.contact-methods a,
.contact-methods span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #eafffb;
  background: rgba(0, 0, 0, 0.34);
  font-weight: 800;
}

.free-service-banner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 1180px;
  margin: clamp(28px, 4vw, 50px) auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 224, 154, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 51, 45, 0.92), rgba(13, 15, 20, 0.9) 42%, rgba(8, 24, 26, 0.9)),
    rgba(8, 10, 14, 0.92);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.46), 0 0 28px rgba(217, 173, 87, 0.2);
}

.free-service-banner::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 224, 154, 0.24), transparent 18%, transparent 78%, rgba(54, 198, 191, 0.16));
  content: "";
}

.free-service-badge,
.free-service-copy,
.free-service-banner ul {
  position: relative;
}

.free-service-badge {
  display: grid;
  min-width: 104px;
  min-height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 244, 202, 0.8);
  border-radius: 8px;
  color: #200a04;
  background: linear-gradient(135deg, #fff1b7, #ffc44f 48%, #ff4d35);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 1000;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 22px rgba(255, 196, 79, 0.38);
}

.free-service-copy {
  display: grid;
  gap: 2px;
}

.free-service-copy span {
  color: #e4fff9;
  font-weight: 900;
}

.free-service-copy strong {
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  line-height: 1.08;
  text-shadow: 0 0 18px rgba(255, 224, 154, 0.34);
}

.free-service-banner ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.free-service-banner li {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff7e7;
  background: rgba(0, 0, 0, 0.28);
  font-weight: 900;
}

.free-service-banner em {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #250a03;
  background: linear-gradient(135deg, #fff3bd, #ffc94f);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 1000;
  text-align: center;
}

.price-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1180px;
  margin: clamp(32px, 5vw, 70px) auto 0;
}

.price-rail a {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(217, 173, 87, 0.38);
  border-radius: 8px;
  background: rgba(7, 8, 11, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.price-rail span {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 1000;
  line-height: 1;
}

.price-rail small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: -1px auto 0;
  padding: 0 clamp(18px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 15, 0.92);
}

.overview div {
  display: grid;
  min-height: 112px;
  place-items: center;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.overview div:last-child {
  border-right: 0;
}

.overview strong {
  color: var(--gold-bright);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
}

.overview span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) clamp(18px, 4vw, 32px);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.compact {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 420px);
  gap: 24px;
  align-items: stretch;
}

.activity-art,
.promo-card,
.contact-card,
.launcher-video,
.launcher-mock,
.launcher-list article,
.feature-grid article,
.package-card,
.tier-copy,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.activity-art {
  margin: 0;
  overflow: hidden;
  align-self: start;
  aspect-ratio: 770 / 470;
  background: #08040f;
}

.activity-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.package-section {
  padding-top: clamp(58px, 8vw, 96px);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.package-card {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 100%;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(217, 173, 87, 0.12), rgba(184, 51, 45, 0.06) 42%, rgba(12, 15, 20, 0.92)),
    rgba(12, 15, 20, 0.92);
}

.package-card.is-featured {
  border-color: rgba(255, 224, 154, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 224, 154, 0.18), rgba(184, 51, 45, 0.16) 46%, rgba(12, 15, 20, 0.94)),
    rgba(12, 15, 20, 0.94);
}

.package-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-head span {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 1000;
  line-height: 1;
}

.package-head small {
  display: block;
  margin-top: 8px;
  color: #f6ead0;
  font-weight: 900;
}

.package-head em {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  border: 1px solid rgba(54, 198, 191, 0.44);
  border-radius: 999px;
  padding: 4px 10px;
  color: #d7fffb;
  background: rgba(54, 198, 191, 0.12);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.package-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.package-list li {
  position: relative;
  min-width: 0;
  padding-left: 22px;
  color: #efe8dc;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--gold-bright));
  box-shadow: 0 0 14px rgba(54, 198, 191, 0.32);
}

.package-list .package-note {
  color: var(--gold-bright);
}

.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 4vw, 34px);
}

.promo-price {
  margin: 14px 0 8px;
  color: var(--gold-bright);
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  font-weight: 1000;
  line-height: 1;
}

.promo-card p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 8px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #f8ead0;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--teal);
  content: "✓";
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 190px;
  padding: 22px;
}

.feature-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #1d0e03;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 1000;
}

.feature-grid p,
.launcher-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.external-link {
  display: flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  padding: 0 18px;
  border: 1px solid var(--line-cool);
  border-radius: 6px;
  color: #d9fffb;
  background: rgba(11, 28, 30, 0.72);
  font-weight: 900;
}

.launcher-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.launcher-video {
  margin: 0;
  overflow: hidden;
  background: rgba(5, 6, 8, 0.94);
}

.launcher-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050607;
}

.launcher-video figcaption {
  padding: 12px 16px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.46);
  font-weight: 900;
}

.launcher-mock {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 20, 31, 0.8), rgba(5, 6, 8, 0.96)),
    url("assets/brand/launcher-background.png") center / cover;
}

.mock-topbar {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.46);
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.mock-topbar span:nth-child(2) {
  background: var(--gold);
}

.mock-topbar span:nth-child(3) {
  background: var(--teal);
}

.mock-hero {
  display: grid;
  min-height: 250px;
  align-content: end;
  padding: 28px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05));
}

.mock-hero strong {
  color: var(--gold-bright);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.mock-hero small {
  color: #cde9e6;
  font-weight: 800;
}

.mock-fields {
  display: grid;
  gap: 10px;
  padding: 18px 28px 0;
}

.mock-fields span {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.48);
}

.mock-actions {
  padding: 18px 28px 28px;
}

.mock-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: #100a03;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 1000;
}

.mock-actions button + button {
  color: #ecfffb;
  background: linear-gradient(135deg, rgba(35, 143, 138, 0.92), rgba(53, 87, 151, 0.9));
}

.launcher-list {
  display: grid;
  gap: 14px;
}

.launcher-list article {
  min-height: 140px;
  padding: 24px;
}

.logo-motion-section {
  max-width: 1500px;
}

.motion-logo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.motion-logo-feature,
.motion-logo-copy,
.motion-logo-card {
  overflow: hidden;
  border: 1px solid rgba(217, 173, 87, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.94), rgba(5, 6, 8, 0.96)),
    rgba(5, 6, 8, 0.96);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.motion-logo-feature {
  margin: 0;
}

.motion-logo-feature video,
.motion-logo-card video {
  display: block;
  width: 100%;
  background: #030405;
}

.motion-logo-feature video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.motion-logo-feature figcaption {
  padding: 12px 16px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.48);
  font-weight: 900;
}

.motion-logo-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 173, 87, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(73, 17, 16, 0.72), rgba(9, 15, 18, 0.96) 58%);
}

.motion-logo-copy span {
  color: var(--teal);
  font-weight: 1000;
  text-transform: uppercase;
}

.motion-logo-copy h3 {
  max-width: 520px;
  color: #fff5dd;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.16;
}

.motion-logo-copy p,
.motion-logo-copy li {
  color: var(--muted);
  line-height: 1.8;
}

.motion-logo-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.motion-logo-copy li {
  position: relative;
  padding-left: 18px;
}

.motion-logo-copy li::before {
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(255, 224, 154, 0.55);
  content: "";
}

.motion-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.motion-logo-card {
  padding: 10px;
}

.motion-logo-card video {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.motion-logo-card strong {
  display: block;
  min-height: 42px;
  padding: 12px 4px 2px;
  color: #fff2d7;
  font-size: 0.95rem;
}

.portfolio-section {
  max-width: 1500px;
}

.tier-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tier-tabs button {
  min-height: 44px;
  border: 1px solid rgba(217, 173, 87, 0.28);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.tier-tabs button.active {
  color: #0c0702;
  border-color: rgba(255, 224, 154, 0.74);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 1000;
}

.tier-copy {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 16px 18px;
}

.tier-copy strong {
  color: var(--gold-bright);
  white-space: nowrap;
}

.tier-copy span {
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  display: grid;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 224, 154, 0.72);
}

.work-thumb {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #090909;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

.work-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: #120a02;
  background: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 1000;
}

.video-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: #eefcff;
  background: rgba(54, 198, 191, 0.78);
  font-size: 0.84rem;
  font-weight: 1000;
}

.work-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #cfe9e7;
  background: rgba(54, 198, 191, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-section {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
}

.contact-card p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-methods img {
  width: 120px;
  height: 120px;
  border: 6px solid white;
  border-radius: 8px;
  background: white;
}

.contact-methods div {
  display: grid;
  gap: 10px;
}

.site-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 44px 18px 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  background: rgba(3, 4, 6, 0.88);
  text-align: center;
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  margin: 0;
}

.footer-manage-link {
  color: var(--gold-bright);
  font-weight: 800;
}

.line-float {
  position: fixed;
  right: 18px;
  top: 96px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 158px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(6, 199, 85, 0.46);
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 199, 85, 0.92), rgba(9, 32, 23, 0.94)),
    #06c755;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 22px rgba(6, 199, 85, 0.26);
  transform: none;
}

.line-float:hover,
.line-float:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.64);
  transform: translateY(-3px);
}

.line-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #06c755;
  background: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 4px rgba(6, 199, 85, 0.08);
}

.line-icon::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 11px;
  height: 11px;
  border-radius: 2px 2px 8px 2px;
  background: #ffffff;
  content: "";
  transform: rotate(18deg);
}

.line-float-text {
  display: grid;
  gap: 2px;
  line-height: 1.2;
}

.line-float-text strong {
  font-size: 15px;
}

.line-float-text small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.manage-page {
  min-height: 100vh;
}

.is-manage-nav {
  justify-content: flex-start;
}

.manage-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.manage-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 173, 87, 0.12), rgba(54, 198, 191, 0.1)),
    rgba(8, 10, 14, 0.88);
  box-shadow: var(--shadow);
}

.manage-hero h1,
.manager-panel h2 {
  margin: 0;
}

.manage-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.status-pill {
  width: fit-content;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(54, 198, 191, 0.42);
  border-radius: 6px;
  color: #d7fffb;
  background: rgba(54, 198, 191, 0.1);
  font-weight: 800;
}

.manager-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr) minmax(360px, 1.25fr);
  gap: 18px;
  align-items: start;
}

.manager-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 15, 20, 0.92);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
}

.manager-panel-head {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.field,
.field-row {
  display: grid;
  gap: 8px;
}

.field-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.field span {
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.manager-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--text);
  background: rgba(4, 5, 8, 0.74);
  font: inherit;
}

.field input,
.field select {
  min-height: 44px;
  padding: 0 12px;
}

.field textarea,
.manager-textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.manager-textarea:focus {
  outline: 2px solid rgba(54, 198, 191, 0.42);
  border-color: rgba(54, 198, 191, 0.68);
}

.manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-danger {
  border: 1px solid rgba(255, 105, 97, 0.58);
  color: #fff1ee;
  background: linear-gradient(135deg, rgba(151, 32, 28, 0.96), rgba(91, 19, 18, 0.94));
}

.work-list {
  display: grid;
  gap: 10px;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.work-list button,
.empty-list {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.work-list button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  padding: 12px;
  cursor: pointer;
}

.work-list button:hover,
.work-list button:focus-visible {
  border-color: rgba(217, 173, 87, 0.5);
  background: rgba(217, 173, 87, 0.1);
}

.work-list button span {
  grid-row: span 2;
  display: inline-grid;
  min-width: 58px;
  min-height: 36px;
  place-items: center;
  border-radius: 4px;
  color: #050607;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 900;
}

.work-list button strong {
  align-self: end;
}

.work-list button small {
  color: var(--muted);
}

.empty-list {
  padding: 16px;
  color: var(--muted);
}

.backup-panel {
  grid-column: 1 / -1;
}

.manager-textarea {
  min-height: 180px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.work-modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(217, 173, 87, 0.42);
  border-radius: 8px;
  background: #07080b;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: white;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.modal-info {
  padding: 24px 76px 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 20, 0.96);
}

.modal-info span {
  color: var(--gold-bright);
  font-weight: 1000;
}

.modal-info h2 {
  margin-top: 4px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.modal-info p {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--muted);
}

.modal-media {
  display: grid;
  gap: 18px;
  overflow: auto;
  padding: 18px;
}

.modal-media img {
  width: min(1180px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.modal-media video {
  display: none;
  width: min(1080px, 100%);
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #000;
}

.modal-media.has-video video {
  display: block;
}

@media (max-width: 1180px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .work-editor {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    width: 104px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .main-nav,
  .header-contact {
    display: none;
  }

  .is-manage-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .main-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 0 4px;
  }

  .main-nav.is-open a {
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-shell,
  .activity-layout,
  .launcher-layout,
  .motion-logo-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .free-service-banner {
    grid-template-columns: auto 1fr;
  }

  .free-service-banner ul {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .price-rail,
  .overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview div:nth-child(2) {
    border-right: 0;
  }

  .overview div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .overview div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

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

  .manager-grid {
    grid-template-columns: 1fr;
  }

  .work-editor {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 74px;
  }

  .free-service-banner {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1180px);
    padding: 14px;
    text-align: center;
  }

  .free-service-badge {
    justify-self: center;
    min-width: 96px;
  }

  .free-service-banner ul {
    grid-template-columns: 1fr;
  }

  .free-service-banner li {
    flex-wrap: wrap;
    justify-content: center;
  }

  .price-rail,
  .overview,
  .package-grid,
  .feature-grid,
  .motion-logo-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .price-rail a {
    min-height: 78px;
  }

  .overview div {
    border-right: 0;
  }

  .overview div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .overview div:last-child {
    border-bottom: 0;
  }

  .tier-copy,
  .contact-methods {
    grid-template-columns: 1fr;
    display: grid;
  }

  .manage-main {
    width: min(100% - 20px, 1180px);
    padding: 28px 0 56px;
  }

  .manage-hero,
  .manager-panel {
    padding: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .manager-actions .btn {
    width: 100%;
  }

  .work-thumb {
    height: 220px;
  }

  .modal-panel {
    inset: 10px;
  }

  .modal-info {
    padding: 18px 64px 16px 16px;
  }

  .line-float {
    right: 12px;
    top: 86px;
    bottom: auto;
    min-width: 0;
    padding: 8px;
    border-radius: 999px;
    transform: none;
  }

  .line-float:hover,
  .line-float:focus-visible {
    transform: translateY(-3px);
  }

  .line-icon {
    width: 44px;
    height: 44px;
  }

  .line-float-text {
    display: none;
  }
}
