.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, #6b9ef5 0%, var(--primary-strong) 100%);
  box-shadow:
    0 8px 24px rgba(91, 141, 239, 0.35),
    var(--shadow-inset);
}

.logo--footer .logo-mark {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(91, 141, 239, 0.35);
  background: linear-gradient(
    135deg,
    rgba(91, 141, 239, 0.22) 0%,
    rgba(139, 124, 248, 0.14) 100%
  );
  color: #eef4ff !important;
  box-shadow: 0 4px 20px rgba(91, 141, 239, 0.2);
}

.nav-cta:hover {
  background: linear-gradient(
    135deg,
    rgba(91, 141, 239, 0.32) 0%,
    rgba(139, 124, 248, 0.22) 100%
  );
  border-color: rgba(91, 141, 239, 0.5);
}

.badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(91, 141, 239, 0.28);
  background: rgba(91, 141, 239, 0.1);
  color: #d4e4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #e2ecff 42%,
    #c4b5fd 88%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 680px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-sub-cta {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.hero-sub-cta a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-sub-cta a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    background 0.22s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, #6b9ef5 0%, #7c6cf0 48%, #8b7cf8 100%);
  box-shadow:
    0 12px 32px rgba(91, 141, 239, 0.35),
    var(--shadow-inset);
}

.btn-primary:hover {
  box-shadow:
    0 16px 40px rgba(91, 141, 239, 0.45),
    var(--shadow-inset);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: var(--shadow-inset);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

/* Text / toolbar control (editor clip list, toggles) */
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.ghost-btn:hover {
  color: #9ec0ff;
}

.ghost-btn.btn-small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-weight: 600;
}

.ghost-btn.btn-small:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

button.ghost-btn.btn-small {
  font-family: inherit;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-stats li {
  min-width: 128px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-inset);
  transition:
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.hero-stats li:hover {
  border-color: rgba(91, 141, 239, 0.2);
  background: rgba(91, 141, 239, 0.06);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.preview-card,
.feature-card,
.workflow-step,
.point-card,
.pricing-card,
.cta-box {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  transition:
    transform 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.feature-card:hover,
.workflow-step:hover,
.point-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 141, 239, 0.18);
  box-shadow: var(--shadow), var(--shadow-inset);
}

.preview-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  border-color: rgba(91, 141, 239, 0.12);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
}

.preview-video {
  border-radius: 22px;
  background: linear-gradient(180deg, #171f3f 0%, #101935 100%);
  padding: 18px;
}

.preview-video-inner {
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(91, 141, 239, 0.38), transparent 36%),
    linear-gradient(180deg, #1a2848 0%, #0a0f1c 100%);
  overflow: hidden;
  position: relative;
}

.preview-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 9, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(53, 196, 139, 0.16);
  color: #9be3c3;
  font-size: 0.8rem;
  font-weight: 700;
}

.preview-overlay h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.preview-overlay p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.preview-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-panel {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.preview-panel h4 {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.preview-panel ul {
  display: grid;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.trusted-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.trusted-label {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.trusted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trusted-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.feature-card,
.workflow-step,
.pricing-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.workflow-step h3,
.pricing-card h3,
.point-card strong {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p,
.workflow-step p,
.pricing-card li,
.footer-text,
.platform-text p,
.point-card span {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.workflow-step {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid rgba(91, 141, 239, 0.2);
  background: rgba(91, 141, 239, 0.12);
  color: #b8cff5;
  font-weight: 800;
  box-shadow: var(--shadow-inset);
}

.platform-text h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.platform-points {
  display: grid;
  gap: 14px;
}

.point-card {
  padding: 20px;
  border-radius: 18px;
}

.point-card strong {
  display: block;
  font-size: 1.05rem;
}

.point-card span {
  display: block;
}

.pricing-card {
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(91, 141, 239, 0.35);
  background:
    linear-gradient(
      165deg,
      rgba(91, 141, 239, 0.14) 0%,
      rgba(139, 124, 248, 0.08) 50%,
      rgba(14, 20, 36, 0.72) 100%
    ),
    var(--panel);
  box-shadow:
    0 20px 50px rgba(91, 141, 239, 0.15),
    var(--shadow-inset);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(110, 168, 254, 0.16);
  color: #d9e6ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-label {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.pricing-beta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(91, 141, 239, 0.08));
}

.pricing-beta-banner[hidden] {
  display: none;
}

.pricing-beta-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.25);
  color: #ebe4ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-beta-text {
  margin: 0;
  flex: 1 1 200px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pricing-card--solo {
  border-color: rgba(61, 214, 140, 0.28);
}

.pricing-one-time-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.14);
  color: #8ef0c4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-page .pricing-grid {
  margin-top: 28px;
}

.pricing-billing-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 52rem;
}

.pricing-status {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--primary);
}

.pricing-status--error {
  color: #ff8a8a;
}

.pricing-telegram-fallback {
  margin: 12px 0 8px;
}

.pricing-telegram-fallback[hidden] {
  display: none;
}

.pricing-telegram-fallback .btn {
  width: 100%;
  max-width: 360px;
}

.pricing-direct-checkout {
  margin: 20px 0 24px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 141, 239, 0.28);
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.1), rgba(14, 20, 36, 0.6));
}

.pricing-direct-checkout[hidden] {
  display: none;
}

.pricing-direct-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-direct-hint {
  margin: 0 0 16px;
  max-width: 42rem;
}

.pricing-direct-btn {
  display: inline-flex;
}

.pricing-card-actions {
  margin-top: 18px;
}

.pricing-activate-box {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-activate-box[hidden] {
  display: none;
}

.pricing-activate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.pricing-activate-row .text-input {
  flex: 1 1 240px;
  min-width: 0;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  border-color: rgba(91, 141, 239, 0.15);
  background:
    linear-gradient(
      135deg,
      rgba(91, 141, 239, 0.1) 0%,
      rgba(14, 20, 36, 0.8) 55%
    ),
    var(--panel);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-telegram-wrap {
  min-width: 200px;
}

.footer-telegram-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-telegram {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-telegram a {
  color: #9ec4ff;
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-telegram a:hover {
  color: #cfe0ff;
  text-decoration: underline;
}

.footer-telegram-soon {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .preview-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}