/* ============================================================
   Cookisoft — Arcade brand layer
   "INSERT BYTE." Neon pixel-art title screen for in-house apps.
   Used on /apps/plus1up.
   ============================================================ */

body.arc {
  color: #ECE7F5;
  background: var(--arc-screen);
  background-image:
    radial-gradient(900px 480px at 78% -8%, rgba(138,107,255,.20), transparent 60%),
    radial-gradient(760px 460px at 10% 8%, rgba(77,166,255,.14), transparent 60%),
    linear-gradient(180deg, var(--arc-screen), #120d1c 70%);
  font-family: var(--font-mono);
}
body.arc::before { /* scanlines */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.arc-wrap { position: relative; z-index: 2; }

.pixel { font-family: var(--font-pixel-ui); }
.display { font-family: var(--font-pixel-display); }

/* ---------- Nav ---------- */
.anav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--arc-screen) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.anav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.anav__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.abrand { display: inline-flex; align-items: center; gap: 12px; }

/* Tagline that reveals in the topbar after the hero scrolls away */
.anav__tagline {
  position: relative; padding-left: 15px; white-space: nowrap;
  font-family: var(--font-pixel-ui); font-size: .56rem; letter-spacing: .04em;
  color: #C4BCE0; pointer-events: none;
  opacity: 0; transform: translateX(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.anav__tagline b { color: var(--arc-dough); font-weight: 400; }
.anav__tagline::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 0;
  background: rgba(255,255,255,.22); transform: translateY(-50%);
  transition: height .5s var(--ease) .08s;
}
.anav__tagline.is-visible { opacity: 1; transform: none; }
.anav__tagline.is-visible::before { height: 20px; }
.abrand img { width: 34px; height: 34px; image-rendering: pixelated; }
.abrand b { font-family: var(--font-pixel-display); font-size: 1.5rem; color: var(--arc-dough); font-weight: 700; }
.anav__links { display: flex; align-items: center; gap: 8px; }
.anav__links a { font-family: var(--font-pixel-ui); font-size: .62rem; color: #B9B1D6; padding: 10px 12px; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease); }
.anav__links a:hover { color: var(--arc-dough); background: rgba(255,255,255,.06); }
.anav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.anav__toggle span, .anav__toggle span::before, .anav__toggle span::after { content:""; display:block; width: 22px; height: 2px; background: var(--arc-dough); position: relative; }
.anav__toggle span::before { position:absolute; top:-7px; } .anav__toggle span::after { position:absolute; top:7px; }

/* ---------- Arcade buttons ---------- */
.abtn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-pixel-ui); font-size: .72rem; line-height: 1; padding: 16px 22px;
  border-radius: 12px; transition: transform .15s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.abtn:active { transform: translateY(2px); }
.abtn--primary { color: #1b1020; background: linear-gradient(180deg, var(--arc-dough), var(--arc-toast)); box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 10px 26px rgba(244,188,74,.35); }
.abtn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 16px 36px rgba(244,188,74,.5); }
.abtn--ghost { color: #ECE7F5; border: 2px solid rgba(255,255,255,.18); }
.abtn--ghost:hover { border-color: var(--arc-purple); color: #fff; box-shadow: 0 0 24px rgba(138,107,255,.4); }
.abtn--watch { color: #fff; background: rgba(255,255,255,.05); border: 2px solid var(--arc-blue); }

.aeyebrow { font-family: var(--font-pixel-ui); font-size: .62rem; letter-spacing: .08em; color: var(--arc-purple); }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Hero / title screen ---------- */
.ahero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--section-y); }
.ahero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.ahero h1 { font-family: var(--font-pixel-display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 7rem); line-height: .92; margin: 18px 0 10px; }
.ahero h1 .up { color: var(--arc-dough); text-shadow: 0 0 30px rgba(244,188,74,.55); }
.ahero__tag { font-family: var(--font-pixel-ui); font-size: clamp(.8rem, 1.8vw, 1.05rem); color: #fff; line-height: 1.7; }
.ahero__tag b { color: var(--arc-toast); }
.ahero__sub { margin: 22px 0 30px; color: #C4BCE0; font-size: 1.05rem; max-width: 46ch; line-height: 1.7; }
.ahero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.ahero__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .8rem; color: #9C95BC; }
.ahero__meta span::before { content: "▸ "; color: var(--arc-green); }

.ahero__phone { position: relative; justify-self: center; width: min(330px, 80%); }
.ahero__phone img { border-radius: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
.ahero__glow { position: absolute; inset: -12% -12% -4%; background: radial-gradient(circle at 50% 40%, rgba(138,107,255,.45), transparent 62%); filter: blur(8px); z-index: -1; }
.ahero__pix { position: absolute; width: 10px; height: 10px; image-rendering: pixelated; }

/* pixel confetti */
.confetti i { position: absolute; width: 9px; height: 9px; opacity: .9; animation: drift 7s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Section heads ---------- */
.ahead { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.ahead--center { margin-inline: auto; text-align: center; }
.ahead h2 { font-family: var(--font-pixel-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: 14px 0 0; }
.ahead p { margin-top: 16px; color: #C4BCE0; font-size: 1.05rem; }

/* ---------- Feature cards ---------- */
.afeatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.afeat {
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 26px 24px;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease); position: relative; overflow: hidden;
}
.afeat:hover { transform: translateY(-6px); border-color: var(--arc-purple); box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 30px rgba(138,107,255,.18); }
.afeat__ic { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(244,188,74,.12); border: 1px solid rgba(244,188,74,.3); }
.afeat__ic svg { width: 26px; height: 26px; stroke: var(--arc-dough); }
.afeat h3 { font-family: var(--font-pixel-ui); font-size: .82rem; line-height: 1.4; color: #fff; margin-bottom: 12px; }
.afeat p { color: #B9B1D6; font-size: .95rem; line-height: 1.6; }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 8px; }
.shot { scroll-snap-align: start; }
.shot img { border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); }
.shot figcaption { font-family: var(--font-pixel-ui); font-size: .58rem; color: #9C95BC; margin-top: 14px; text-align: center; line-height: 1.6; }

/* ---------- Watch band ---------- */
.watchband { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: clamp(30px,4vw,52px); }
.watchband__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px,4vw,56px); align-items: center; }
.watchshots { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.watchshots img { width: 30%; min-width: 110px; max-width: 150px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }

/* ---------- Pricing ---------- */
.price {
  text-align: center; background: linear-gradient(180deg, rgba(138,107,255,.14), rgba(255,255,255,.02));
  border: 1px solid var(--arc-purple); border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px) var(--gutter); position: relative; overflow: hidden;
}
.price__tag { font-family: var(--font-pixel-display); font-weight: 700; font-size: clamp(3rem, 8vw, 5rem); color: var(--arc-dough); line-height: 1; text-shadow: 0 0 30px rgba(244,188,74,.5); }
.price__once { font-family: var(--font-pixel-ui); font-size: .72rem; color: var(--arc-green); margin-top: 12px; }
.price h2 { font-family: var(--font-pixel-display); font-weight: 700; font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 8px; }
.price ul { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin: 26px auto 30px; max-width: 640px; }
.price li { font-size: .92rem; color: #C4BCE0; display: flex; gap: 8px; }
.price li::before { content: "✓"; color: var(--arc-green); font-weight: 700; }

/* ---------- FAQ (arcade) ---------- */
.afaq { max-width: 820px; margin-inline: auto; }
.afaq details { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: rgba(255,255,255,.025); }
.afaq summary { font-family: var(--font-pixel-ui); font-size: .72rem; line-height: 1.5; color: #fff; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.afaq summary::-webkit-details-marker { display: none; }
.afaq summary::after { content: "+"; color: var(--arc-dough); }
.afaq details[open] summary::after { content: "–"; }
.afaq p { margin-top: 14px; color: #B9B1D6; font-size: .98rem; line-height: 1.7; }

/* ---------- Footer ---------- */
.afooter { border-top: 1px solid rgba(255,255,255,.1); padding-block: 50px 40px; margin-top: var(--section-y); }
.afooter__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.afooter p { color: #9C95BC; font-size: .9rem; max-width: 34ch; margin-top: 12px; }
.afooter__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.afooter__links a { color: #B9B1D6; font-size: .9rem; }
.afooter__links a:hover { color: var(--arc-dough); }
.afooter__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; color: #807a9c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Doc pages (support / privacy) ---------- */
.adoc { max-width: 840px; margin-inline: auto; }
.adoc__title { font-family: var(--font-pixel-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; color: #fff; }
.adoc .updated { font-size: .8rem; color: #9C95BC; margin-top: 14px; }
.adoc .lead { font-size: 1.12rem; color: #C4BCE0; margin-top: 18px; line-height: 1.7; }
.adoc h2 { font-family: var(--font-pixel-ui); font-size: .92rem; line-height: 1.5; color: var(--arc-dough); margin: 44px 0 14px; }
.adoc h3 { font-size: 1.1rem; color: #fff; margin: 26px 0 8px; }
.adoc p { color: #C4BCE0; font-size: 1.02rem; line-height: 1.75; margin-top: 12px; }
.adoc ul { margin: 12px 0 0; display: grid; gap: 10px; }
.adoc ul li { color: #C4BCE0; font-size: 1.02rem; display: flex; gap: 11px; line-height: 1.6; }
.adoc ul li::before { content: "▸"; color: var(--arc-green); flex: none; }
.adoc a.inline { color: var(--arc-blue); text-decoration: underline; text-underline-offset: 3px; }
.adoc a.inline:hover { color: var(--arc-dough); }
.acard {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  padding: 26px 28px; margin-top: 22px;
}
.acard--accent { border-color: var(--arc-purple); background: linear-gradient(180deg, rgba(138,107,255,.12), rgba(255,255,255,.02)); }
.acontact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.acontact a { display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.acontact a:hover { border-color: var(--arc-dough); transform: translateY(-3px); }
.acontact .k { font-family: var(--font-pixel-ui); font-size: .6rem; color: var(--arc-purple); }
.acontact .v { font-size: 1.05rem; color: #fff; margin-top: 10px; word-break: break-word; }
.crumbs { font-size: .82rem; color: #9C95BC; margin-bottom: 22px; }
.crumbs a { color: #B9B1D6; } .crumbs a:hover { color: var(--arc-dough); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .ahero__grid { grid-template-columns: 1fr; }
  .ahero__phone { order: -1; }
  .afeatures { grid-template-columns: repeat(2, 1fr); }
  .watchband__grid { grid-template-columns: 1fr; }
  .anav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--arc-screen-2); padding: 12px var(--gutter) 20px; transform: translateY(-130%); transition: transform .3s var(--ease); border-bottom: 1px solid rgba(255,255,255,.1); }
  .anav__links.open { transform: none; }
  .anav__toggle { display: inline-flex; }
}
@media (max-width: 640px) { .anav__tagline { display: none; } }
@media (max-width: 560px) { .afeatures { grid-template-columns: 1fr; } .acontact { grid-template-columns: 1fr; } }
