:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-2: #08101f;
  --panel: rgba(13, 22, 42, 0.72);
  --panel-strong: rgba(16, 30, 57, 0.88);
  --line: rgba(145, 220, 255, 0.18);
  --line-strong: rgba(102, 231, 255, 0.48);
  --text: #f8fbff;
  --muted: #aebbd2;
  --soft: #d7e1f3;
  --cyan: #36f2ff;
  --blue: #4787ff;
  --violet: #9d58ff;
  --magenta: #f04fff;
  --green: #2df6a4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(86, 57, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 82% 22%, rgba(0, 228, 255, 0.16), transparent 28rem),
    linear-gradient(140deg, #03050e 0%, var(--bg) 46%, var(--bg-2) 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 15%, black, transparent 70%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(54, 242, 255, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #ffffff;
  color: #07111f;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell,
.ambient,
.grid-glow,
.particle-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.site-shell {
  z-index: -3;
  overflow: hidden;
}

.ambient {
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.32;
  transform: translate3d(0, 0, 0);
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-one {
  top: -18rem;
  left: -12rem;
  background: #7b4dff;
}

.ambient-two {
  top: 14rem;
  right: -17rem;
  background: #16d9ff;
  animation-duration: 22s;
}

.ambient-three {
  bottom: -18rem;
  left: 28%;
  background: #27f0a9;
  animation-duration: 26s;
  opacity: 0.18;
}

.grid-glow {
  background:
    radial-gradient(circle at 50% 38%, rgba(82, 115, 255, 0.12), transparent 27rem),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 14, 0.78) 88%);
}

.particle-field span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(128, 238, 255, 0.9);
  box-shadow: 0 0 20px rgba(54, 242, 255, 0.75);
  animation: floatParticle 10s linear infinite;
}

.particle-field span:nth-child(1) { left: 9%; top: 22%; animation-delay: -2s; }
.particle-field span:nth-child(2) { left: 24%; top: 72%; animation-delay: -7s; }
.particle-field span:nth-child(3) { left: 52%; top: 16%; animation-delay: -5s; }
.particle-field span:nth-child(4) { left: 72%; top: 64%; animation-delay: -9s; }
.particle-field span:nth-child(5) { left: 88%; top: 31%; animation-delay: -3s; }
.particle-field span:nth-child(6) { left: 42%; top: 84%; animation-delay: -11s; }

.section-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: clamp(32px, 6vw, 82px) 0 clamp(48px, 9vw, 96px);
  place-items: center;
}

.hero-inner {
  width: min(940px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: #86efff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.domain-title {
  position: relative;
  margin: 0;
  font-size: clamp(3.05rem, 10vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  text-shadow:
    0 0 16px rgba(54, 242, 255, 0.42),
    0 0 42px rgba(157, 88, 255, 0.28);
  animation: domainPulse 4s ease-in-out infinite;
}

.domain-title::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  filter: blur(0.4px);
}

.hero-subtitle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.38em;
  margin: 34px auto 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.13;
  letter-spacing: 0;
}

.hero-subtitle span {
  display: inline-block;
}

.hero-copy {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 46%, var(--magenta));
}

.btn::after {
  content: "";
  position: absolute;
  inset: -120% -40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.42), transparent 65%);
  transform: translateX(-72%) rotate(8deg);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 20px 46px rgba(46, 142, 255, 0.26);
}

.btn:hover::after {
  transform: translateX(72%) rotate(8deg);
}

.btn-secondary::before {
  background: linear-gradient(135deg, #f04fff, #7b61ff 48%, #27f0a9);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.advantages {
  padding: 22px 0 clamp(58px, 9vw, 112px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.contact-panel,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(54, 242, 255, 0.11), rgba(157, 88, 255, 0.07));
  box-shadow: 0 28px 90px rgba(31, 147, 255, 0.2);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(54, 242, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(54, 242, 255, 0.09);
  box-shadow: inset 0 0 22px rgba(54, 242, 255, 0.08);
}

.icon-badge svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.24rem;
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  padding: 0 0 clamp(58px, 9vw, 112px);
}

.contact-panel {
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(54, 242, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 150px;
  padding: 22px;
  box-shadow: none;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #86efff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-box strong {
  display: block;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.copy-btn {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.copy-btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(54, 242, 255, 0.1);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: var(--soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer small {
  display: block;
  margin-top: 16px;
  color: #8593ac;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(340px, calc(100% - 40px));
  padding: 13px 16px;
  border: 1px solid rgba(54, 242, 255, 0.34);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(8, 18, 34, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  visibility: hidden;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.reveal-item,
.reveal-words span,
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.is-ready .reveal-item,
.is-ready .reveal-words span {
  animation: enterUp 680ms cubic-bezier(.2,.8,.2,1) forwards;
}

.is-ready .reveal-item:nth-child(1) { animation-delay: 80ms; }
.is-ready .domain-title {
  animation: enterUp 680ms cubic-bezier(.2,.8,.2,1) 180ms forwards, domainPulse 4s ease-in-out 900ms infinite;
}
.is-ready .hero-copy { animation-delay: 520ms; }
.is-ready .cta-row { animation-delay: 680ms; }
.is-ready .reveal-words span:nth-child(1) { animation-delay: 290ms; }
.is-ready .reveal-words span:nth-child(2) { animation-delay: 350ms; }
.is-ready .reveal-words span:nth-child(3) { animation-delay: 410ms; }
.is-ready .reveal-words span:nth-child(4) { animation-delay: 470ms; }
.is-ready .reveal-words span:nth-child(5) { animation-delay: 530ms; }

.reveal-on-scroll.is-visible {
  animation: enterUp 620ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes enterUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(5%, 4%, 0) scale(1.12); }
}

@keyframes domainPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(54, 242, 255, 0.2)); }
  50% { filter: drop-shadow(0 0 24px rgba(157, 88, 255, 0.42)); }
}

@keyframes floatParticle {
  0% { transform: translate3d(0, 26px, 0); opacity: 0; }
  18%, 82% { opacity: 0.72; }
  100% { transform: translate3d(24px, -48px, 0); opacity: 0; }
}

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

  .feature-card {
    min-height: auto;
  }

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section-wrap,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 100svh;
    padding-top: 36px;
  }

  .domain-title {
    font-size: clamp(2.2rem, 11.5vw, 4.3rem);
  }

  .hero-subtitle {
    margin-top: 30px;
  }

  .cta-row,
  .btn {
    width: 100%;
  }

  .btn {
    min-height: 54px;
  }

  .feature-card,
  .contact-panel,
  .contact-box {
    padding: 20px;
  }

  .contact-actions,
  .contact-actions .btn,
  .copy-btn {
    width: 100%;
  }

  .ambient {
    filter: blur(52px);
    opacity: 0.2;
  }

  .particle-field span:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 360px) {
  .domain-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.32rem;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item,
  .reveal-words span,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
