/* =========================================================
   pages.css: Features, Contact and Download pages
   (Home has its own home.css. Tokens come from shared.css.)
   ========================================================= */

/* ---------- Features ---------- */
.mods { padding: clamp(48px, 7vw, 88px) 0; }
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mod-card { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.mod-card:hover { transform: translateY(-4px); border-color: var(--blue-line); box-shadow: var(--sh2); }
.mod-top { display: flex; align-items: center; gap: 16px; }
.mod-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); transition: transform .3s var(--ease); }
.mod-card:hover .mod-ico { transform: rotate(-6deg) scale(1.08); }
.mod-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod-ico.t-gold { background: var(--gold-soft); color: var(--gold-dk); }
.mod-ico.t-teal { background: var(--teal-soft); color: var(--teal); }
.mod-ico.t-red { background: var(--red-bg); color: var(--stamp); }
.mod-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--blue-line); letter-spacing: .04em; }
.mod-card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; padding-right: 28px; }
.mod-desc { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.mod-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.mod-tag { background: var(--blue-soft); color: var(--blue-dk); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.mod-card.pro { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-color: transparent; color: #fff; }
.mod-card.pro h3 { color: #fff; }
.mod-card.pro .mod-desc { color: rgba(255, 255, 255, .78); max-width: 70ch; }
.mod-card.pro .mod-ico { background: rgba(242, 176, 30, .16); color: var(--gold); }
.mod-card.pro .mod-tag { background: rgba(255, 255, 255, .1); color: #fff; }
.mod-card.pro .mod-num { color: rgba(255, 255, 255, .35); }
.pro-badge { display: inline-block; margin-left: 8px; vertical-align: middle; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 100px; text-transform: uppercase; }
.pg-cta { margin-top: 40px; }

/* ---------- Contact ---------- */
.contact-sec { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.c-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.c-card, .c-form { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); padding: clamp(22px, 3vw, 32px); box-shadow: var(--sh); }
.c-card h2, .c-form h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.c-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.c-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); }
.c-item:first-of-type { border-top: 0; }
.c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); }
.c-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c-ico.g { background: var(--green-bg); color: var(--green); }
.c-ico.y { background: var(--gold-soft); color: var(--gold-dk); }
.c-ico.t { background: var(--teal-soft); color: var(--teal); }
.c-lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.c-val { font-size: 15px; font-weight: 600; word-break: break-word; }
.c-val a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--blue-line); transition: color .2s, border-color .2s; }
.c-val a:hover { color: var(--blue); border-color: var(--blue); }
.hours-box { margin-top: 20px; background: var(--navy); color: #fff; border-radius: var(--r2); padding: 24px; }
.hours-title { display: flex; align-items: center; gap: 9px; font-weight: 800; margin-bottom: 14px; }
.hours-title svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .8); }
.hours-row strong { color: #fff; }
.hours-row .closed { color: #ff9aa0; }
.hours-note { font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 12px; }
.c-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.c-actions .btn { flex: 1 1 170px; }
.btn[data-busy] { opacity: .7; pointer-events: none; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.q-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.q-card:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--blue-line); }
.q-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 4px; }
.q-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.q-title { font-weight: 800; font-size: 1.02rem; }
.q-desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.q-btn { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.q-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.q-btn:hover svg { transform: translateX(4px); }

/* ---------- Download ---------- */
.dl-sec { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.dl-card { max-width: 860px; margin: 0 auto; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); box-shadow: var(--sh2); overflow: hidden; }
.dl-main { padding: clamp(24px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.dl-file { display: flex; gap: 16px; align-items: center; min-width: 0; }
.dl-file-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.dl-file-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; word-break: break-all; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.dl-meta strong { color: var(--ink); }
.dl-body { border-top: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); display: grid; gap: 32px; }
.dl-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.dl-body h3 svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req-item { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
.req-item strong { display: block; color: var(--ink); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.inst-list { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.inst-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.inst-list li::before { content: counter(s); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; font-family: var(--font-head); }
.sha-box { background: var(--bg); border: 1px dashed var(--blue-line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sha-box code { font-size: 12.5px; word-break: break-all; flex: 1 1 260px; color: var(--ink-soft); }
.sha-copy { border: 1.5px solid var(--blue-line); background: #fff; color: var(--blue); font: inherit; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; transition: background .2s; }
.sha-copy:hover { background: var(--blue-soft); }
.sha-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.uninstall-box { background: var(--green-bg); border: 1.5px solid #bbf7d0; color: #14532d; border-radius: 12px; padding: 18px 20px; font-size: 14px; }
.dl-missing { background: var(--gold-soft); border: 1.5px solid var(--gold); border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.dl-store { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--teal-soft); border-radius: 12px; padding: 18px 20px; }
.dl-store p { font-size: 14px; color: var(--ink-soft); max-width: 52ch; }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .c-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mod-grid { grid-template-columns: 1fr; }
  .req-grid, .form-2 { grid-template-columns: 1fr; }
  .dl-main .btn { width: 100%; }
}
@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr; }
}
