@import url("https://fonts.googleapis.com/css2?family=Akt:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #04040a;
  --bg2: #07070f;
  --accent: #673bb3;
  --accent-purple: #7c3aed;
  --accent-dark: #2c194d;
  --accent-glow: rgba(103, 59, 179, 0.5);
  --purple: #7c3aed;
  --violet: #a855f7;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --text: #f0eeff;
  --muted: #7c6f9e;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(168, 85, 247, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar{
  width: 0px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ─── CANVAS ─── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

:root {
  --nb-bg: rgba(10, 12, 18, 0.72);
  --nb-line: rgba(255, 255, 255, 0.12);
  --nb-text: #fff;
  --nb-muted: rgba(255, 255, 255, 0.65);
  --nb-cta-bg: #fff;
  /* asosiy tugma foni */
  --nb-cta-text: #03050a;
  --nb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- NAVBAR: tepada, o'rtada ---------- */
.navbar {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  padding: 10px clamp(16px, 6.7vw, 128px);
  pointer-events: none;
  font-family: var(--nb-font);
  background: rgba(4, 4, 10, 0.7);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}

.navbar > * {
  pointer-events: auto;
}

.navbar__logo--side {
  justify-self: start;
}

.navbar__side-cta {
  justify-self: end;
  height: 54px;
  padding: 0 24px;
  background: var(--nb-bg);
  border: 1px solid var(--nb-line);
  color: var(--nb-text);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.navbar__pill {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--nb-bg);
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.navbar__logo img {
  width: 180px;
}

.navbar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--nb-muted);
  font: 500 14px/1 var(--nb-font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.navbar__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nb-text);
}

.navbar__item--flag {
  padding: 0 12px;
  font-size: 17px;
  color: var(--nb-text);
}

.navbar__item--cta {
  background: var(--nb-cta-bg);
  color: var(--nb-cta-text);
}

.navbar__item--cta:hover {
  background: #e9ebf0;
  color: var(--nb-cta-text);
}

.navbar__sep {
  width: 1px;
  height: 20px;
  background: var(--nb-line);
}

.navbar__burger {
  position: relative;
  width: 14px;
  height: 8px;
}

.navbar__burger::before,
.navbar__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.25s,
    top 0.25s;
}

.navbar__burger::before {
  top: 0;
}

.navbar__burger::after {
  top: 6.5px;
}

[aria-expanded="true"] > .navbar__burger::before {
  top: 3.25px;
  transform: rotate(45deg);
}

[aria-expanded="true"] > .navbar__burger::after {
  top: 3.25px;
  transform: rotate(-45deg);
}

.navbar__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: rgba(10, 12, 18, 0.92);
  border: 1px solid var(--nb-line);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.navbar__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.navbar__panel a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--nb-text);
  text-decoration: none;
  font-size: 15px;
}

.navbar__panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Telefon: Book a Call yashirin, pill ekranga sig'adi */
@media (max-width: 560px) {
  .navbar__item {
    padding: 0 12px;
  }

  .navbar__side-cta {
    display: none;
  }
}

.navbar a:focus-visible,
.navbar button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .navbar * {
    transition: none !important;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 70%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 40%,
    black 0%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  max-width: 37.391vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 0.278vw 0.765vw;
  border-radius: 4.348vw;
  font-size: 0.8vw;
  color: #c4b5fd;
  margin-bottom: 1.4vw;
  font-weight: 500;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-badge-dot {
  width: 0.5vw;
  height: 0.5vw;
  border-radius: 50%;
  background: #22c55e;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  }
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  font-size: 4vw;
  letter-spacing: -0.03em;
  margin-bottom: 1.043vw;
  animation: fadeUp 0.9s 0.35s both;
}

.hero h1 .line1 {
  display: block;
  color: #fff;
}

.hero h1 .grad {
  display: block;
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 0.783vw;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.739vw;
  animation: fadeUp 0.9s 0.5s both;
}

.hero-btns {
  display: flex;
  gap: 0.87vw;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.65s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  border: none;
  padding: 0.626vw 1.53vw;
  border-radius: 0.435vw;
  font-size: 0.696vw;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "DM Sans", sans-serif;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.626vw 1.53vw;
  border-radius: 0.435vw;
  font-size: 0.696vw;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

/* Floating orbs decoration */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.orb1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.15);
  top: -100px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb2 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.1);
  bottom: -50px;
  left: -50px;
  animation: orbFloat 10s 2s ease-in-out infinite;
}

