/* =========================
   LogicDesk Tuning & Detailing
   Dark Neon UI
   ========================= */

:root{
  --bg:#07080c;
  --bg2:#0b0d14;
  --card:#0e1220;
  --stroke:rgba(255,255,255,.08);
  --text:#e9ecff;
  --muted:rgba(233,236,255,.72);
  --neon:#6b5bff;      /* neon violet/blue */
  --neon2:#00d5ff;     /* neon cyan */
  --red:#ff2b3d;       /* red accent */
  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(107,91,255,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(0,213,255,.14), transparent 55%),
    radial-gradient(700px 500px at 40% 95%, rgba(255,43,61,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button, input, textarea, select{font:inherit;color:inherit}

.container{
  width: min(var(--max), calc(100% - 42px));
  margin: 0 auto;
}

.skip{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip:focus{
  left:18px;top:18px;width:auto;height:auto;padding:10px 14px;
  background:var(--card);border:1px solid var(--stroke);border-radius:12px;
  z-index:9999;
}

/* ===== Header / Nav ===== */
.header{
  position:sticky;top:0;z-index:50;
  background: rgba(7,8,12,.72);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--stroke);
}
.navbar{
  display:flex;align-items:center;justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{
  display:flex;align-items:center;gap:12px;
  font-weight:800;letter-spacing:.5px;
}
.logo{
  width:38px;height:38px;border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,213,255,.95), rgba(107,91,255,.85) 55%, rgba(255,43,61,.65));
  box-shadow: 0 10px 30px rgba(107,91,255,.20);
  position:relative;
}
.logo:after{
  content:"";
  position:absolute;inset:1px;border-radius:11px;
  border:1px solid rgba(255,255,255,.14);
}
.brand small{
  display:block;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.2px;
  margin-top:-2px;
  font-size:12px;
}

.navlinks{
  display:flex;align-items:center;gap:16px;
}
.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  transition: .18s ease;
  font-weight:650;
  font-size:14px;
}
.navlinks a:hover{
  color:var(--text);
  border-color:var(--stroke);
  background:rgba(255,255,255,.03);
}
.navlinks a.active{
  color:var(--text);
  border-color:rgba(0,213,255,.35);
  background: linear-gradient(180deg, rgba(0,213,255,.10), rgba(107,91,255,.06));
}

.actions{
  display:flex;align-items:center;gap:10px;
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-weight:650;
  font-size:13px;
}
.dot{
  width:9px;height:9px;border-radius:99px;
  background:var(--red);
  box-shadow: 0 0 0 4px rgba(255,43,61,.18);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  box-shadow: none;
  transition:.18s ease;
  font-weight:750;
  font-size:14px;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,213,255,.35);
  background: rgba(0,213,255,.08);
}
.btn.primary{
  border-color: rgba(107,91,255,.55);
  background: linear-gradient(135deg, rgba(107,91,255,.28), rgba(0,213,255,.14));
}
.btn.primary:hover{
  border-color: rgba(0,213,255,.55);
  background: linear-gradient(135deg, rgba(0,213,255,.22), rgba(107,91,255,.22));
}
.btn.danger{
  border-color: rgba(255,43,61,.55);
  background: linear-gradient(135deg, rgba(255,43,61,.22), rgba(107,91,255,.12));
}
.btn.danger:hover{
  border-color: rgba(255,43,61,.75);
}

/* Burger */
.burger{
  display:none;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  position:relative;
}
.burger span{
  position:absolute;left:11px;right:11px;height:2px;border-radius:99px;
  background: rgba(233,236,255,.9);
  transition:.2s ease;
}
.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:21px;opacity:1}
.burger span:nth-child(3){top:28px}
.burger[aria-expanded="true"] span:nth-child(1){top:21px;transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){top:21px;transform:rotate(-45deg)}

.mobilepanel{
  display:none;
  padding: 12px 0 18px;
}
.mobilepanel a{
  display:flex;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:750;
  margin-top:10px;
}
.mobilepanel a:hover{color:var(--text);border-color:rgba(0,213,255,.35)}

/* ===== Sections / Layout ===== */
.section{
  padding: 56px 0;
}
.section.tight{padding:36px 0}
.grid{
  display:grid;gap:18px;
}
.grid.two{grid-template-columns: 1.1fr .9fr}
.grid.three{grid-template-columns: repeat(3, 1fr)}
.grid.four{grid-template-columns: repeat(4, 1fr)}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.pad{padding:18px}
.card.soft{
  box-shadow:none;
  background: rgba(255,255,255,.03);
}

.kicker{
  display:inline-flex;align-items:center;gap:10px;
  color: var(--muted);
  font-weight:800;
  letter-spacing:.2px;
  font-size:12px;
  text-transform:uppercase;
}
.kicker:before{
  content:"";
  width:10px;height:10px;border-radius:99px;
  background: radial-gradient(circle at 30% 30%, var(--neon2), var(--neon));
  box-shadow: 0 0 0 5px rgba(0,213,255,.10);
}

h1,h2,h3{margin:0 0 12px 0;line-height:1.2}
h1{font-size: clamp(34px, 5vw, 56px);letter-spacing:-.5px}
h2{font-size: clamp(24px, 3vw, 34px)}
h3{font-size: 18px}
p{margin:0 0 12px 0;color:var(--muted)}
ul{margin: 10px 0 0 18px;color:var(--muted)}
li{margin: 6px 0}

.hr{
  height:1px;background:var(--stroke);
  margin: 18px 0;
}

.pillrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:750;
  font-size:13px;
}
.pill b{color:var(--text);font-weight:850}

