@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Unbounded:wght@300;600&display=swap");

:root {
  --landing-bg: #000000;
  --landing-accent: #570d79;
  --landing-accent-soft: #5e0482;
  --landing-surface: rgba(22, 22, 25, 0.7);
  --landing-surface-solid: #161619;
  --landing-border: #1e1e23;
  --landing-text: #ffffff;
  --landing-muted: #a1a1a1;
  --landing-muted-2: #737373;
  --landing-subtitle: #595959;
  --landing-star: #fdc700;
  --landing-side-padding: 160px;
  --landing-container: calc(100% - (var(--landing-side-padding) * 2));
  --landing-section-gap: 300px;
}

* {
  box-sizing: border-box;
}

html:has(body.landing-page) {
  overflow-x: hidden;
  background: var(--landing-bg);
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.landing-bg-glow {
  position: fixed;
  top: -107px;
  left: 0;
  width: 100%;
  height: min(1233px, 125vh);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 680px 620px at 24% 58%, rgba(50, 0, 110, 0.58) 0%, transparent 68%),
    radial-gradient(ellipse 640px 580px at 58% 28%, rgba(97, 13, 146, 0.36) 0%, transparent 68%),
    radial-gradient(ellipse 600px 540px at 82% 62%, rgba(97, 13, 146, 0.34) 0%, transparent 68%);
}

.landing-shell {
  position: relative;
  z-index: 1;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

@media (min-width: 1025px) {
  .landing-header {
    position: relative;
    top: auto;
  }
}

.landing-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease, background-color 0.25s ease;
}

.landing-header.is-scrolled::before {
  opacity: 1;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--landing-container);
  margin: 0 auto;
  padding: 24px 0 16px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.landing-brand img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.landing-brand-name {
  font-family: Unbounded, Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.76;
  letter-spacing: 0.02em;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-nav a {
  font-family: Unbounded, Inter, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}

.landing-nav a:hover,
.landing-nav a.active {
  color: #fff;
}

.landing-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 8px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--landing-accent);
  color: #fff;
  font: 500 16px/24px Inter, sans-serif;
  box-shadow: 0 10px 15px -3px rgba(26, 111, 230, 0.2), 0 4px 6px -4px rgba(26, 111, 230, 0.2);
  cursor: pointer;
  transition: filter 0.15s;
}

.landing-login:hover {
  filter: brightness(1.08);
}

.landing-login-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.82;
}

.landing-login-soon:hover {
  filter: none;
}

.landing-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}

.landing-user-menu-name {
  font-family: Unbounded, Inter, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  color: #fff;
}

.landing-user-menu-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #212121;
}

.landing-menu-toggle,
.landing-mobile-menu {
  display: none;
}

.landing-menu-toggle {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.landing-menu-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor;
}

.landing-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 96px var(--landing-side-padding) 48px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.landing-mobile-menu[hidden] {
  display: none !important;
}

.landing-header.is-menu-open .landing-mobile-menu {
  display: flex;
}

.landing-mobile-menu-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--landing-side-padding);
}

.landing-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.landing-menu-close-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.landing-menu-close-icon::before,
.landing-menu-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.landing-menu-close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.landing-menu-close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.landing-mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.landing-mobile-nav a {
  font-family: Unbounded, Inter, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  transition: color 0.15s;
}

.landing-mobile-nav a:hover,
.landing-mobile-nav a.active {
  color: #fff;
}

.landing-mobile-login {
  min-width: 138px;
}

body.landing-menu-open {
  overflow: hidden;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 40px;
  align-items: center;
  max-width: var(--landing-container);
  margin: 72px auto 0;
  min-height: 520px;
}

