:root {
  --bg: #f8f9fc;
  --card: rgba(255, 255, 255, 0.88);
  --text: #10182c;
  --muted: #5a6478;
  --line: #dce3ef;
  --primary: #ff6f4f;
  --primary-strong: #ef5a38;
  --success: #208a5f;
  --focus: rgba(255, 111, 79, 0.18);
  --shadow-soft: 0 16px 40px rgba(17, 33, 59, 0.08);
  --shadow-strong: 0 24px 55px rgba(17, 33, 59, 0.12);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(160deg, #fdfefe 0%, #f6f8fd 45%, #f7f9fc 100%);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.011em;
}

img {
  max-width: 100%;
  display: block;
}

.bg-aurora,
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-aurora::before,
.bg-aurora::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.34;
}

.bg-aurora::before {
  top: -8vw;
  left: -8vw;
  background: radial-gradient(circle, #ffbcae 0%, transparent 68%);
  animation: floatBlobA 14s ease-in-out infinite;
}

.bg-aurora::after {
  right: -10vw;
  top: 22vh;
  background: radial-gradient(circle, #ffc27a 0%, transparent 70%);
  animation: floatBlobB 18s ease-in-out infinite;
}

.bg-grid {
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(159, 170, 194, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 170, 194, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 18%, #000 35%, transparent 82%);
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .container {
    width: min(1240px, 94vw);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.has-animations .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease;
}

body.has-animations .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  object-fit: contain;
  animation: logoFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(60, 54, 90, 0.16));
}

.lang-switch {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.lang-btn {
  border: 0;
  padding: 8px 13px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 7px 15px rgba(239, 90, 56, 0.3);
}

.hero,
.waitlist,
.seo-content {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.hero {
  padding: clamp(26px, 5vw, 52px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.hero-glow {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 79, 0.26) 0%, transparent 70%);
  animation: pulseGlow 3.8s ease-in-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  background: #fff3ef;
  color: var(--primary-strong);
  border: 1px solid #ffc9ba;
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-strong);
  box-shadow: 0 0 0 0 rgba(239, 90, 56, 0.5);
  animation: ping 2s ease infinite;
}

h1,
h2 {
  font-family: "Manrope", "Inter", sans-serif;
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.85rem, 5vw, 3.28rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  max-width: 880px;
}

.hero-text {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.hero-showcase {
  position: relative;
  min-height: clamp(300px, 46vw, 530px);
  perspective: 1400px;
}

.phone-frame {
  position: absolute;
  width: clamp(210px, 32vw, 300px);
  border-radius: 28px;
  overflow: hidden;
  border: 7px solid #131929;
  background: #fff;
  box-shadow:
    0 30px 60px rgba(23, 30, 47, 0.26),
    0 10px 18px rgba(20, 31, 50, 0.16);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-frame-front {
  right: 8%;
  top: 6%;
  z-index: 4;
  transform: rotate(-5deg) translateZ(10px);
  animation: cardFloatFront 7.4s ease-in-out infinite;
}

.phone-frame-back {
  left: 4%;
  top: 22%;
  z-index: 2;
  opacity: 0.9;
  border-color: #1d2538;
  transform: rotate(8deg) scale(0.95);
  animation: cardFloatBack 8.6s ease-in-out infinite;
}

.showcase-badge {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #172033;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dee6f4;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(25, 39, 65, 0.12);
}

.showcase-badge-top {
  left: 0;
  top: 8%;
  animation: badgeWiggle 5.8s ease-in-out infinite;
}

.showcase-badge-bottom {
  right: 0;
  bottom: 10%;
  animation: badgeWiggle 6.2s ease-in-out infinite reverse;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.feature-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdfefe 0%, #f9fbff 100%);
  border: 1px solid #e7edf7;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 8px 15px rgba(239, 90, 56, 0.3);
}

.feature-list li:hover {
  transform: translateX(4px);
  border-color: #d8e1ef;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-pill {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  font-weight: 700;
  color: #273042;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(21, 37, 61, 0.12);
}

.waitlist {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
}

.telegram-block {
  margin-top: 24px;
  margin-bottom: 2px;
  padding: clamp(20px, 3.6vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: clamp(14px, 3vw, 30px);
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.telegram-block::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -84px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 165, 255, 0.26), rgba(85, 165, 255, 0));
}

.telegram-copy {
  position: relative;
  z-index: 1;
}

.telegram-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1877f2;
  background: rgba(24, 119, 242, 0.09);
  border: 1px solid rgba(24, 119, 242, 0.22);
}

.telegram-copy h2 {
  margin: 0;
  font-size: clamp(1.34rem, 3vw, 2rem);
}

.telegram-copy p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 52ch;
}

.telegram-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #4ea4ff, #2d83e8);
  box-shadow: 0 12px 24px rgba(45, 131, 232, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.telegram-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 14px 26px rgba(45, 131, 232, 0.34);
}

.telegram-qr-card {
  display: block;
  justify-self: end;
  width: min(360px, 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d7e1f1;
  box-shadow: 0 16px 34px rgba(21, 42, 76, 0.13);
  background: #fff;
  transform: rotate(1.4deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.telegram-qr-card:hover {
  transform: rotate(0.2deg) translateY(-2px);
  box-shadow: 0 20px 36px rgba(21, 42, 76, 0.18);
}

.telegram-qr-card img {
  width: 100%;
  height: auto;
  display: block;
}

.waitlist h2,
.seo-content h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.waitlist p,
.seo-content p {
  color: var(--muted);
}

.waitlist-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  font-weight: 500;
  background: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.waitlist-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus);
  transform: translateY(-1px);
}

.waitlist-form button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  cursor: pointer;
  min-height: 50px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 80%
  );
  transition: transform 0.62s ease;
  z-index: -1;
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 12px 22px rgba(239, 90, 56, 0.3);
}

.waitlist-form button:hover::before {
  transform: translateX(120%);
}

.form-hint {
  font-size: 0.9rem;
  margin-top: 10px;
}

.form-message {
  min-height: 1.35rem;
  margin-top: 8px;
  font-weight: 700;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: #b11f35;
}

.seo-content {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 34px);
}

.footer {
  padding: 12px 0 26px;
  color: #667185;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes floatBlobA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, 24px) scale(1.08);
  }
}

@keyframes floatBlobB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-36px, 28px) scale(1.12);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.25;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 90, 56, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(239, 90, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 90, 56, 0);
  }
}

@keyframes cardFloatFront {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-10px);
  }
}

@keyframes cardFloatBack {
  0%,
  100% {
    transform: rotate(8deg) scale(0.95) translateY(0);
  }
  50% {
    transform: rotate(6deg) scale(0.95) translateY(8px);
  }
}

@keyframes badgeWiggle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 700px) {
  .topbar {
    padding-top: 14px;
  }

  .brand {
    font-size: 1.06rem;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-showcase {
    min-height: 380px;
  }

  .phone-frame-front {
    right: 6%;
    top: 8%;
  }

  .phone-frame-back {
    left: 2%;
    top: 24%;
  }

  .showcase-badge {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .telegram-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .telegram-link {
    width: 100%;
  }

  .telegram-qr-card {
    justify-self: stretch;
    width: 100%;
    transform: none;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
