/* Power Animate website — the app's colours and type, dressed in the glossy, friendly look of the classic
   cartoon-maker sites: sky banner, shiny buttons, starbursts and big rounded boxes. */
:root {
  --navy: #1c2233; --navy2: #262e44; --navy3: #343e5a;
  --orange: #ff7a1a; --orange2: #ff9a3d; --yellow: #ffd23f; --blue: #2f80ed; --blue2: #5aa0ff;
  --green: #18a058; --purple: #9b5de5; --ink: #1f2533; --muted: #5d6680; --panel: #f3f5f9; --line: #dde2ea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 78px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, "Trebuchet MS", sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: #eaf3fc; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }

/* shiny buttons */
.glossy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .2px;
  background: linear-gradient(#ffb15c, var(--orange) 48%, #f06400 52%, #ff8a2e); border: 2px solid #d65800; text-shadow: 0 1px 0 rgba(120, 50, 0, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 3px 0 #b64a00, 0 6px 14px rgba(255, 122, 26, .35); transition: transform .1s, filter .1s; }
.glossy:hover { filter: brightness(1.07); transform: translateY(-1px); }
.glossy:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 0 #b64a00; }
.glossy.blue { background: linear-gradient(#8cc0ff, var(--blue) 48%, #1f66d1 52%, #4a90f0); border-color: #1a56b5; text-shadow: 0 1px 0 rgba(10, 40, 100, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 3px 0 #164a9c, 0 6px 14px rgba(47, 128, 237, .3); }
.glossy.big { font-size: 19px; padding: 15px 30px; }
.glossy.small { padding: 8px 18px; font-size: 14.5px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: linear-gradient(var(--navy2), var(--navy)); border-bottom: 4px solid var(--orange); box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { color: var(--yellow); font-weight: 800; font-size: 12px; letter-spacing: 2px; }
.brand-text b { font-size: 25px; font-style: italic; font-weight: 800; border-bottom: 3px solid var(--orange); padding-bottom: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #dfe5f2; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--navy3); color: #fff; }

/* banner */
.hero { position: relative; overflow: hidden; background: linear-gradient(#3e9ff0, #8fd0ff 55%, #c6ebff); padding-top: 46px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); filter: blur(2px); }
.hero::before { width: 240px; height: 70px; top: 60px; right: 14%; box-shadow: 60px -26px 0 10px rgba(255, 255, 255, .5); }
.hero::after { width: 180px; height: 52px; top: 140px; left: 6%; box-shadow: 46px -18px 0 6px rgba(255, 255, 255, .45); }
.hero-in { position: relative; z-index: 1; }
.hero-text { max-width: 640px; position: relative; }
.hero h1 { margin: 0; padding-right: 72px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; color: #fff; text-shadow: 0 3px 0 #1f66d1, 0 6px 18px rgba(10, 40, 100, .35); letter-spacing: -.5px; }
.hero h1 em { color: var(--yellow); font-style: italic; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #0f2f5c; font-weight: 600; max-width: 560px; margin: 14px 0 22px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 12px 0 0; font-weight: 700; color: #0f2f5c; }
.hero-art { position: relative; width: 100%; max-width: 1600px; margin: -40px auto 0; -webkit-mask-image: linear-gradient(transparent, #000 28%); mask-image: linear-gradient(transparent, #000 28%); }
.burst { position: absolute; right: -10px; top: -14px; width: 104px; height: 104px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 900; font-size: 19px; line-height: 1.05; color: #7a2b00; transform: rotate(12deg);
  background: var(--yellow); clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 56%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 15% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%); }

/* section headings */
.section-title { text-align: center; font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 26px; line-height: 1.15; text-wrap: balance; }
.section-title span { color: var(--orange); }
.section-title.light { color: #fff; }
.section-title.light span { color: var(--yellow); }

/* 1-2-3 steps */
.steps { padding-top: 56px; padding-bottom: 56px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; background: #fff; border-radius: 22px; padding: 14px 14px 20px; border: 3px solid #fff; box-shadow: 0 6px 22px rgba(30, 60, 110, .14); }
.step img { border-radius: 14px; border: 2px solid var(--line); }
.step h3 { margin: 14px 4px 4px; font-size: 21px; }
.step p { margin: 0 4px; color: var(--muted); }
.step-n { position: absolute; top: -18px; left: -12px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 26px; color: #fff;
  background: linear-gradient(#ffb15c, var(--orange) 50%, #f06400 52%); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }

/* features */
.features { background: linear-gradient(var(--navy), #24304d); padding: 60px 0 40px; }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; background: #fff; border-radius: 26px; padding: 22px; margin-bottom: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.feature.flip img { order: 2; }
.feature img { border-radius: 16px; border: 3px solid var(--line); }
.feature h3 { font-size: clamp(22px, 2.6vw, 29px); margin: 8px 0 8px; line-height: 1.2; }
.feature p { color: #3a445c; margin: 0 0 10px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff0e3; color: #c25300; font-weight: 800; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; }
.tag.blue { background: #e4efff; color: #1a56b5; }
.tag.green { background: #e2f6ea; color: #0f7a40; }
.tag.purple { background: #f1e8fc; color: #6c35b8; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: "✔"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }

/* styles */
.styles { padding-top: 60px; padding-bottom: 60px; }
.style-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.style-grid figure { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(30, 60, 110, .14); transition: transform .12s; }
.style-grid figure:hover { transform: translateY(-4px) rotate(-.6deg); }
.style-grid figcaption { padding: 10px 12px 14px; font-size: 13.5px; color: var(--muted); }
.style-grid figcaption b { display: block; color: var(--ink); font-size: 16.5px; }

/* cast */
.cast { background: linear-gradient(var(--blue), #1a56b5); padding-top: 54px; overflow: hidden; }
.cast-sub { text-align: center; color: #e3eeff; font-size: 18px; max-width: 700px; margin: -10px auto 10px; }
.cast-art { width: 100%; max-width: 1600px; margin: 0 auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); }

/* what's new */
.new { padding-top: 60px; padding-bottom: 60px; }
.new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.new-card { background: #fff; border-radius: 20px; padding: 20px 20px 16px; border-top: 6px solid var(--orange); box-shadow: 0 6px 18px rgba(30, 60, 110, .12); }
.new-card:nth-child(3n+2) { border-top-color: var(--blue); }
.new-card:nth-child(3n) { border-top-color: var(--green); }
.new-ic { font-size: 36px; line-height: 1; }
.new-card h3 { margin: 8px 0 4px; font-size: 20px; }
.new-card p { margin: 0; color: var(--muted); }

/* pricing */
.pricing { background: radial-gradient(circle at 50% 0%, #3a4670, var(--navy) 70%); padding: 64px 0 70px; }
.price-card { position: relative; max-width: 440px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 46px 32px 28px; text-align: center; border: 4px solid var(--yellow); box-shadow: 0 16px 44px rgba(0, 0, 0, .4); }
.ribbon { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 8px 26px; border-radius: 999px; background: linear-gradient(#8cc0ff, var(--blue)); color: #fff; font-weight: 800; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.price { font-size: 78px; font-weight: 900; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.price sup { font-size: 34px; vertical-align: 30px; }
.price span { font-size: 42px; }
.price small { display: block; font-size: 17px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.price-card .ticks { text-align: left; margin: 0 auto 24px; max-width: 320px; }
.price-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* download */
.download { padding-top: 60px; padding-bottom: 50px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl-card { background: #fff; border-radius: 20px; padding: 22px; text-align: center; box-shadow: 0 6px 18px rgba(30, 60, 110, .12); display: flex; flex-direction: column; align-items: center; }
.dl-card p { color: var(--muted); flex: 1; }
.dl-ic { font-size: 46px; line-height: 1; }
.dl-card h3 { margin: 10px 0 0; font-size: 22px; }
.dl-note { text-align: center; color: var(--muted); margin-top: 18px; }

/* footer */
.footer { background: var(--navy); color: #b9c2d8; padding: 30px 0 34px; border-top: 4px solid var(--orange); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-nav a { color: #dfe5f2; text-decoration: none; font-weight: 600; }
.foot-nav a:hover { color: var(--yellow); }
.foot-small { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; }

/* tablets and phones */
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .step-list, .new-grid, .dl-grid { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; gap: 16px; }
  .feature.flip img { order: 0; }
  .burst { width: 84px; height: 84px; font-size: 15px; right: 0; top: -36px; }
  .steps .step { margin-top: 10px; }
}

/* the "how many characters" banner in the Character Studio box */
.combo { margin-top: 16px; padding: 14px 16px 12px; border-radius: 18px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--blue)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px rgba(80, 60, 200, .3); }
.combo::before { content: "🎲"; position: absolute; right: -6px; top: -10px; font-size: 70px; opacity: .18; transform: rotate(18deg); }
.combo-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--yellow); }
.combo-num { display: block; font-size: clamp(16px, 2vw, 23px); font-weight: 900; letter-spacing: .2px; margin: 4px 0 6px; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); font-variant-numeric: tabular-nums; }
.combo-words { display: block; font-size: 15px; font-weight: 600; }
.combo-words b { color: var(--yellow); }
.combo-note { display: block; font-size: 12.5px; opacity: .85; margin-top: 6px; }

/* the promo video in the banner */
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: center; }
.hero-video { margin: 0; position: relative; padding: 10px 10px 8px; border-radius: 22px; background: linear-gradient(#ffffff, #dfe9f7); border: 3px solid #fff; box-shadow: 0 0 0 4px var(--orange), 0 14px 34px rgba(10, 40, 100, .35); }
.hero-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #0b2a6b; }
.hero-video figcaption { text-align: center; font-size: 13px; font-weight: 700; color: #3a4a6a; margin-top: 6px; }
.video-label { position: absolute; top: -16px; left: 22px; z-index: 1; padding: 5px 14px; border-radius: 999px; background: linear-gradient(#ffb15c, var(--orange) 50%, #f06400 52%); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }

/* comparison */
.compare { padding-top: 60px; padding-bottom: 50px; }
.compare-scroll { overflow-x: auto; border-radius: 20px; box-shadow: 0 6px 22px rgba(30, 60, 110, .14); background: #fff; }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: #fff; font-size: 17px; }
.compare-table thead th small { display: block; font-size: 12px; font-weight: 600; color: #b9c2d8; }
.compare-table thead th.us { background: var(--orange); }
.compare-table tbody th { width: 19%; color: var(--ink); font-size: 14.5px; }
.compare-table td.us { background: #fff6ee; font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.yes, .no { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: 13px; margin-right: 4px; }
.yes { background: var(--green); }
.no { background: #c8102e; }
.extras { margin-top: 22px; background: #fff; border-radius: 20px; padding: 18px 22px; border-left: 6px solid var(--orange); box-shadow: 0 6px 18px rgba(30, 60, 110, .1); }
.extras h3 { margin: 0 0 10px; font-size: 20px; }
.extras-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-note { color: var(--muted); font-size: 13px; text-align: center; max-width: 820px; margin: 16px auto 0; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .extras-list { grid-template-columns: 1fr; } }

.new-sub { margin: 34px 0 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; color: var(--ink); }
.new-sub:first-of-type { margin-top: 8px; }
.new-ver { padding: 3px 12px; border-radius: 999px; background: var(--orange, #ff7a1a); color: #fff; font-size: 16px; font-weight: 800; }

/* two price cards side by side, the yearly one picked out */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 860px; margin: 0 auto; }
.price-grid .price-card { max-width: none; margin: 0; padding-bottom: 30px; }
.price-card.best { border-color: var(--orange); }
.price-card.best .ribbon { background: linear-gradient(#ffb15c, var(--orange)); }
.price-per { color: var(--muted); font-weight: 600; margin: -6px 0 20px; }
.includes { max-width: 860px; margin: 30px auto 0; background: #fff; border-radius: 22px; padding: 20px 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.includes h3 { margin: 0 0 12px; font-size: 20px; }
.includes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trial-note { text-align: center; color: #fff; font-weight: 700; font-size: 18px; margin: 24px 0 0; }
.trial-note a { color: var(--yellow); }
.pricing .price-note { text-align: center; color: #b9c2d8; }

/* how the free trial works, under the download cards */
.trial-box { max-width: 760px; margin: 24px auto 0; background: #fff; border-radius: 20px; padding: 18px 22px; border-left: 6px solid var(--green); box-shadow: 0 6px 18px rgba(30, 60, 110, .1); }
.trial-box h3 { margin: 0 0 10px; font-size: 20px; }
.trial-box p { margin: 12px 0 0; font-weight: 600; }

/* the help page and the "opening soon" page */
.page-head { background: linear-gradient(#3e9ff0, #8fd0ff); padding: 40px 0 34px; text-align: center; }
.page-head h1 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); text-shadow: 0 3px 0 #1f66d1, 0 6px 18px rgba(10, 40, 100, .3); }
.page-head p { margin: 8px auto 0; max-width: 640px; color: #0f2f5c; font-weight: 600; font-size: 18px; }
.help { padding-top: 34px; padding-bottom: 56px; max-width: 860px; }
.help-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.help-toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 3px 10px rgba(30, 60, 110, .12); }
.help-card { background: #fff; border-radius: 20px; padding: 20px 24px; margin-bottom: 18px; border-top: 6px solid var(--orange); box-shadow: 0 6px 18px rgba(30, 60, 110, .12); scroll-margin-top: 84px; }
.help-card:nth-of-type(3n+2) { border-top-color: var(--blue); }
.help-card:nth-of-type(3n) { border-top-color: var(--green); }
.help-card h2 { margin: 0 0 8px; font-size: 24px; }
.help-card p, .help-card li { color: #3a445c; }
.help-card ol { padding-left: 22px; margin: 8px 0; }
.help-card li { margin-bottom: 4px; }
.key { font-family: Consolas, "DejaVu Sans Mono", monospace; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.help-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.soon { padding-top: 40px; padding-bottom: 70px; text-align: center; }
.soon p { max-width: 560px; margin: 0 auto 22px; font-size: 18px; color: var(--muted); }

@media (max-width: 900px) {
  .price-grid, .includes-list { grid-template-columns: 1fr; }
  .price-grid { gap: 36px; max-width: 440px; }
}
