/* Controller+ Pro: a dark, colourful page on an aurora, in the site's own type and moulded buttons. */
body.pro {
  --pro-gold: #ffd23f;
  --pro-pink: #ff4f8b;
  --pro-cyan: #22d3ee;
  --pro-violet: #8b5cf6;
  color: #f4f1ff;
  background: #07060d;
}
body.pro .skip-link { position: absolute; left: 20px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: 12px; background: #fff; color: #000; }
body.pro .skip-link:focus { top: 12px; }
body.pro .topbar { background: #0b0a14d9; backdrop-filter: blur(14px); box-shadow: 0 1px 0 #ffffff14; }
body.pro .topbar .wordmark, body.pro .topbar nav a { color: #f4f1ff; }
body.pro .footer { color: #c9c4dc; }
body.pro .footer .wordmark { color: #fff; }
.nav-pro { color: var(--pro-gold, #ffb300) !important; font-weight: 700; }
.pro .eyebrow { font: 700 12px Pixel, ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--pro-gold); }
.pro h2 { font: 800 clamp(32px, 4.2vw, 54px)/1.05 Display, Body, sans-serif; letter-spacing: -.03em; margin: 10px 0 14px; color: #fff; }
.pro p { color: #cfc9e6; }

/* The aurora: four soft blobs drifting behind the hero. */
.pro-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 90px); isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(60px); opacity: .85; }
.aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: radial-gradient(closest-side, #7c4dff, transparent); left: 0; top: 10%; }
.aurora i:nth-child(2) { background: radial-gradient(closest-side, #ff2e88, transparent); right: 5%; top: 0; animation-duration: 22s; }
.aurora i:nth-child(3) { background: radial-gradient(closest-side, #00d4ff, transparent); left: 35%; bottom: -10%; animation-duration: 26s; }
.aurora i:nth-child(4) { background: radial-gradient(closest-side, #ffb300, transparent); right: 20%; bottom: 5%; opacity: .55; animation-duration: 20s; }
@keyframes drift { to { transform: translate(8%, -6%) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.kicker { font: 700 16px Pixel, ui-monospace, monospace; letter-spacing: .2em; color: #ffffffb3; text-transform: uppercase; }
.pro-title {
  font: 800 clamp(96px, 15vw, 190px)/.9 Display, Body, sans-serif; letter-spacing: -.05em; margin: 6px 0 10px;
  background: linear-gradient(100deg, #ffe259 0%, #ffa751 30%, #ff4f8b 55%, #ffe259 80%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite; filter: drop-shadow(0 10px 30px #ff4f8b55);
}
@keyframes shine { to { background-position: -220% 0; } }
.pro .lead { font-size: clamp(19px, 1.8vw, 24px); color: #fff; font-weight: 600; max-width: 26em; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-pro {
  display: inline-block; padding: 13px 28px; border-radius: 999px; text-decoration: none;
  font: 800 20px Display, Body, sans-serif; color: #3a2400;
  /* Gold inside, a rainbow ring turning round it. */
  border: 4px solid transparent;
  background: linear-gradient(#ffe36e, #ffb300) padding-box, conic-gradient(from var(--spin, 0deg), #ff4f8b, #ffe259, #4dffb8, #4dc3ff, #a14dff, #ff4f8b) border-box;
  box-shadow: 0 6px 0 #b86b00, 0 18px 40px -10px #ffb300aa;
  animation: spin 3s linear infinite;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.btn-pro:active { transform: translateY(4px); box-shadow: 0 2px 0 #b86b00, 0 10px 20px -10px #ffb300aa; }
.btn-ghost { color: #fff; font-weight: 700; padding: 14px 20px; border-radius: 999px; text-decoration: none; box-shadow: inset 0 0 0 2px #ffffff40; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #ffffffa0; }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #ffffff12; border: 1px solid #ffffff22; border-radius: 16px; padding: 10px 14px; backdrop-filter: blur(6px); }
.chips b { display: block; font: 800 26px Display, Body, sans-serif; color: #fff; }
.chips span { font: 700 10px Pixel, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #ffffffa8; }
.hero-phone { margin: 0; }
.phone { background: #16161b; border: 2px solid #3b3b46; border-radius: 15% / 32%; padding: 3.2%; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px #000, 0 0 60px -10px #a14dff66; }
.phone img { display: block; width: 100%; height: auto; border-radius: 11% / 25%; transition: opacity .45s; }
.hero-phone figcaption { margin: 16px auto 0; width: max-content; padding: 6px 16px; border-radius: 999px; background: #ffffff1a; font: 700 13px Pixel, ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #fff; }

.pro-section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { max-width: 760px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 22px; }
.filters button { font: 700 14px Body, sans-serif; color: #e7e2ff; background: #ffffff10; border: 1px solid #ffffff26; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.filters button.on { background: linear-gradient(90deg, #b82663, #7136c9); border-color: transparent; color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { margin: 0; background: #ffffff0d; border: 1px solid #ffffff1c; border-radius: 22px; padding: 10px 10px 12px; transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px) rotate(-.4deg); border-color: #ffffff55; }
.tile img { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; }
.tile figcaption { display: flex; justify-content: space-between; align-items: center; margin: 10px 4px 0; font-weight: 700; color: #fff; }
.tag { font: 700 10px Pixel, ui-monospace, monospace; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.tag.free { background: #2e9a5233; color: #7ff0a8; }
.tag.anim { background: linear-gradient(90deg, #ff4f8b55, #a14dff55); color: #ffd8f0; }
.tag.pro { background: #ffd23f26; color: var(--pro-gold); }

.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.pixel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pixel-pair figure { margin: 0; }
.pixel-pair img { width: 100%; border-radius: 16px; image-rendering: pixelated; box-shadow: 0 0 0 1px #ffffff22; }
.pixel-pair figcaption { font: 700 11px Pixel, ui-monospace, monospace; letter-spacing: .08em; color: #ffffffb3; margin: 8px 4px 0; text-transform: uppercase; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.pack { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 16px; border: 0; cursor: pointer; font: 700 15px Body, sans-serif; color: #1a1030; background: var(--c, #fff); box-shadow: 0 4px 0 #0006, inset 0 1px 0 #fff8; transition: transform .08s; }
.pack:active, .pack.playing { transform: translateY(3px); box-shadow: 0 1px 0 #0006, inset 0 1px 0 #fff8; }
.pack i { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #0000002a; display: grid; place-items: center; font-style: normal; }
.pack small { display: block; font: 700 9px Pixel, ui-monospace, monospace; letter-spacing: .08em; opacity: .7; }

.network { background: radial-gradient(800px 400px at 20% 50%, #00d4ff22, transparent 70%), radial-gradient(700px 400px at 80% 40%, #a14dff22, transparent 70%); }
.net-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
#globe { width: 100%; height: auto; max-width: 520px; justify-self: center; }
.stats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats li { background: #ffffff0f; border: 1px solid #ffffff22; border-radius: 18px; padding: 14px 16px; }
.stats b { display: block; font: 800 30px Display, Body, sans-serif; background: linear-gradient(90deg, #4dc3ff, #a14dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: #d6d1ee; font-size: 15px; }

.support { text-align: center; max-width: 820px; }
.support .heart { font-size: 64px; line-height: 1; color: #ff4f8b; filter: drop-shadow(0 0 24px #ff4f8b99); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 30% { transform: scale(1.15); } 60% { transform: scale(1); } }
.support p { font-size: 19px; }
.get { text-align: center; }
.steps { list-style: none; padding: 0; margin: 24px auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; text-align: left; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: #ffffff0f; border: 1px solid #ffffff22; border-radius: 18px; padding: 16px; color: #e8e3ff; }
.steps b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(#ffe36e, #ffb300); color: #3a2400; font-weight: 800; }
.get .note { font-size: 15px; color: #a9a3c4; }
.faq details { border-bottom: 1px solid #ffffff1f; padding: 14px 4px; }
.faq summary { cursor: pointer; font-weight: 700; color: #fff; font-size: 18px; }
.faq details p { margin: 10px 0 0; }

@media (max-width: 900px) {
  .hero-grid, .fx-grid, .net-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .pro-title, .btn-pro, .support .heart { animation: none; }
}

/* Pixel FX: four buttons to tap, throwing chunky 8-bit bits. */
.pixel-demo { margin-top: 18px; }
#pixel-play { display: block; width: 100%; max-width: 520px; height: auto; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #2a2740, #14121f 70%); box-shadow: inset 0 0 0 1px #ffffff1c; image-rendering: pixelated; cursor: pointer; touch-action: manipulation; }
.pixel-demo .filters { margin: 12px 0 0; }
/* The three plans. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 22px auto 6px; }
.plan { position: relative; display: grid; gap: 2px; justify-items: center; padding: 18px 10px 16px; border-radius: 20px; background: #ffffff10; border: 2px solid #ffffff26; color: #fff; }
.plan b { font: 700 13px Pixel, ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #e8e3ff; }
.plan .price { font: 800 34px Display, Body, sans-serif; letter-spacing: -.02em; }
.plan .per { color: #cfc9e6; font-size: 14px; }
.plan i { position: absolute; top: -11px; padding: 3px 10px; border-radius: 999px; font: 700 10px Pixel, ui-monospace, monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: #ffffff2b; color: #fff; }
.plan.best { border-color: var(--pro-gold); background: linear-gradient(180deg, #ffd23f22, #ffd23f0a); box-shadow: 0 16px 40px -18px #ffb300; }
.plan.best i { background: linear-gradient(#ffe36e, #ffb300); color: #3a2400; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* The shared footer's light-page colours are too dark against Pro's background. */
.pro .footer p, .pro .footer nav a { color: #c9c4dc; }
@media (max-width: 640px) {
  .pro .filters button { min-height: 40px; }
  .pro .faq summary { min-height: 40px; }
}
