/*
================================================================================
  DR FRED COMPUTER SOLUTIONS - MAIN WEBSITE CSS
  File: assets/css/style.css

  This is the main visual design file for the whole website.
  All pages load this file from the <head> using:
  <link rel="stylesheet" href="assets/css/style.css">

  Sections inside this stylesheet:
  01. Theme variables
  02. Base reset and typography
  03. Navigation and buttons
  04. Hero sections and cards
  05. Repair guide layouts
  06. Forms, contact panels, code blocks
  07. Animations and responsive mobile design
================================================================================
*/

:root {
  --bg: #07111f;
  --bg-2: #0b1b2e;
  --surface: rgba(255,255,255,.075);
  --surface-strong: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.095);
  --card-2: rgba(255,255,255,.14);
  --text: #edf7ff;
  --muted: #a8bfd3;
  --muted-2: #7f98ad;
  --line: rgba(255,255,255,.13);
  --brand: #20e3b2;
  --brand-2: #15a6ff;
  --brand-3: #7a5cff;
  --warning: #ffd166;
  --danger: #ff6b7a;
  --success: #5cf2a8;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --shadow-soft: 0 18px 40px rgba(0,0,0,.24);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(32,227,178,.21), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(21,166,255,.22), transparent 32rem),
    radial-gradient(circle at 72% 52%, rgba(122,92,255,.14), transparent 35rem),
    linear-gradient(135deg, #06101d 0%, #0b1b2e 48%, #06101d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; color: var(--muted); margin: 0 0 1rem; }
strong { color: var(--text); }
small { color: var(--muted); }
ul, ol { color: var(--muted); line-height: 1.75; }
li + li { margin-top: .34rem; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; }

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 999;
  padding: .85rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #04111d;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container { width: min(var(--max), calc(100% - 38px)); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.section.compact { padding: 48px 0; }
.section:first-of-type { padding-top: 54px; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: rgba(5,14,26,.58);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar {
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img { width: 46px; height: 46px; }
.brand-mark { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 1.05rem; letter-spacing: .08em; }
.brand small { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.nav-links a {
  color: var(--muted);
  padding: .68rem .84rem;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,.11);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 999px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  cursor: pointer;
  min-height: 46px;
  padding: .82rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #03111d;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 16px 40px rgba(21,166,255,.24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(21,166,255,.32); filter: saturate(1.1); }
.btn.ghost { background: rgba(255,255,255,.075); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.white { background: #edf7ff; color: #07111f; box-shadow: 0 18px 48px rgba(237,247,255,.18); }
.btn.warning { background: linear-gradient(135deg, var(--warning), #ff9f43); color: #1d1000; }
.btn.small { min-height: 38px; padding: .62rem .82rem; font-size: .88rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .46rem .76rem;
  border-radius: 999px;
  color: #bdfbed;
  background: rgba(32,227,178,.12);
  border: 1px solid rgba(32,227,178,.22);
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .76rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(32,227,178,.12);
}

.hero {
  padding: 78px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero h1, .page-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.07em;
}
.gradient-text {
  background: linear-gradient(135deg, #fff 5%, var(--brand) 46%, var(--brand-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead, .page-lead {
  font-size: clamp(1.04rem, 1.55vw, 1.28rem);
  max-width: 760px;
  color: #c5d8e9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  min-height: 560px;
}
.hero-card img { width: 100%; height: 560px; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,31,.06), rgba(7,17,31,.82));
}
.console-float {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 22px;
  background: rgba(2,8,16,.82);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-weight: 800;
  font-size: .85rem;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); opacity: .9; }
.dots span:nth-child(2) { background: var(--warning); }
.dots span:nth-child(3) { background: var(--danger); }
.console-body { padding: 1rem; }
.console-body code { display: block; color: #d6fff7; line-height: 1.75; font-size: .92rem; }
.prompt { color: var(--brand); }

.page-hero {
  padding: 70px 0 42px;
  position: relative;
}
.page-hero .hero-split {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: 30px;
  align-items: end;
}
.page-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.page-hero-image img { width: 100%; height: 330px; object-fit: cover; }
.page-hero-image::after { content:""; position:absolute; inset:0; background: linear-gradient(160deg, rgba(7,17,31,.06), rgba(7,17,31,.54)); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.section-title { max-width: 790px; }
.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.section-title p { max-width: 780px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.065));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(32,227,178,.13), transparent 18rem);
  pointer-events: none;
}
.card > * { position: relative; }
.card h3 { margin: 0 0 10px; font-size: 1.22rem; letter-spacing: -.02em; }
.card h4 { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(32,227,178,.2), rgba(21,166,255,.2));
  border: 1px solid rgba(255,255,255,.12);
  font-size: 1.35rem;
}

.image-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.image-card img { width: 100%; height: 250px; object-fit: cover; }
.image-card .card-body { padding: 24px; }
.image-card.tall img { height: 360px; }

.problem-finder {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}
.finder-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.09);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.finder-form label, .input-label {
  display: block;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 10px;
}
select, input, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(3,12,24,.74);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: .95rem 1rem;
  outline: none;
  font: inherit;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
select:focus, input:focus, textarea:focus {
  border-color: rgba(32,227,178,.62);
  box-shadow: 0 0 0 4px rgba(32,227,178,.11);
}
textarea { min-height: 150px; resize: vertical; }
.wizard-result {
  padding: 22px;
  border-radius: 22px;
  background: rgba(2,8,16,.46);
  border: 1px solid rgba(255,255,255,.11);
}
.wizard-result h3 { margin: 0 0 8px; }
.wizard-result ol { margin-bottom: 0; }

.step-list { counter-reset: step; display: grid; gap: 16px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
}
.step::before {
  content: counter(step);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06111d;
  font-weight: 1000;
  font-size: 1.22rem;
}
.step h3 { margin: 0 0 8px; }
.step p { margin-bottom: 0; }

.callout {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(32,227,178,.16), rgba(21,166,255,.08));
  border: 1px solid rgba(32,227,178,.25);
  box-shadow: var(--shadow-soft);
}
.callout.warning { background: linear-gradient(135deg, rgba(255,209,102,.15), rgba(255,107,122,.08)); border-color: rgba(255,209,102,.28); }
.callout.danger { background: linear-gradient(135deg, rgba(255,107,122,.16), rgba(122,92,255,.08)); border-color: rgba(255,107,122,.28); }
.callout h3 { margin: 0 0 10px; }
.callout p:last-child, .callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }

.command-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #020814;
  box-shadow: var(--shadow-soft);
  margin: 18px 0;
}
.command-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-weight: 900;
}
.copy-btn {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 999px;
  padding: .5rem .7rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 900;
  cursor: pointer;
}
.copy-btn.copied { background: rgba(32,227,178,.18); color: #d8fff6; border-color: rgba(32,227,178,.36); }
.command-card pre { padding: 18px; overflow-x: auto; }
.command-card code { color: #d8fff6; line-height: 1.8; }
.kbd {
  display: inline-block;
  padding: .18rem .42rem;
  border-radius: 7px;
  background: rgba(255,255,255,.11);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-size: .88em;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
th { color: var(--text); background: rgba(255,255,255,.075); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--muted); line-height: 1.6; }
tr:last-child td { border-bottom: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: .36rem .62rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.tag.hot { color: #06111d; border-color: transparent; background: linear-gradient(135deg, var(--warning), var(--brand)); }
.tag.safe { color: #d8fff6; border-color: rgba(32,227,178,.24); background: rgba(32,227,178,.12); }
.tag.warn { color: #fff0be; border-color: rgba(255,209,102,.24); background: rgba(255,209,102,.1); }

.search-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.search-panel .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem-card.hidden { display: none; }
.problem-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.problem-card ol, .problem-card ul { margin: 0; padding-left: 1.18rem; }
.problem-card .fix-time { color: var(--brand); font-weight: 900; }

.accordion { display: grid; gap: 12px; }
details {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.065);
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--text);
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; color: var(--brand); font-size: 1.4rem; top: 13px; }
details[open] summary::after { content: "–"; }
details .details-body { padding: 0 20px 20px; }

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 22px;
  align-items: start;
}
.contact-card a { color: var(--brand); font-weight: 900; }
.contact-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .mini-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(32,227,178,.12);
  border: 1px solid rgba(32,227,178,.24);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }

.cta-band {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 20%, rgba(32,227,178,.3), transparent 18rem),
    linear-gradient(135deg, rgba(21,166,255,.2), rgba(122,92,255,.14));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.045em; }
.cta-band p { max-width: 720px; margin-bottom: 0; }

.footer {
  margin-top: 80px;
  padding: 52px 0 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(2,8,16,.34);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr .7fr .9fr;
  gap: 26px;
}
.footer h3, .footer h4 { margin: 0 0 12px; }
.footer a { display: inline-block; color: var(--muted); margin: 5px 0; }
.footer a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--muted-2);
  font-size: .9rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.print-only { display: none; }