.orb3 {
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.08);
  top: 40%;
  right: 5%;
  animation: orbFloat 7s 1s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* ===== Добавьте в конец assets/style/style.css ===== */

/* Hero: подпись и быстрые контакты */
.hero-note {
  margin: 16px 0 0;
  font-size: 14px;
  opacity: 0.7;
}
.hero-contacts {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hero-contacts a {
  font-size: 14px;
  color: inherit;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}
.hero-contacts a:hover {
  opacity: 1;
}

/* Модальное окно заявки */
dialog.lead {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #120b22;
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
}
dialog.lead::backdrop {
  background: rgba(5, 2, 12, 0.75);
  backdrop-filter: blur(4px);
}
.lead__box {
  position: relative;
  padding: 32px 28px 24px;
}
.lead h2 {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif;
  font-size: 24px;
}
.lead__sub {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.75;
}
.lead__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lead label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  opacity: 0.9;
}
.lead input,
.lead select,
.lead textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 16px; /* 16px, чтобы iPhone не приближал страницу */
  box-sizing: border-box;
}
.lead select option {
  color: #111;
}
.lead input:focus,
.lead select:focus,
.lead textarea:focus {
  outline: 2px solid #7c3aed;
  outline-offset: 1px;
}
.lead input.is-invalid {
  border-color: #ff6b6b;
}
.lead__opt {
  opacity: 0.5;
}
.lead__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead__submit {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #673bb3, #7c3aed);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.lead__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.lead__error {
  margin: 12px 0 0;
  font-size: 14px;
  color: #ff9b9b;
}
.lead__error a,
.lead__alt a,
.lead__legal a {
  color: inherit;
  text-decoration: underline;
}
.lead__legal {
  margin: 14px 0 0;
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.4;
}
.lead__alt {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  text-align: center;
  opacity: 0.8;
}
.lead__check {
  font-size: 40px;
  margin-bottom: 8px;
}

/* На телефоне окно прижато к низу */
@media (max-width: 600px) {
  dialog.lead {
    margin: auto auto 0;
    width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
  }
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 2.604vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1s 1.5s both;
}

.scroll-ind span {
  font-size: 0.522vw;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 2.174vw;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.6), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ─── STATS ─── */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-weight: 400;
}

/* ─── SECTIONS ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

.section-header {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.section-full {
  position: relative;
  z-index: 1;
}

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #a78bfa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.s-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #a78bfa;
}

.s-title {
  font-family: "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.s-sub {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  font-size: 1rem;
}

/* ─── METHODOLOGY / ORBIT ─── */
.methodology {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 0px;
  overflow: hidden;
}

.meth-inner {
  max-width: 960px;
  width: 100%;
  position: relative;
}

.meth-heading {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, #c084fc 70%, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.meth-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin: 0 auto 3rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Tech icons */
.tech-rows {
  opacity: 0;
  animation: fadeUp 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tech-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.ti {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(160, 100, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
  backdrop-filter: blur(8px);
}

.ti::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 60%,
    #a855f7 80%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
  animation: spin 3s linear infinite;
}

.ti:hover::before {
  opacity: 1;
}

.ti:hover {
  transform: translateY(-6px) scale(1.15);
  border-color: rgba(168, 85, 247, 0.7);
  background: rgba(124, 58, 237, 0.25);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.6),
    0 10px 28px rgba(0, 0, 0, 0.6);
}

.ti img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 3px;
}

.ti[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 8, 35, 0.95);
  color: #e2d9ff;
  font-size: 0.68rem;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  pointer-events: none;
  z-index: 99;
  font-family: "DM Sans", sans-serif;
}

/* Orbit */
.orbit-scene {
  position: relative;
  width: 580px;
  height: 440px;
  margin: 1.5rem auto 0;
  perspective: 1000px;
  opacity: 0;
  animation: fadeIn 1.2s 1.1s ease forwards;
}

.center-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  z-index: 10;
}

.orb-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #c084fc, #7c3aed 55%, #3b0764);
  box-shadow:
    0 0 60px rgba(168, 85, 247, 0.9),
    0 0 130px rgba(124, 58, 237, 0.5),
    inset 0 0 40px rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbPulse 3s ease-in-out infinite;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.orb-core img {
  width: 50%;
  user-select: none;
}

.orb-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(255, 255, 255, 0.2) 85%,
    transparent 100%
  );
  animation: spin 3s linear infinite;
}

.orb-logo {
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  letter-spacing: -0.03em;
}

