/* ============================================================
   STIX SITES — aurora tech build
   Deep-space dark, aurora gradients, frosted glass, bento grid.
   ============================================================ */

:root {
  --bg: #07070F;
  --bg-2: #0D0D1A;
  --card: rgba(255, 255, 255, 0.05);
  --card-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.11);
  --line-hi: rgba(255, 255, 255, 0.24);
  --text: #EDEFF7;
  --muted: #A7ACC2;
  --v: #8B5CF6;
  --c: #22D3EE;
  --m: #F472B6;
  --grad-btn: linear-gradient(135deg, #7C3AED, #DB2777);
  --grad-text: linear-gradient(90deg, #8B5CF6, #22D3EE, #F472B6);
  --err: #FB7185;

  --display: "Unbounded", "Manrope", sans-serif;
  --body: "Manrope", sans-serif;

  --r: 18px;
  --speed: 200ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--v); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--c);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 820px; }

/* Skip link */
.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.7em 1.2em;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 999px;
  transition: top var(--speed) ease;
}
.skip:focus-visible { top: 1rem; }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora__blob {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}
.aurora__blob--v {
  top: -18vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%);
  animation: drift-a 36s ease-in-out infinite alternate;
}
.aurora__blob--c {
  top: 8vmax;
  right: -20vmax;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%);
  animation: drift-b 44s ease-in-out infinite alternate;
}
.aurora__blob--m {
  bottom: -22vmax;
  left: 18vmax;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.32), transparent 65%);
  animation: drift-c 40s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(9vmax, 6vmax); } }
@keyframes drift-b { to { transform: translate(-8vmax, 8vmax); } }
@keyframes drift-c { to { transform: translate(6vmax, -7vmax); } }

/* ---------- Text helpers ---------- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  backdrop-filter: blur(10px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.7em;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease,
    border-color var(--speed) ease, filter var(--speed) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--grad {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 34px -12px rgba(124, 58, 237, 0.75);
}
.btn--grad:hover {
  filter: brightness(1.12);
  box-shadow: 0 16px 44px -12px rgba(124, 58, 237, 0.85);
}

.btn--glass {
  background: var(--card-2);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { border-color: var(--line-hi); }

.btn--big { padding: 1em 2.2em; font-size: 0.98rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand__mark { flex: none; }
.brand__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.menu a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--speed) ease;
}
.menu a:not(.btn):hover { color: var(--text); }
.menu__cta-row { display: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--speed) ease;
}
body.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.hero__in { display: flex; flex-direction: column; align-items: center; }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 1.6rem;
  max-width: 22ch;
}

.hero__sub {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
}
.hero__sub strong { color: var(--text); font-weight: 800; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  margin-top: 2.2rem;
}
.hero__chips li {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  backdrop-filter: blur(10px);
}
.hero__chips a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  transition: color var(--speed) ease;
}
.hero__chips a:hover { color: var(--c); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.sec-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  margin-top: 1.1rem;
}

/* ---------- Bento services ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem 1.6rem;
  backdrop-filter: blur(14px);
  transition: transform var(--speed) ease, border-color var(--speed) ease,
    box-shadow var(--speed) ease;
}
.cell:hover {
  transform: translateY(-4px);
  border-color: var(--line-hi);
  box-shadow: 0 24px 60px -28px rgba(139, 92, 246, 0.45);
}
.cell--wide { grid-column: span 2; }

.cell__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
}
.cell__ic svg { width: 22px; height: 22px; }
.cell__ic--v { background: rgba(139, 92, 246, 0.16); color: #A78BFA; }
.cell__ic--c { background: rgba(34, 211, 238, 0.13); color: #67E8F9; }
.cell__ic--m { background: rgba(244, 114, 182, 0.14); color: #F9A8D4; }

.cell h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  margin: 1rem 0 0.45rem;
}
.cell p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.5rem;
  backdrop-filter: blur(14px);
}
.step__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  margin: 0.8rem 0 0.4rem;
}
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Pricing ---------- */
.setup {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 2.4rem;
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.setup::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 4px;
  background: var(--grad-text);
}
.setup__price {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  white-space: nowrap;
}
.setup__price span {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-left: 0.6rem;
}
.setup__desc {
  flex: 1;
  min-width: 16rem;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 32rem;
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(14px);
  transition: transform var(--speed) ease, border-color var(--speed) ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-hi); }

.price-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.price { line-height: 1; margin-bottom: 0.9rem; }
.price strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.4rem;
}
.price span {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.35rem;
}

.price__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.3rem; }

.ticks { list-style: none; margin-bottom: 1.7rem; }
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--c);
}

.price-card--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad-text) border-box;
  box-shadow: 0 34px 90px -34px rgba(139, 92, 246, 0.55);
}
.price-card--featured h3 { color: var(--text); }

.flag {
  position: absolute;
  top: -13px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--grad-btn);
  border-radius: 999px;
  padding: 0.45em 1.1em;
  box-shadow: 0 8px 22px -8px rgba(124, 58, 237, 0.8);
}

.prices__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 0.9rem;
  backdrop-filter: blur(14px);
  transition: border-color var(--speed) ease;
}
.qa:hover { border-color: var(--line-hi); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c);
  flex: none;
  transition: transform var(--speed) ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 1.35rem 1.25rem; color: var(--muted); font-size: 0.96rem; }

/* ---------- Quote ---------- */
.quote {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.quote__blurb { color: var(--muted); max-width: 28rem; margin-top: 1.2rem; }

.contacts { list-style: none; margin-top: 2rem; }
.contacts li { margin-bottom: 1.1rem; }
.contacts__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contacts a {
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15em;
  transition: color var(--speed) ease, border-color var(--speed) ease;
}
.contacts a:hover { color: var(--c); border-bottom-color: var(--c); }

.quote__form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  backdrop-filter: blur(14px);
}

.field { margin-bottom: 1.2rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.opt { text-transform: none; letter-spacing: 0.02em; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75em 0.95em;
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select option { background: #12121F; color: var(--text); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--v);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}
.field input::placeholder,
.field textarea::placeholder { color: #6C7089; }
.field input[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
}

.err { font-size: 0.8rem; color: var(--err); margin-top: 0.4rem; }

.quote__form .btn { margin-top: 0.5rem; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.8rem;
  background: rgba(7, 7, 15, 0.6);
  backdrop-filter: blur(10px);
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.footer__links,
.footer__contact {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
}
.footer__links a,
.footer__contact a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--speed) ease;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--text); }

.footer__legal {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2.2rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.in { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .prices { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .quote { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .burger { display: flex; }

  .menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(7, 7, 15, 0.96);
    backdrop-filter: blur(18px);
    padding: 3rem clamp(1.25rem, 4vw, 2.5rem);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity var(--speed) ease, transform var(--speed) ease, visibility 0s linear var(--speed);
  }
  body.menu-open .menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity var(--speed) ease, transform var(--speed) ease, visibility 0s;
  }
  body.menu-open { overflow: hidden; }

  .menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.7rem;
  }
  .menu a:not(.btn) {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text);
  }
  .menu__cta-row { display: block; margin-top: 1rem; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .setup { flex-direction: column; align-items: flex-start; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora__blob { animation: none; }
  .btn, .cell, .price-card, .qa { transition: none; }
}
