:root {
  --bg: #080611;
  --bg-soft: #110a1f;
  --panel: rgba(15, 10, 30, 0.72);
  --panel-strong: rgba(20, 14, 37, 0.88);
  --line: rgba(198, 166, 255, 0.17);
  --line-strong: rgba(198, 166, 255, 0.28);
  --text: #f6f2ff;
  --text-dim: rgba(235, 226, 255, 0.72);
  --green-a: #74ff8e;
  --green-b: #1fd46d;
  --purple-a: #7f49ff;
  --purple-b: #25103f;
  --shadow: 0 30px 80px rgba(4, 2, 10, 0.55);
  --button-shadow: 0 18px 40px rgba(33, 212, 109, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(132, 64, 255, 0.3), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(46, 26, 92, 0.5), transparent 34%),
    linear-gradient(180deg, #150a2c 0%, #0b0815 55%, #07050d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 0.8rem),
    radial-gradient(circle at 74% 12%, rgba(255, 255, 255, 0.06), transparent 0.7rem),
    radial-gradient(circle at 88% 34%, rgba(190, 215, 255, 0.05), transparent 0.7rem),
    radial-gradient(circle at 24% 78%, rgba(235, 240, 255, 0.04), transparent 0.8rem);
  pointer-events: none;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      28rem 28rem at var(--cursor-x, 50%) var(--cursor-y, 50%),
      rgba(138, 86, 255, 0.13),
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
  transition: background-position 120ms ease-out;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shooting-star {
  --start-x: 0vw;
  --start-y: -10vh;
  --travel-x: -24vw;
  --travel-y: 30vh;
  --duration: 8s;
  --delay: 0s;
  --length: 120px;
  --thickness: 2px;
  position: absolute;
  left: var(--start-x);
  top: var(--start-y);
  width: var(--length);
  height: var(--thickness);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(241, 241, 255, 0.96) 36%,
    rgba(169, 136, 255, 0.66) 74%,
    rgba(124, 255, 175, 0)
  );
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(182, 157, 255, 0.36));
  transform: rotate(-28deg) translate3d(0, 0, 0) scaleX(0.72);
  animation: shootingStar var(--duration) linear var(--delay) infinite;
}

.shooting-star::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(188, 255, 209, 0.25));
  transform: translateY(-50%);
  box-shadow: 0 0 22px rgba(212, 232, 255, 0.38);
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: rotate(-28deg) translate3d(0, 0, 0) scaleX(0.72);
  }
  8% {
    opacity: 0.98;
  }
  52% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: rotate(-28deg) translate3d(var(--travel-x), var(--travel-y), 0) scaleX(1.1);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(17, 11, 31, 0.86), rgba(10, 8, 18, 0.88)),
    linear-gradient(135deg, rgba(132, 71, 255, 0.15), rgba(36, 19, 66, 0.08));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 80, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(153, 255, 164, 0.18);
}

.hero__content {
  display: block;
  margin-top: 22px;
}

.hero__copy {
  max-width: 860px;
  margin: 0 auto 0 calc(50% - 435px - 120px);
  text-align: left;
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 12px;
  color: #c6b8ef;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  max-width: 13.5ch;
  line-height: 1.03;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.hero h1 span {
  display: inline;
  color: #b79cff;
}

.hero__text,
.section__heading p,
.feature-card p,
.pitch-card p {
  color: var(--text-dim);
  line-height: 1.7;
}

.hero__text {
  max-width: 64ch;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.countdown-card {
  position: relative;
  width: min(100%, 760px);
  margin-top: 24px;
  padding: 18px 18px 20px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(166, 130, 255, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(23, 15, 43, 0.92), rgba(12, 9, 24, 0.9)),
    radial-gradient(circle at top left, rgba(131, 82, 255, 0.18), transparent 45%);
  box-shadow: 0 24px 60px rgba(5, 4, 12, 0.3);
  overflow: hidden;
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    120deg,
    transparent 28%,
    rgba(156, 113, 255, 0.08) 46%,
    rgba(101, 255, 155, 0.08) 54%,
    transparent 72%
  );
  transform: translateX(-18%);
  animation: countdownSweep 9s linear infinite;
  pointer-events: none;
}

.countdown-card__copy,
.countdown-card__grid {
  position: relative;
  z-index: 1;
}

.countdown-card__copy {
  max-width: 18rem;
}

.countdown-card__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #bca9ea;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-card__title {
  margin: 0;
  color: #d9caff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.countdown-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 12px;
}

