/* u220.ru — domain-for-sale landing */
:root {
  --bg: #05070b;
  --bg-2: #0a1018;
  --bg-card: rgba(12, 20, 32, 0.72);
  --line: rgba(125, 249, 255, 0.16);
  --line-strong: rgba(125, 249, 255, 0.38);
  --text: #e8f4f8;
  --muted: #9eb0bb;
  --cyan: #7df9ff;
  --cyan-deep: #2ad4e8;
  --blue: #4d8dff;
  --gold: #ffe08a;
  --danger: #ff8a7a;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 18px;
  --shadow-neon: 0 0 12px rgba(125, 249, 255, 0.45), 0 0 42px rgba(42, 212, 232, 0.28);
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #c8ffff; }
button, input, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 30;
  background: var(--cyan);
  color: #041016;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--pad), 640px); }

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--pad);
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.86), rgba(5, 7, 11, 0.35) 70%, transparent);
  backdrop-filter: blur(8px);
}
.topbar.is-solid {
  background: rgba(5, 7, 11, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.95rem;
}
.logo:hover { color: var(--cyan); }
.logo-bolt { color: var(--cyan); filter: drop-shadow(0 0 6px rgba(125, 249, 255, 0.7)); }
.topnav { display: none; gap: 18px; margin-left: auto; margin-right: 8px; }
.topnav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.topnav a:hover { color: var(--text); }
.topbar .btn-sm { margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 1.45rem; font-size: 1rem; min-height: 48px; }
.btn-primary {
  background: linear-gradient(180deg, #8ffcff, var(--cyan-deep));
  color: #041016;
  box-shadow: var(--shadow-neon);
}
.btn-primary:hover { color: #021016; box-shadow: 0 0 18px rgba(125, 249, 255, 0.65), 0 0 56px rgba(42, 212, 232, 0.35); }
.btn-ghost {
  background: rgba(8, 16, 26, 0.55);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px var(--pad) 88px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(36, 90, 130, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(20, 50, 90, 0.2), transparent 55%),
    #05070b;
}
#fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(5, 7, 11, 0.28) 46%, rgba(5, 7, 11, 0.72) 100%),
    linear-gradient(to bottom, rgba(5, 7, 11, 0.15), transparent 18%, transparent 78%, rgba(5, 7, 11, 0.95));
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(100%, 980px);
}
.formula {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 24, 0.55);
  font-family: var(--mono);
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  letter-spacing: 0.14em;
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(42, 212, 232, 0.12);
}
.formula-u { font-weight: 500; color: #fff; text-shadow: 0 0 12px var(--cyan); }
.formula-eq { opacity: 0.7; }
.formula-v { color: var(--gold); text-shadow: 0 0 10px rgba(255, 224, 138, 0.45); }

.neon {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 14vw, 8.4rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: rgba(180, 230, 240, 0.18);
}
.neon-text {
  display: inline-block;
  color: #e9ffff;
  text-shadow:
    0 0 8px rgba(125, 249, 255, 0.95),
    0 0 18px rgba(125, 249, 255, 0.75),
    0 0 42px rgba(42, 212, 232, 0.55),
    0 0 88px rgba(42, 180, 232, 0.32);
  animation: neon-power 1.8s steps(1, end) both;
}
@keyframes neon-power {
  0%, 8% { opacity: 0; text-shadow: none; color: rgba(125, 249, 255, 0.12); }
  10%, 14% { opacity: 0.9; }
  15%, 22% { opacity: 0.08; text-shadow: none; }
  24%, 28% { opacity: 1; }
  30%, 36% { opacity: 0.15; text-shadow: 0 0 6px rgba(125, 249, 255, 0.3); }
  38%, 44% { opacity: 1; }
  46%, 50% { opacity: 0.25; }
  52%, 100% { opacity: 1; }
}
.neon.is-on .neon-text {
  animation: neon-idle 5.5s ease-in-out 1.8s infinite;
}
@keyframes neon-idle {
  0%, 86%, 100% { opacity: 1; filter: brightness(1); }
  88% { opacity: 0.72; filter: brightness(1.25); }
  90% { opacity: 1; }
  92% { opacity: 0.4; filter: brightness(0.7); }
  94% { opacity: 1; }
}

.hero-sub {
  margin: 1.15rem 0 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.2vw, 1.55rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 18px rgba(125, 249, 255, 0.25);
}
.hero-lead {
  margin: 0 auto 1.6rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-hint i {
  width: 18px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Sections */
.section { padding: clamp(5.5rem, 10vw, 6.5rem) 0 clamp(4rem, 10vw, 6.5rem); }
#why, #who, #price, #offer { scroll-margin-top: 0; }
.why-grid li { min-height: 100%; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0), rgba(10, 20, 32, 0.85), rgba(10, 18, 28, 0));
}
.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.8vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.lead { margin: 0 0 2.2rem; max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.lead strong { color: var(--text); font-weight: 700; }

.why-grid, .who-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.why-grid li, .who-grid article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.why-grid h3, .who-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.why-grid p, .who-grid p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(125, 249, 255, 0.05);
  box-shadow: 0 0 16px rgba(42, 212, 232, 0.08);
}
.icon svg { width: 22px; height: 22px; }

/* Price */
.section-price {
  padding-top: clamp(5.5rem, 10vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
}
.price-card {
  text-align: center;
  padding: clamp(2rem, 6vw, 3.4rem) 1.4rem;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(125, 249, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(16, 28, 40, 0.95), rgba(8, 12, 18, 0.95));
  box-shadow: 0 0 60px rgba(42, 212, 232, 0.1), 0 20px 50px rgba(0, 0, 0, 0.35);
}
.price-card h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: #f4feff;
  text-shadow: 0 0 24px rgba(125, 249, 255, 0.35);
}
.price-note { margin: 0 auto 1.5rem; max-width: 28rem; color: var(--muted); }
.trust, .footer-trust {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.trust::before, .footer-trust::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  transform: translateY(-1px);
}

/* Form */
.offer-form {
  display: grid;
  gap: 14px;
}
.offer-form label { display: grid; gap: 6px; }
.offer-form label span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.offer-form label em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.offer-form input, .offer-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 14, 22, 0.85);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.offer-form input:focus, .offer-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(125, 249, 255, 0.15);
}
.offer-form textarea { resize: vertical; min-height: 120px; }
.offer-form .btn { justify-self: start; margin-top: 4px; width: 100%; }
.form-hint { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }
.thanks {
  margin-top: 1.5rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(125, 249, 255, 0.06);
}
.thanks h3 { margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.2rem; }
.thanks p { margin: 0; color: var(--muted); }
.offer-form.is-sent { display: none; }

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner { display: grid; gap: 8px; }
.footer-brand {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
}
.footer-brand span {
  margin-left: 10px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.footer-trust { margin: 0.35rem 0 0; }
.footer-copy { margin: 0.4rem 0 0; }

@media (min-width: 640px) {
  .topnav { display: flex; }
  .topbar .btn-sm { margin-left: 0; }
  .why-grid, .who-grid { grid-template-columns: 1fr 1fr; }
  .offer-form .btn { width: auto; }
}

@media (min-width: 980px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neon-text, .neon.is-on .neon-text, .scroll-hint i::after {
    animation: none !important;
    opacity: 1;
    filter: none;
  }
  .btn { transition: none; }
}

@media (max-width: 379px) {
  .topbar .topnav { display: none; }
  .hero { padding-top: 88px; }
}

.offer-copy {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(5, 8, 12, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: pre-wrap;
  line-height: 1.5;
}
.tg-direct { display: none; }
@media (min-width: 720px) {
  .tg-direct { display: inline-flex; margin-left: auto; margin-right: 0; }
  .topbar .btn-primary { margin-left: 0; }
}