/* ===== Hero ===== */
.hero{
  padding: 58px 0 26px;
}
.heroWrap{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.heroMedia{
  position:relative;
  min-height: 420px;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  background:#0a0d16;
}
.heroMedia img{
  width:100%;height:100%;object-fit:cover;
  filter: contrast(1.04) saturate(1.15);
  transform: scale(1.03);
}
.heroGlow{
  position:absolute;inset:-30px;
  background:
    radial-gradient(420px 260px at 20% 10%, rgba(0,213,255,.22), transparent 60%),
    radial-gradient(420px 260px at 70% 30%, rgba(107,91,255,.20), transparent 60%),
    radial-gradient(420px 260px at 40% 90%, rgba(255,43,61,.14), transparent 60%);
  pointer-events:none;
}
.heroOverlay{
  position:absolute;inset:0;
  background: linear-gradient(90deg, rgba(7,8,12,.85), rgba(7,8,12,.10) 55%, rgba(7,8,12,.65));
}
.heroText{
  padding: 22px 22px 24px;
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background:
    radial-gradient(700px 340px at 30% 0%, rgba(107,91,255,.18), transparent 55%),
    rgba(255,255,255,.02);
  box-shadow: var(--shadow);
}
.heroText p{font-size:15px}
.heroStats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:16px;
}
.stat{
  padding:12px;border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.02);
}
.stat b{display:block;font-size:18px}
.stat span{display:block;color:var(--muted);font-weight:650;font-size:12px;margin-top:4px}
.heroCtas{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}

/* ===== Gallery ===== */
.gallery{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
}
.galleryMain{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  min-height: 420px;
  position:relative;
}
.galleryMain img{width:100%;height:100%;object-fit:cover}
.galleryMain:after{
  content:"";
  position:absolute;inset:0;
  background: linear-gradient(0deg, rgba(7,8,12,.88), rgba(7,8,12,0) 60%);
}
.galleryGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.thumb{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  min-height: 150px;
  position:relative;
}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb:after{
  content:"";
  position:absolute;inset:0;
  background: radial-gradient(240px 180px at 30% 20%, rgba(0,213,255,.14), transparent 65%);
}

/* ===== Pricing ===== */
.priceTable{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 18px;
  border:1px solid var(--stroke);
}
.priceTable th, .priceTable td{
  padding: 14px 14px;
  border-bottom:1px solid var(--stroke);
  text-align:left;
  vertical-align:top;
}
.priceTable th{
  color:var(--text);
  font-weight:900;
  background: rgba(255,255,255,.03);
}
.priceTable td{
  color:var(--muted);
  font-weight:650;
}
.priceTable tr:hover td{
  background: rgba(0,213,255,.05);
  color: rgba(233,236,255,.88);
}
.tag{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(0,213,255,.25);
  background: rgba(0,213,255,.08);
  color: rgba(233,236,255,.92);
  font-weight:850;
  font-size:12px;
}

/* ===== Forms ===== */
.form{
  display:grid;
  gap:12px;
}
.field{
  display:grid;gap:8px;
}
label{font-weight:850;color:rgba(233,236,255,.9);font-size:13px}
input, textarea, select{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(0,213,255,.38);
  box-shadow: 0 0 0 4px rgba(0,213,255,.10);
}
textarea{min-height:120px;resize:vertical}
.help{
  color: rgba(233,236,255,.60);
  font-size:12px;
  font-weight:650;
}
.inline{
  display:flex;gap:12px;flex-wrap:wrap;
}
.inline > *{flex:1;min-width:220px}

/* ===== Map ===== */
.map{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  min-height: 380px;
  background:#0a0d16;
}
.map iframe{width:100%;height:100%;border:0}

/* ===== Footer ===== */
.footer{
  border-top: 1px solid var(--stroke);
  padding: 28px 0;
  background: rgba(0,0,0,.18);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
.footer a{color:rgba(233,236,255,.72)}
.footer a:hover{color:rgba(233,236,255,.95)}
.small{font-size:12px;color:rgba(233,236,255,.58);font-weight:650}

/* ===== Alert (styled) ===== */
.toast{
  position:fixed;
  right:18px;
  bottom:18px;
  width:min(420px, calc(100% - 36px));
  border-radius: 18px;
  border:1px solid rgba(0,213,255,.35);
  background:
    radial-gradient(420px 220px at 20% 20%, rgba(0,213,255,.18), transparent 55%),
    radial-gradient(420px 220px at 80% 40%, rgba(107,91,255,.16), transparent 55%),
    rgba(14,18,32,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.6);
  padding: 14px 14px;
  transform: translateY(14px);
  opacity:0;
  pointer-events:none;
  transition: .22s ease;
}
.toast.show{
  transform: translateY(0);
  opacity:1;
  pointer-events:auto;
}
.toastTop{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
}
.toastTitle{
  font-weight:950;
  letter-spacing:.2px;
}
.toastMsg{margin:6px 0 0 0;color:rgba(233,236,255,.75);font-weight:650}
.toastActions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.toast .x{
  width:40px;height:40px;border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  cursor:pointer;
}
.toast .x:hover{border-color:rgba(255,43,61,.5)}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .grid.two{grid-template-columns:1fr}
  .grid.three{grid-template-columns:1fr 1fr}
  .grid.four{grid-template-columns:1fr 1fr}
  .heroWrap{grid-template-columns:1fr}
  .heroMedia{min-height: 360px}
  .gallery{grid-template-columns:1fr}
  .galleryMain{min-height: 360px}
}
@media (max-width: 760px){
  .navlinks{display:none}
  .burger{display:inline-flex}
  .mobilepanel{display:none}
  .mobilepanel.open{display:block}
  .footerGrid{grid-template-columns:1fr}
  .heroStats{grid-template-columns:1fr}
  .grid.three, .grid.four{grid-template-columns:1fr}
  .badge{display: none;}
}
