@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600&display=swap');


:root {
  --bg:#0c0c0d;
  --panel:#151517;
  --panel2:#1b1b1e;
  --line:#2b2b2f;
  --text:#f5f3ef;
  --muted:#929298;
  --lime:#d8ff54;
  --orange:#ff7957;
  --purple:#b891ff;
  --radius:20px
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Manrope,system-ui,sans-serif;
  min-height:100vh
}

main,
.studio,
.panel,
.hero {
  min-width:0
}
.noise {
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.035;
  z-index:10;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}
.topbar {
  height:74px;
  padding:0 max(24px,calc((100vw - 1180px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #202023
}
.brand {
  color:var(--text);
  text-decoration:none;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.5px;
  display:flex;
  align-items:center;
  gap:10px
}
.brand-mark {
  width:27px;
  height:27px;
  background:var(--lime);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px
}
.brand-mark i {
  width:3px;
  border-radius:2px;
  background:#111
}
.brand-mark i:nth-child(1) {
  height:8px
}
.brand-mark i:nth-child(2) {
  height:15px
}
.brand-mark i:nth-child(3) {
  height:11px
}
.badge {
  font-size:10px;
  letter-spacing:1.8px;
  color:#999;
  border:1px solid #2c2c30;
  padding:7px 10px;
  border-radius:20px
}
.badge.cloud {
  color:var(--lime);
  border-color:#53602d
}
main {
  max-width:1180px;
  margin:auto;
  padding:0 24px
}
.hero {
  text-align:center;
  padding:76px 12px 56px;
  position:relative
}
.hero:before {
  content:"";
  position:absolute;
  width:min(450px,100vw);
  height:250px;
  top:-70px;
  left:50%;
  transform:translateX(-50%);
  background:radial-gradient(circle,rgba(216,255,84,.075),transparent 70%);
  pointer-events:none
}
.eyebrow,.kicker {
  font-size:11px;
  letter-spacing:1.8px;
  font-weight:700;
  color:#aaa
}
.eyebrow {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px
}
.eyebrow span {
  width:5px;
  height:5px;
  background:var(--lime);
  border-radius:50%;
  box-shadow:0 0 12px var(--lime)
}
h1 {
  font-size:clamp(45px,6.2vw,78px);
  line-height:1.02;
  letter-spacing:-4.5px;
  margin:18px 0 22px;
  font-weight:800
}
.hero h1 em {
  font-family:"Playfair Display",serif;
  color:var(--lime);
  font-weight:600
}
.hero>p {
  max-width:650px;
  margin:0 auto;
  color:#aaa;
  font-size:16px;
  line-height:1.7
}
.hero-flow {
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:38px;
  color:#777
}
.hero-flow div {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:12px
}
.hero-flow b {
  color:var(--lime);
  font-size:10px
}
.hero-flow i {
  display:block;
  width:54px;
  height:1px;
  background:#323236;
  margin:0 15px
}
.studio {
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(300px,.88fr);
  gap:18px;
  align-items:start
}
.panel {
  background:linear-gradient(145deg,#171719,#121214);
  border:1px solid #29292d;
  border-radius:var(--radius);
  box-shadow:0 20px 55px rgba(0,0,0,.22)
}
.uploads-panel {
  padding:27px
}
.settings-panel {
  padding:27px;
  position:sticky;
  top:18px
}
.panel-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:22px
}
.panel-head h2,.process-info h2,.result-copy h2 {
  font-size:22px;
  letter-spacing:-.7px;
  margin:6px 0 0
}
.kicker {
  color:var(--lime);
  font-size:9px
}
.file-counter {
  font-size:11px;
  color:#85858b;
  background:#202023;
  border-radius:18px;
  padding:7px 10px
}
.dropzone {
  height:184px;
  border:1px dashed #424248;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  cursor:pointer;
  transition:.2s;
  background:#111113
}
.dropzone:hover,.dropzone.drag {
  border-color:var(--lime);
  background:#161812;
  transform:translateY(-1px)
}
input[type=file] {
  display:none
}
.drop-icon {
  width:44px;
  height:44px;
  border-radius:13px;
  border:1px solid #343438;
  background:#1e1e21;
  display:grid;
  place-items:center;
  margin-bottom:13px
}
.drop-icon svg {
  width:22px;
  fill:none;
  stroke:var(--lime);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.dropzone strong {
  font-size:14px
}
.dropzone small,.mini-upload small,.format-choice small,.smart-list small {
  font-size:10px;
  color:#777;
  margin-top:6px
}
.media-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  margin-top:10px
}
.thumb {
  aspect-ratio:1;
  border-radius:9px;
  overflow:hidden;
  position:relative;
  background:#222
}
.thumb img,.thumb video {
  width:100%;
  height:100%;
  object-fit:cover
}
.thumb .video-badge {
  position:absolute;
  left:5px;
  bottom:5px;
  background:#0b0b0ccc;
  border-radius:5px;
  font-size:8px;
  padding:3px 5px
}
.thumb button {
  position:absolute;
  right:4px;
  top:4px;
  width:20px;
  height:20px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#0b0b0ccc;
  color:white;
  cursor:pointer;
  opacity:0;
  transition:.2s
}
.thumb:hover button {
  opacity:1
}
.two-columns {
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:18px
}
.mini-upload {
  min-height:72px;
  border:1px solid #303034;
  background:#19191c;
  border-radius:13px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:11px;
  cursor:pointer;
  transition:.2s
}
.mini-upload:hover {
  border-color:#56565d
}
.mini-upload>span:nth-child(2) {
  display:flex;
  flex-direction:column;
  min-width:0
}
.mini-upload small {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:150px
}
.mini-icon {
  flex:0 0 39px;
  height:39px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:18px;
  background:#2b3220;
  color:var(--lime)
}
.plus {
  margin-left:auto;
  color:#777;
  font-size:20px
}
.setting-block {
  border-top:1px solid #29292d;
  padding:20px 0
}
.panel-head.compact {
  margin-bottom:18px
}
.setting-block label {
  display:flex;
  justify-content:space-between;
  font-size:11px;
  font-weight:700;
  margin-bottom:13px;
  color:#c5c5c7
}
.setting-block output {
  color:var(--lime);
  font-weight:500
}
.format-choice {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:11px;
  border:1px solid #3b3b40;
  background:#1a1a1d
}
.format-choice>span:nth-child(2) {
  display:flex;
  flex-direction:column
}
.phone-shape {
  width:18px;
  height:28px;
  border:1.5px solid var(--lime);
  border-radius:4px;
  position:relative
}
.phone-shape:after {
  content:"";
  position:absolute;
  width:5px;
  height:1px;
  background:var(--lime);
  bottom:2px;
  left:5px
}
.check {
  margin-left:auto;
  color:#111;
  background:var(--lime);
  width:18px;
  height:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:800
}
.smart-list {
  display:grid;
  gap:12px;
  margin-bottom:23px
}
.smart-list>div {
  display:flex;
  align-items:center;
  gap:11px
}
.smart-list>div>span {
  width:28px;
  height:28px;
  border-radius:8px;
  background:#202023;
  color:var(--lime);
  display:grid;
  place-items:center;
  font-size:12px
}
.smart-list p {
  margin:0;
  display:flex;
  flex-direction:column;
  font-size:10px
}
.smart-list small {
  margin-top:2px
}
.create-button {
  width:100%;
  border:0;
  border-radius:12px;
  background:var(--lime);
  color:#10110c;
  padding:15px 16px;
  font-weight:800;
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  transition:.2s
}
.create-button:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 28px #d8ff5428
}
.create-button:disabled {
  opacity:.4;
  cursor:not-allowed;
  transform:none
}
.create-button i {
  font-style:normal
}
.privacy {
  text-align:center;
  color:#5f5f65;
  font-size:8px;
  margin:11px 0 0
}
.process-card,.result-card {
  margin:22px 0 60px;
  background:linear-gradient(135deg,#19191b,#121214);
  border:1px solid #2d2d31;
  border-radius:var(--radius);
  padding:34px;
  display:flex;
  align-items:center;
  gap:35px;
  animation:appear .5s ease
}
.hidden {
  display:none!important
}
.process-visual {
  width:120px;
  display:grid;
  place-items:center
}
.pulse-ring {
  width:90px;
  height:90px;
  border:1px solid #53602d;
  border-radius:50%;
  display:grid;
  place-items:center;
  box-shadow:0 0 0 14px #d8ff5408,0 0 45px #d8ff5410;
  animation:pulse 2s infinite
}
.bars {
  display:flex;
  align-items:center;
  gap:3px;
  height:30px
}
.bars i {
  display:block;
  width:3px;
  background:var(--lime);
  border-radius:3px;
  animation:wave .75s ease-in-out infinite alternate
}
.bars i:nth-child(1),.bars i:nth-child(5) {
  height:9px
}
.bars i:nth-child(2),.bars i:nth-child(4) {
  height:20px;
  animation-delay:.15s
}
.bars i:nth-child(3) {
  height:29px;
  animation-delay:.3s
}
.process-info {
  flex:1
}
.process-info p,.result-copy p {
  color:#888;
  font-size:12px
}
.progress-track {
  height:5px;
  border-radius:8px;
  background:#29292d;
  margin-top:21px;
  overflow:hidden
}
.progress-track span {
  height:100%;
  display:block;
  width:0;
  background:var(--lime);
  transition:width .5s;
  border-radius:8px
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  font-size:9px;
  color:#777
}
.progress-percent {
  color:var(--lime)
}
.result-card {
  justify-content:space-between;
  padding:40px 70px
}
.result-copy {
  max-width:480px
}
.result-copy h2 {
  font-size:34px
}
.result-actions {
  display:flex;
  gap:10px;
  margin-top:23px
}
.download-button,.ghost-button {
  padding:13px 18px;
  border-radius:10px;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
  cursor:pointer
}
.download-button {
  background:var(--lime);
  color:#111
}
.download-button span {
  margin-left:18px
}
.ghost-button {
  background:transparent;
  color:#ddd;
  border:1px solid #39393e
}
.phone-preview {
  width:190px;
  aspect-ratio:9/16;
  border:5px solid #26262a;
  border-radius:27px;
  overflow:hidden;
  background:#050505;
  box-shadow:0 20px 50px #0008
}
.phone-preview video {
  width:100%;
  height:100%;
  object-fit:contain
}
footer {
  max-width:1180px;
  margin:20px auto 0;
  padding:28px 24px 40px;
  border-top:1px solid #202023;
  display:flex;
  justify-content:space-between;
  color:#555;
  font-size:9px
}
.toast {
  position:fixed;
  left:50%;
  bottom:25px;
  transform:translate(-50%,20px);
  background:#f2f0e9;
  color:#171717;
  padding:12px 18px;
  border-radius:10px;
  font-size:11px;
  font-weight:600;
  opacity:0;
  pointer-events:none;
  transition:.25s;
  z-index:30;
  box-shadow:0 12px 40px #0008
}
.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}
.toast.error {
  background:#ff7957;
  color:#fff
}
@keyframes pulse {
  50% {
    box-shadow:0 0 0 22px #d8ff5402,0 0 60px #d8ff5418
  }
}
@keyframes wave {
  to {
    height:6px
  }
}
@keyframes appear {
  from {
    opacity:0;
    transform:translateY(12px)
  }
}

@media(max-width:850px) {
  .hero {
    padding-top:54px
  }
  .studio {
    grid-template-columns:1fr
  }
  .settings-panel {
    position:static
  }
  .media-grid {
    grid-template-columns:repeat(4,1fr)
  }
  .result-card {
    padding:30px
  }
  .result-card {
    flex-direction:column
  }
  .phone-preview {
    width:240px
  }
  h1 {
    letter-spacing:-2.5px
  }
}

@media(max-width:520px) {
  body {
    overflow-x:hidden
  }
  main {
    padding:0 14px
  }
  .topbar {
    padding:0 16px;
    gap:12px;
    overflow:hidden
  }
  .badge {
    flex:0 0 auto;
    max-width:145px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
  }
  .hero {
    padding-left:0;
    padding-right:0
  }
  h1 {
    font-size:clamp(36px,11.5vw,45px);
    letter-spacing:-2px;
    overflow-wrap:anywhere
  }
  .hero>p {
    font-size:14px
  }
  .hero-flow i {
    width:20px;
    margin:0 8px
  }
  .hero-flow div {
    gap:4px
  }
  .hero-flow span {
    font-size:9px
  }
  .uploads-panel,.settings-panel {
    padding:20px
  }
  .media-grid {
    grid-template-columns:repeat(3,1fr)
  }
  .process-card {
    flex-direction:column;
    text-align:center;
    padding:25px
  }
  .process-visual {
    width:auto
  }
  .result-actions {
    flex-direction:column
  }
  .result-actions>* {
    text-align:center
  }
  footer {
    flex-direction:column;
    gap:7px
  }
}

.mini-upload>span:nth-of-type(2) {
  display:flex;
  flex-direction:column;
  min-width:0
}

.auto-duration label span {
  color:var(--lime);
  font-size:9px;
  font-weight:600
}
.auto-duration p {
  margin:0;
  color:#777;
  font-size:10px;
  line-height:1.55
}
