/*
  Pitch Black Cyber — style.css
  A sleek, dark, cyber‑forward theme with neon accents.
  Works with the current semantic HTML (no class changes required).
*/

/* ------------------------------
   Base + Theme Tokens
--------------------------------*/
:root {
  --bg: #0b0c10;
  --bg-elev: #11131b;
  --card: #141724;
  --text: #e8ebf7;
  --muted: #b4b9cf;
  --brand: #7a3cff;   /* purple */
  --accent: #00e6ff;  /* cyan */
  --hot: #ff3b7f;     /* magenta */
  --ring: rgba(0, 230, 255, 0.55);
  --border: #22263a;
  --maxw: 1100px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.9), rgba(11, 12, 16, 0.9)),
    url('images/background-image.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
  line-height: 1.6;
}

img, svg, video { max-width: 100%; display: block; }

/* ------------------------------
   Navigation
--------------------------------*/
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .75rem 1rem;
  max-width: var(--maxw);
  display: flex;
  gap: .75rem 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--text);
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: 999px;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
nav a:hover { background: rgba(122,60,255,.15); color: #fff; transform: translateY(-1px); }
nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------
   Hero Header
--------------------------------*/
header {
  max-width: var(--maxw);
  margin: 2.5rem auto 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,59,127,.15), transparent 60%),
    linear-gradient(180deg, rgba(20,23,36,.8), rgba(20,23,36,.55));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
header h1 {
  margin: 0 0 .35rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: .02em;
  line-height: 1.1;
  background: linear-gradient(90deg, #fff 0%, var(--accent) 45%, var(--brand) 100%);
  background-clip: text; -webkit-background-clip: text; color: transparent;
}
header h2 {
  margin: 0;
  font-weight: 500;
  color: var(--muted);
}

/* ------------------------------
   Main Layout
--------------------------------*/
main {
  max-width: var(--maxw);
  margin: 1rem auto 3rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  main { grid-template-columns: repeat(3, 1fr); }
}

section {
  background: linear-gradient(180deg, rgba(20,23,36,.9), rgba(17,19,27,.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
section h3 {
  margin: .25rem 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
section p, section ul { color: var(--muted); }

/* Subtle card hover lift */
section { transition: transform .2s ease, box-shadow .2s ease; }
section:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04) inset; }

/* Lists inside Services */
section ul { padding-left: 1.1rem; margin: .5rem 0 1rem; }
section li { margin: .25rem 0; }

/* ------------------------------
   Links as CTAs inside Sections
--------------------------------*/
section > a {
  display: inline-block;
  margin-top: .75rem;
  text-decoration: none;
  font-weight: 600;
  padding: .65rem 1rem;
  border-radius: 12px;
  color: #0b0c10;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  box-shadow: 0 6px 18px rgba(0, 230, 255, .25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
section > a:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(122,60,255,.25); filter: brightness(1.05); }
section > a:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

/* ------------------------------
   Forms
--------------------------------*/
form {
  display: grid;
  gap: .6rem;
}
label { font-size: .9rem; color: var(--muted); }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: #0e1018;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: #7e849e; }
input:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

input[type="submit"] {
  cursor: pointer;
  border: none;
  margin-top: .2rem;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #0b0c10;
  background: linear-gradient(90deg, var(--brand), var(--hot));
  box-shadow: 0 8px 24px rgba(255, 59, 127, .25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
input[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.05); }
input[type="submit"]:active { transform: translateY(0); }

/* ------------------------------
   Footer
--------------------------------*/
footer {
  max-width: var(--maxw);
  margin: 2.5rem auto 3rem;
  padding: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ------------------------------
   Accessibility & Motion
--------------------------------*/
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ------------------------------
   Small Screen Tweaks
--------------------------------*/
@media (max-width: 899px) {
  header { text-align: left; }
  nav ul { justify-content: center; }
}
