.seedance-lp {
  --lp-red: var(--krasnyy, #e30613);
  --lp-yellow: var(--zheltyy, #fffc0d);
  --lp-bg: var(--chernyy, #1a1a1a);
  --lp-card-bg: var(--svetlyy-chernyy, #313131);
  --lp-text-main: var(--belyy, #fff);
  --lp-text-sec: var(--seryy, #e5e5e5);
  --lp-border: var(--temnyy-seryy, #464646);

  font-family: inherit;
  color: var(--lp-text-main);
  background-color: var(--lp-bg);
  width: 100%;
  max-width: 1180px;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}
.seedance-lp *,
.seedance-lp *::before,
.seedance-lp *::after {
  box-sizing: border-box;
}
.seedance-lp svg {
  display: block;
}

/* ==========================================
   Hero
   ========================================== */
.seedance-lp__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 40px 0 64px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255, 252, 13, 0.08), transparent 70%);
}
.seedance-lp__hero-content {
  flex: 1 1 420px;
  min-width: 300px;
}
.seedance-lp__hero-visual {
  flex: 1 1 380px;
  min-width: 300px;
}
.seedance-lp__badge {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-yellow);
  background: rgba(255, 252, 13, 0.08);
  border-radius: 999px;
}
.seedance-lp__title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}
.seedance-lp__highlight {
  color: var(--lp-yellow);
}
.seedance-lp__subtitle {
  font-size: 18px;
  color: var(--lp-text-sec);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Buttons */
.seedance-lp__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.seedance-lp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.seedance-lp__btn--primary {
  background: var(--lp-red);
  border-color: var(--lp-red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.35);
}
.seedance-lp__btn--primary:hover {
  background: #c2000b;
  border-color: #c2000b;
  transform: translateY(-2px);
}
.seedance-lp__btn--secondary {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text-main);
}
.seedance-lp__btn--secondary:hover {
  border-color: var(--lp-yellow);
  background: rgba(255, 255, 255, 0.04);
}
.seedance-lp__btn--ghost {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text-sec);
  padding: 12px 20px;
  font-size: 14px;
}
.seedance-lp__btn--ghost:hover {
  border-color: var(--lp-yellow);
  color: var(--lp-text-main);
}
.seedance-lp__btn--large {
  padding: 18px 40px;
  font-size: 17px;
}
.seedance-lp__btn--small {
  padding: 9px 18px;
  font-size: 13px;
}

/* Hero stats */
.seedance-lp__stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--lp-border);
  flex-wrap: wrap;
}
.seedance-lp__stat-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--lp-text-main);
  line-height: 1.1;
}
.seedance-lp__stat-label {
  font-size: 13px;
  color: var(--lp-text-sec);
  margin-top: 4px;
  max-width: 140px;
}

/* ==========================================
   Constructor (signature widget)
   ========================================== */
.seedance-lp__constructor {
  background: var(--lp-card-bg);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 28px;
}
.seedance-lp__constructor-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.seedance-lp__constructor-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text-main);
}
.seedance-lp__constructor-hint {
  font-size: 13px;
  color: var(--lp-text-sec);
}
.seedance-lp__constructor-refs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lp-border);
}
.seedance-lp__constructor-ref-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text-main);
}
.seedance-lp__constructor-ref-icon {
  width: 18px;
  height: 18px;
  color: var(--lp-yellow);
  flex-shrink: 0;
}
.seedance-lp__constructor-add {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text-main);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.seedance-lp__constructor-add:hover:not(:disabled) {
  border-color: var(--lp-yellow);
  color: var(--lp-yellow);
}
.seedance-lp__constructor-add:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.seedance-lp__constructor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.seedance-lp__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
  font-size: 13px;
  color: var(--lp-text-main);
}
.seedance-lp__chip--audio {
  border-color: rgba(227, 6, 19, 0.5);
}
.seedance-lp__chip button {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.seedance-lp__chip button:first-child:hover {
  color: var(--lp-yellow);
}
.seedance-lp__chip button:last-child {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--lp-text-sec);
  font-size: 14px;
  line-height: 1;
}
.seedance-lp__chip button:last-child:hover {
  background: var(--lp-red);
  color: #fff;
}
.seedance-lp__constructor-textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 14px;
  color: var(--lp-text-main);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.seedance-lp__constructor-textarea:focus {
  border-color: var(--lp-yellow);
}
.seedance-lp__constructor-textarea::placeholder {
  color: var(--lp-text-sec);
}
.seedance-lp__constructor-output {
  min-height: 44px;
  background: var(--lp-bg);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-text-sec);
  margin-bottom: 18px;
  word-break: break-word;
}
.seedance-lp__constructor-output-empty {
  font-style: italic;
  opacity: 0.7;
}
.seedance-lp__constructor-output .sd-token-image,
.seedance-lp__constructor-output .sd-token-video,
.seedance-lp__constructor-output .sd-token-audio {
  color: var(--lp-yellow);
  font-weight: 600;
}
.seedance-lp__constructor-output .sd-token-error {
  color: var(--lp-red);
  font-weight: 600;
  text-decoration: underline wavy;
}
.seedance-lp__constructor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.seedance-lp__constructor-actions .seedance-lp__btn {
  flex: 1;
}

/* ==========================================
   Section title / features grid
   ========================================== */
