:root {
  --primary: #8b35d5;
  --primary-dark: #5820a3;
  --accent: #f35cc5;
  --lime: #b8ff4d;
  --ink: #050505;
  --muted: #62606b;
  --paper: #ffffff;
  --soft: #f5f0ff;
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: hidden; background: #fff; }

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  background: rgba(255,255,255,.94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: var(--shadow-sm); font-size: 14px; overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 800; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { font-weight: 900; text-transform: uppercase; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-sm); }

.section-grid-bg { position: relative; background-image: linear-gradient(to right, rgba(139,53,213,.10) 1px, transparent 1px), linear-gradient(to bottom, rgba(139,53,213,.10) 1px, transparent 1px); background-size: 28px 28px; }
.hero { padding: 116px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 56px; position: relative; z-index: 2; }
.orb { position: absolute; width: 330px; height: 330px; border-radius: 999px; filter: blur(58px); pointer-events: none; }
.orb-one { right: -96px; top: -112px; background: rgba(139,53,213,.28); }
.orb-two { left: -120px; top: 310px; background: rgba(243,92,197,.18); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--shadow-sm); padding: 10px 16px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.pill.light { background: #f1ddff; color: var(--primary-dark); }
.hero h1 { margin: 26px 0 22px; font-size: clamp(52px, 8.7vw, 104px); line-height: .88; letter-spacing: -5px; font-weight: 900; }
.hero h1 span { display: block; }
.gradient-text { display: inline !important; color: transparent; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(4px 4px 0 #000); }
.hero p { margin: 0 0 30px; max-width: 640px; color: #696574; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 24px; font-weight: 900; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover, .download-button:hover, .feature-card:hover { transform: translate(-2px, -3px); box-shadow: 10px 11px 0 var(--ink); }
.button.primary { background: var(--primary); color: #fff; }
.button.secondary { background: #fff; color: #000; }
.release-card { position: relative; }
.card-shadow { position: absolute; inset: 14px -14px -14px 14px; background: #000; border-radius: 34px; }
.release-panel { position: relative; background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-dark)); padding: 6px; border: 2px solid var(--ink); border-radius: 34px; box-shadow: 0 14px 50px rgba(28,0,60,.18); }
.release-panel::before { content: ""; position: absolute; inset: 6px; border-radius: 28px; background: #111018; }
.release-head, .stats-grid, .verified-box { position: relative; z-index: 1; }
.release-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 26px 16px; color: #fff; }
.release-head > div:nth-child(2) { flex: 1; }
.app-icon { width: 58px; height: 58px; border: 2px solid rgba(255,255,255,.25); border-radius: 20px; background: #000; display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow, .stats-grid p { margin: 0 0 4px; color: rgba(255,255,255,.48); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.release-head h2 { margin: 0; font-size: 25px; font-weight: 900; }
.archive-icon { color: #ead8ff; font-weight: 900; font-size: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 26px 24px; color: #fff; }
.stats-grid div { min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 16px; }
.stats-grid strong { display: block; font-size: clamp(19px, 2vw, 27px); line-height: 1.05; overflow-wrap: anywhere; }
.verified-box { margin: 0 26px 26px; padding: 18px; display: flex; gap: 14px; align-items: center; color: #fff; background: rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; }
.verified-box span { width: 30px; height: 30px; display: grid; place-items: center; background: #6ee7a7; color: #001d0e; border-radius: 999px; font-weight: 900; }
.verified-box p { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }

.feature-strip { padding: 58px 0; background: var(--primary); border-block: 2px solid var(--ink); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: 26px; transition: transform .18s ease, box-shadow .18s ease; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; border: 2px solid var(--ink); background: var(--primary); color: #fff; font-size: 24px; margin-bottom: 18px; }
.feature-card h3 { margin: 0 0 8px; font-size: 25px; font-weight: 900; }
.feature-card p { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.55; }

.downloads { padding: 82px 0; }
.section-heading { max-width: 790px; margin: 0 auto 36px; text-align: center; }
.section-heading.narrow { max-width: 660px; }
.section-heading h2 { margin: 22px 0 12px; font-size: clamp(42px, 6vw, 72px); line-height: .95; letter-spacing: -3px; font-weight: 900; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; font-weight: 700; line-height: 1.6; }
.release-alert { margin: 0 auto 24px; max-width: 780px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 14px 18px; font-weight: 800; text-align: center; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.download-card { background: #fff; border: 2px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; min-height: 248px; }
.download-card h3 { margin: 0 0 8px; font-size: 28px; font-weight: 900; }
.download-card p { margin: 0 0 14px; color: var(--muted); font-weight: 700; line-height: 1.45; }
.asset-meta { display: grid; gap: 8px; margin: auto 0 18px; font-size: 14px; font-weight: 800; color: #4a4652; }
.asset-meta code { background: var(--soft); border: 1px solid #d8c2ee; border-radius: 9px; padding: 3px 7px; overflow-wrap: anywhere; }
.download-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: var(--primary); color: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 13px 16px; font-weight: 900; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease; }
.skeleton span { display: block; height: 20px; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(90deg, #eee, #f7e9ff, #eee); animation: pulse 1.4s infinite; }
.skeleton span:first-child { width: 70%; height: 34px; }
.skeleton span:nth-child(2) { width: 100%; }
.skeleton span:nth-child(3) { width: 48%; margin-top: auto; }
@keyframes pulse { 0%, 100% { opacity: .58; } 50% { opacity: 1; } }

.install { padding: 82px 0; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; min-height: 190px; background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: 56px 24px 24px; }
.step-card span { position: absolute; top: -16px; left: -14px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--primary); color: #fff; border: 2px solid var(--ink); border-radius: 17px; box-shadow: var(--shadow-sm); font-size: 22px; font-weight: 900; }
.step-card p { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 900; }

.footer { background: var(--primary); color: #fff; border-top: 2px solid var(--ink); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.footer h2 { margin: 0 0 12px; font-size: 34px; font-weight: 900; text-shadow: 3px 3px 0 #000; }
.footer h3 { margin: 0 0 14px; display: inline-block; border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 8px; }
.footer p { margin: 0; max-width: 420px; color: rgba(255,255,255,.86); font-weight: 700; line-height: 1.6; }
.footer a { display: block; margin: 9px 0; font-weight: 800; color: #fff; }
.footer a:hover { text-decoration: underline; }
.copyright { width: min(1160px, calc(100% - 32px)); margin: 36px auto 0; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.22); text-align: center; font-weight: 800; font-size: 14px; }

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand { font-size: 22px; }
  .hero { padding-top: 98px; }
  .hero h1 { letter-spacing: -3px; }
  .hero-actions, .button { width: 100%; }
  .feature-grid, .download-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .release-head { align-items: flex-start; }
  .archive-icon { display: none; }
}
