/* Lexcore AppDev — "Live on Google Play" showcase + App Ready service (matte black) */

/* ---------- Proof strip ---------- */
.proof-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; margin: 1.1rem 0 1.6rem; color: var(--muted); font-size: .92rem; }
.proof-strip b { color: var(--text); font-size: 1.35rem; font-weight: 700; margin-right: .35rem; font-family: "DM Sans", system-ui, sans-serif; }
.proof-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---------- Filter chips ---------- */
.lx-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.25rem; }
.lx-filter { border: 1px solid var(--line); background: var(--bg-elev); color: var(--muted); border-radius: 999px; padding: .42rem .85rem; font-size: .86rem; cursor: pointer; transition: all .2s; }
.lx-filter:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.lx-filter[aria-pressed="true"] { background: var(--gold); color: #0b0b0c; border-color: transparent; font-weight: 700; }

/* ---------- App wall ---------- */
.lx-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.lx-app {
  position: relative; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #141416, #0f0f11);
  padding: 1rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .8rem; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .35s; outline: none;
  transform-style: preserve-3d;
}
.lx-app:hover, .lx-app:focus-visible { border-color: rgba(255, 138, 61,.45); box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255, 138, 61,.12); }
.lx-app.is-hidden { display: none; }
.lx-live { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8ee3b5; background: rgba(61,154,106,.14); border: 1px solid rgba(61,154,106,.35); padding: .2rem .5rem; border-radius: 999px; }
.lx-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: lxPulse 2s infinite; }
@keyframes lxPulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.lx-phone { position: relative; margin: 1.9rem auto 0; width: 150px; aspect-ratio: 9 / 19.5; border-radius: 24px; background: #050506; border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 0 0 4px #0b0b0c, 0 18px 36px rgba(0,0,0,.6); overflow: hidden; }
.lx-phone::after { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 6px; margin-left: -19px; border-radius: 6px; background: #000; z-index: 3; }
.lx-phone img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: cover; object-position: top; border-radius: 20px; opacity: 0; transition: opacity .8s ease, transform 6s ease; transform: scale(1.02); }
.lx-phone img.on { opacity: 1; transform: scale(1); }
.lx-phone.icon-only { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #1d1d20, #0b0b0c 70%); }
.lx-phone.icon-only img { position: static; width: 64px; height: 64px; opacity: 1; border-radius: 16px; transform: none; }

.lx-meta { display: flex; gap: .7rem; align-items: center; }
.lx-meta img { width: 40px; height: 40px; border-radius: 11px; flex: none; background: #1a1a1d; }
.lx-meta h3 { margin: 0; font-size: 1rem; line-height: 1.25; color: var(--text); font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; }
.lx-meta span { display: block; font-size: .76rem; color: var(--muted-2); margin-top: .1rem; }
.lx-app p.lx-tag { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.45; min-height: 2.6em; }
.lx-actions { display: grid; grid-template-columns: auto 1fr; gap: .45rem; margin-top: auto; }
.lx-actions .btn { padding: .55rem .8rem; font-size: .82rem; white-space: nowrap; justify-content: center; text-align: center; }
.lx-more { text-align: center; margin-top: 1.4rem; }

/* ---------- Modal ---------- */
.lx-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.lx-modal.open { display: flex; animation: lxFade .25s ease; }
@keyframes lxFade { from { opacity: 0; } to { opacity: 1; } }
.lx-sheet { width: min(980px, 100%); max-height: calc(100vh - 2rem); overflow: auto; background: #111113; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.4rem; position: relative; }
.lx-close { position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #18181b; color: var(--text); cursor: pointer; font-size: 1.1rem; }
.lx-gallery { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.lx-gallery img { height: 420px; width: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); scroll-snap-align: start; background: #0b0b0c; }
.lx-info h3 { font-family: "Source Serif 4", Georgia, serif; font-size: 1.7rem; margin: .2rem 0 .3rem; }
.lx-info .lx-kick { color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.lx-info p { color: var(--muted); }
.lx-built { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .45rem; }
.lx-built li { color: var(--muted); font-size: .9rem; padding-left: 1.4rem; position: relative; }
.lx-built li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.lx-info .btns { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.play-badge { display: inline-flex; align-items: center; gap: .5rem; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: .5rem .85rem; font-size: .85rem; font-weight: 600; }
.play-badge svg { width: 18px; height: 18px; }

/* ---------- App Ready service: process ---------- */
.ar-process { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; margin: 1.4rem 0 0; counter-reset: ar; position: relative; }
.ar-step { position: relative; border: 1px solid var(--line); border-radius: 16px; background: #121214; padding: 1rem .9rem; opacity: .35; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease, border-color .4s; }
.ar-step.lit { opacity: 1; transform: none; border-color: rgba(255, 138, 61,.35); }
.ar-step .n { counter-increment: ar; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1d1d20; color: var(--gold); font-weight: 700; font-size: .82rem; margin-bottom: .55rem; }
.ar-step.lit .n { background: var(--gold); color: #0b0b0c; }
.ar-step h4 { margin: 0 0 .25rem; font-size: .95rem; color: var(--text); font-family: "DM Sans", system-ui, sans-serif; }
.ar-step p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.ar-step .when { display: block; margin-top: .5rem; font-size: .72rem; color: var(--muted-2); }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.est-panel { border: 1px solid var(--line); border-radius: 18px; background: #121214; padding: 1.2rem; }
.est-panel h4 { margin: 0 0 .7rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.est-opts { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.est-opt { border: 1px solid var(--line); background: #0f0f11; color: var(--muted); border-radius: 12px; padding: .5rem .75rem; font-size: .86rem; cursor: pointer; transition: all .18s; }
.est-opt:hover { color: var(--text); }
.est-opt[aria-pressed="true"] { border-color: rgba(255, 138, 61,.6); color: var(--text); background: rgba(255, 138, 61,.1); }
.est-out { position: sticky; top: 90px; align-self: start; border: 1px solid rgba(255, 138, 61,.35); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 138, 61,.07), #121214 45%); padding: 1.3rem; }
.est-pkg { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.est-price { font-size: 2.3rem; font-weight: 800; margin: .2rem 0; color: var(--text); font-family: "DM Sans", system-ui, sans-serif; transition: transform .25s; }
.est-price.bump { transform: scale(1.06); }
.est-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line-soft); padding: .55rem 0; font-size: .9rem; color: var(--muted); }
.est-row b { color: var(--text); }
.est-meter { height: 8px; border-radius: 99px; background: #1d1d20; overflow: hidden; margin: .3rem 0 .9rem; }
.est-meter i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #c45a1c, var(--gold)); border-radius: inherit; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.est-note { font-size: .78rem; color: var(--muted-2); margin: .8rem 0 0; }

@media (max-width: 900px) {
  .ar-process { grid-template-columns: repeat(2, 1fr); }
  .est { grid-template-columns: 1fr; }
  .est-out { position: static; }
  .lx-sheet { grid-template-columns: 1fr; }
  .lx-gallery img { height: 360px; }
}
@media (max-width: 520px) {
  .lx-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .lx-app { padding: .75rem; }
  .lx-phone { width: 100%; max-width: 132px; }
  .lx-actions { grid-template-columns: 1fr; }
  .lx-phone { margin-top: 2.1rem; }
  .lx-live { left: .6rem; right: auto; font-size: .62rem; }
  .lx-app p.lx-tag { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-phone img, .ar-step, .lx-app, .est-meter i { transition: none !important; }
  .lx-live::before { animation: none; }
  .ar-step { opacity: 1; transform: none; }
}
