/* GAN brand treatment for this page only. The page structure stays product-specific. */
.gan-fx-main {
  --background: #111;
  --surface: #1b1b1b;
  --surface-raised: #222;
  --surface-soft: #292929;
  --text: #fff;
  --muted: #aaa;
  --muted-low: #777;
  --line: #333;
  --line-strong: #444;
  --gan-blue: #06f;
  --gan-red: #f11;
  --shell: min(1200px, calc(100% - 80px));
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Roboto, "Microsoft YaHei", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

.gan-fx-main h1,
.gan-fx-main h2,
.gan-fx-main h3 {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
}

.gan-fx-main .hero {
  position: relative;
  min-height: 660px;
  padding: 126px 0 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 102, 255, .2), transparent 38%),
    linear-gradient(180deg, #161616 0%, #111 78%);
}

.gan-fx-main .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.gan-fx-main .hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.gan-fx-main .eyebrow {
  margin-bottom: 24px;
  color: #4c93ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .13em;
}

.gan-fx-main h1 {
  margin: 0 0 24px;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1.06;
}

.gan-fx-main h1 span {
  display: block;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.45;
}

.gan-fx-main .hero-description {
  max-width: 820px;
  margin: 0 auto;
  color: #aaa;
  font-size: 16px;
  line-height: 1.9;
}

.gan-fx-main .purchase-actions {
  justify-content: center;
  gap: 14px;
  margin: 36px 0 0;
  flex-wrap: wrap;
}

.gan-fx-main .purchase-button {
  min-width: 138px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--gan-blue);
  border-radius: 3px;
  color: #fff;
  background: var(--gan-blue);
  box-shadow: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}

.gan-fx-main .purchase-button.is-primary {
  border-color: var(--gan-red);
  color: #fff;
  background: var(--gan-red);
}

.gan-fx-main .purchase-button:last-child {
  border-color: #555;
  background: #222;
}

.gan-fx-main .purchase-button:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.gan-fx-main .support-note {
  margin-top: 28px;
  color: #888;
  font-size: 14px;
  letter-spacing: 0;
}

.gan-fx-main .support-logos {
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  opacity: .72;
}

.gan-fx-main .hardware-logo {
  transform: scale(.88);
  transform-origin: center;
}

.gan-fx-main .hero-accent {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 54px;
}

.gan-fx-main .hero-accent i {
  display: block;
  width: 34px;
  height: 3px;
  background: #333;
}

.gan-fx-main .hero-accent i:first-child { background: var(--gan-blue); }
.gan-fx-main .hero-accent i:nth-child(2) { background: var(--gan-red); }

.gan-fx-main .catalog-section,
.gan-fx-main .tutorial-section,
.gan-fx-main .examples-section {
  padding: 82px 0;
  border-top: 0;
  background: #111;
}

.gan-fx-main .showreel-section,
.gan-fx-main #transitions,
.gan-fx-main .examples-section {
  background: #171717;
}

.gan-fx-main .section-heading {
  margin: 0 0 36px;
  text-align: left;
}

.gan-fx-main .section-heading.center { text-align: center; }

.gan-fx-main .section-heading h2 {
  margin: 7px 0 13px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
}

.gan-fx-main .section-kicker {
  color: #4c93ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}

.gan-fx-main .section-heading p {
  color: #929292;
  font-size: 15px;
  line-height: 1.8;
}

.gan-fx-main .catalog-window {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gan-fx-main .catalog-topbar {
  height: auto;
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid #373737;
  border-radius: 0;
  color: #ddd;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0;
}

.gan-fx-main .window-dots { display: none; }
.gan-fx-main .category-strip {
  min-height: 0;
  gap: 9px;
  padding: 18px 0 20px;
}

.gan-fx-main .category-button {
  padding: 8px 16px;
  border: 1px solid #3b3b3b;
  border-radius: 3px;
  color: #bbb;
  background: #2b2b2b;
  font-size: 13px;
}

.gan-fx-main .category-button.active,
.gan-fx-main .category-button:hover {
  border-color: var(--gan-blue);
  color: #fff;
  background: var(--gan-blue);
}

.gan-fx-main .preview-card {
  border: 1px solid #363636;
  border-radius: 4px;
  background: #272727;
  box-shadow: none;
}

.gan-fx-main .preview-card:hover { border-color: var(--gan-blue); }

.gan-fx-main .preview-name {
  padding: 12px;
  color: #ddd;
  font-size: 13px;
  font-weight: 400;
}

.gan-fx-main .tutorial-slot {
  border: 1px solid #333;
  border-radius: 5px;
  background: #202020;
  box-shadow: none;
}

.gan-fx-main .showreel-grid { gap: 24px; }
.gan-fx-main .showreel-grid.is-single {
  max-width: 960px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
}
.gan-fx-main .example-card { border-color: #333; border-radius: 5px; }

.gan-fx-main .example-controls button {
  border-color: #444;
  border-radius: 4px;
  background: #222;
}

.gan-fx-main .closing {
  position: relative;
  padding: 68px 0 42px;
  border-top: 1px solid #333;
  text-align: left;
  background: #151515;
}

.gan-fx-main .closing-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px 56px;
}

.gan-fx-main .closing-copy {
  min-width: 0;
}

.gan-fx-main .closing h2 {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.2;
}

.gan-fx-main .closing-actions .purchase-actions {
  justify-content: flex-end;
  margin: 0;
}

.gan-fx-main .closing-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #2d2d2d;
}

.gan-fx-main .closing .support-note { margin: 0; }
.gan-fx-main .closing .support-logos {
  justify-content: flex-end;
  margin: 0;
}

.gan-fx-main .reveal { opacity: 1; transform: none; }
.gan-fx-main :focus-visible { outline: 2px solid #61afff; outline-offset: 4px; }

@media (max-width: 900px) {
  .gan-fx-main { --shell: calc(100% - 40px); }
  .gan-fx-main .hero { min-height: 610px; padding: 104px 0 88px; }
}

@media (max-width: 620px) {
  .gan-fx-main { --shell: calc(100% - 28px); }
  .gan-fx-main .hero { min-height: 0; padding: 82px 0 66px; }
  .gan-fx-main h1 { font-size: clamp(48px, 15vw, 66px); }
  .gan-fx-main h1 span { margin-top: 18px; font-size: 19px; }
  .gan-fx-main .eyebrow { font-size: 11px; }
  .gan-fx-main .hero-description { font-size: 14px; }
  .gan-fx-main .purchase-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .gan-fx-main .purchase-button { width: 100%; }
  .gan-fx-main .catalog-section,
  .gan-fx-main .tutorial-section,
  .gan-fx-main .examples-section { padding: 56px 0; }
  .gan-fx-main .catalog-window { padding: 0; }
  .gan-fx-main .showreel-grid { gap: 16px; }
  .gan-fx-main .closing { padding: 58px 0 34px; }
  .gan-fx-main .closing-content { grid-template-columns: 1fr; gap: 28px; }
  .gan-fx-main .closing-actions .purchase-actions { justify-content: flex-start; }
  .gan-fx-main .closing-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
  }
  .gan-fx-main .closing .support-logos { justify-content: flex-start; }
}