.landing-hero-copy h1 {
  margin: 0 0 24px;
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.landing-hero-sub {
  margin: 0 0 32px;
  font-family: Unbounded, Inter, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 22.75px;
  color: #595959;
  white-space: nowrap;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-btn-primary,
.landing-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border-radius: 8px;
  font: 700 16px/24px Inter, sans-serif;
  transition: filter 0.15s, border-color 0.15s;
}

.landing-btn-primary {
  background: var(--landing-accent);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(26, 111, 230, 0.2), 0 4px 6px -4px rgba(26, 111, 230, 0.2);
}

.landing-btn-secondary {
  background: var(--landing-surface-solid);
  border: 1px solid var(--landing-border);
  color: #fff;
}

.landing-btn-primary:hover,
.landing-btn-secondary:hover {
  filter: brightness(1.08);
}

@keyframes landing-hero-enter {
  from {
    opacity: 0;
    transform: translateX(72px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.landing-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 525px;
  opacity: 0;
  animation: landing-hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.landing-hero-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 525px;
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  background: rgba(12, 12, 12, 0.3);
}

.landing-hero-glow {
  position: absolute;
  left: 49px;
  bottom: -211px;
  width: 400px;
  height: 422px;
  border-radius: 999px;
  background: var(--landing-accent);
  filter: blur(52px);
  pointer-events: none;
}

.landing-hero-frame img {
  position: relative;
  z-index: 1;
  width: 184%;
  max-width: none;
  height: 100%;
  margin-left: -44%;
  object-fit: cover;
  object-position: top center;
}

.landing-stats {
  margin-top: var(--landing-section-gap);
  border-top: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
  padding: 57px 0;
}

.landing-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--landing-container);
  margin: 0 auto;
}

.landing-stat {
  display: flex;
  align-items: center;
}

.landing-stat + .landing-stat::before {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 48px;
  background: var(--landing-border);
}

.landing-stat-value {
  font: 700 48px/48px Inter, sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.landing-stat-label {
  margin-top: 6px;
  font: 400 14px/20px Inter, sans-serif;
  color: var(--landing-muted);
  text-align: center;
}

.landing-section {
  max-width: var(--landing-container);
  margin: 0 auto;
  padding-top: var(--landing-section-gap);
}

.landing-kicker {
  margin: 0 0 12px;
  font: 500 14px/20px Inter, sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--landing-muted-2);
}

.landing-title {
  margin: 0 0 40px;
  font: 600 clamp(2rem, 4vw, 48px)/48px Inter, sans-serif;
  white-space: nowrap;
}

.landing-title .accent {
  color: var(--landing-accent);
}

.landing-reviews-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.landing-reviews-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-reviews-row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: landing-scroll 40s linear infinite;
}

.landing-reviews-row:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 45s;
}

.landing-reviews-track:has(.landing-review-card:hover) .landing-reviews-row {
  animation-play-state: paused;
}

@keyframes landing-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.landing-review-card {
  width: 288px;
  flex: 0 0 288px;
  cursor: default;
  padding: 21px;
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
}

.landing-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.landing-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #282828;
  flex-shrink: 0;
}

.landing-review-name {
  font: 600 14px/20px Inter, sans-serif;
  white-space: nowrap;
}

.landing-review-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
  color: var(--landing-star);
  font-size: 12px;
  line-height: 16px;
}

.landing-review-text {
  min-height: 46px;
  overflow: hidden;
}

.landing-review-text-line {
  display: block;
  font: 400 14px/22.75px Inter, sans-serif;
  color: var(--landing-muted);
  white-space: nowrap;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 672px);
  gap: 48px;
  align-items: start;
}

.landing-community h3 {
  margin: 0 0 24px;
  font: 600 30px/36px Inter, sans-serif;
  white-space: nowrap;
}

.landing-community h3 .accent {
  color: var(--landing-accent);
}

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

.landing-social-card {
  position: relative;
  min-height: 160px;
  padding: 25px;
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
  transition: border-color 0.15s, transform 0.15s;
}

.landing-social-card:hover {
  border-color: rgba(87, 13, 121, 0.5);
  transform: translateY(-2px);
}

