/* AppVortex: the AppCharts dark theme (tokens, Outfit, Barlow Condensed, cards) with a violet accent. Dark only. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/outfit-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/outfit-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }

:root {
  --bg: #0c111d;
  --panel: #161b26;
  --line: #262d3c;
  --soft: #1f2532;
  --fg: #f0f2f5;
  --muted: #98a2b3;
  --accent: #7a5af8;
  --accent-hover: #9b8afb;
  --accent-soft: rgba(122, 90, 248, .16);
  --accent-text: #bdb4fe;
  --pink: #ee46bc;
  --glow: rgba(122, 90, 248, .28);
  --glow-2: rgba(238, 70, 188, .16);
  --shadow: none;
  --pop-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: var(--accent-text); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- top navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 8px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--fg); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 17px; line-height: .95; letter-spacing: .03em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: none; color: var(--fg); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded="true"] { background: var(--soft); }
.nav-links a[aria-current="page"] { color: var(--accent-text); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 340px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--pop-shadow); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--fg); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--soft); }
.menu img { width: 40px; height: 40px; border-radius: 10px; }
.menu strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.menu span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.menu .all { justify-content: center; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--accent-text); font-size: 14px; font-weight: 500; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--fg); }
.menu-btn { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); background: var(--panel); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--pop-shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open .nav-links { display: flex; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; min-height: 48px; font-size: 16px; }
  .menu { position: static; transform: none; width: auto; margin: 4px 0 8px; box-shadow: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 640px; background: radial-gradient(40% 50% at 70% 40%, var(--glow), transparent 70%), radial-gradient(30% 40% at 85% 70%, var(--glow-2), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 500; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--pink)); }
h1 { margin: 0; font-size: clamp(40px, 6.2vw, 72px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.grad { background: linear-gradient(120deg, var(--accent) 10%, var(--pink) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 34rem; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.facts strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 14px; }

/* phone mock-up with a home screen of the apps */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.ring.r1 { width: 520px; height: 520px; }
.ring.r2 { width: 380px; height: 380px; border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: 260px; height: 528px; padding: 12px; border-radius: 44px; background: #0b0f19; box-shadow: var(--pop-shadow), inset 0 0 0 2px #2a3242; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: linear-gradient(160deg, #2b1a6b 0%, #0c111d 55%, #3a0f35 100%); padding: 56px 20px 20px; color: #fff; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.screen.has-shot { padding: 0; background: #000; }
.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-time { position: absolute; top: 14px; left: 26px; font-size: 13px; font-weight: 600; }
.home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.home a, .home div { display: grid; justify-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: 10px; text-align: center; }
.home img, .home i { width: 46px; height: 46px; border-radius: 12px; }
.home i { background: rgba(255, 255, 255, .1); }
.dock { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-around; padding: 12px; border-radius: 26px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.dock i { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--pop-shadow); font-size: 13px; }
.float b { display: block; font-size: 15px; }
.float span { color: var(--muted); }
.float .badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.float.f1 { bottom: 150px; left: 0; }
.float.f2 { bottom: 64px; right: 0; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--panel); border-block: 1px solid var(--line); }
.kicker { margin: 0 0 10px; color: var(--accent-text); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.section-head p { max-width: 30rem; margin: 0; color: var(--muted); font-size: 17px; }

/* app cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); transition: border-color .2s, transform .2s, box-shadow .2s; }
.app-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-3px); box-shadow: var(--pop-shadow); }
.app-card header { display: flex; align-items: center; gap: 14px; }
.app-card img { width: 64px; height: 64px; border-radius: 16px; }
.app-card h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.app-card h3 a { color: var(--fg); text-decoration: none; }
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-card p { margin: 0; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 600; }
.tag.soon { background: var(--soft); color: var(--muted); }
.app-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.app-card footer .more { color: var(--accent-text); font-weight: 500; }

/* principles */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.section:not(.alt) .tile { background: var(--panel); }
.tile .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.tile h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.tile p { margin: 0; color: var(--muted); }

/* contact band */
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 56px; border-radius: 32px; background: linear-gradient(130deg, #2b1a6b, #6938ef 55%, #c11574); color: #fff; }
.band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.band h2 { color: #fff; }
.band p { max-width: 32rem; margin: 12px 0 0; color: rgba(255, 255, 255, .85); font-size: 17px; }
.band .btn { position: relative; z-index: 1; background: #fff; color: #2b1a6b; }
.band .btn:hover { background: #f4f3ff; }

/* ---------- app page ---------- */
.app-hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.app-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 560px; background: radial-gradient(40% 50% at 75% 45%, var(--glow), transparent 70%); pointer-events: none; }
.crumbs { position: relative; display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-id img { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--pop-shadow); }
.app-hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 14px; background: var(--fg); color: var(--bg); text-decoration: none; }
.store small { display: block; font-size: 11px; line-height: 1.1; opacity: .8; }
.store b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store[aria-disabled="true"] { background: var(--soft); color: var(--muted); }
.feature-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.feature-list .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.info-list { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.info-list div + div { border-top: 1px solid var(--line); }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 500; text-align: right; }
.prose { max-width: 46rem; }
.prose h2 { margin: 40px 0 12px; font-size: 26px; }
.prose p, .prose li { color: var(--fg); }
.prose .meta { color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--fg); font-size: 14px; font-weight: 600; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a { display: inline-block; padding: 3px 0; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot p { margin: 12px 0 0; max-width: 22rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .hero-grid, .two { grid-template-columns: 1fr; }
  .stage { min-height: 460px; }
  .ring.r1 { width: 420px; height: 420px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 56px; }
  .section { padding: 64px 0; }
  .grid3 { grid-template-columns: 1fr; }
  .float { display: none; }
  .ring.r1 { width: 340px; height: 340px; }
  .ring.r2 { width: 280px; height: 280px; }
  .foot-grid { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .facts { gap: 18px; flex-wrap: nowrap; }
  .facts li { flex: 1; }
  .facts strong { font-size: 24px; }
  .facts span { font-size: 13px; line-height: 1.35; display: block; }
}
