:root {
  --bg: #070914;
  --bg-soft: #0d1021;
  --card: rgba(17, 22, 43, 0.82);
  --card-strong: rgba(22, 29, 58, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #aeb8d4;
  --muted-2: #7884a3;
  --accent: #45f0b4;
  --accent-2: #8a6cff;
  --danger: #ff5f7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(69, 240, 180, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 6%, rgba(138, 108, 255, 0.22), transparent 30rem),
    linear-gradient(180deg, #070914 0%, #080b18 44%, #050711 100%);
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(69, 240, 180, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 6%, rgba(138, 108, 255, 0.22), transparent 30rem),
    linear-gradient(180deg, #070914 0%, #080b18 44%, #050711 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(7, 9, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #06110d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px rgba(69, 240, 180, 0.25);
}

.brand-text {
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.header-login,
.primary-btn,
.secondary-btn,
.google-btn,
.link-button {
  border: 0;
  cursor: pointer;
}

.header-login {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 3px solid #45f0b4 !important;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(69,240,180,.35), 0 10px 28px rgba(69,240,180,.18) !important;
}

.header-login:hover {
  border-color: #45f0b4 !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 108px) clamp(18px, 5vw, 72px) 36px;
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(69, 240, 180, 0.28);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(69, 240, 180, 0.08);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.primary-btn,
.secondary-btn,
.google-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 16px;
  font-weight: 800;
}

.primary-btn {
  color: #06110d;
  background: linear-gradient(135deg, var(--accent), #72ffd0);
  box-shadow: 0 18px 52px rgba(69, 240, 180, 0.24);
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.secondary-btn:hover {
  border-color: rgba(138, 108, 255, 0.55);
}

.wide {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-facts b,
.hero-facts span {
  display: block;
}

.hero-facts b {
  margin-bottom: 6px;
  font-size: 15px;
}

.hero-facts span {
  color: var(--muted-2);
  font-size: 13px;
}

.hero-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(11, 14, 30, 0.78);
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.timeline-card {
  padding: 18px;
  border-radius: 24px;
  background: #0b0f21;
}

.video-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 12;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(69, 240, 180, 0.34), transparent 8rem),
    linear-gradient(135deg, rgba(138, 108, 255, 0.34), rgba(18, 24, 50, 1));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.play-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.24);
}

.timeline-line {
  height: 10px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.timeline-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.beat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.beat-grid span {
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(69, 240, 180, 0.22), rgba(138, 108, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.beat-grid span:nth-child(2),
.beat-grid span:nth-child(4) {
  transform: translateY(12px);
}

.render-status {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.info-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.price-card,
.step {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.info-card {
  min-height: 230px;
  padding: 24px;
}

.card-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-weight: 900;
}

.info-card h3,
.step h3,
.price-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.info-card p,
.step p,
.price-card li {
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  padding-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 22px;
}

.step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 14px;
  color: #06110d;
  background: var(--accent);
}

.price-card {
  position: relative;
  padding: 40px 28px 28px;
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(69, 240, 180, 0.13), rgba(138, 108, 255, 0.10)),
    var(--card-strong);
  border-color: rgba(69, 240, 180, 0.38);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #06110d;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 18px 0 22px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
}

.price-card li + li {
  margin-top: 10px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 42px auto 72px;
  padding: 34px;
  border: 1px solid rgba(69, 240, 180, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(69, 240, 180, 0.17), transparent 20rem),
    var(--card-strong);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 12, 0.76);
  backdrop-filter: blur(10px);
}

.modal-backdrop.open {
  display: grid;
}

.auth-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0c1022;
  box-shadow: var(--shadow);
  transform: translateY(-28px);
}

.modal-close {
  position: absolute;
  top: -20px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 22px;
  z-index: 80;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-tab {
  padding: 11px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.auth-tab.active {
  color: #06110d;
  background: var(--accent);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-panel h2 {
  margin-bottom: 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.auth-panel p {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

.auth-form input:focus {
  border-color: rgba(69, 240, 180, 0.6);
}

.google-btn {
  width: 100%;
  margin-top: 12px;
  color: #06110d;
  background: linear-gradient(135deg, #ffffff, #dffdf4);
  border: 1px solid rgba(69, 240, 180, 0.58);
  box-shadow: 0 14px 36px rgba(69, 240, 180, 0.18);
}

.google-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(69, 240, 180, 0.24);
}

.link-button {
  width: 100%;
  margin-top: 14px;
  color: var(--accent);
  background: transparent;
}

.auth-message {
  display: none;
  margin-bottom: 16px;
  padding: 13px 14px;
  border-radius: 16px;
  line-height: 1.45;
}

.auth-message.show {
  display: grid;
  gap: 4px;
}

.auth-message.error {
  color: #ffd7df;
  background: rgba(255, 95, 122, 0.12);
  border: 1px solid rgba(255, 95, 122, 0.34);
}

.auth-message.success {
  color: #d9fff1;
  background: rgba(69, 240, 180, 0.11);
  border: 1px solid rgba(69, 240, 180, 0.34);
}

.auth-message.banned {
  color: #ffd7df;
  background: rgba(255, 95, 122, 0.13);
  border: 1px solid rgba(255, 95, 122, 0.38);
  text-align: center;
}


.auth-panel[data-auth-panel="register"] .auth-form input {
  border: 1px solid #ffffff;
}

.auth-panel[data-auth-panel="register"] .google-btn {
  border: 1px solid #ffffff;
}

.auth-panel[data-auth-panel="register"] .terms-accept {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-panel[data-auth-panel="register"] .terms-accept input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.auth-panel[data-auth-panel="register"] .terms-accept span {
  display: inline;
}



/* AUTOEDIT_MOBILE_FULL_START */
@media (max-width: 980px) {
  .main-nav {
    display: none !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero-card {
    width: 100% !important;
    max-width: 540px !important;
  }

  .info-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cta-section {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    min-width: 0 !important;
  }

  .site-header {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .brand {
    min-width: 0 !important;
  }

  .brand-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }

  .brand-text {
    font-size: 18px !important;
  }

  .header-login {
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  .hero {
    display: block !important;
    padding: 30px 14px 24px !important;
  }

  h1 {
    max-width: none !important;
    font-size: 34px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.05em !important;
    margin-bottom: 16px !important;
  }

  .eyebrow,
  .section-kicker {
    padding: 7px 10px !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
  }

  .hero-lead {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
  }

  .hero-actions,
  .cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .primary-btn,
  .secondary-btn,
  .google-btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
  }

  .hero-facts,
  .info-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr !important;
  }

  .hero-facts {
    gap: 10px !important;
    margin-top: 22px !important;
  }

  .hero-card {
    margin-top: 24px !important;
    padding: 12px !important;
    border-radius: 24px !important;
  }

  .timeline-card {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .video-frame {
    aspect-ratio: 16 / 10 !important;
    border-radius: 18px !important;
  }

  .play-dot {
    width: 48px !important;
    height: 48px !important;
  }

  .beat-grid {
    gap: 7px !important;
  }

  .beat-grid span {
    height: 34px !important;
    border-radius: 10px !important;
  }

  .render-status {
    margin-top: 16px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .section {
    padding: 44px 14px !important;
  }

  .section-heading {
    margin-bottom: 20px !important;
  }

  .section-heading h2,
  .cta-section h2 {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  .section-heading p,
  .cta-section p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .info-card,
  .price-card,
  .step {
    min-height: auto !important;
    padding: 34px 20px 20px !important;
    border-radius: 20px !important;
  }

  .card-number {
    margin-bottom: 18px !important;
  }

  .step b {
    margin-bottom: 18px !important;
  }

  .price {
    font-size: 34px !important;
    margin: 12px 0 18px !important;
  }

  .cta-section {
    margin: 24px 14px 44px !important;
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .site-footer {
    flex-direction: column !important;
    padding: 24px 16px !important;
  }

  #authModal.open {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 10px !important;
    overflow-y: auto !important;
  }

  #authModal .auth-modal {
    display: block !important;
    width: calc(100vw - 20px) !important;
    max-width: 430px !important;
    margin: 10px auto !important;
    padding: 20px !important;
    border-radius: 22px !important;
    background: #0c1022 !important;
    color: var(--text) !important;
    transform: translateY(-28px) !important;
  }

  #authModal .auth-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 48px 22px 0 !important;
    padding: 6px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.06) !important;
  }

  #authModal .auth-tab {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: var(--muted) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
  }

  #authModal .auth-tab.active {
    background: var(--accent) !important;
    color: #06110d !important;
  }

  #authModal .auth-panel {
    display: none !important;
  }

  #authModal .auth-panel.active {
    display: block !important;
  }

  #authModal .auth-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 13px !important;
  }

  #authModal .auth-form label {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  #authModal .auth-form input {
    width: 100% !important;
    min-height: 46px !important;
    padding: 13px 14px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }

  #authModal .modal-close {
    top: -20px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 80 !important;
    border: 3px solid #ffffff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}
/* AUTOEDIT_MOBILE_FULL_END */
