*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at 50% -20%,#1d1645 0,#090a12 38%,#05060a 72%);
  color:#fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}

button,
textarea,
input{
  font:inherit;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

.landing-grid{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,#000,transparent 70%);
}

.landing-glow{
  position:absolute;
  border-radius:999px;
  filter:blur(120px);
  pointer-events:none;
}

.glow-one{
  width:500px;
  height:500px;
  background:#7136ff;
  opacity:.17;
  top:90px;
  left:-250px;
}

.glow-two{
  width:650px;
  height:500px;
  background:#2258ff;
  opacity:.12;
  top:260px;
  right:-320px;
}

.landing-nav{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
  height:94px;
  display:flex;
  align-items:center;
  gap:34px;
  position:relative;
  z-index:10;
}

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

.landing-brand img{
  width:154px;
  display:block;
}

.landing-links{
  display:flex;
  gap:28px;
  margin-left:auto;
}

.landing-links a{
  color:#989aa5;
  text-decoration:none;
  font-size:14px;
  transition:.2s ease;
}

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

.landing-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:14px;
}

.signin-button,
.nav-create-button{
  border-radius:11px;
  padding:11px 17px;
  font-weight:750;
  font-size:13px;
  text-decoration:none;
}

.signin-button{
  color:#e7e7eb;
  border:1px solid #292b35;
  background:rgba(255,255,255,.025);
}

.nav-create-button{
  border:1px solid #8d61ff;
  color:#fff;
  cursor:pointer;
  background:
    linear-gradient(135deg,#955cff,#6845f6);
  box-shadow:
    0 8px 30px rgba(119,74,255,.25),
    inset 0 1px rgba(255,255,255,.25);
}

.hero{
  width:min(1000px,calc(100% - 36px));
  margin:82px auto 0;
  text-align:center;
  position:relative;
  z-index:2;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#bbb5da;
  font-weight:800;
  letter-spacing:.16em;
  font-size:11px;
  padding:8px 13px;
  border:1px solid rgba(159,126,255,.25);
  background:rgba(118,78,255,.08);
  border-radius:999px;
}

.hero-badge-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#a778ff;
  box-shadow:0 0 13px #a778ff;
}

.hero h1{
  margin:24px auto 15px;
  max-width:950px;
  font-size:clamp(48px,7vw,83px);
  line-height:.99;
  letter-spacing:-.058em;
  font-weight:850;
}

.hero h1 span,
.landing-section h2 span{
  background:
    linear-gradient(90deg,#9f74ff 0%,#68a1ff 46%,#5ee8c1 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-subtitle{
  max-width:720px;
  margin:22px auto 36px;
  color:#92949f;
  font-size:19px;
  line-height:1.65;
}

.hero-subtitle strong{
  color:#d8d9de;
}

.creator-shell{
  max-width:850px;
  margin:0 auto;
  border-radius:22px;
  text-align:left;
  padding:20px;
  background:
    linear-gradient(#10121a,#10121a) padding-box,
    linear-gradient(
      120deg,
      rgba(150,102,255,.8),
      rgba(76,151,255,.4),
      rgba(80,235,189,.55)
    ) border-box;
  border:1px solid transparent;
  box-shadow:
    0 30px 100px rgba(0,0,0,.45),
    0 0 70px rgba(111,77,255,.10);
  transition:.25s ease;
}

.creator-shell:focus-within{
  transform:translateY(-2px);
  box-shadow:
    0 35px 110px rgba(0,0,0,.55),
    0 0 90px rgba(111,77,255,.18);
}

.creator-label{
  color:#cacbd1;
  font-size:13px;
  font-weight:800;
  display:flex;
  gap:8px;
}

#heroIdea{
  width:100%;
  border:0;
  outline:0;
  resize:none;
  background:transparent;
  color:#fff;
  font-size:20px;
  line-height:1.55;
  padding:17px 2px 16px;
  min-height:100px;
}

#heroIdea::placeholder{
  color:#5d606c;
}

.creator-bottom{
  display:flex;
  align-items:center;
  gap:20px;
  border-top:1px solid #232631;
  padding-top:15px;
}

.creator-hint{
  color:#676a75;
  font-size:12px;
  line-height:1.4;
  flex:1;
}

