body.public-redesign.after-effects-page {
  background-attachment: scroll;
  background-image: radial-gradient(ellipse 55rem 40rem at 76% 130px, rgba(78, 107, 255, .16), transparent),
    radial-gradient(ellipse 33rem 25rem at 12% 510px, rgba(126, 79, 255, .11), transparent);
  --ae-violet: #b9aaff;
  --ae-border: rgba(164, 145, 254, .28);
}
.after-effects-page .ae-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.ae-hero {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 96px);
}
.ae-hero-copy { text-align: start; }
.ae-product { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--sx-color-text); font-size: 14px; font-weight: 600; }
.ae-product img { flex: 0 0 auto; }
.ae-chip {
  padding: 2px 9px;
  border: 1px solid var(--ae-border);
  border-radius: 999px;
  background: rgba(155, 132, 255, .09);
  color: var(--ae-violet);
  font-size: 11px;
}
.ae-hero h1 { margin: 18px 0; font-size: clamp(42px, 5.45vw, 78px); line-height: 1.07; letter-spacing: -.055em; text-wrap: balance; }
html[lang="fa"] .ae-hero h1 { line-height: 1.28; letter-spacing: normal; }
.ae-hero-copy > p { max-width: 46ch; margin: 0; color: var(--sx-color-muted); font-size: clamp(16px, 1.5vw, 19px); line-height: var(--sx-leading-body); }
.ae-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }
.ae-hero-actions .sx-button { text-align: center; }

