/* ===== RF Sight — Marketing site ===== */
:root {
  color-scheme: dark;
  --bg: #0b0f15;
  --panel: #131b25;
  --panel-2: #0f161e;
  --item: #161f2a;
  --accent: #e67e22;
  --accent-2: #1f6089;
  --brand-a: #143b52;
  --brand-b: #1f6089;
  --text: #e7ecf3;
  --muted: #94a2b4;
  --border: #26313f;
  --input-bg: #0d131a;
  --shadow: rgba(0, 0, 0, .55);
  --cyan: #00A3E0;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---- brand ---- */
.brand-wrap { display: inline-flex; align-items: center; gap: 10px; }
.brand { font-family: 'Audiowide', system-ui, sans-serif; font-size: 1.15rem; letter-spacing: .5px; }
.brand-eye { height: 1.9em; width: auto; flex: 0 0 auto; overflow: visible; }
.brand-eye.sm { height: 1.5em; }
.brand-eye .eye-outline { fill: none; stroke: rgba(255, 255, 255, .66); stroke-width: 22; stroke-linejoin: round; stroke-linecap: round; }
.brand-eye .eye-wave { fill: none; stroke: var(--cyan); stroke-width: 16; stroke-linecap: round; }
.brand-eye .eye-pupil { fill: rgba(255, 255, 255, .66); animation: eyePupil 5s ease-in-out infinite; }
.brand-eye .eye-wave.w1 { animation: eyeWave1 5s ease-in-out infinite; }
.brand-eye .eye-wave.w2 { animation: eyeWave2 5s ease-in-out infinite; }
.brand-eye .eye-wave.w3 { animation: eyeWave3 5s ease-in-out infinite; }
@keyframes eyePupil { 0%,100%{fill:rgba(255,255,255,.66);filter:none} 3%{fill:#fff;filter:drop-shadow(0 0 3px #7fe0ff)} 11%{fill:rgba(255,255,255,.66);filter:none} }
@keyframes eyeWave1 { 0%,1%,16%,100%{stroke:var(--cyan);filter:none} 8%{stroke:#eafcff;filter:drop-shadow(0 0 3px #7fe0ff)} }
@keyframes eyeWave2 { 0%,8%,22%,100%{stroke:var(--cyan);filter:none} 14%{stroke:#eafcff;filter:drop-shadow(0 0 3px #7fe0ff)} }
@keyframes eyeWave3 { 0%,14%,26%,100%{stroke:var(--cyan);filter:none} 20%{stroke:#eafcff;filter:drop-shadow(0 0 3px #7fe0ff)} }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border); background: var(--item); color: var(--text);
  border-radius: 10px; padding: 9px 16px; cursor: pointer; font: inherit;
  font-weight: 600; transition: filter .15s, box-shadow .15s, transform .05s, border-color .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; border: none; }
.btn.primary:hover { box-shadow: 0 4px 18px rgba(230, 126, 34, .4); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { border-color: var(--accent); }
.btn.lg { padding: 13px 24px; font-size: 1.02rem; border-radius: 12px; }
.btn.block { width: 100%; }

/* ---- nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(11, 15, 21, .72); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(11, 15, 21, .9); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(120px, 18vh, 200px) clamp(16px, 5vw, 48px) clamp(70px, 10vh, 120px); }
.hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; max-width: 130vw; pointer-events: none;
  background: radial-gradient(closest-side, rgba(31, 96, 137, .35), rgba(230, 126, 34, .08) 55%, transparent 72%);
  filter: blur(10px);
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -1px; font-weight: 800; }
.hero .lead { max-width: 680px; margin: 22px auto 0; font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--muted); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { list-style: none; display: flex; gap: 10px 24px; justify-content: center; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 4px rgba(0, 163, 224, .55);
  animation: badgeGlow 3s ease-in-out infinite;
}
.hero-badges li:nth-child(2)::before { animation-delay: .4s; }
.hero-badges li:nth-child(3)::before { animation-delay: .8s; }
@keyframes badgeGlow {
  0%, 16%, 100% { background: var(--cyan); box-shadow: 0 0 4px rgba(0, 163, 224, .55); }
  8%            { background: #eafcff; box-shadow: 0 0 14px var(--cyan), 0 0 26px var(--cyan); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badges li::before { animation: none; box-shadow: 0 0 8px var(--cyan); }
}

/* ---- sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 9vh, 110px) clamp(16px, 5vw, 48px); }
.section.alt { max-width: none; background: linear-gradient(180deg, var(--panel-2), var(--bg)); border-block: 1px solid var(--border); }
.section.alt > * { max-width: var(--maxw); margin-inline: auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.5px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---- feature grid ---- */
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 24px; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: 0 14px 40px var(--shadow); }
.card .ico {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.4rem;
  border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); color: #eafcff;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---- steps ---- */
.steps { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: s; }
.step { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px 24px; }
.step-n {
  position: absolute; top: -20px; left: 24px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; font-weight: 800;
  background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(230, 126, 34, .35);
}
.step h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .97rem; }

.tech-strip {
  margin-top: 42px; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.tech-strip > div { background: var(--panel); padding: 20px 22px; }
.tech-strip strong { display: block; color: var(--text); font-size: 1.02rem; }
.tech-strip span { color: var(--muted); font-size: .9rem; }

/* ---- proprietary / IP callout ---- */
.proprietary {
  margin-top: 34px; display: flex; gap: 20px; align-items: center;
  background: linear-gradient(135deg, rgba(31, 96, 137, .16), rgba(230, 126, 34, .10));
  border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px;
}
.prop-badge {
  flex: 0 0 auto; text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem;
  font-weight: 700; color: #eafcff; background: var(--brand-b);
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
}
.proprietary p { color: var(--muted); font-size: 1rem; }
.proprietary strong { color: var(--text); }
@media (max-width: 560px) { .proprietary { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---- contact ---- */
.contact-wrap { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list span { color: var(--muted); font-size: .85rem; }
.contact-list a { color: var(--cyan); font-weight: 600; width: fit-content; }
.contact-list a:hover { text-decoration: underline; }

.contact-card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font: inherit; padding: 11px 13px; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 126, 34, .18); }
.form-note { font-size: .92rem; padding: 10px 12px; border-radius: 10px; }
.form-note.ok { color: #86e5cf; background: rgba(38, 166, 154, .12); border: 1px solid rgba(38, 166, 154, .35); }
.form-note.err { color: #f5a6a0; background: rgba(192, 57, 43, .12); border: 1px solid rgba(192, 57, 43, .35); }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--border); background: var(--panel-2);
  padding: 22px clamp(16px, 5vw, 48px);
}
.copy { color: var(--muted); font-size: .88rem; text-align: center; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(11, 15, 21, .98); border-bottom: 1px solid var(--border);
    padding: 12px clamp(16px, 5vw, 48px) 18px; transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 10px 4px; }
  .nav-links a.nav-cta { margin-top: 6px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-eye * { animation: none !important; }
}
