/* ============================================================
   Lehigh Valley Websites — main stylesheet
   Dark neon identity, rebuilt 2026-09-20
   ============================================================ */
:root {
  --bg: #07070d;
  --bg-2: #0c0c16;
  --bg-3: #11111d;
  --text: #eceaf6;
  --muted: #a2a1b8;
  --faint: #6d6c85;
  --cyan: #00f3ff;
  --purple: #bc13fe;
  --cyan-dim: rgba(0, 243, 255, 0.14);
  --purple-dim: rgba(188, 19, 254, 0.14);
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --nav-h: 76px;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Graph-paper backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none; z-index: -2;
}
/* Ambient aurora glows */
body::after {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(600px 400px at 12% 8%, rgba(0,243,255,0.07), transparent 60%),
    radial-gradient(700px 500px at 88% 22%, rgba(188,19,254,0.08), transparent 60%),
    radial-gradient(500px 500px at 50% 100%, rgba(0,243,255,0.04), transparent 60%);
  pointer-events: none; z-index: -2;
}
#particle-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

::selection { background: var(--cyan); color: #04222a; }
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container { width: min(var(--max-w), 92%); margin: 0 auto; }
section { padding: 5.5rem 0; position: relative; }

.grad-text {
  background: linear-gradient(100deg, var(--cyan) 10%, var(--purple) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow-cyan { color: #fff; text-shadow: 0 0 14px rgba(0,243,255,.8), 0 0 44px rgba(0,243,255,.35); }
.glow-purple { color: #fff; text-shadow: 0 0 14px rgba(188,19,254,.8), 0 0 44px rgba(188,19,254,.35); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,243,255,.28); background: var(--cyan-dim);
  padding: .42rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 2.1rem; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), #4da6ff);
  color: #03222a; box-shadow: 0 8px 32px rgba(0,243,255,.28);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(0,243,255,.42); }
.btn-ghost {
  background: var(--glass); color: var(--text);
  border-color: var(--border); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(0,243,255,.5); box-shadow: 0 8px 28px rgba(0,243,255,.12); }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(7,7,13,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { width: min(var(--max-w), 94%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none !important; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: #fff; line-height: 1.1; }
.brand-name small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .4rem; list-style: none; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .96rem; text-decoration: none !important;
  padding: .6rem 1rem; border-radius: 9px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { margin-left: .6rem; padding: .68rem 1.5rem !important; font-size: .92rem; }
.hamburger { display: none; background: none; border: 1px solid var(--border); border-radius: 9px; padding: .55rem .7rem; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { min-height: 94vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { margin-bottom: 1.4rem; }
.typing-wrap { display: inline-block; min-width: 9ch; text-align: left; }
.typing-caret { display: inline-block; width: 3px; height: 1em; background: var(--cyan); margin-left: 4px; vertical-align: -0.12em; animation: blink 1s steps(1) infinite; box-shadow: 0 0 12px var(--cyan); }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: 1.16rem; max-width: 620px; margin: 0 auto 2.4rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 2.2rem; justify-content: center; margin-top: 3.4rem; flex-wrap: wrap; }
.hero-proof div { text-align: center; }
.hero-proof strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-proof span { font-size: .85rem; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--faint); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 44px; margin: .7rem auto 0; background: linear-gradient(var(--cyan), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 3D rotating carousel ---------- */
.carousel-stage { perspective: 1400px; width: 100%; height: 460px; display: flex; align-items: center; justify-content: center; position: relative; margin: 1rem 0 0; overflow: visible; }
.carousel-ring { position: relative; width: 340px; height: 230px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.22,.8,.3,1); }
.carousel-item {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg-3); border: 1px solid rgba(0,243,255,.35);
  box-shadow: 0 0 26px rgba(0,243,255,.18), 0 24px 60px rgba(0,0,0,.55);
  backface-visibility: hidden;
}
.carousel-item img, .carousel-item video { width: 100%; height: 100%; object-fit: cover; }
.carousel-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem;
  font-family: var(--font-display); font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(4,4,10,.92)); color: #fff;
}
.carousel-item::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.carousel-ui { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: var(--glass); border: 1px solid var(--border); color: var(--text);
  font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, box-shadow .25s, transform .25s; backdrop-filter: blur(8px);
}
.car-btn:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(0,243,255,.35); transform: scale(1.06); }
.car-dots { display: flex; gap: .55rem; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.18); cursor: pointer; transition: .3s; padding: 0; }
.car-dots button.on { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scale(1.25); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--purple)); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(0,243,255,.35); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 30px rgba(0,243,255,.08); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 1px solid rgba(0,243,255,.25); margin-bottom: 1.2rem;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .7rem; color: #fff; }
.card p { color: var(--muted); font-size: .97rem; }
.card .card-link { display: inline-block; margin-top: 1.1rem; font-weight: 600; font-size: .92rem; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.step-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  background: linear-gradient(120deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: .9rem;
}
.step h3 { color: #fff; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img.frame { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 40px rgba(188,19,254,.1); }
.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .9rem; align-items: flex-start; color: var(--muted); }
.check-list svg { flex: none; width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 2.4; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(0,243,255,.1), rgba(188,19,254,.12)), var(--bg-2);
  border: 1px solid rgba(0,243,255,.22);
}
.cta-band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(0,243,255,.16), transparent 65%); top: -200px; left: -120px; }
.cta-band::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(188,19,254,.18), transparent 65%); bottom: -220px; right: -120px; }
.cta-band h2 { margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-band .hero-ctas { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); background: rgba(5,5,10,.8); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.foot-grid p { color: var(--muted); font-size: .94rem; margin-top: 1rem; max-width: 340px; }
.foot-grid h4 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.foot-grid ul { list-style: none; display: grid; gap: .6rem; }
.foot-grid ul a { color: var(--muted); font-size: .95rem; text-decoration: none !important; }
.foot-grid ul a:hover { color: var(--cyan); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--border); color: var(--faint); font-size: .86rem; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--border); border-radius: 20px; padding: 2.6rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .5rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.1rem; border-radius: 10px; font-size: 1rem; font-family: var(--font-body);
  background: rgba(0,0,0,.35); border: 1px solid var(--border); color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,243,255,.15); }