.orb-shadow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 28px;
  background: radial-gradient(
    ellipse,
    rgba(168, 85, 247, 0.55) 0%,
    transparent 70%
  );
  filter: blur(8px);
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.2);
  transform-style: preserve-3d;
  pointer-events: none;
}

.ring1 {
  width: 270px;
  height: 270px;
  animation: ring1 12s linear infinite;
  border-color: rgba(168, 85, 247, 0.35);
}

.ring2 {
  width: 390px;
  height: 270px;
  animation: ring2 18s linear infinite reverse;
  border-color: rgba(124, 58, 237, 0.22);
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(30deg);
}

.ring3 {
  width: 520px;
  height: 330px;
  animation: ring3 26s linear infinite;
  border-color: rgba(192, 132, 252, 0.13);
}

.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.72rem;
  color: #c4b5fd;
  font-weight: 500;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: all 0.3s;
  cursor: default;
}

.float-tag:hover {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

.ft-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

.ft1 {
  top: 6%;
  left: 3%;
  animation: ftFloat 4s ease-in-out infinite;
}

.ft2 {
  top: 12%;
  right: 3%;
  animation: ftFloat 4.5s 0.5s ease-in-out infinite;
}

.ft3 {
  top: 45%;
  left: 0%;
  animation: ftFloat 5s 1s ease-in-out infinite;
}

.ft4 {
  top: 45%;
  right: -1%;
  animation: ftFloat 4.2s 1.5s ease-in-out infinite;
}

.ft5 {
  bottom: 10%;
  left: 6%;
  animation: ftFloat 4.8s 0.8s ease-in-out infinite;
}

.ft6 {
  bottom: 10%;
  right: 6%;
  animation: ftFloat 5.2s 0.3s ease-in-out infinite;
}

.dot-label {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 8, 42, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.54rem;
  color: #d8b4fe;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
  z-index: 15;
  left: 50%;
  top: 50%;
}

.conn-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.cta-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 18px;
}

.cta-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.cta-icon-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(103, 59, 179, 0.4);
  transform: translateY(-3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 28px rgba(103, 59, 179, 0.4);
  border: none;
}

@keyframes ring1 {
  from {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
  }
}

@keyframes ring2 {
  from {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(30deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-330deg);
  }
}

@keyframes ring3 {
  from {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-20deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(340deg);
  }
}

@keyframes orbPulse {
  0%,
  100% {
    box-shadow:
      0 0 60px rgba(168, 85, 247, 0.9),
      0 0 130px rgba(124, 58, 237, 0.5),
      inset 0 0 40px rgba(192, 132, 252, 0.3);
  }

  50% {
    box-shadow:
      0 0 100px rgba(168, 85, 247, 1),
      0 0 200px rgba(124, 58, 237, 0.7),
      inset 0 0 60px rgba(192, 132, 252, 0.4);
  }
}

@keyframes ftFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Services */
.services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(103, 59, 179, 0.12),
    transparent 60%
  );
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 59, 179, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(103, 59, 179, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(103, 59, 179, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.service-price {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ─── PROCESS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(168, 85, 247, 0.3),
    transparent
  );
}

.proc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
}

.proc-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
}

.proc-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.proc-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.proc-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* ─── PORTFOLIO ─── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.port-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.port-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.port-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.port-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg2));
}

.port-body {
  padding: 1.5rem;
}

.port-tag {
  font-size: 0.72rem;
  color: #a78bfa;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.port-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.port-desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* Price Calculator */
.calc-wrap {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc-inner {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
  gap: 30px;
}

.calculator-wrapper {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.calc-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}

.calc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.calc-step {
  display: none;
  animation: slideInStep 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.calc-step.active {
  display: flex;
  gap: 30px;
  flex-direction: column;
}

@keyframes slideInStep {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-option {
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  user-select: none;
}

.calc-option:hover,
.calc-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(103, 59, 179, 0.35);
}

.calc-option.selected {
  box-shadow: 0 0 28px rgba(103, 59, 179, 0.5);
}

.calc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-checkbox {
  padding: 11px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: all var(--transition);
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-checkbox.checked {
  background: rgba(103, 59, 179, 0.2);
  border-color: var(--accent);
  color: #fff;
}

.calc-checkbox .check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
  flex-shrink: 0;
}

.calc-checkbox.checked .check-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(103, 59, 179, 0.5);
  border: 3px solid #fff;
}

.calc-slider-value {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

.calc-nav {
  display: flex;
  gap: 10px;
}

.calc-nav button {
  padding: 10px 24px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.calc-back {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff;
}

.calc-next {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(103, 59, 179, 0.3);
  margin-left: auto;
}

.calc-next:hover {
  box-shadow: 0 0 30px rgba(103, 59, 179, 0.55);
}

.result-screen {
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.result-checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(103, 59, 179, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}

.result-price {
  font-family: "Syne", sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0;
  line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-text {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 25px;
  font-weight: 300;
}

.result-tittle {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall 1.8s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-80px) rotate(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(500px) rotate(720deg) scale(0);
    opacity: 0;
  }
}

/* ─── TESTIMONIALS ─── */
.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.testimonials-track {
  display: flex;
  gap: 20px;
  animation: scrollTestimonials 35s linear infinite;
  width: max-content;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 280px;
    padding: 20px 16px;
  }
}

/* ─── CTA ─── */
.cta-sec {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 70%
  );
}

.cta-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  transition: all 0.25s;
}

.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #fff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── PARTICLES ─── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: pFly var(--dur) ease-out forwards;
  opacity: 0;
}

@keyframes pFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── KEYFRAMES ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── PROGRESS BAR ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 200;
  background: linear-gradient(90deg, var(--purple), var(--violet), var(--cyan));
  transition: width 0.1s;
  width: 0%;
}

