:root {
  --content-width: 80%;
  --content-max-width: 1200px;
  --nav-height: 4rem;
  --space: 1.5rem;
  --radius: 8px;
  --color-bg: #0f0f12;
  --color-surface: #18181f;
  --color-hero-bg: #12121a;
  --color-partners-bg: #16161d;
  --color-pricing-bg: #1a1a24;
  --color-footer-bg: #0d0d10;
  --color-text: #e8e8ec;
  --color-text-muted: #9898a6;
  --color-accent: #6366f1;
  --color-accent-hover: #818cf8;
  --color-check: #22c55e;
  --color-cross: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 2.25rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  background: linear-gradient(
    90deg,
    rgba(51, 239, 231, 0.78) 0%,
    rgba(47, 229, 133, 0.78) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nav-links a:hover {
  filter: brightness(1.35) saturate(1.1);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 4px;
}
.nav-burger:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-bar.nav-open .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-bar.nav-open .nav-burger-bar:nth-child(2) {
  opacity: 0;
}
.nav-bar.nav-open .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-login {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  margin-left: 0.5rem;
  border: 1px solid rgba(51, 239, 231, 0.4);
  background: linear-gradient(
    90deg,
    rgba(51, 239, 231, 0.88) 0%,
    rgba(47, 229, 133, 0.88) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.nav-login:hover {
  border-color: rgba(47, 229, 133, 0.55);
  filter: brightness(1.2) saturate(1.05);
}

.block {
  width: 100%;
  padding: 4rem 0;
}

.block-inner {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space);
}

.legal-page {
  min-height: calc(100vh - 4rem);
  padding: 2rem 0 3rem;
}
.legal-shell {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
}
.legal-shell h1 {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.legal-wp-content {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.legal-wp-content h2,
.legal-wp-content h2.wp-block-heading {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-text);
}
.legal-wp-content h5,
.legal-wp-content h5.wp-block-heading {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 1.35rem 0 0.5rem;
  color: var(--color-text);
}
.legal-wp-content p {
  margin-top: 6px;
  margin-bottom: 0.85rem;
}
.legal-wp-content strong {
  font-weight: 800;
  color: var(--color-text);
}
.legal-wp-content ul,
.legal-wp-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.legal-wp-content li {
  margin-bottom: 0.4rem;
}
.legal-wp-content a {
  color: var(--color-accent);
  text-decoration: none;
}
.legal-wp-content a:hover {
  text-decoration: underline;
}
.legal-wp-content em {
  color: var(--color-text-muted);
  font-style: italic;
}
.legal-source {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.legal-source a {
  color: var(--color-accent);
  text-decoration: none;
}
.legal-source a:hover {
  text-decoration: underline;
}

.block-hero .block-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.block-hero {
  background: var(--color-hero-bg);
  padding: 0;
}

.hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-gif-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  overflow: hidden;
  background: #0a0a0e;
}

.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left -80px;
  display: block;
}

.hero-slope {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(135deg, rgba(24, 24, 31, 0.97) 0%, rgba(24, 24, 31, 0.95) 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-slope-content {
  max-width: min(420px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.hero-heading,
.hero-line {
  margin: 0;
  font-weight: 600;
  background: linear-gradient(
    90deg,
    rgba(51, 239, 231, 0.78) 0%,
    rgba(47, 229, 133, 0.78) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-heading {
  font-size: calc(1.25rem * 1.18 * 1.1);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.hero-line {
  font-size: calc(0.9375rem * 1.18 * 1.1);
  font-weight: 500;
  line-height: 1.4;
}

.hero-copy .hero-buy-btn {
  margin-top: 1rem;
}

.hero-buy-btn {
  display: inline-block;
  padding: calc(3px * 0.82);
  border-radius: calc(12px * 0.82);
  text-decoration: none;
  transition: filter 0.2s;
  vertical-align: middle;
  background: linear-gradient(
    to top right,
    rgba(51, 239, 231, 0.88) 0%,
    rgba(47, 229, 133, 0.88) 100%
  );
}
.hero-buy-btn:hover {
  filter: brightness(1.08);
}
.hero-buy-btn__fill {
  display: block;
  padding: calc(0.78rem * 0.82) calc(2.22rem * 0.82);
  border-radius: calc(10px * 0.82);
  background: var(--color-surface);
}
.hero-buy-btn__text {
  display: block;
  font-weight: 600;
  font-size: calc(1.125rem * 0.82);
  text-align: center;
  background: linear-gradient(
    to top right,
    rgba(51, 239, 231, 0.92) 0%,
    rgba(47, 229, 133, 0.92) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: var(--color-accent);
  color: #fff;
  width: 100%;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--color-accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text-muted);
  width: 100%;
  text-align: center;
}

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

.block-partners {
  background: var(--color-partners-bg);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.partners-strip {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 3rem;
  padding: 1rem 0;
  width: max-content;
  animation: partners-scroll linear infinite;
  animation-duration: var(--partners-duration, 30s);
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-slide {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.partners-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.9;
}

@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--partners-move, 0px))); }
}

.block-pricing {
  background: var(--color-pricing-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: var(--color-text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.feature-list li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  padding-left: 1.75rem;
  position: relative;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.feature-list .included {
  color: var(--color-text);
}

.feature-list .included::before {
  content: "✓";
  color: var(--color-check);
}

.feature-list .excluded {
  color: var(--color-text-muted);
}

.feature-list .excluded::before {
  content: "✕";
  color: var(--color-cross);
}

.feature-list .feature-link {
  color: var(--color-accent);
  text-decoration: none;
}

.feature-list .feature-link:hover {
  text-decoration: underline;
}

.tier-image {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  margin: 0 0 1.25rem 0;
  display: block;
}

.pricing-card .btn {
  margin-top: auto;
}

.footer {
  background: var(--color-footer-bg);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slope {
    width: 45%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

@media (max-width: 768px) {
  :root {
    --content-width: 92%;
  }

  .nav-inner {
    position: relative;
  }

  .nav-burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    margin: 0 calc(-1 * var(--space));
    padding-left: var(--space);
    padding-right: var(--space);
  }

  .nav-bar.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }

  .hero-media {
    flex-direction: column;
  }

  .hero-slope {
    position: relative;
    width: 100%;
    clip-path: none;
    padding: 2rem var(--space);
  }

  .hero-slope-content {
    max-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