.seedance-lp__section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  color: var(--lp-text-main);
  margin: 0 0 48px;
}
.seedance-lp__features {
  padding: 72px 0;
}
.seedance-lp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seedance-lp__card {
  background: var(--lp-card-bg);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.seedance-lp__card:hover {
  border-color: var(--lp-border);
  transform: translateY(-4px);
}
.seedance-lp__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 13, 0.08);
  border-radius: 12px;
  color: var(--lp-yellow);
  margin-bottom: 20px;
}
.seedance-lp__card-icon svg {
  width: 24px;
  height: 24px;
}
.seedance-lp__card-icon--multi {
  gap: 4px;
  padding: 0 8px;
}
.seedance-lp__card-icon--multi svg {
  width: 16px;
  height: 16px;
}
.seedance-lp__card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--lp-text-main);
}
.seedance-lp__card-text {
  font-size: 14px;
  color: var(--lp-text-sec);
  line-height: 1.6;
}

/* ==========================================
   Calculator
   ========================================== */
.seedance-lp__calculator {
  padding: 40px 0 72px;
}
.seedance-lp__calculator-note {
  text-align: center;
  max-width: 560px;
  margin: -28px auto 40px;
  color: var(--lp-text-sec);
  font-size: 14px;
}
.seedance-lp__calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  background: var(--lp-card-bg);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 36px;
}
.seedance-lp__calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.seedance-lp__calculator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.seedance-lp__calculator-row--duration {
  flex-direction: column;
  align-items: stretch;
}
.seedance-lp__calculator-label {
  font-size: 14px;
  color: var(--lp-text-sec);
}
.seedance-lp__calculator-label b {
  color: var(--lp-text-main);
}
.seedance-lp__toggle {
  display: inline-flex;
  background: var(--lp-bg);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seedance-lp__toggle-btn {
  border: none;
  background: transparent;
  color: var(--lp-text-sec);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.seedance-lp__toggle-btn.is-active {
  background: var(--lp-yellow);
  color: var(--lp-bg);
}
.seedance-lp__slider {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--lp-yellow);
}
.seedance-lp__calculator-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--lp-bg);
  border-radius: 16px;
  padding: 28px;
  gap: 8px;
}
.seedance-lp__calculator-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--lp-text-main);
}
.seedance-lp__calculator-price span {
  color: var(--lp-yellow);
}
.seedance-lp__calculator-tokens {
  font-size: 13px;
  color: var(--lp-text-sec);
}
.seedance-lp__calculator-hint {
  font-size: 12px;
  color: var(--lp-text-sec);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 12px;
}
.seedance-lp__calculator-result .seedance-lp__btn {
  width: 100%;
}

/* ==========================================
   Steps
   ========================================== */
.seedance-lp__steps {
  padding: 40px 0 72px;
}
.seedance-lp__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seedance-lp__step {
  background: var(--lp-card-bg);
  border-radius: 16px;
  padding: 28px;
}
.seedance-lp__step-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-yellow);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.seedance-lp__step p {
  color: var(--lp-text-sec);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================
   Final CTA
   ========================================== */
.seedance-lp__final-cta {
  padding: 72px 0;
  text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(227, 6, 19, 0.1), transparent 70%);
  border-radius: 24px;
}
.seedance-lp__final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.seedance-lp__final-cta-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}
.seedance-lp__final-cta-text {
  font-size: 17px;
  color: var(--lp-text-sec);
  line-height: 1.6;
  margin-bottom: 32px;
}
.seedance-lp__final-cta-action {
  margin-bottom: 28px;
}
.seedance-lp__final-cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--lp-text-sec);
  font-size: 14px;
}
.seedance-lp__final-cta-features li {
  position: relative;
  padding-left: 20px;
}
.seedance-lp__final-cta-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-yellow);
}

/* ==========================================
   Mobile sticky CTA
   ========================================== */
.seedance-lp__sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  align-items: center;
  gap: 12px;
  background: var(--svetlyy-chernyy, #313131);
  border: 1px solid var(--temnyy-seryy, #464646);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.seedance-lp__sticky-cta.is-visible {
  transform: translateY(0);
}
.seedance-lp__sticky-cta-text {
  flex: 1;
  font-size: 13px;
  color: var(--belyy, #fff);
  line-height: 1.4;
}
.seedance-lp__sticky-cta-close {
  background: transparent;
  border: none;
  color: var(--seryy, #e5e5e5);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .seedance-lp__title {
    font-size: 38px;
  }
  .seedance-lp__grid,
  .seedance-lp__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seedance-lp__calculator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .seedance-lp__hero {
    padding: 24px 0 40px;
    gap: 32px;
  }
  .seedance-lp__badge {
    margin-top: 20px;
  }
  .seedance-lp__title {
    font-size: 30px;
  }
  .seedance-lp__subtitle {
    font-size: 16px;
    max-width: none;
  }
  .seedance-lp__cta-group {
    flex-direction: column;
  }
  .seedance-lp__cta-group .seedance-lp__btn {
    width: 100%;
  }
  .seedance-lp__stats {
    gap: 20px;
  }
  .seedance-lp__stat-value {
    font-size: 24px;
  }
  .seedance-lp__section-title {
    font-size: 30px;
    margin-bottom: 32px;
  }
  .seedance-lp__features,
  .seedance-lp__calculator,
  .seedance-lp__steps,
  .seedance-lp__final-cta {
    padding: 48px 0;
  }
  .seedance-lp__grid,
  .seedance-lp__steps-grid {
    grid-template-columns: 1fr;
  }
  .seedance-lp__calculator-grid {
    padding: 24px;
  }
  .seedance-lp__final-cta-title {
    font-size: 28px;
  }
  .seedance-lp__constructor {
    padding: 20px;
  }
  .seedance-lp__sticky-cta {
    display: flex;
  }
}
@media (max-width: 480px) {
  .seedance-lp__title {
    font-size: 26px;
  }
  .seedance-lp__stats {
    flex-direction: column;
    gap: 16px;
  }
  .seedance-lp__constructor-actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .seedance-lp * {
    transition: none !important;
  }
}