.ae-preview {
  min-width: 0;
  padding: clamp(12px, 1.8vw, 22px);
  border: 1px solid var(--ae-border);
  border-radius: var(--sx-radius-card);
  background: radial-gradient(ellipse at 38% 2%, #231d36, #12151d 78%);
  box-shadow: 0 24px 65px -34px #6d57a8;
}
.ae-preview-heading { display: flex; justify-content: space-between; gap: 12px; margin-block-end: 12px; color: var(--ae-violet); font-size: 12px; font-weight: 600; }
.ae-workspace { overflow: hidden; border: 1px solid #363443; border-radius: 10px; background: #181820; color: #e3e2ec; font-size: clamp(9px, 1vw, 11px); text-align: start; }
.ae-screen-title { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-block-end: 1px solid #33323d; background: #262530; font-weight: 600; }
.ae-screen-title img { margin-inline-end: 2px; }
.ae-screen-title span { width: 6px; height: 6px; border-radius: 50%; background: #65637a; }
.ae-screen-title span:first-of-type { margin-inline-start: auto; }
.ae-screen-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.42fr) minmax(0, 1fr); grid-template-rows: auto minmax(90px, auto); gap: 4px; padding: 4px; }
.ae-screen-panel { min-width: 0; overflow: hidden; padding: 7px; border: 1px solid #373543; border-radius: 4px; background: #20202a; }
.ae-screen-panel > strong { display: flex; align-items: center; min-height: 20px; gap: 4px; margin-bottom: 6px; font-weight: 600; }
.ae-screen-project { grid-area: 1 / 1; }
.ae-screen-composition { grid-area: 1 / 2; display: grid; grid-template-rows: auto 1fr; }
.ae-screen-soundx { grid-area: 1 / 3 / 3 / 4; }
.ae-screen-timeline { grid-area: 2 / 1 / 3 / 3; }
.ae-screen-file, .ae-screen-search, .ae-screen-result, .ae-screen-layer { display: flex; align-items: center; gap: 4px; }
.ae-workspace .sx-public-icon { flex: 0 0 auto; width: 12px; height: 12px; }
.ae-screen-file { min-height: 22px; padding: 2px; }
.ae-screen-search, .ae-screen-result { padding: 5px; border: 1px solid #3b3b50; border-radius: 5px; }
.ae-screen-search { margin-block-end: 8px; color: #b8b7ca; }
.ae-screen-result { background: #28283a; }
.ae-screen-result small { display: block; color: #bbbacf; }
.ae-screen-soundx .soundx-brand-mark { flex: 0 0 17px; width: 17px; height: 17px; }
.ae-wave { display: block; width: 100%; height: 24px; margin-block: 10px; color: #a597ed; }
.ae-screen-art { position: relative; display: grid; place-items: center; min-height: clamp(72px, 11vw, 145px); overflow: hidden; background: radial-gradient(ellipse at 52% 58%, #3d2867, #171522 72%); }
.ae-screen-art i { grid-area: 1 / 1; width: min(72px, 50%); aspect-ratio: 1; border: 1px solid #a78fff; border-radius: 22%; transform: rotate(45deg); box-shadow: 0 0 16px #8b63f857, inset 0 0 14px #9e73ff38; }
.ae-screen-art i:nth-child(2) { transform: rotate(65deg) scale(.72); }
.ae-screen-art i:nth-child(3) { transform: rotate(85deg) scale(.45); background: #8f68e542; }
.ae-screen-tracks { position: relative; display: grid; gap: 4px; min-height: 48px; padding-block: 4px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #3a384c calc(10% - 1px) 10%); }
.ae-screen-playhead { position: absolute; inset: 0 auto 0 24%; z-index: 1; width: 1px; background: #9fa6ff; }
.ae-screen-playhead::before { content: ""; position: absolute; inset: 0 auto auto -3px; width: 7px; height: 6px; background: #9fa6ff; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.ae-screen-layer { width: 82%; padding: 0 4px; border-radius: 3px; background: #524771; }
.ae-screen-timeline .ae-screen-audio { visibility: hidden; width: 68%; margin-left: 24%; background: #354969; }
.ae-screen-project .ae-screen-audio { border-radius: 4px; color: #d5caff; }
.ae-preview[data-destination="project"] .ae-screen-project,
.ae-preview[data-destination="composition"] .ae-screen-timeline { border-color: #a494e0; }
.ae-preview[data-destination="project"] .ae-screen-project .ae-screen-audio { background: #433764; }
.ae-preview[data-destination="composition"] .ae-screen-timeline .ae-screen-audio { visibility: visible; }
.ae-preview-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-start: 14px; }
.ae-preview-controls .sx-button { min-block-size: 40px; padding-inline: 6px; text-align: center; }
.ae-preview-controls .sx-button[aria-pressed="true"] { border-color: var(--ae-border); background: rgba(156, 132, 255, .15); color: #e1d7ff; }
.ae-preview-caption p { min-block-size: 2.8em; margin: 9px 0 0; color: #bdbecc; font-size: 13px; line-height: 1.65; }

.ae-section { padding-block: clamp(40px, 5vw, 68px); border-block-start: 1px solid var(--sx-color-border); scroll-margin-block-start: 88px; }
.ae-workflow-grid { gap: 16px; }
.ae-workflow-grid .sx-public-icon { width: 20px; height: 20px; }
.ae-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ae-install-grid .ae-release, .ae-install-steps { min-width: 0; padding: clamp(18px, 2.5vw, 28px); border: 1px solid var(--sx-color-border); border-radius: var(--sx-radius-card); background: var(--sx-color-surface); text-align: start; }
.ae-install-steps h3 { margin: 0; font-size: 20px; }
.ae-install-steps ol { display: grid; gap: 12px; margin: 12px 0 0; padding-inline-start: 23px; color: var(--sx-color-muted); }
.ae-install-steps li::marker { color: var(--sx-color-brand); font-weight: 700; }
.ae-install-steps bdi { display: inline-block; color: var(--sx-color-text); }
.ae-install-grid .ae-release h3 { font-size: 18px; }
.ae-install-grid .ae-release dl { margin-block: 16px; }
.ae-release dl > div { flex-wrap: wrap; column-gap: 12px; }
.ae-download-button { width: 100%; }
.ae-release-status { padding: 12px; border: 1px solid var(--ae-border); border-radius: 8px; background: rgba(155, 132, 255, .06); }
.ae-release-status strong { color: var(--ae-violet); font-size: 14px; }
.ae-release-status p { margin: 4px 0 0; color: var(--sx-color-muted); font-size: 14px; }

@media (max-width: 900px) {
  .ae-hero { grid-template-columns: 1fr; gap: 28px; }
  .ae-hero-copy > p { max-width: 54ch; }
  .ae-preview { width: min(100%, 620px); }
  .ae-workspace { font-size: 11px; }
}
@media (max-width: 680px) {
  .after-effects-page .ae-shell { width: calc(100% - 32px); }
  .ae-hero { padding-block: 34px 42px; }
  .ae-hero h1 { margin-block: 14px; }
  .ae-workflow-grid, .ae-install-grid { grid-template-columns: 1fr; }
  .ae-workflow-grid article { gap: 8px; padding: 18px; }
  .ae-workflow-grid .public-workflow-step { min-height: 40px; }
  .ae-workspace { font-size: 9px; }
  .ae-screen-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); }
  .ae-screen-panel { padding: 4px; }
}
@media (max-width: 360px) {
  .ae-hero-actions .sx-button { padding-inline: 13px; }
  .ae-preview-controls .sx-public-icon { display: none; }
}
