:root{
  --bg: #070b16;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --muted2: rgba(255,255,255,.50);
  --primary: #7c7bff;
  --primary2: #9c7bff;
  --good: #3ddc97;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.45);
  --r: 18px;
  --r2: 22px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% 10%, rgba(124,123,255,.18), transparent 60%),
              radial-gradient(1000px 650px at 80% 20%, rgba(156,123,255,.16), transparent 60%),
              radial-gradient(900px 600px at 50% 70%, rgba(62,214,255,.08), transparent 60%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(var(--container), calc(100% - 48px)); margin:0 auto; }

.bg-orb{
  position:fixed; inset:auto;
  width:540px; height:540px; border-radius:999px;
  filter: blur(60px);
  opacity:.35;
  pointer-events:none;
  z-index:0;
}
.orb-1{ left:-180px; top:120px; background: radial-gradient(circle at 30% 30%, rgba(124,123,255,.9), rgba(124,123,255,.05)); }
.orb-2{ right:-200px; top:260px; background: radial-gradient(circle at 30% 30%, rgba(156,123,255,.9), rgba(156,123,255,.05)); }

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(7,11,22,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; }
.brand-dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 0 0 6px rgba(124,123,255,.12);
}
.brand-text{ letter-spacing:.2px; }

.nav{ display:flex; gap:18px; align-items:center; }
.nav a{ color: var(--muted); font-weight:600; font-size:14px; }
.nav a:hover{ color: var(--text); }
.pill{
  padding:8px 12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
}
.topbar-actions{ display:flex; gap:10px; align-items:center; }

.btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 14px;
  border-radius: 999px;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,.20);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.btn:active{ transform: translateY(0px); }
.btn.small{ padding:8px 12px; font-size:13px; }
.btn.wide{ width:100%; justify-content:center; display:flex; }
.btn.primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 40px rgba(124,123,255,.22);
}
.btn.primary:hover{
  box-shadow: 0 22px 52px rgba(124,123,255,.28);
}
.btn.ghost{ background: rgba(255,255,255,.04); }
.btn:disabled{
  opacity:.55; cursor:not-allowed; transform:none;
}

/* Hero */
.hero{ position:relative; z-index:1; padding:56px 0 10px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.hero h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height:1.02;
  margin:0 0 12px;
  letter-spacing:-.7px;
}
.lead{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; margin: 16px 0 14px; }
.chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

/* Studio Card */
.studio-card{
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding:18px;
}
.studio-top{
  display:flex; justify-content:space-between; gap:14px; align-items:flex-start;
}
.studio-title{ display:flex; flex-direction:column; gap:6px; }
.muted{ color: var(--muted); }
.studio-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.badge{
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
}
.badge b{ color: #fff; }

/* Wave */
.wave-wrap{
  position:relative;
  height: 120px;
  border-radius: 16px;
  margin:14px 0 10px;
  background: radial-gradient(600px 200px at 50% 50%, rgba(124,123,255,.18), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.wave{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:7px;
  padding:18px 16px;
  opacity:.95;
}
.wave span{
  width:7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.85));
  filter: drop-shadow(0 8px 18px rgba(124,123,255,.22));
  animation: wave 1.2s ease-in-out infinite;
}
.wave span:nth-child(odd){ animation-duration: 1.35s; opacity:.9; }
.wave span:nth-child(3n){ animation-duration: 1.05s; opacity:.85; }
.wave span:nth-child(4n){ animation-duration: 1.55s; opacity:.78; }
@keyframes wave{
  0%,100%{ height: 18px; transform: translateY(0); }
  50%{ height: 78px; transform: translateY(-2px); }
}
.wave-glow{
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 50% 40%, rgba(124,123,255,.22), transparent 55%);
  filter: blur(24px);
  opacity:.8;
}
.studio-tip{
  margin: 10px 0 12px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}
.studio-mini{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
}
.mini-kpi{
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.08);
}
.kpi-label{ font-size:12px; color: rgba(255,255,255,.55); font-weight:800; }
.kpi-value{ font-size:14px; font-weight:900; margin-top:4px; }

