:root {
  --bg-main: #060814;
  --bg-soft: #0e1630;
  --bg-contrast: #080d20;
  --text: #edf2ff;
  --muted: #b7c2dd;
  --line: rgba(154, 173, 230, 0.26);
  --line-strong: rgba(146, 104, 255, 0.55);
  --primary: #9268ff;
  --secondary: #2ce2ff;
  --accent: #ff4c97;
  --ok: #86f7c1;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100%;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 10%, rgba(44, 226, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(146, 104, 255, 0.2), transparent 30%),
    radial-gradient(circle at 40% 100%, rgba(255, 76, 151, 0.14), transparent 26%),
    var(--bg-main);
  transition: background 0.35s ease, color 0.35s ease;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

section[id],
main[id] {
  scroll-margin-top: 98px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(44, 226, 255, 0.2), transparent 30%),
    radial-gradient(circle at 74% 26%, rgba(146, 104, 255, 0.26), transparent 30%),
    rgba(5, 8, 20, 0.96);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-seen .page-loader {
  display: none;
}

body.intro-lock {
  overflow: hidden;
}

.page-loader.skip-intro {
  display: none;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  filter: blur(3px);
}

.loader-logo-main {
  color: #eef3ff;
}

.loader-logo-accent {
  margin-left: 3px;
  background: linear-gradient(110deg, var(--secondary), #c0ccff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-line {
  width: min(340px, 58vw);
  height: 2px;
  border-radius: 999px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), var(--accent), transparent);
  transform: scaleX(0.2);
  opacity: 0;
}

.page-loader.is-animating .loader-brand {
  animation: loaderLogoReveal 0.72s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

.page-loader.is-animating .loader-line {
  animation: loaderLineReveal 0.65s 0.25s ease forwards;
}

.loader-mark {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
}

.page-loader.is-animating .loader-mark {
  animation: loaderMetaReveal 0.5s 0.38s ease forwards;
}

.loader-mark span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  animation: loaderPulse 0.9s ease-in-out infinite;
}

.loader-mark span:nth-child(1) {
  background: var(--secondary);
}

.loader-mark span:nth-child(2) {
  background: var(--primary);
  animation-delay: 0.12s;
}

.loader-mark span:nth-child(3) {
  background: var(--accent);
  animation-delay: 0.24s;
}

.page-loader p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d7e2ff;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
}

.page-loader.is-animating p {
  animation: loaderMetaReveal 0.5s 0.48s ease forwards;
}

@keyframes loaderLogoReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes loaderLineReveal {
  0% {
    opacity: 0;
    transform: scaleX(0.2);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes loaderMetaReveal {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-7px) scale(1.05);
    opacity: 1;
  }
}

body.cursor-enhanced {
  cursor: none;
}

body.cursor-enhanced a,
body.cursor-enhanced button,
body.cursor-enhanced .theme-toggle,
body.cursor-enhanced .btn,
body.cursor-enhanced .tilt-card {
  cursor: none;
}

body.cursor-enhanced input,
body.cursor-enhanced textarea,
body.cursor-enhanced select {
  cursor: text;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 170;
  opacity: 0;
}

body.cursor-enhanced .cursor-ring,
body.cursor-enhanced .cursor-dot {
  opacity: 1;
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(146, 104, 255, 0.8);
  background: radial-gradient(circle, rgba(44, 226, 255, 0.18), transparent 70%);
  box-shadow: 0 0 25px rgba(146, 104, 255, 0.38);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.cursor-ring.is-active {
  width: 60px;
  height: 60px;
  border-color: rgba(44, 226, 255, 0.85);
  background: radial-gradient(circle, rgba(255, 76, 151, 0.2), transparent 72%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 9px rgba(255, 255, 255, 0.85),
    0 0 18px rgba(44, 226, 255, 0.52);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.09) 96%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.07) 96%);
  background-size: 34px 34px;
}

.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(146, 104, 255, 0.3), transparent 70%);
  opacity: 0.45;
  transition: transform 0.16s linear, background 0.3s ease, opacity 0.3s ease;
}

body.low-power-mode .noise-layer,
body.low-power-mode .spotlight,
body.low-power-mode .floating-orb,
body.low-power-mode .cursor-ring,
body.low-power-mode .cursor-dot {
  display: none !important;
}

body.low-power-mode .ticker-track,
body.low-power-mode .gradient-text {
  animation: none !important;
}

.floating-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.5;
}

.orb-a {
  width: 240px;
  height: 240px;
  left: -70px;
  top: 20vh;
  background: radial-gradient(circle, rgba(146, 104, 255, 0.35), transparent 72%);
}

.orb-b {
  width: 290px;
  height: 290px;
  right: -80px;
  top: 52vh;
  background: radial-gradient(circle, rgba(44, 226, 255, 0.35), transparent 72%);
}