.countdown-card__item {
  position: relative;
  padding: 16px 14px;
  border: 1px solid rgba(181, 156, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  overflow: hidden;
}

.countdown-card__item::after {
  content: "";
  position: absolute;
  inset: auto 18% 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(135, 94, 255, 0.6),
    rgba(94, 255, 150, 0.5),
    transparent
  );
  opacity: 0.55;
}

.countdown-card__item strong {
  display: block;
  color: #f8f3ff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

.countdown-card__item span {
  display: block;
  margin-top: 8px;
  color: #bfaee6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countdown-card__item--pulse {
  animation: countdownPulse 420ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes countdownPulse {
  0% {
    transform: translateY(0) scale(1);
    border-color: rgba(181, 156, 255, 0.18);
    box-shadow: none;
  }
  45% {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(127, 73, 255, 0.52);
    box-shadow: 0 14px 32px rgba(55, 211, 116, 0.14);
  }
  100% {
    transform: translateY(0) scale(1);
    border-color: rgba(181, 156, 255, 0.18);
    box-shadow: none;
  }
}

@keyframes countdownSweep {
  0% {
    transform: translateX(-32%) rotate(0.001deg);
  }
  100% {
    transform: translateX(32%) rotate(0.001deg);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  justify-content: flex-start;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button--download {
  color: #08110d;
  background: linear-gradient(135deg, var(--green-a), var(--green-b));
  box-shadow: var(--button-shadow);
}

.button--secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.hero__meta-item {
  min-width: 120px;
}

.hero__meta-label {
  display: block;
  margin-bottom: 4px;
  color: #a99dc7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero__meta-item strong {
  font-size: 1.1rem;
}

.feature-card,
.pitch-card,
.link-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.section {
  margin-top: 28px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(185, 152, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 8, 18, 0.62), rgba(9, 7, 15, 0.8));
}

.section--accent {
  background:
    radial-gradient(circle at 15% 20%, rgba(133, 74, 255, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(12, 8, 22, 0.7), rgba(9, 7, 15, 0.88));
}

.section__heading {
  max-width: 760px;
}

.section__heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section__heading p:last-child {
  margin-top: 14px;
}

.section__heading p + p,
.pitch-card p + p {
  margin-top: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
}

.feature-card:hover,
.link-card:hover,
.pitch-card:hover {
  border-color: rgba(164, 130, 255, 0.35);
  box-shadow: 0 24px 50px rgba(5, 4, 12, 0.34);
}

.feature-card__icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(128, 73, 255, 0.34), rgba(46, 212, 108, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(5, 4, 12, 0.24);
  overflow: hidden;
}

.feature-card__icon::before {
  content: "";
  position: absolute;
  inset: -42%;
  background: conic-gradient(
    from 90deg,
    transparent,
    rgba(116, 255, 142, 0.2),
    transparent,
    rgba(174, 139, 255, 0.22),
    transparent
  );
  animation: featureIconOrbit 7s linear infinite;
}

.feature-card__icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(12, 10, 24, 0.34), rgba(8, 7, 15, 0.12));
}

.feature-card:hover .feature-card__icon {
  box-shadow:
    inset 0 0 0 1px rgba(116, 255, 142, 0.2),
    0 18px 38px rgba(33, 212, 109, 0.13);
}

.feature-icon,
.feature-icon i {
  position: relative;
  z-index: 1;
  display: block;
}

.feature-icon {
  width: 28px;
  height: 28px;
}

.feature-icon i {
  position: absolute;
  background: #f6f2ff;
  box-shadow: 0 0 18px rgba(246, 242, 255, 0.18);
}

.feature-icon--communities i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: featureIconFloat 2.8s ease-in-out infinite;
}

.feature-icon--communities i:nth-child(1) {
  left: 0;
  top: 3px;
  background: #74ff8e;
}

.feature-icon--communities i:nth-child(2) {
  right: 0;
  top: 3px;
  animation-delay: 160ms;
}

.feature-icon--communities i:nth-child(3) {
  left: 6px;
  bottom: 0;
  background: #b79cff;
  animation-delay: 320ms;
}

.feature-icon--chats i:nth-child(1),
.feature-icon--chats i:nth-child(2) {
  width: 24px;
  height: 16px;
  border-radius: 8px;
  animation: featureBubble 2.8s ease-in-out infinite;
}

.feature-icon--chats i:nth-child(1) {
  left: 0;
  top: 2px;
  background: #74ff8e;
}

.feature-icon--chats i:nth-child(2) {
  right: 0;
  bottom: 2px;
  background: #f6f2ff;
  animation-delay: 260ms;
}

.feature-icon--chats i::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 7px;
  height: 7px;
  background: inherit;
  transform: rotate(45deg);
}

