/* Appxcellence company pages (/more-apps/, /about/): same type and colours as the WordPress theme
   (Plus Jakarta Sans + Inter, #120036 headings, #545465 text, #9370DB buttons). */
:root {
  --ink: #120036; --text: #545465; --muted: #6c757d; --brand: #9370db; --brand-dark: #7a55cf;
  --lav: #f6f2fe; --lav-2: #ebe3fc; --line: #e8e4f1; --white: #ffffff; --night: #0f0b1d;
  --head: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 700; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.16; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow { font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.65; }
.head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.head .lead { margin-top: 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--white); padding: 8px 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1 var(--body); padding: 14px 24px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-soft { background: var(--lav); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--brand); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* header and footer: same menu as the WordPress pages */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .pill { color: var(--ink); border: 2px solid var(--ink); border-radius: 36px; padding: 8px 20px; font-weight: 500; }
.nav .pill:hover { background: var(--ink); color: var(--white); }
@media (max-width: 900px) { .nav a:not(.pill) { display: none; } }
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 112px); padding-block: 34px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .note { flex-basis: 100%; font-size: 13px; color: #8a8f98; }

/* page head */
.page-head { background: radial-gradient(900px 460px at 12% -10%, var(--lav-2), transparent 70%), linear-gradient(180deg, var(--lav), var(--white)); padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 64px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.page-head .lead { margin-top: 18px; max-width: 40em; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; padding: 0; list-style: none; }
.stats li b { display: block; font: 700 30px/1.1 var(--head); color: var(--ink); }
.stats li span { font-size: 14px; color: var(--muted); }

/* apps page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.filters button { font: 500 15px/1 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.app { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 rgba(18,0,54,.03); transition: box-shadow .25s, transform .25s; }
.app:hover { box-shadow: 0 24px 60px rgba(18,0,54,.10); transform: translateY(-2px); }
.app[hidden] { display: none; }
.app .visual { position: relative; height: 290px; background: linear-gradient(135deg, var(--t1), var(--t2)); overflow: hidden; }
.app .visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 80% 0%, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
.app .visual img { position: absolute; width: 150px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.app .visual picture:nth-of-type(1) img { left: calc(50% - 160px); top: 34px; transform: rotate(-5deg); }
.app .visual picture:nth-of-type(2) img { left: calc(50% + 10px); top: 22px; transform: rotate(4deg); }
.app .soon { position: absolute; z-index: 1; top: 16px; left: 16px; font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 11px; }
.app .body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.app .id { display: flex; align-items: center; gap: 14px; margin-top: -58px; position: relative; z-index: 1; }
.app .id img { width: 68px; height: 68px; border-radius: 16px; border: 3px solid var(--white); box-shadow: 0 10px 24px rgba(18,0,54,.18); background: var(--white); }
.app .id div { padding-top: 62px; }
.app .cat { font: 600 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.app h2 { font-size: 22px; line-height: 1.25; margin-top: 2px; }
.app .tagline { margin-top: 16px; font-weight: 500; color: var(--ink); }
.app .desc { margin-top: 8px; font-size: 15.5px; line-height: 1.65; }
.app .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.app .meta .stars { color: #f5a524; letter-spacing: 1px; }
.app .meta b { color: var(--ink); }
.app .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }

/* about page */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 104px); }
.split .media img { border-radius: 24px; box-shadow: 0 24px 60px rgba(18,0,54,.14); }
.section .split .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { background: var(--lav); border-radius: 18px; padding: 28px 24px; }
.value .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--white); display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }
.value p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.service p { margin-top: 8px; font-size: 15.5px; }
.icons-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.icons-row a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; text-decoration: none; color: var(--ink); font: 600 14px/1.3 var(--body); text-align: center; }
.icons-row img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 28px rgba(18,0,54,.16); transition: transform .2s; }
.icons-row a:hover img { transform: translateY(-3px); }
.publisher { max-width: 820px; margin-inline: auto; border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.publisher .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--lav-2); display: grid; place-items: center; font-size: 26px; }

.band { background: var(--ink); color: #d9d2ee; border-radius: 24px; padding: clamp(36px, 6vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(147,112,219,.6), transparent); pointer-events: none; }
.band h2 { color: var(--white); }
.band p { margin-top: 10px; }
.band .btn { position: relative; z-index: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .apps, .split { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split .media { order: -1; }
}
@media (max-width: 620px) {
  .values, .services, .band { grid-template-columns: minmax(0, 1fr); }
  .app .visual { height: 250px; }
  .app .visual img { width: 128px; }
  .app .visual picture:nth-of-type(1) img { left: calc(50% - 138px); }
  .publisher { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
