/* Defyracks IT — Blitz design system */
:root {
  --bg: #070018;
  --bg-deep: #050011;
  --surface: rgba(17, 6, 42, 0.72);
  --surface-2: rgba(26, 9, 60, 0.6);
  --border: rgba(255, 92, 240, 0.22);
  --line: rgba(150, 90, 255, 0.22);
  --text: #f6f0ff;
  --muted: #b9a9d4;
  --cyan: #45d9ff;
  --magenta: #ff5cf0;
  --violet: #9b4dff;
  --gold: #ffd34d;
  --green: #5dff9b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -50px #000;
  --space: clamp(56px, 7vw, 92px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(58% 42% at 8% -4%, rgba(255, 40, 210, 0.16), transparent 62%),
    radial-gradient(52% 40% at 96% 2%, rgba(40, 170, 255, 0.14), transparent 60%),
    radial-gradient(70% 50% at 50% 108%, rgba(120, 20, 255, 0.2), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 30px 40px, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 90px, rgba(140, 230, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 185px 35px, rgba(255, 160, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 75px 160px, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 205px 185px, rgba(160, 210, 255, 0.6) 50%, transparent 51%);
  background-size: 240px 210px;
  opacity: 0.55;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* hidden svg sprite */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: rgba(255, 92, 240, 0.38); color: #fff; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b6efff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #1b1300;
  padding: 10px 16px; z-index: 40; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(12, 2, 30, 0.96), rgba(7, 0, 24, 0.88));
  border-bottom: 1px solid rgba(255, 92, 240, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(255, 40, 220, 0.07), inset 0 -1px 0 rgba(69, 217, 255, 0.16);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-size: 20px; }
.brand-mark { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(255, 92, 240, 0.7)); }
.brand-text { letter-spacing: 0.01em; }
.brand-text strong { font-weight: 800; text-shadow: 0 0 14px rgba(69, 217, 255, 0.45); }
.brand-text span { color: var(--magenta); font-weight: 800; text-shadow: 0 0 10px rgba(255, 92, 240, 0.6); }

.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 600;
  padding: 8px 2px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--cyan); }

.nav-cta {
  color: #12002b !important;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  padding: 10px 18px !important;
  border-radius: 999px; border-bottom: none !important; font-weight: 800;
  box-shadow: 0 8px 26px -10px rgba(255, 92, 240, 0.9);
}
.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--cyan); border-radius: 2px; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- hero ---------- */
.hero { padding: clamp(52px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 16px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

h1, h2, h3 { line-height: 1.14; margin: 0 0 16px; letter-spacing: -0.015em; }
h1 {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; max-width: 22ch;
  text-shadow: 0 0 34px rgba(69, 217, 255, 0.16);
}
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }

.lede { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.section-lede { color: var(--muted); max-width: 64ch; margin: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #12002b; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 14px 34px -18px rgba(255, 92, 240, 0.95); cursor: pointer;
}
.button:hover { filter: brightness(1.07); color: #12002b; }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; font-weight: 700; }
.button.ghost:hover { border-color: var(--cyan); color: #fff; }

.trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0;
  font-size: 14px; color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { width: 16px; height: 16px; color: var(--gold); }

/* hero panel */
.hero-panel {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(69, 217, 255, 0.14);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pill-live { background: rgba(93, 255, 155, 0.12); color: var(--green); border: 1px solid rgba(93, 255, 155, 0.35); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.panel-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.panel-list li:last-child { border-bottom: 0; }
.panel-list span:not(.status-dot) { flex: 1; color: var(--text); }
.panel-list em { font-style: normal; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-dot.ok { background: var(--green); box-shadow: 0 0 8px rgba(93, 255, 155, 0.8); }

.panel-foot { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.panel-foot .ico { color: var(--cyan); margin-top: 3px; }
.panel-foot p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- ribbon ---------- */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9, 2, 24, 0.55); }
.ribbon-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px;
  padding: 18px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8f7cb0;
}

/* ---------- sections ---------- */
.section { padding: var(--space) 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(15, 5, 38, 0.5), rgba(7, 0, 24, 0));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { max-width: 22ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(69, 217, 255, 0.1);
  transition: transform 160ms ease, border-color 160ms ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(69, 217, 255, 0.4); }

.card-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(69, 217, 255, 0.18), rgba(255, 92, 240, 0.18));
  border: 1px solid rgba(69, 217, 255, 0.3); color: var(--cyan); margin-bottom: 16px;
}
.card-icon .ico { width: 22px; height: 22px; }

.card h3 { color: #fff; }
.card > p { color: var(--muted); margin: 0 0 14px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 3px; background: rgba(69, 217, 255, 0.9);
  box-shadow: 0 0 10px rgba(69, 217, 255, 0.55);
}
.card-note {
  margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13.5px !important; color: #8f7cb0 !important;
}

/* who */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.who { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 3, 28, 0.55); }
.who h3 { color: var(--gold); font-size: 18px; }
.who p { margin: 0; color: var(--muted); }

/* process */
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li {
  position: relative; background: rgba(10, 3, 28, 0.6);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.step-number {
  display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.4px var(--cyan); margin-bottom: 10px;
}
.steps p { color: var(--muted); margin: 0; }

.guarantees { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.guarantee { display: grid; gap: 8px; padding: 20px 22px; border-left: 2px solid var(--magenta); background: rgba(12, 4, 32, 0.5); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.guarantee .ico { color: var(--magenta); }
.guarantee h3 { font-size: 16px; margin: 0; }
.guarantee p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* faq */
.faq-wrap { display: grid; gap: 4px; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
  background: rgba(12, 4, 32, 0.6); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 20px;
}
.faq details[open] { border-color: rgba(69, 217, 255, 0.35); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 16.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.contact .section-lede { margin-bottom: 24px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 16px; }

.contact-card { padding: 28px; }
.contact-card h3 { color: var(--gold); }
.mini-list { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.mini-list li { margin-bottom: 10px; }
.mini-list li::marker { color: var(--gold); font-weight: 800; }
.contact-note { margin: 0 !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px !important; color: #8f7cb0 !important; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(6, 0, 20, 0.75); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-text { font-size: 21px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-col h2 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f7cb0; margin: 0 0 12px; font-weight: 800; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: #8f7cb0;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a892c7; }

/* page variants */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap-narrow { max-width: 820px; }
.h1-sub { max-width: none; font-size: clamp(30px, 4vw, 44px); }
.h2-block { margin-top: 34px; }
.ticks-wide { max-width: 60ch; }
.footer-plain { margin-top: 0; border-top: 0; padding-top: 0; }

/* copy button feedback */
[data-copy].copied { border-color: var(--green); color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 60ch; }
  h1 { max-width: 26ch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-panel { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 20px; background: rgba(8, 1, 26, 0.99);
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 10px; }
  h1 { max-width: none; }
  .trust { gap: 10px 16px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .button { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .ribbon-inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .hero-panel, .ribbon { display: none; }
  a { color: #000; }
}