@media (max-width: 1040px) {
  .nav-cta { display: none; }
  .hero-grid, .page-hero .hero-split, .finder-panel, .contact-grid { grid-template-columns: 1fr; }
  .hero-card, .hero-card img { min-height: 440px; height: 440px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 15px;
    right: 15px;
    display: grid;
    border-radius: 22px;
    padding: 12px;
    background: rgba(4,13,25,.96);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .2s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-links a { padding: .88rem 1rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 14px; }
  .cta-band { grid-template-columns: 1fr; }
  .search-panel .row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero { padding-top: 48px; }
  .hero h1, .page-hero h1 { letter-spacing: -.055em; }
  .hero-actions .btn { width: 100%; }
  .hero-card, .hero-card img { min-height: 390px; height: 390px; }
  .console-float { left: 12px; right: 12px; bottom: 12px; }
  .card, .callout, .cta-band { padding: 20px; }
  .step { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  body { background: #fff; color: #111; }
  body::before, .nav-wrap, .footer, .btn, .copy-btn { display: none !important; }
  .card, .callout, .command-card, .table-wrap { box-shadow: none; border-color: #ddd; background: #fff; color: #111; }
  p, li, td, small { color: #333; }
  .print-only { display: block; }
}

/* =============================================================================
   Extra visible polish layer added after review
============================================================================= */
.nav-wrap.scrolled {
  background: rgba(5, 14, 26, .78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}
.card,
.image-card,
.fix-card,
.command-card,
.contact-card,
.finder-panel {
  position: relative;
}
.card::after,
.fix-card::after,
.command-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.11), transparent 34%, rgba(32,227,178,.06));
  opacity: .65;
}
.card > *,
.fix-card > *,
.command-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}
.nav-links a.active {
  background: linear-gradient(135deg, rgba(32,227,178,.22), rgba(21,166,255,.18));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}
.command-block,
pre,
.console-body {
  border: 1px solid rgba(32,227,178,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.24);
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: rgba(32,227,178,.65) !important;
  box-shadow: 0 0 0 4px rgba(32,227,178,.12);
}
::selection {
  background: rgba(32,227,178,.35);
  color: #fff;
}

/* =============================================================================
   V3 upgrade: top search, installation pages, software hub, richer decoration
============================================================================= */
:root { --max: 1260px; }
.navbar { justify-content: flex-start; flex-wrap: nowrap; gap: 12px; }
.nav-links { flex: 0 0 auto; }
.nav-links a { padding: .62rem .67rem; font-size: .84rem; }
.nav-cta { margin-left: auto; }
.site-search {
  position: relative;
  flex: 1 1 270px;
  max-width: 360px;
  min-width: 230px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 34px rgba(0,0,0,.18);
}
.site-search .search-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 900;
}
.site-search input {
  min-height: 36px;
  border: 0 !important;
  background: transparent;
  box-shadow: none !important;
  padding: .42rem .38rem;
  border-radius: 999px;
  font-size: .9rem;
}
.site-search input::placeholder { color: rgba(168,191,211,.72); }
.site-search button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: .42rem .74rem;
  cursor: pointer;
  color: #06111d;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
}
.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 220;
  padding: 10px;
  border-radius: 22px;
  background: rgba(3,12,24,.98);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.site-search-result {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 16px;
  color: var(--text);
}
.site-search-result:hover,
.site-search-result:focus-visible {
  background: rgba(255,255,255,.09);
  outline: 0;
}
.site-search-result strong { font-size: .95rem; }
.site-search-result small { color: var(--muted); line-height: 1.45; }
.site-search-empty { color: var(--muted); padding: 12px; }

