/* nexsites-polish.css — Phase 5 design polish overrides (site-wide)
 * Applied via /css/nexsites-polish.css link from each public page.
 * Loads AFTER per-page <style> blocks so it cascades on top.
 * Reference: nexsites-client-build-SOP.md Phase 5 (5a-5h).
 */

/* ── 5b · Typography: Inter throughout ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss03';
}

/* ── 5e · btn-lime depth (gradient + inset highlight + 4-stop shadow) ── */
.btn-lime {
  background: linear-gradient(180deg, #d4f544, #bfe026);
  color: #07070e;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: -.2px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 1px 2px rgba(212,245,68,0.40),
    0 6px 16px rgba(212,245,68,0.22),
    0 0 30px rgba(212,245,68,0.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-lime:hover {
  background: linear-gradient(180deg, #d4f544, #a8c920);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.26) inset,
    0 2px 4px rgba(212,245,68,0.50),
    0 12px 28px rgba(212,245,68,0.36),
    0 0 50px rgba(212,245,68,0.22);
}
.btn-lime:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.10) inset,
    0 1px 2px rgba(212,245,68,0.30);
}

/* ── 5d · btn-ghost contrast fix (Riddick failure pattern) ── */
.btn-ghost {
  color: #c8c4bc;
  border: 1.5px solid rgba(255,255,255,0.22);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .2s;
}
.btn-ghost:hover {
  color: #f0ede4;
  border-color: rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.03);
}

/* ── 5a · hero-link (text link variant for secondary CTAs) ── */
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8c4bc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  padding: 8px 0;
}
.hero-link:hover {
  color: #d4f544;
  border-bottom-color: #d4f544;
}

/* ── 5h · form input depth (inset shadow rest + lime focus halo) ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
.co-input {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
  transition: border-color .18s, box-shadow .18s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
.co-input:focus {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.10), 0 0 0 3px rgba(212,245,68,0.22);
  outline: none;
  border-color: rgba(212,245,68,0.6);
}

/* ── 5h · select dropdown styling (browsers don't agree by default) ── */
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* ── 5e · card hover-lift (applies to common card classes) ── */
.project,
.testi,
.plan {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.project:hover {
  transform: translateY(-2px);
}