@media (max-width: 1280px) {
  .hero h1 {
    font-size: 50px;
    margin-bottom: 15px;
  }
  .hero-sub {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .hero-content {
    max-width: 360px;
  }
  .hero-badge {
    padding: 5px 10px;
    font-size: 10px;
    margin-bottom: 15px;
  }
  .hero-badge-dot {
    width: 6px;
    height: 6px;
  }
  .hero-btns {
    gap: 10px;
  }
  .btn-primary {
    padding: 10px 15px;
    font-size: 12px;
    border-radius: 5px;
  }
  .btn-ghost {
    padding: 10px 15px;
    font-size: 12px;
    border-radius: 5px;
  }
  .scroll-ind span {
    font-size: 8px;
  }
  .scroll-line {
    height: 30px;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .orbit-scene {
    width: 340px;
    height: 340px;
  }

  .ring3 {
    width: 320px;
    height: 200px;
  }

  .ring2 {
    width: 240px;
    height: 170px;
  }

  .ring1 {
    width: 170px;
    height: 170px;
  }

  .float-tag {
    display: none;
  }

  footer {
    padding: 1.5rem;
    text-align: center;
    justify-content: center;
  }
}


/* Модальное окно заявки */
.lead-modal {
  --lm-accent: var(--accent, #7c3aed);
  --lm-accent-2: var(--accent2, #a78bfa);
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lead-modal[hidden] {
  display: none;
}
.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 12, 0.78);
  backdrop-filter: blur(6px);
}
.lead-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #130c22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(124, 58, 237, 0.18);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: "DM Sans", sans-serif;
  color: #f3eefc;
}
.lead-modal.is-open .lead-modal__dialog {
  transform: none;
}
.lead-modal__body {
  padding: 36px 32px 28px;
}
.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lead-modal__title {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}
.lead-modal__sub {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(243, 238, 252, 0.68);
}

.lead-field {
  margin-bottom: 14px;
}
.lead-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(243, 238, 252, 0.85);
}
.lead-field label em {
  font-style: normal;
  color: rgba(243, 238, 252, 0.45);
}
.lead-field input,
.lead-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder {
  color: rgba(243, 238, 252, 0.35);
}
.lead-field input:focus,
.lead-field textarea:focus {
  border-color: var(--lm-accent-2);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}
.lead-field.has-error input {
  border-color: #f87171;
}
.lead-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 12.5px;
  color: #f87171;
}

.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form-error {
  margin-bottom: 12px;
  font-size: 13.5px;
  color: #f87171;
}
.lead-form-error:empty {
  display: none;
}

.lead-submit {
  position: relative;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}
.lead-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.5);
}
.lead-submit:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.lead-submit__spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lead-spin 0.7s linear infinite;
}
.lead-submit.is-loading .lead-submit__spinner {
  display: inline-block;
}
@keyframes lead-spin {
  to {
    transform: rotate(360deg);
  }
}

.lead-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(243, 238, 252, 0.4);
}

.lead-success {
  text-align: center;
}
.lead-success[hidden] {
  display: none;
}
.lead-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  font-size: 32px;
  line-height: 64px;
}

body.lead-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .lead-modal {
    align-items: flex-end;
    padding: 0;
  }
  .lead-modal__dialog {
    max-width: none;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
  }
  .lead-modal__body {
    padding: 30px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal,
  .lead-modal__dialog {
    transition: none;
  }
}
