/* ============================================================
   THE PICK NETWORK — styles.css
   Dark, futuristic, responsive design
   ============================================================ */
:root {
  --bg: #04060e;
  --bg-soft: #0a0f1e;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(0, 229, 255, 0.18);
  --accent: #00e5ff;
  --accent-2: #7c4dff;
  --text: #e8ecf5;
  --muted: #9aa4bf;
  --radius: 16px;
  --grad: linear-gradient(135deg, #00e5ff 0%, #7c4dff 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 6, 14, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand .logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #04060e;
  font-size: 1.1rem;
  font-weight: 900;
}

.brand span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 0.9rem; }

.header-email {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.header-email a { color: var(--accent); }

.lang-select {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.burger {
  display: none;
  background: none; border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero / Particles ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, rgba(124, 77, 255, 0.18), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(0, 229, 255, 0.14), transparent 55%),
              var(--bg);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 780px;
}

.tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  background: rgba(0, 229, 255, 0.06);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 640px;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: #04060e;
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 229, 255, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 0.8rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-badges span { display: flex; align-items: center; gap: 0.5rem; }
.hero-badges i { color: var(--accent); font-style: normal; }

/* ---------- Sections ---------- */
section { padding: 6rem 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head .tag { margin-bottom: 1rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.section-head p { color: var(--muted); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.12);
}

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.card h3 { font-size: 1.08rem; margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Parallax ---------- */
.parallax {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.parallax::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 14, 0.92) 0%, rgba(4, 6, 14, 0.65) 60%, rgba(4, 6, 14, 0.85) 100%);
}

.parallax .container { position: relative; z-index: 2; }
.parallax h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1rem; max-width: 700px; }
.parallax p { color: var(--muted); max-width: 640px; font-size: 1.05rem; }

.parallax .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
}
.parallax .stat b {
  display: block;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.parallax .stat span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Process (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #04060e;
  font-weight: 900;
  display: grid; place-items: center;
  font-size: 1.05rem;
}

.step h3 { font-size: 1.05rem; margin: 0.4rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

.sub-services { margin-top: 3rem; }
.sub-services h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info .card { margin-bottom: 1.2rem; }
.contact-info .mail {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
}

form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field label .req { color: var(--accent); }

input, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
textarea { min-height: 130px; resize: vertical; }

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.check input { width: auto; margin-top: 0.2rem; accent-color: var(--accent); }
.check a { text-decoration: underline; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.8rem 0 1.2rem;
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.form-status.ok { display: block; background: rgba(0, 229, 255, 0.1); border: 1px solid var(--accent); }
.form-status.err { display: block; background: rgba(255, 80, 80, 0.1); border: 1px solid #ff5050; }

/* ---------- Legal page ---------- */
.page-hero {
  padding: 9rem 0 4rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 77, 255, 0.2), transparent 60%), var(--bg);
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}
.legal h2 {
  font-size: 1.4rem;
  margin: 2.4rem 0 0.8rem;
  color: var(--accent);
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal .box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 6, 14, 0.9);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 { font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .parallax { background-attachment: scroll; } /* mobile perf */
}

@media (max-width: 720px) {
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 62px; right: 0;
    flex-direction: column;
    background: rgba(4, 6, 14, 0.97);
    width: 100%;
    padding: 1.5rem 0 2rem;
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .header-email { display: none; }
  form .row { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .btn-ghost { margin-left: 0; margin-top: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