.hero-create-button{
  white-space:nowrap;
  border:0;
  cursor:pointer;
  color:#fff;
  font-weight:850;
  padding:13px 19px;
  border-radius:12px;
  background:linear-gradient(135deg,#9461ff,#6843ed);
  box-shadow:0 8px 26px rgba(116,74,255,.26);
}

.hero-create-button span{
  margin-left:8px;
}

.hero-proof{
  display:flex;
  justify-content:center;
  gap:23px;
  flex-wrap:wrap;
  margin-top:22px;
  color:#696c76;
  font-size:12px;
}

.film-preview{
  width:min(1080px,calc(100% - 36px));
  margin:95px auto 155px;
  perspective:1000px;
}

.preview-window{
  border-radius:19px;
  border:1px solid #292c37;
  overflow:hidden;
  background:#0b0d13;
  box-shadow:
    0 60px 150px rgba(0,0,0,.6),
    0 0 80px rgba(96,65,255,.08);
  transform:rotateX(2deg);
}

.preview-topbar{
  height:50px;
  border-bottom:1px solid #242731;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 18px;
  background:#101219;
}

.preview-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#343741;
}

.preview-title{
  margin-left:auto;
  margin-right:auto;
  color:#5f626d;
  font-size:10px;
  letter-spacing:.17em;
  font-weight:800;
}

.preview-stage{
  min-height:465px;
  display:grid;
  grid-template-columns:190px 1fr;
}

.preview-sidebar{
  border-right:1px solid #22252e;
  padding:28px 18px;
  background:#0d0f15;
}

.fake-logo{
  height:20px;
  width:100px;
  border-radius:5px;
  background:linear-gradient(90deg,#8764ff,#5b72ff);
  opacity:.8;
  margin-bottom:35px;
}

.fake-button{
  height:38px;
  border-radius:9px;
  background:#6844eb;
  opacity:.8;
  margin-bottom:28px;
}

.fake-project{
  height:10px;
  width:100%;
  border-radius:20px;
  background:#292c35;
  margin:15px 0;
}

.fake-project.short{
  width:65%;
}

.preview-main{
  padding:42px;
}

.preview-heading small{
  color:#7e6ace;
  font-weight:800;
  letter-spacing:.14em;
}

.preview-heading h3{
  margin:10px 0 7px;
  font-size:27px;
}

.preview-heading p{
  color:#6d707b;
}

.scene-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px;
  margin-top:38px;
}

.scene-card{
  aspect-ratio:16/10;
  border-radius:13px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.08);
}

.scene-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 30%,transparent,rgba(0,0,0,.55));
}

.scene-card span{
  position:absolute;
  z-index:3;
  bottom:12px;
  left:13px;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:800;
  color:#d5d5dd;
}

