/* Abstruse Networks — static rebuild of the Wix site */
:root {
  --bg: #0d2130;
  --panel: #0e2e47;
  --panel-soft: rgba(14, 46, 71, 0.48);
  --text: #9db1bf;
  --text-light: #d1d9dc;
  --white: #ffffff;
  --accent: #00f2ff;
  --accent-muted: #3fc7d0;
  --max: 1000px;
  --font: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  background-color: #0b1c29;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 6px);
  border-bottom: 1px solid #08151f;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 30px 30px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.logo svg { width: 80px; height: 70px; flex: none; }
.logo-text {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.logo-text .a { color: var(--accent); }
.logo-text .b { color: #9aa7ae; }

.header-contact { line-height: 1.35; }
.header-contact .phone { color: var(--text-light); font-size: 17px; text-decoration: none; display: block; }
.header-contact .email { color: var(--text); font-size: 15px; text-decoration: none; }
.header-contact a:hover { color: var(--white); }

.header-nav { margin-left: auto; display: flex; gap: 12px; }
.btn {
  display: inline-block;
  padding: 9px 12px;
  min-width: 110px;
  text-align: center;
  color: var(--white);
  background: var(--panel);
  border: 1px solid #9db1bf;
  text-decoration: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover, .btn[aria-current="page"] { background: var(--text-light); color: var(--panel); }

.header-band { height: 40px; background: rgba(14, 46, 71, 0.6); border-bottom: 2px solid #08151f; }

/* ---------- Social rail ---------- */
.social-rail {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}
.social-rail a { display: block; width: 24px; height: 24px; color: var(--white); opacity: .9; }
.social-rail a:hover { opacity: 1; color: var(--accent); }
.social-rail svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Home ---------- */
main { display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 30px; }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0 70px;
}
.services img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.services p { margin: 18px 0 0; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 30px 50px;
}
.feature img { width: 100%; max-width: 260px; aspect-ratio: 3 / 2; object-fit: cover; justify-self: center; }
.feature.reverse .feature-text { order: 2; }
.feature.reverse img { order: 1; }

.service-areas { text-align: center; padding: 60px 0 20px; }
.service-areas h2 { color: var(--text-light); font-weight: 300; font-size: 22px; margin: 0 0 4px; }
.map-frame {
  width: 100%;
  max-width: 610px;
  height: 450px;
  border: 0;
  margin: 0 auto;
  display: block;
  filter: grayscale(.6) brightness(.85);
}

.contact-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  padding: 50px 0 40px;
  flex-wrap: wrap;
}
.contact-block img { width: 150px; height: 100px; object-fit: cover; }
.contact-block p { margin: 0; color: var(--text-light); font-size: 17px; line-height: 1.4; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-muted);
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .powered { display: flex; align-items: center; gap: 100px; }
.site-footer img { width: 40px; height: 38px; object-fit: contain; }

/* ---------- Plans ---------- */
.plans-page {
  background: var(--bg) url("../img/plans-bg.jpg") center / cover no-repeat;
  padding: 50px 0 70px;
}
.plans-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(13, 33, 48, 0.35);
  padding: 70px 16px 50px;
}
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.plan {
  border: 1px solid rgba(209, 217, 220, 0.35);
  background: rgba(14, 46, 71, 0.25);
  color: var(--white);
  text-align: center;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.plan h3 { font-weight: 300; font-size: 20px; margin: 0 0 6px; }
.price { display: flex; align-items: flex-start; justify-content: center; font-weight: 300; line-height: 1; }
.price .cur { font-size: 18px; margin: 8px 6px 0 0; }
.price .amt { font-size: 66px; letter-spacing: 0.02em; }
.cycle { font-size: 12px; margin-top: 6px; }
.plan .desc { font-size: 15px; margin: 14px 0 0; }
.plan .note { font-size: 12px; margin: 8px 0 0; }
.plan .btn-select {
  margin-top: auto;
  width: 100%;
  max-width: 222px;
  padding: 14px;
  background: rgba(157, 177, 191, 0.7);
  color: var(--panel);
  border: 0;
  text-decoration: none;
  font-size: 14px;
}
.plan .btn-select:hover { background: var(--text-light); }
.plan .spacer { height: 30px; }
.plans-footnote { color: var(--white); text-align: center; margin: 40px auto 0; max-width: 700px; font-size: 14px; }

/* ---------- Forms (Support Desk / Code Request) ---------- */
.desk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 50px 0 60px;
}
.desk-intro { text-align: center; }
.desk-intro h1 { color: var(--white); font-weight: 300; font-size: 54px; margin: 0 0 10px; }
.desk-intro .btn { margin-bottom: 30px; font-size: 16px; padding: 10px 24px; }
.desk-intro p { text-align: left; font-size: 16px; line-height: 1.8; margin: 0 0 26px; }
.desk-intro .label { color: var(--white); text-align: left; margin-bottom: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 4px; color: var(--white); font-size: 14px; }
.form label.check { flex-direction: row; align-items: center; gap: 8px; }
.form input, .form select, .form textarea {
  font-family: var(--font);
  font-size: 14px;
  padding: 9px 10px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--text-light);
  border-radius: 0;
}
.form select option { background: var(--panel); }
.form textarea { min-height: 110px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--text); }
.form .actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.form button { min-width: 180px; padding: 12px; background: var(--white); color: var(--panel); font-weight: 500; border: 0; }
.form button:hover { background: var(--text-light); }
.form .status { grid-column: 1 / -1; color: var(--accent); min-height: 1.2em; margin: 0; }
.hp { position: absolute; left: -9999px; }

.code-panel {
  max-width: 760px;
  margin: 30px auto 60px;
  background: var(--panel);
  padding: 30px 48px 30px;
}
.code-panel .intro { text-align: center; font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.code-panel .form { grid-template-columns: repeat(3, 1fr); }
.code-panel .form .two { grid-column: span 2; }
.code-panel .form input, .code-panel .form select, .code-panel .form textarea { border-width: 2px; border-color: var(--white); }
.code-note { font-size: 13px; color: var(--text-light); margin: 6px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .header-inner { justify-content: center; text-align: center; gap: 18px; }
  .header-nav { margin-left: 0; }
  .services, .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .feature.reverse .feature-text { order: 0; }
  .desk { grid-template-columns: 1fr; }
  .code-panel { padding: 24px 20px; }
  .code-panel .form, .form { grid-template-columns: 1fr; }
  .code-panel .form .two { grid-column: auto; }
  .social-rail { position: static; transform: none; flex-direction: row; justify-content: center; padding: 10px 0 0; }
  .site-footer, .site-footer .powered { justify-content: center; gap: 20px; text-align: center; }
  .plans-page { background-attachment: scroll; }
}