.decor-image { display: grid; place-items: center; background: rgba(255,255,255,.06); }
.decor-image img { width: 100%; height: 330px; object-fit: contain; padding: 0; }
.decor-image::after { display: none; }
.installation-hero, .software-hero { overflow: hidden; }
.installation-hero::before,
.software-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,227,178,.19), transparent 66%);
  pointer-events: none;
}
.installation-hero::after,
.software-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,166,255,.13), transparent 68%);
  pointer-events: none;
}

.feature-panel {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}
.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(32,227,178,.16), transparent 18rem), radial-gradient(circle at 100% 100%, rgba(122,92,255,.12), transparent 20rem);
  pointer-events: none;
}
.feature-panel > * { position: relative; z-index: 1; }
.feature-panel img { border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: rgba(2,8,16,.35); }
.feature-panel h3 { font-size: clamp(1.45rem, 2.3vw, 2.2rem); margin: 0 0 12px; letter-spacing: -.04em; }
.feature-panel p { margin-bottom: 18px; }

.install-steps .step { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.045)); }
.pro-checklist ul { margin-bottom: 0; }
.pro-checklist li::marker { color: var(--brand); }

.safe-download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(32,227,178,.14), rgba(21,166,255,.08));
  border: 1px solid rgba(32,227,178,.25);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
}
.safe-download-strip > div { display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.safe-download-strip strong { color: var(--text); }
.mini-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.software-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.software-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(32,227,178,.12), transparent 17rem), linear-gradient(135deg, rgba(255,255,255,.07), transparent 40%);
  pointer-events: none;
}
.software-card > * { position: relative; z-index: 1; }
.software-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32,227,178,.2), rgba(21,166,255,.19));
  border: 1px solid rgba(255,255,255,.13);
  font-size: 1.55rem;
}
.software-card h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.software-card ol { margin: 0 0 18px; padding-left: 1.18rem; }
.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