.field select option { background: var(--bg-2); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .88rem; color: var(--faint); margin-top: 1rem; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.3rem; font-size: .95rem; }
.form-msg.ok { display: block; background: rgba(0,243,255,.1); border: 1px solid rgba(0,243,255,.4); color: #bffaff; }
.form-msg.err { display: block; background: rgba(255,70,90,.1); border: 1px solid rgba(255,70,90,.45); color: #ffc9ce; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; }
.post-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); background: var(--purple-dim); border: 1px solid rgba(188,19,254,.35); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.post-card h3 { color: #fff; margin-bottom: .7rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Tools ---------- */
.tool-panel { background: var(--glass); border: 1px solid var(--border); border-radius: 20px; padding: 2.4rem; margin-bottom: 2rem; backdrop-filter: blur(8px); }
.tool-panel h3 { color: #fff; margin-bottom: .5rem; }
.tool-panel > p { color: var(--muted); margin-bottom: 1.6rem; }
.tool-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.tool-row input[type=text] { flex: 1; min-width: 220px; padding: .9rem 1.1rem; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--border); color: var(--text); font-size: .95rem; font-family: monospace; }
.audit-results { margin-top: 1.6rem; display: grid; gap: .7rem; }
.audit-item { display: flex; gap: .9rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid var(--border); font-size: .93rem; }
.audit-item .st { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.audit-item.pass .st { background: rgba(0,243,255,.15); color: var(--cyan); border: 1px solid rgba(0,243,255,.5); }
.audit-item.warn .st { background: rgba(255,190,60,.12); color: #ffcf6e; border: 1px solid rgba(255,190,60,.5); }
.audit-item.fail .st { background: rgba(255,70,90,.12); color: #ff8f9a; border: 1px solid rgba(255,70,90,.5); }
.audit-item b { color: #fff; }
.audit-item small { display: block; color: var(--muted); }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.swatch { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: transform .25s; background: none; padding: 0; text-align: left; }
.swatch:hover { transform: translateY(-4px); }
.swatch .c { height: 84px; }
.swatch .h { padding: .55rem .7rem; font-family: monospace; font-size: .8rem; color: var(--text); background: rgba(0,0,0,.4); display: flex; justify-content: space-between; align-items: center; }
.palette-modes { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 .4rem; }
.mode-btn { padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: .88rem; font-weight: 600; cursor: pointer; transition: .25s; }
.mode-btn.on { background: var(--cyan-dim); border-color: rgba(0,243,255,.5); color: var(--cyan); }
input[type=color].colorpick { width: 64px; height: 48px; border: 1px solid var(--border); border-radius: 10px; background: rgba(0,0,0,.35); cursor: pointer; padding: 4px; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: calc(var(--nav-h) + 4rem) 0 3rem; text-align: center; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 1.2rem auto 0; font-size: 1.08rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .carousel-stage { height: 380px; }
  .carousel-ring { width: 270px; height: 185px; }
}
@media (max-width: 760px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0; flex-direction: column; align-items: stretch;
    background: rgba(7,7,13,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    padding: 1rem 4%; gap: .2rem; transform: translateY(-130%); transition: transform .35s ease; z-index: 999;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .9rem 1rem; }
  .nav-cta { margin: .6rem 0 .4rem; text-align: center; }
  section { padding: 3.8rem 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .carousel-stage { height: 330px; }
  .carousel-ring { width: 230px; height: 160px; }
  .form-card { padding: 1.8rem 1.4rem; }
  .cta-band { padding: 3rem 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