.landing-social-card img.icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: left top;
  margin-bottom: 16px;
}

.landing-social-card img.external {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.4;
}

.landing-social-card strong {
  display: block;
  margin-bottom: 8px;
  font: 700 20px/28px Inter, sans-serif;
}

.landing-social-card span {
  font: 400 14px/17.5px Inter, sans-serif;
  color: var(--landing-muted);
}

.landing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-faq-item {
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.landing-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 18px/28px Inter, sans-serif;
  text-align: left;
  cursor: pointer;
}

.landing-faq-question > span:first-child {
  white-space: nowrap;
}

.landing-faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--landing-muted);
  font: 300 24px/32px Inter, sans-serif;
  transition: transform 0.2s;
}

.landing-faq-item.open .landing-faq-toggle {
  transform: rotate(45deg);
}

.landing-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--landing-muted);
  font: 400 14px/22px Inter, sans-serif;
}

.landing-faq-item.open .landing-faq-answer {
  display: block;
}

.landing-footer {
  margin-top: var(--landing-section-gap);
  border-top: 1px solid var(--landing-border);
  background: rgba(22, 22, 25, 0.3);
  backdrop-filter: blur(12px);
  padding: 65px 0 32px;
}

.landing-footer-inner {
  max-width: var(--landing-container);
  margin: 0 auto;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)) 0.8fr;
  gap: 32px;
  margin-bottom: 64px;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.landing-footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.landing-footer-brand strong {
  display: block;
  font: 700 24px/24px Inter, sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.landing-footer-brand em {
  display: block;
  margin-top: 4px;
  font: 600 12px/16px Inter, sans-serif;
  font-style: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--landing-accent-soft);
}

.landing-footer-about {
  max-width: 320px;
}

.landing-footer-about-line {
  display: block;
  font: 500 14px/22.75px Inter, sans-serif;
  color: var(--landing-muted);
  white-space: nowrap;
}

.landing-footer-col h4 {
  margin: 0 0 16px;
  font: 700 18px/28px Inter, sans-serif;
}

.landing-footer-col a {
  display: block;
  margin-bottom: 8px;
  font: 500 14px/20px Inter, sans-serif;
  color: var(--landing-muted);
  transition: color 0.15s;
}

.landing-footer-col a:hover {
  color: #fff;
}

.landing-footer-dev {
  text-align: right;
}

.landing-footer-dev small {
  display: block;
  margin-bottom: 8px;
  font: 700 12px/16px Inter, sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.landing-footer-dev span {
  font: 400 14px/20px Inter, sans-serif;
  color: #d4d4d4;
}

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 33px;
  border-top: 1px solid var(--landing-border);
  font: 500 12px/16px Inter, sans-serif;
  color: var(--landing-muted-2);
}

@media (max-width: 1100px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-hero-visual {
    min-height: 420px;
  }

  .landing-split {
    grid-template-columns: 1fr;
    gap: var(--landing-section-gap);
  }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-footer-dev {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-visual {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --landing-side-padding: 48px;
  }

  .landing-title,
  .landing-community h3,
  .landing-faq-question > span:first-child {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .landing-hero-copy h1,
  .landing-hero-sub,
  .landing-footer-about-line,
  .landing-review-text-line {
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .landing-header::before {
    opacity: 1;
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .landing-header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 16px 0;
  }

  .landing-brand {
    min-width: 0;
  }

  .landing-brand img {
    width: 40px;
    height: 40px;
  }

  .landing-brand-name {
    font-size: 16px;
    line-height: 1.4;
  }

  .landing-nav-desktop,
  .landing-login-desktop {
    display: none;
  }

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

@media (max-width: 760px) {
  :root {
    --landing-side-padding: 16px;
  }

  .landing-stat + .landing-stat::before {
    display: none;
  }

  .landing-stats-grid {
    gap: 24px 48px;
  }

  .landing-social-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