@media (max-width: 1240px) {
  .navbar { flex-wrap: wrap; }
  .site-search { order: 4; flex-basis: 100%; max-width: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 1040px) {
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { margin-left: auto; }
  .nav-links { top: 132px; }
  .site-search { order: 3; min-width: 100%; }
  .site-search-results { position: fixed; left: 15px; right: 15px; top: 132px; }
  .safe-download-strip { align-items: stretch; border-radius: 26px; flex-direction: column; }
  .safe-download-strip > div { align-items: flex-start; }
}
@media (max-width: 640px) {
  .software-grid { grid-template-columns: 1fr; }
  .site-search { grid-template-columns: 32px 1fr; border-radius: 22px; }
  .site-search button { grid-column: 1 / -1; width: 100%; margin-top: 5px; }
  .decor-image img { height: 260px; }
}


/* SEO V4 additions */
.local-spotlight-section { position: relative; }
.local-spotlight {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(116, 232, 222, .22);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(9, 26, 44, .96), rgba(15, 43, 62, .86));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.local-spotlight::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 4%;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54,224,212,.22), transparent 66%);
  pointer-events: none;
}
.local-spotlight h2 { margin: 8px 0 12px; letter-spacing: -.04em; }
.seo-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.seo-pill-row span {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
}
.local-spotlight-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
}
.local-spotlight-card a:not(.btn) { color: #fff; font-weight: 800; }
.keyword-grid a { text-decoration: none; }
.keyword-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(116, 232, 222, .16);
  background: rgba(255, 255, 255, .055);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.keyword-card:hover { transform: translateY(-4px); border-color: rgba(54,224,212,.5); background: rgba(255,255,255,.08); }
.keyword-card strong { color: #fff; font-size: 1.05rem; }
.keyword-card span { color: rgba(255,255,255,.72); line-height: 1.65; }
.faq-list { display: grid; gap: 14px; }
.faq-list details {
  border: 1px solid rgba(116, 232, 222, .16);
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .055);
}
.faq-list summary { cursor: pointer; font-weight: 850; color: #fff; }
.faq-list .details-body { padding-top: 12px; }
.faq-list .details-body a { color: var(--accent, #36e0d4); font-weight: 800; }
.seo-owner-note {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 202, 103, .3);
  background: rgba(255, 202, 103, .08);
}
@media (max-width: 820px) {
  .local-spotlight { grid-template-columns: 1fr; padding: 24px; }
}

.nav-pill{padding:.55rem 1rem;border-radius:999px;font-weight:700;margin-left:.4rem;transition:.3s;text-decoration:none}.nav-pill.ai{background:linear-gradient(90deg,#00c6ff,#0072ff);color:#fff}.nav-pill.volts{background:linear-gradient(90deg,#ffb000,#ff6a00);color:#fff}.nav-pill:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.25)}