@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Urbanist:wght@400;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #090909;
  --bg-soft: #111111;
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --accent: #5aa9ff;
  --accent-strong: #9dd0ff;
  --pill: #151515;
  --border: #1e1e1e;
  --shadow: 0 35px 120px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Urbanist", "Avenir Next", sans-serif;
  background: #000;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(14, 14, 14, 0.9);
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 24px;
  z-index: 10;
  backdrop-filter: blur(14px);
}

@media (min-width: 981px) {
  .nav {
    position: sticky;
  }

  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--text);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--text);
  border-left-color: var(--text);
  transform: rotate(-15deg);
}

.logo-text {
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 0 auto;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-tab {
  position: relative;
  padding: 6px 2px;
}

.nav-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
  transform: scaleX(0.6);
}

.nav-tab.is-active {
  color: var(--text);
}

.nav-tab.is-active::after {
  background: var(--accent);
  transform: scaleX(1);
}

.ghost-btn {
  background: #f3f3f3;
  color: #111;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  flex: 1;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.65);
  color: var(--text);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.hero-arrow--prev {
  left: 0;
}

.hero-arrow--next {
  right: 0;
}

@media (min-width: 981px) {
  .hero-arrow {
    display: none;
  }
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(90, 169, 255, 0.35), transparent 60%);
  filter: blur(4px);
  pointer-events: none;
}

.phone-card {
  --phone-media-ratio: 9 / 19.5;
  width: min(260px, 60vw);
  aspect-ratio: var(--phone-media-ratio);
  height: auto;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  border-radius: 32px;
  border: 1px solid #202020;
  box-shadow:
    0 0 0 1px rgba(90, 169, 255, 0.08),
    0 16px 42px rgba(90, 169, 255, 0.16),
    0 28px 72px rgba(90, 169, 255, 0.11),
    0 30px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.phone-card.is-square {
  width: min(360px, 60vw);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  display: grid;
  place-items: center;
}

.phone-card img,
.phone-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0a0a0a;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}


.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


h1 {
  font-size: clamp(29px, 3.2vw, 51px);
  color: var(--accent-strong);
  line-height: 1.05;
}

p {
  font-size: 18px;
  color: #a6a6a6;
  max-width: 460px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.primary-btn {
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(42, 171, 238, 0.35);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.secondary-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid #2c2c2c;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.play-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.play-btn__eyebrow {
  font-size: 10px;
  letter-spacing: 0.9px;
  color: #cfcfcf;
}

.play-btn__brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.telegram-btn {
  min-height: 56px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(42, 171, 238, 0.35);
  background: rgba(14, 14, 14, 0.92);
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(42, 171, 238, 0.06) inset;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.telegram-btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.telegram-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.telegram-btn__eyebrow {
  font-size: 9px;
  letter-spacing: 0.35px;
  color: #9cb3c2;
}

.telegram-btn__brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.telegram-btn:hover,
.telegram-btn:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow:
    0 12px 26px rgba(42, 171, 238, 0.22),
    0 0 0 3px rgba(42, 171, 238, 0.12);
}

.telegram-btn:focus-visible {
  outline: none;
}

.hours-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 18px;
  background: rgba(19, 19, 19, 0.9);
  border: 1px solid #232323;
  border-radius: 999px;
  color: #9a9a9a;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.hours-pill span:first-child {
  color: #f2f2f2;
  font-weight: 600;
}

.footer {
  margin-top: auto;
  padding: 16px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-min {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #7c7c7c;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 12px 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 12;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .logo {
    display: inline-flex;
    gap: 8px;
    font-size: 14px;
  }

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

  .logo-text {
    display: inline;
  }

  .ghost-btn {
    order: 3;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: 24px;
  }

  .hero-content {
    width: 100%;
    align-items: center;
  }

  .cta-row {
    width: 100%;
    align-items: center;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    margin-inline: auto;
  }

  .hero-content {
    order: 1;
    margin-inline: auto;
  }

  .phone-card,
  .phone-card.is-square,
  .primary-btn,
  .telegram-btn,
  .footer-min {
    margin-inline: auto;
  }


  p {
    max-width: none;
  }

  .footer {
    padding: 16px 0;
  }

  .footer-min {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(24px, 5.6vw, 32px);
  }

  p {
    font-size: 16px;
  }

  .cta-row {
    gap: 12px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 12px 20px;
  }
  .page {
    padding: 16px 16px 0;
  }

  .nav {
    position: sticky;
    top: 12px;
    border-radius: 24px;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
  }

  .phone-card {
    width: min(220px, 72vw);
    max-height: none;
  }

  .phone-card:not(.is-square) img,
  .phone-card:not(.is-square) video {
    object-fit: cover;
    object-position: center top;
  }

  .phone-card.is-square {
    width: min(280px, 78vw);
    max-height: none;
  }

  .phone-glow {
    width: 360px;
    height: 360px;
  }

  .hero {
    margin-top: 16px;
  }

  .footer {
    padding: 16px 0 max(8px, env(safe-area-inset-bottom));
  }

  .footer-min {
    width: 100%;
    justify-content: center;
  }
}