/* Sections */
.section{ position:relative; z-index:1; padding: 44px 0; }
.section h2{
  margin:0 0 12px;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing:-.2px;
}
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.card{
  border-radius: var(--r);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow2);
  padding:16px;
  min-height: 130px;
}
.card-num{
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: rgba(124,123,255,.20);
  border:1px solid rgba(124,123,255,.30);
  font-weight:900;
  margin-bottom:10px;
}
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color: var(--muted); font-size: 13px; line-height:1.5; }

/* App area */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.section-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.app-panel{
  margin-top:16px;
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding:16px;
}
.dropzone{
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  padding: 22px 18px;
  text-align:center;
  transition: border-color .12s ease, background .12s ease;
  cursor:pointer;
}
.dropzone.drag{
  border-color: rgba(124,123,255,.50);
  background: rgba(124,123,255,.10);
}
.dz-icon{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid; place-items:center;
  margin: 0 auto 10px;
  background: rgba(124,123,255,.18);
  border:1px solid rgba(124,123,255,.30);
}
.dz-title{ font-weight:900; margin-bottom:6px; }
.dz-sub{ color: var(--muted); margin-bottom:6px; }
.linklike{ color: rgba(156,123,255,.95); text-decoration: underline; cursor:pointer; }
.dz-meta{ font-size:12px; color: rgba(255,255,255,.55); }
.file{ display:none; }

.filecard{
  margin-top: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  padding: 14px;
}

.filecard-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.fileinfo{ display:flex; flex-direction:column; gap:4px; }
.fname{ font-weight:900; }
.fmeta{ color: rgba(255,255,255,.60); font-size:12px; }

/* NEW: preview player */
.preview-wrap{
  margin-top: 12px;
  border-radius: 16px;
  background: radial-gradient(700px 220px at 50% 30%, rgba(124,123,255,.14), rgba(0,0,0,.20));
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px;
}
.preview-label{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.72);
  margin-bottom: 8px;
}
.audio-preview{
  width: 100%;
  outline: none;
  border-radius: 12px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));
}

/* Progress */
.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
  margin: 12px 0 10px;
}
.progressbar{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  border-radius: 999px;
  transition: width .25s ease;
}

.actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
.usage{
  color: rgba(255,255,255,.68);
  font-size:12px;
  line-height:1.4;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  font-weight: 800;
}

/* Pricing */
.pricing-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}
.pricing-note .note-box{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  max-width: 320px;
}
.note-title{ font-weight:900; }
.note-text{ color: rgba(255,255,255,.65); font-size:12px; margin-top:4px; }

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top: 14px;
}
.plan{
  position:relative;
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  padding: 16px;
  overflow:hidden;
}
.plan:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(500px 180px at 50% 0%, rgba(124,123,255,.12), transparent 55%);
  opacity:.9;
  pointer-events:none;
}
.plan-top{ position:relative; }
.plan h3{ margin:0 0 8px; font-size:16px; }
.price{
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -.3px;
}
.plan-sub{ margin-top:4px; color: rgba(255,255,255,.65); font-size:12px; font-weight:700; }
.bullets{
  margin: 12px 0 14px;
  padding-left: 18px;
  color: rgba(255,255,255,.74);
  font-size: 12.5px;
  line-height:1.55;
  position:relative;
}
.bullets li{ margin: 6px 0; }

.plan.popular{
  border-color: rgba(124,123,255,.35);
  box-shadow: 0 22px 70px rgba(124,123,255,.18);
}
.ribbon{
  position:absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124,123,255,.22);
  border: 1px solid rgba(124,123,255,.35);
  font-weight: 900;
  font-size: 12px;
}

/* Footer */
.footer{
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links{ display:flex; gap:14px; }
.footer-links a{ color: rgba(255,255,255,.60); font-weight:700; font-size:13px; }
.footer-links a:hover{ color:#fff; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards3{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr 1fr; }
  .section-head{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px){
  .nav{ display:none; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .studio-mini{ grid-template-columns: 1fr; }
  .actions{ flex-direction:column; align-items:stretch; }
}
.footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

.footer a {
  color: #6fdcff;
  text-decoration: none;
  margin: 0 5px;
}

.footer a:hover {
  text-decoration: underline;
}

.legal {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.7;
}