.orb-c {
  width: 220px;
  height: 220px;
  right: 20%;
  bottom: -80px;
  background: radial-gradient(circle, rgba(255, 76, 151, 0.32), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(44, 226, 255, 0.75);
  outline-offset: 2px;
}

.noscript-warning {
  width: min(1150px, 92%);
  margin: 14px auto 0;
  border: 1px solid rgba(255, 196, 106, 0.45);
  border-radius: 12px;
  background: rgba(255, 196, 106, 0.14);
  color: #ffe6be;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.container {
  width: min(1150px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 8, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--secondary), var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(146, 104, 255, 0.8);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.main-nav a.is-active {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(44, 226, 255, 0.45);
}

.main-nav .nav-cta {
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(146, 104, 255, 0.16);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(44, 226, 255, 0.6);
}

.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(146, 104, 255, 0.25);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  border: 0;
  background: rgba(6, 8, 20, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-progress {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}

.hero {
  padding: 82px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  align-items: stretch;
}

.chip {
  display: inline-block;
  margin: 0 0 12px;
  border: 1px solid rgba(146, 104, 255, 0.55);
  border-radius: 999px;
  color: #d8cbff;
  background: rgba(146, 104, 255, 0.11);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  padding: 6px 12px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  max-width: 15ch;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.08rem;
}

.gradient-text {
  background: linear-gradient(110deg, var(--secondary), #90d8ff, #d6a5ff, var(--accent));
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.lead {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

:where(.btn, .menu-toggle, .theme-toggle) {
  min-height: 44px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #6058ff, var(--primary), var(--accent));
  box-shadow: 0 12px 30px rgba(146, 104, 255, 0.34);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.36), transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.btn-primary:hover::before {
  transform: translateX(130%);
}

.btn-ghost {
  color: #d7e3ff;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.kpi-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kpi-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
}

.kpi-list strong {
  min-width: 80px;
  font-size: 1.1rem;
  color: #fff;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(12, 19, 43, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-panel {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(44, 226, 255, 0.25), transparent 70%);
}

.panel-title {
  margin: 0 0 10px;
  color: #d8e4ff;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.panel-lines {
  display: grid;
  gap: 12px;
}

.panel-lines article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  background: rgba(3, 7, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-lines span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #091432;
  background: linear-gradient(120deg, var(--secondary), #9fc8ff);
}

.panel-lines p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.small-link {
  margin-top: 10px;
  display: inline-block;
  color: #9fe8ff;
  font-weight: 700;
}

.ticker {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
  animation: tickerMove 32s linear infinite;
}

.ticker-track span {
  padding: 0 18px;
  color: #d0dcff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.ticker-track span::after {
  content: "•";
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.3);
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 72px 0;
  position: relative;
}

body.cinematic-ready .cinematic-section {
  opacity: 1;
  transform: none;
  filter: saturate(1);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.45s ease;
}

body.cinematic-ready .cinematic-section.in-view {
  opacity: 1;
  transform: none;
  filter: saturate(1);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(860px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.hero::before {
  display: none;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  display: grid;
  gap: 5px;
}

.bento-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile {
  padding: 20px;
  min-height: 196px;
}

.tile-wide {
  grid-column: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-kicker {
  margin: 0 0 7px;
  color: #94f1ff;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.process-grid {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 20px;
}

.step-id {
  margin: 0 0 10px;
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #07132f;
  background: linear-gradient(120deg, #6de7ff, #d6a5ff);
  font-weight: 900;
}

.process-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.plan-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  padding: 24px 20px;
  position: relative;
}

.plan.featured {
  border-color: rgba(44, 226, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(44, 226, 255, 0.35), var(--shadow);
}

.badge {
  margin: 0 0 8px;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #08112b;
  background: linear-gradient(100deg, #9ce9ff, #e2b1ff);
  border-radius: 999px;
  padding: 5px 10px;
}

.price {
  margin: 0 0 10px;
  font-weight: 800;
  color: #d6e4ff;
}

.plan ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.plan li {
  margin: 6px 0;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact-copy h2 {
  max-width: 19ch;
}

.contact-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-form {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 0.9rem;
  color: #d5e2ff;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(180, 200, 255, 0.24);
  background: rgba(4, 8, 26, 0.62);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 128px;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid rgba(44, 226, 255, 0.5);
  outline-offset: 1px;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-feedback {
  margin: 2px 0 0;
  min-height: 20px;
  color: var(--ok);
  font-weight: 500;
}

.form-feedback.is-error {
  color: #ff9ab9;
}

.form-feedback.is-success {
  color: #67d9a7;
}

.field-helper {
  margin: -2px 0 4px;
  font-size: 0.8rem;
  color: #9eb0da;
}

.field-helper.is-invalid {
  color: #ff9ab9;
}

.field-helper.is-valid {
  color: #8de0b8;
}

.contact-form [aria-invalid="true"] {
  border-color: rgba(255, 76, 151, 0.62);
  background: rgba(47, 12, 35, 0.5);
}

.contact-form.is-submitting {
  opacity: 0.96;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  border: 1px solid rgba(146, 104, 255, 0.55);
  border-radius: 999px;
  background: rgba(11, 18, 44, 0.88);
  color: #ffffff;
  min-width: 74px;
  min-height: 44px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(22, 33, 72, 0.96);
}

.quick-actions {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 10px);
  z-index: 82;
  width: min(94%, 360px);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(146, 104, 255, 0.42);
  border-radius: 14px;
  background: rgba(10, 16, 38, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-actions.active {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.quick-actions[data-state="contact"] .quick-actions-link-primary {
  background: linear-gradient(120deg, #0ca96a, #2bbf83, #52d5a0);
  border-color: rgba(92, 217, 170, 0.62);
}

.quick-actions[data-state="devis"] .quick-actions-link-primary {
  background: linear-gradient(120deg, #6058ff, #8a5bff, #ff4c97);
}

body.nav-open .quick-actions {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}

.quick-actions-link {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(146, 104, 255, 0.42);
  color: #dfe8ff;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.quick-actions-link-primary {
  color: #fff;
  border-color: rgba(44, 226, 255, 0.58);
  background: linear-gradient(120deg, #6058ff, var(--primary), var(--accent));
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 24px 0 34px;
}

.footer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  color: #b7c4e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-enhanced.reveal-ready .reveal {
  opacity: 1;
  transform: none;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  border-color: rgba(146, 104, 255, 0.5);
}

body.theme-light {
  --bg-main: #eff4ff;
  --bg-soft: #dde8ff;
  --bg-contrast: #e7eefc;
  --text: #0f1733;
  --muted: #2f4068;
  --line: rgba(58, 88, 163, 0.34);
  --line-strong: rgba(106, 78, 210, 0.62);
  --primary: #6749d7;
  --secondary: #00accf;
  --accent: #f5489a;
  --shadow: 0 16px 40px rgba(20, 43, 104, 0.16);
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 172, 207, 0.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(103, 73, 215, 0.2), transparent 30%),
    radial-gradient(circle at 40% 100%, rgba(245, 72, 154, 0.14), transparent 26%),
    #eff4ff;
}

body.theme-light .page-loader {
  background:
    radial-gradient(circle at 30% 18%, rgba(0, 172, 207, 0.2), transparent 30%),
    radial-gradient(circle at 74% 26%, rgba(103, 73, 215, 0.22), transparent 30%),
    rgba(239, 244, 255, 0.96);
}

body.theme-light .page-loader p {
  color: #334066;
}

body.theme-light .loader-logo-main {
  color: #1d2952;
}

body.theme-light .loader-line {
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), var(--accent), transparent);
}

body.theme-light .noscript-warning {
  border-color: rgba(203, 135, 0, 0.38);
  background: rgba(255, 215, 153, 0.42);
  color: #533600;
}

body.theme-light .noise-layer {
  opacity: 0.07;
}

body.theme-light .spotlight {
  opacity: 0.35;
  background: radial-gradient(circle, rgba(0, 172, 207, 0.28), transparent 70%);
}

body.theme-light .site-header {
  background: rgba(240, 246, 255, 0.84);
  border-bottom-color: rgba(31, 58, 121, 0.14);
}

body.theme-light .nav-backdrop {
  background: rgba(20, 34, 71, 0.3);
}

body.theme-light .main-nav a {
  color: #273a63;
}

body.theme-light .main-nav a:hover,
body.theme-light .main-nav a:focus-visible,
body.theme-light .main-nav a.is-active {
  color: #18203d;
}

body.theme-light .main-nav .nav-cta {
  color: #ffffff;
}

body.theme-light .theme-toggle {
  background: rgba(103, 73, 215, 0.08);
}

body.theme-light .theme-toggle-icon {
  background: rgba(103, 73, 215, 0.22);
}

body.theme-light .menu-toggle {
  background: rgba(103, 73, 215, 0.1);
  color: #15244a;
  border-color: rgba(57, 86, 161, 0.36);
}

body.theme-light .cursor-ring {
  border-color: rgba(103, 73, 215, 0.76);
  background: radial-gradient(circle, rgba(0, 172, 207, 0.14), transparent 72%);
}

body.theme-light .cursor-ring.is-active {
  border-color: rgba(0, 172, 207, 0.84);
  background: radial-gradient(circle, rgba(245, 72, 154, 0.18), transparent 72%);
}

body.theme-light .cursor-dot {
  background: #111a35;
  box-shadow:
    0 0 8px rgba(17, 26, 53, 0.45),
    0 0 15px rgba(0, 172, 207, 0.35);
}

body.theme-light .chip {
  color: #412586;
  background: rgba(103, 73, 215, 0.1);
}

body.theme-light .glass {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.65);
}

body.theme-light .panel-lines article {
  background: rgba(240, 246, 255, 0.65);
  border-color: rgba(46, 69, 132, 0.15);
}

body.theme-light .panel-title {
  color: #1a2a56;
}

body.theme-light .panel-lines span {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), #7f8bff);
}

body.theme-light .ticker {
  border-color: rgba(28, 47, 105, 0.22);
  background: rgba(255, 255, 255, 0.5);
}

body.theme-light .ticker-track span {
  color: #223964;
}

body.theme-light .ticker-track span::after {
  color: rgba(22, 40, 88, 0.35);
}

body.theme-light .step-id {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
}

body.theme-light .badge {
  color: #fff;
  background: linear-gradient(100deg, var(--primary), var(--accent));
}

body.theme-light .contact-form input,
body.theme-light .contact-form select,
body.theme-light .contact-form textarea {
  border-color: rgba(57, 83, 151, 0.26);
  background: rgba(255, 255, 255, 0.8);
}

body.theme-light .contact-form label {
  color: #22365f;
}

body.theme-light .btn-ghost {
  color: #172a52;
  border-color: rgba(57, 83, 151, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

body.theme-light .small-link {
  color: #155db5;
}

body.theme-light .price {
  color: #1a2e58;
}

body.theme-light .kpi-list strong {
  color: #15254a;
}

body.theme-light .form-feedback {
  color: #0f7a4f;
}

body.theme-light .form-feedback.is-error {
  color: #a9305f;
}

body.theme-light .field-helper {
  color: #4b5f8c;
}

body.theme-light .field-helper.is-invalid {
  color: #a9305f;
}

body.theme-light .field-helper.is-valid {
  color: #146d47;
}

body.theme-light .contact-form [aria-invalid="true"] {
  border-color: rgba(169, 48, 95, 0.48);
  background: rgba(255, 236, 243, 0.86);
}

body.theme-light .back-to-top {
  background: rgba(255, 255, 255, 0.92);
  color: #13264d;
  border-color: rgba(57, 83, 151, 0.34);
}

body.theme-light .quick-actions {
  border-color: rgba(57, 83, 151, 0.34);
  background: rgba(245, 248, 255, 0.95);
}

body.theme-light .quick-actions-link {
  border-color: rgba(57, 83, 151, 0.34);
  color: #172d58;
  background: rgba(255, 255, 255, 0.86);
}

body.theme-light .footer-wrap {
  border-top-color: rgba(34, 61, 127, 0.18);
  color: #3f4c72;
}

@media (max-width: 1020px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 740px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-wide {
    grid-column: span 2;
  }

  .tile-tall {
    grid-row: span 1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-backdrop {
    display: block;
  }

  .js-enhanced .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    gap: 8px;
    flex-wrap: wrap;
  }

  .js-enhanced .main-nav {
    position: fixed;
    left: 4%;
    right: 4%;
    top: 84px;
    z-index: 60;
    max-height: calc(100dvh - 104px);
    overflow: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(7, 12, 30, 0.98);
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .js-enhanced .main-nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  html.js-enhanced body.theme-light .main-nav {
    background: rgba(242, 246, 255, 0.98);
    border-color: rgba(57, 83, 151, 0.28);
  }

  .main-nav .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .main-nav a {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 44px;
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: clamp(1.95rem, 8vw, 2.65rem);
    max-width: 18ch;
  }

  h2 {
    font-size: clamp(1.35rem, 5.6vw, 1.8rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .kpi-list strong {
    min-width: 68px;
  }

  .quick-actions {
    display: grid;
  }

  .back-to-top {
    bottom: 74px;
  }

  .plan-grid,
  .bento-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .spotlight {
    display: none;
  }

  .floating-orb {
    display: none;
  }

  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, 94%);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .btn {
    padding: 11px 14px;
  }

  .contact-form {
    padding: 16px;
  }

  .back-to-top {
    right: 12px;
    bottom: 76px;
    min-width: 68px;
  }

  .quick-actions {
    width: min(96%, 360px);
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

@media (pointer: coarse) {
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }
}

@media (prefers-reduced-data: reduce) {
  .noise-layer,
  .spotlight,
  .floating-orb,
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }

  .ticker-track,
  .gradient-text {
    animation: none !important;
  }

  .tilt-card,
  .reveal,
  .main-nav,
  .back-to-top {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .floating-orb,
  .spotlight,
  .noise-layer,
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }

  .page-loader {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