.feature-icon--chats i:nth-child(1)::after {
  left: 5px;
}

.feature-icon--chats i:nth-child(2)::after {
  right: 5px;
}

.feature-icon--cinema {
  border: 2px solid #f6f2ff;
  border-radius: 8px;
  animation: featureScreenGlow 2.8s ease-in-out infinite;
}

.feature-icon--cinema i:nth-child(1) {
  left: 9px;
  top: 7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #74ff8e;
  background: transparent;
  box-shadow: none;
}

.feature-icon--cinema i:nth-child(2) {
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: rgba(246, 242, 255, 0.7);
}

.feature-icon--voice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.feature-icon--voice i {
  position: static;
  width: 5px;
  border-radius: 999px;
  background: #74ff8e;
  animation: featureVoiceWave 850ms ease-in-out infinite alternate;
}

.feature-icon--voice i:nth-child(1) {
  height: 12px;
}

.feature-icon--voice i:nth-child(2) {
  height: 24px;
  background: #f6f2ff;
  animation-delay: 120ms;
}

.feature-icon--voice i:nth-child(3) {
  height: 16px;
  animation-delay: 240ms;
}

.feature-icon--reputation {
  border-radius: 50%;
  background: linear-gradient(135deg, #74ff8e, #1fd46d);
  animation: featureMedalPulse 2.8s ease-in-out infinite;
}

.feature-icon--reputation i:nth-child(1) {
  left: 8px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-right: 3px solid #08110d;
  border-bottom: 3px solid #08110d;
  background: transparent;
  box-shadow: none;
  transform: rotate(45deg);
}

.feature-icon--reputation i:nth-child(2) {
  left: 10px;
  bottom: -8px;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: #b79cff;
}

.feature-icon--style i:nth-child(1) {
  inset: 2px;
  border: 2px solid #f6f2ff;
  border-radius: 50%;
  background: transparent;
  animation: featureIconOrbit 4.6s linear infinite;
}

.feature-icon--style i:nth-child(2),
.feature-icon--style i:nth-child(3) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.feature-icon--style i:nth-child(2) {
  left: 2px;
  top: 9px;
  background: #74ff8e;
}

.feature-icon--style i:nth-child(3) {
  right: 2px;
  bottom: 7px;
  background: #b79cff;
}

@keyframes featureIconOrbit {
  to {
    transform: rotate(1turn);
  }
}

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

@keyframes featureBubble {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes featureScreenGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(116, 255, 142, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(116, 255, 142, 0.2);
  }
}

@keyframes featureVoiceWave {
  from {
    transform: scaleY(0.6);
    opacity: 0.62;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes featureMedalPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.feature-card h3,
.pitch-card h2 {
  margin: 0 0 10px;
}

.feature-card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.pitch-card {
  display: block;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin-top: 24px;
}

.link-card {
  padding: 22px;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-card:active {
  transform: scale(0.985);
}

.link-card--download {
  background:
    linear-gradient(180deg, rgba(22, 33, 20, 0.95), rgba(11, 24, 13, 0.95)),
    linear-gradient(135deg, rgba(116, 255, 142, 0.2), rgba(33, 212, 109, 0.18));
  border-color: rgba(84, 229, 128, 0.28);
}

.link-card__label {
  display: block;
  margin-bottom: 10px;
  color: #c4b9df;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-card strong {
  display: block;
  line-height: 1.35;
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  width: min(560px, calc(100% - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(143, 117, 214, 0.38);
  border-radius: 20px;
  background: rgba(20, 12, 37, 0.94);
  box-shadow: 0 20px 50px rgba(5, 4, 12, 0.42);
  color: var(--text);
  line-height: 1.55;
  text-align: center;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .pitch-card,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .countdown-card {
    grid-template-columns: 1fr;
  }

  .countdown-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 100%);
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .hero,
  .section {
    padding: 22px;
    border-radius: 24px;
  }

  .hero__copy {
    max-width: 100%;
    margin: 0;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .shooting-star {
    --length: 88px;
  }

  .countdown-card {
    padding: 16px;
    border-radius: 22px;
  }

  .countdown-card__title {
    font-size: 0.96rem;
  }

  .countdown-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .countdown-card__item {
    padding: 14px 12px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .toast {
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
  }

}