.scene-a{
  background:
    radial-gradient(circle at 70% 30%,#c06f39 0,transparent 22%),
    linear-gradient(145deg,#26245f,#785036,#171927);
}

.scene-b{
  background:
    radial-gradient(circle at 40% 28%,#87a9e9 0,transparent 22%),
    linear-gradient(145deg,#141a2b,#273c59,#13131c);
}

.scene-c{
  background:
    radial-gradient(circle at 60% 25%,#68c2aa 0,transparent 20%),
    linear-gradient(145deg,#11332e,#233e4d,#11121a);
}

.generation-line{
  width:100%;
  height:7px;
  margin-top:37px;
  background:#1d2028;
  border-radius:999px;
  overflow:hidden;
}

.generation-line div{
  width:68%;
  height:100%;
  background:linear-gradient(90deg,#8054ff,#5b8cff,#55d3b4);
  border-radius:999px;
}

.landing-section{
  width:min(1100px,calc(100% - 36px));
  margin:0 auto;
  padding:90px 0;
}

.section-kicker{
  color:#8667ed;
  font-size:11px;
  letter-spacing:.18em;
  font-weight:850;
  margin-bottom:14px;
}

.landing-section h2{
  max-width:810px;
  margin:0;
  font-size:clamp(38px,5vw,62px);
  letter-spacing:-.045em;
  line-height:1.05;
}

.steps,
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:17px;
  margin-top:52px;
}

.steps article,
.feature-grid article{
  border:1px solid #22252f;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  padding:29px;
}

.step-number{
  color:#7f5aff;
  font-weight:900;
  font-size:12px;
  margin-bottom:38px;
}

.steps h3,
.feature-grid h3{
  margin:0 0 11px;
  font-size:19px;
}

.steps p,
.feature-grid p{
  margin:0;
  color:#777a84;
  line-height:1.65;
  font-size:14px;
}

.feature-section{
  padding-top:120px;
}

.feature-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:#181524;
  border:1px solid #342a55;
  border-radius:11px;
  color:#9f7aff;
  margin-bottom:25px;
  font-size:19px;
}

.final-cta{
  text-align:center;
  padding:150px 0 165px;
}

.final-cta h2{
  margin:auto;
}

.bottom-create-button{
  margin-top:38px;
  border:0;
  border-radius:13px;
  padding:15px 23px;
  color:white;
  font-weight:850;
  background:linear-gradient(135deg,#9461ff,#6843ed);
  cursor:pointer;
  box-shadow:0 15px 45px rgba(110,73,255,.23);
}

.final-cta p{
  color:#646771;
  font-size:12px;
  margin-top:15px;
}

footer{
  width:min(1100px,calc(100% - 36px));
  margin:auto;
  padding:30px 0 42px;
  border-top:1px solid #1c1e26;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#565862;
  font-size:12px;
}

footer img{
  width:110px;
  opacity:.7;
}

.onboarding-backdrop{
  position:fixed;
  inset:0;
  background:rgba(3,4,8,.80);
  backdrop-filter:blur(16px);
  z-index:100;
  display:grid;
  place-items:center;
  padding:20px;
}

.hidden{
  display:none!important;
}

.onboarding-card{
  width:min(540px,100%);
  min-height:420px;
  border:1px solid #302b42;
  border-radius:25px;
  background:
    radial-gradient(circle at 50% -30%,#261d52,#101219 46%);
  box-shadow:
    0 45px 120px rgba(0,0,0,.65),
    0 0 90px rgba(116,74,255,.15);
  padding:42px;
  position:relative;
}

.onboarding-close{
  position:absolute;
  right:18px;
  top:14px;
  border:0;
  background:transparent;
  color:#777985;
  font-size:27px;
  cursor:pointer;
}

.onboarding-small{
  color:#896bef;
  font-size:10px;
  letter-spacing:.17em;
  font-weight:900;
}

.onboarding-card h2{
  margin:15px 0 10px;
  font-size:33px;
  letter-spacing:-.04em;
  line-height:1.1;
}

.onboarding-card p{
  color:#878995;
  line-height:1.6;
}

#leadForm{
  display:grid;
  gap:11px;
  margin-top:27px;
}

#leadForm input{
  height:55px;
  border:1px solid #343746;
  background:#0b0d13;
  color:white;
  padding:0 16px;
  border-radius:12px;
  outline:0;
}

#leadForm input:focus{
  border-color:#7658dd;
}

#leadForm button,
.finish-button{
  height:53px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#9461ff,#6843ed);
  color:#fff;
  font-weight:850;
  cursor:pointer;
}

.onboarding-card small{
  display:block;
  text-align:center;
  color:#5d606a;
  margin-top:13px;
}

.quiz-progress{
  width:100%;
  height:5px;
  background:#23252d;
  border-radius:999px;
  margin-bottom:26px;
  overflow:hidden;
}

#quizProgressBar{
  height:100%;
  width:25%;
  background:linear-gradient(90deg,#875aff,#4ec6b2);
  transition:.3s ease;
}

.quiz-options{
  display:grid;
  gap:10px;
  margin-top:25px;
}

.quiz-option{
  text-align:left;
  border:1px solid #2a2d37;
  border-radius:12px;
  padding:15px 16px;
  color:#d6d7dc;
  background:#13151c;
  cursor:pointer;
  transition:.18s ease;
}

.quiz-option:hover{
  border-color:#7053d4;
  background:#181523;
  transform:translateX(3px);
}

.finish-icon{
  width:65px;
  height:65px;
  display:grid;
  place-items:center;
  border-radius:18px;
  margin-bottom:27px;
  color:#c4afff;
  font-size:27px;
  background:#211a3a;
  border:1px solid #403066;
}

.finish-button{
  width:100%;
  margin-top:18px;
}

@media(max-width:850px){
  .landing-nav{
    height:78px;
  }

  .landing-links{
    display:none;
  }

  .landing-actions{
    margin-left:auto;
  }

  .landing-brand img{
    width:125px;
  }

  .hero{
    margin-top:55px;
  }

  .hero h1{
    font-size:50px;
  }

  .creator-bottom{
    align-items:stretch;
    flex-direction:column;
  }

  .hero-create-button{
    width:100%;
  }

  .hero-proof{
    gap:12px;
  }

  .preview-stage{
    grid-template-columns:1fr;
  }

  .preview-sidebar{
    display:none;
  }

  .preview-main{
    padding:24px;
  }

  .scene-row{
    gap:8px;
  }

  .steps,
  .feature-grid{
    grid-template-columns:1fr;
  }

  .onboarding-card{
    padding:35px 23px;
  }
}

@media(max-width:520px){
  .signin-button{
    display:none;
  }

  .nav-create-button{
    padding:10px 13px;
  }

  .hero h1{
    font-size:43px;
  }

  .hero-subtitle{
    font-size:16px;
  }

  .creator-shell{
    padding:17px;
  }

  #heroIdea{
    font-size:17px;
  }

  .scene-row{
    grid-template-columns:1fr;
  }

  .scene-card:nth-child(n+2){
    display:none;
  }
}
