/* ============ base ============ */
:root {
  --bg: #08070c;
  --bg-2: #0b0a10;
  --panel: #100e17;
  --panel-2: #15121e;
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f3f9;
  --muted: #a29dae;
  --dim: #6f6a7d;
  --violet: #8b5cff;
  --violet-2: #b06bff;
  --pink: #ff5f9e;
  --lime: #d6ff5c;
  --radius: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
em { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.grad {
  background: linear-gradient(100deg, var(--violet-2) 0%, var(--pink) 48%, #ffb86b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #9a63ff, #7d4bff 55%, #b45cff);
  color: #fff;
  box-shadow: 0 10px 34px -12px rgba(139, 92, 255, 0.85), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(139, 92, 255, 0.95), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-outline { border-color: var(--line-2); background: rgba(255,255,255,0.02); color: var(--text); }
.btn-outline:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.055); transform: translateY(-2px); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; margin-top: auto; }
.btn-mini {
  font-size: 12px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #9a63ff, #7d4bff);
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(139,92,255,0.9);
}

/* ============ nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 7, 12, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(8, 7, 12, 0.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #a26dff, #6f3cff 60%, #ff5f9e 160%);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(139,92,255,0.9), inset 0 1px 0 rgba(255,255,255,0.3);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-word { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* ============ hero ============ */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -260px; left: 50%;
  width: 1180px; height: 760px;
  transform: translateX(-50%);
  background:
    radial-gradient(46% 52% at 34% 44%, rgba(124, 76, 255, 0.34), transparent 70%),
    radial-gradient(38% 46% at 66% 32%, rgba(255, 95, 158, 0.2), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 55% at 50% 22%, #000 5%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 22%, #000 5%, transparent 78%);
  opacity: 0.75;
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 12.5px;
  color: #d9d5e4;
  letter-spacing: 0.005em;
  margin-bottom: 22px;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(214,255,92,0.16), 0 0 12px rgba(214,255,92,0.8);
}

.hero h1 {
  font-size: clamp(44px, 6.6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 auto 20px;
  max-width: 15ch;
}
.lede {
  max-width: 60ch;
  margin: 0 auto 30px;
  color: #b6b1c2;
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.62;
}

.clip-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 7px 7px 7px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.clip-form:focus-within {
  border-color: rgba(139, 92, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(139,92,255,0.12), 0 20px 60px -30px rgba(0,0,0,0.9);
}
.clip-form-icon { color: var(--dim); display: grid; place-items: center; }
.clip-form-icon svg { width: 19px; height: 19px; }
.clip-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  padding: 7px 0;
}
.clip-form input::placeholder { color: #7b7688; }

.micro { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); letter-spacing: 0.01em; }
.form-note { font-size: 13px; color: var(--violet-2); min-height: 20px; margin-top: 6px; opacity: 0; transition: opacity 0.3s; }
.form-note.show { opacity: 1; }

/* ============ editor mock ============ */
.editor-shell { margin-top: 46px; position: relative; }
.editor-shell::before {
  content: "";
  position: absolute;
  inset: -70px -8% -40px;
  background: radial-gradient(52% 60% at 50% 40%, rgba(139,92,255,0.22), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.editor {
  text-align: left;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, #12101a, #0c0a12);
  box-shadow: 0 50px 120px -50px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 13px;
}

.ed-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.018);
}
.ed-dots { display: flex; gap: 6px; }
.ed-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c2836; }
.ed-dots i:first-child { background: #3b3141; }
.ed-file { display: flex; flex-direction: column; line-height: 1.35; }
.ed-file-name { font-weight: 600; font-size: 12.5px; letter-spacing: -0.01em; }
.ed-file-meta { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--dim); }
.ed-bar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }

.chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
  color: #d6d2de;
  white-space: nowrap;
}
.chip-quiet { color: var(--dim); border-color: var(--line); background: none; }

.ed-body { display: grid; grid-template-columns: 54px minmax(0, 1fr) 316px; min-height: 470px; }

.ed-rail {
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 14px 0;
  background: rgba(0,0,0,0.18);
}
.rail-btn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--dim);
}
.rail-btn svg { width: 16px; height: 16px; }
.rail-btn.is-on { color: #fff; background: rgba(139,92,255,0.22); box-shadow: inset 0 0 0 1px rgba(139,92,255,0.35); }

.ed-main { display: flex; flex-direction: column; min-width: 0; }
.ed-canvas-wrap {
  flex: 1;
  display: grid; place-items: center;
  padding: 20px;
  background:
    radial-gradient(60% 70% at 50% 30%, rgba(139,92,255,0.09), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.013) 0 1px, transparent 1px 10px);
  border-bottom: 1px solid var(--line);
}

.ed-canvas {
  position: relative;
  height: 306px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,1), 0 0 0 1px rgba(255,255,255,0.11);
}
.ed-canvas img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s, transform 0.5s var(--ease); }
.ed-canvas img.is-swapping { opacity: 0.25; transform: scale(1.03); }
.guide { position: absolute; left: 8%; right: 8%; height: 1px; background: rgba(255,255,255,0.22); }
.guide-t { top: 12%; }
.guide-b { bottom: 20%; }

.cap {
  position: absolute;
  left: 50%; bottom: 17%;
  transform: translateX(-50%) rotate(-1.2deg);
  width: 86%;
  text-align: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,0.6);
}
.cap em {
  display: inline-block;
  margin-top: 2px;
  background: var(--lime);
  color: #14120a;
  padding: 1px 5px;
  border-radius: 4px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.35);
}

.cap-progress {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: rgba(255,255,255,0.14);
}
.cap-progress span { display: block; height: 100%; width: 62%; background: var(--violet); box-shadow: 0 0 12px rgba(139,92,255,0.9); }

.ed-badge {
  position: absolute; top: 9px; left: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  color: #cfcbd8;
  backdrop-filter: blur(4px);
}
.ed-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 0.25s;
}
.ed-play svg { width: 44px; height: 44px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.7)); }
.ed-canvas:hover .ed-play { opacity: 1; }

.ed-scrub { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ed-scrub .mono { color: #c9c4d6; font-size: 10.5px; }
.scrub-track {
  position: relative; flex: 1; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.09);
}
.scrub-fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 99px; background: linear-gradient(90deg, #7b4bff, #c06bff); transition: width 0.4s var(--ease); }
.scrub-head {
  position: absolute; top: 50%; left: 62%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,255,0.35), 0 2px 8px rgba(0,0,0,0.8);
  transition: left 0.4s var(--ease);
}
.scrub-mark { position: absolute; top: -4px; width: 2px; height: 12px; border-radius: 2px; background: rgba(255,255,255,0.28); }
.scrub-mark.is-hot { background: var(--lime); box-shadow: 0 0 8px rgba(214,255,92,0.8); }
.ed-zoom { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.ed-zoom svg { width: 14px; height: 14px; }

.ed-tracks {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px 8px;
  padding: 12px 16px 14px;
  background: rgba(0,0,0,0.22);
  border-bottom: 1px solid var(--line);
}
.track-head { display: grid; place-items: center; color: var(--dim); }
.track { display: flex; gap: 3px; border-radius: 6px; overflow: hidden; }

.track-video { height: 46px; }
.clip {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #17141f;
  flex: 1;
}
.track-video .clip:nth-child(2) { flex: 2.1; }
.track-video .clip:nth-child(4) { flex: 0.55; }
.clip img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.clip-active { border-color: rgba(176,107,255,0.95); box-shadow: 0 0 0 1px rgba(176,107,255,0.5), 0 0 18px -4px rgba(139,92,255,0.8); }
.clip-active img { opacity: 0.9; }
.clip-label {
  position: absolute; left: 5px; top: 4px;
  font-family: "JetBrains Mono", monospace; font-size: 8.5px;
  color: #fff; background: rgba(0,0,0,0.5); padding: 1px 4px; border-radius: 3px;
}
.clip-gap { background: repeating-linear-gradient(135deg, #14111b 0 6px, #171420 6px 12px); }
.clip-gap .clip-label { color: var(--dim); }

.track-audio { height: 40px; background: rgba(139,92,255,0.07); border: 1px solid rgba(139,92,255,0.18); }
.wave { flex: 1; display: flex; align-items: center; gap: 2px; padding: 4px 6px; }
.wave i { flex: 1; border-radius: 1px; background: linear-gradient(180deg, #b98cff, #7b4bff); opacity: 0.85; min-width: 1px; }

.track-caps { height: 30px; gap: 3px; }
.cap-clip {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px;
  color: #e7e3f0;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 5px;
  padding: 0 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cap-clip-x { color: var(--dim); }

.ed-tools { display: flex; align-items: center; gap: 16px; padding: 10px 16px; color: var(--dim); font-size: 11.5px; }
.tool { display: inline-flex; align-items: center; gap: 6px; }
.tool svg { width: 13px; height: 13px; }
.tool kbd {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 1px 4px;
  color: #b3aec0;
}
.tool.is-right { margin-left: auto; color: var(--dim); }

/* side panel */
.ed-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(255,255,255,0.012); min-width: 0; }
.ed-tabs { display: flex; gap: 4px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.ed-tab {
  font-size: 11.5px; color: var(--dim); padding: 5px 9px; border-radius: 6px;
}
.ed-tab.is-on { color: #fff; background: rgba(255,255,255,0.08); }
.ed-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px 8px;
  font-size: 11.5px; color: #cfcadb; font-weight: 600;
}
.moments { display: flex; flex-direction: column; gap: 5px; padding: 0 8px 10px; overflow: hidden; }
.moment {
  display: grid;
  grid-template-columns: 26px 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(255,255,255,0.022);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.moment:hover { background: rgba(255,255,255,0.055); transform: translateX(-1px); }
.moment.is-on { border-color: rgba(176,107,255,0.55); background: rgba(139,92,255,0.14); }
.m-score {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--lime);
  text-align: center;
}
.m-thumb { border-radius: 5px; overflow: hidden; height: 42px; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-body strong { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.m-meta { color: var(--dim); font-size: 9px; }
.m-bars { display: flex; align-items: flex-end; gap: 2px; height: 11px; margin-top: 2px; }
.m-bars i { width: 3px; border-radius: 1px; background: rgba(255,255,255,0.28); }
.moment.is-on .m-bars i { background: rgba(176,107,255,0.85); }
.ed-side-foot { margin-top: auto; padding: 9px 13px; border-top: 1px solid var(--line); color: var(--dim); font-size: 9px; }

.editor-caption { margin-top: 14px; text-align: center; font-size: 12px; color: var(--dim); }

/* ============ stats ============ */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.014); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; align-items: center; text-align: center; }
.stat strong {
  font-family: "Inter Tight", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.stat span { font-size: 11.5px; color: var(--dim); letter-spacing: 0.02em; }
.star { color: var(--lime); font-size: 15px; }

/* ============ sections ============ */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.017), transparent 55%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head-left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 3.9vw, 46px); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.62; }

/* ============ steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.step:hover { border-color: rgba(139,92,255,0.36); transform: translateY(-3px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step-num { color: var(--dim); font-size: 11px; letter-spacing: 0.08em; }
.step-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  color: #d9c9ff;
  background: rgba(139,92,255,0.13);
  border: 1px solid rgba(139,92,255,0.26);
}
.step-icon svg { width: 19px; height: 19px; }
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.step-tag { display: block; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }

/* ============ bento ============ */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  padding: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s;
}
.card:hover { border-color: rgba(255,255,255,0.18); }
.card-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 40px; }
.card-copy { flex: 1; min-width: 0; }
.card-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #b49cff;
  padding: 3px 7px; border-radius: 5px;
  background: rgba(139,92,255,0.1);
  border: 1px solid rgba(139,92,255,0.22);
  margin-bottom: 14px;
}
.card h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.03em; }
.card h3 em { color: #c6adff; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ticks { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.ticks li {
  position: relative; padding-left: 22px;
  color: #c2bdcf; font-size: 13.5px; line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(214,255,92,0.14);
  box-shadow: inset 0 0 0 1px rgba(214,255,92,0.4);
}
.ticks li::after {
  content: "";
  position: absolute; left: 4px; top: 8.5px;
  width: 4px; height: 2px;
  border-left: 1.4px solid var(--lime);
  border-bottom: 1.4px solid var(--lime);
  transform: rotate(-45deg);
}
.card-visual { flex: 1; min-width: 0; }

/* score visual */
.score-visual { display: grid; place-items: center; }
.score-card {
  width: 100%; max-width: 340px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: linear-gradient(170deg, #1a1526, #100e18);
  padding: 16px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
}
.score-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.score-top .mono { color: var(--dim); font-size: 10px; }
.score-top strong { font-family: "Inter Tight"; font-size: 30px; letter-spacing: -0.04em; color: var(--lime); }
.score-bars { display: flex; flex-direction: column; gap: 11px; }
.score-bars span {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.score-bars span::before {
  content: "";
  grid-area: 1 / 2;
  height: 6px; border-radius: 99px;
  background: rgba(255,255,255,0.08);
}
.score-bars span::after {
  content: "";
  grid-area: 1 / 2;
  width: var(--v); height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, #8b5cff, #d06bff);
  box-shadow: 0 0 14px -2px rgba(139,92,255,0.7);
  z-index: 1;
}
.score-bars i {
  grid-area: 1 / 1;
  font-family: "JetBrains Mono", monospace; font-size: 9.5px; font-style: normal; color: var(--dim);
}
.score-quote { margin: 18px 0 6px; font-family: "Inter Tight"; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; color: #efe9ff; }
.score-why { color: var(--dim); font-size: 9.5px; }

/* templates mini */
.tpl-visual { display: flex; gap: 8px; height: 150px; }
.tpl-mini {
  flex: 1; border-radius: 10px; border: 1px solid var(--line-2);
  display: grid; place-items: center; text-align: center;
  font-family: "Inter Tight"; font-weight: 900; font-size: 11px; line-height: 1.05;
  letter-spacing: -0.02em; padding: 10px;
  overflow: hidden; position: relative;
  transition: transform 0.35s var(--ease);
}
.tpl-mini span { position: relative; z-index: 1; }
.tpl-mini em { display: block; color: #14120a; background: var(--lime); padding: 2px 4px; border-radius: 3px; margin-top: 3px; }
.tpl-a { background: linear-gradient(160deg, #2a1c3f, #120c1c); }
.tpl-b { background: linear-gradient(160deg, #3b1a24, #150a10); }
.tpl-c { background: linear-gradient(160deg, #1b3038, #0a1418); }
.card:hover .tpl-mini { transform: translateY(-4px); }

/* keys visual */
.keys-visual { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; align-content: center; }
.keys-visual kbd {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  border-bottom-width: 3px;
  background: linear-gradient(180deg, #1c1826, #12101a);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #d8d2e6;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,0.9);
}
.keys-note { color: var(--dim); font-size: 9.5px; width: 100%; margin-top: 6px; }

/* frame visual */
.frame-visual { display: flex; align-items: center; gap: 10px; }
.frame-src, .frame-out { border-radius: 7px; overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.frame-src { width: 58%; aspect-ratio: 16 / 9; opacity: 0.6; }
.frame-out { width: 40%; aspect-ratio: 9 / 16; box-shadow: 0 4px 0 rgba(139,92,255,0.5), 0 14px 30px -14px rgba(139,92,255,0.8); }
.frame-src img, .frame-out img { width: 100%; height: 100%; object-fit: cover; }
.frame-out img { transform: scale(1.4); }
.frame-label { color: var(--dim); font-size: 9px; }

/* captions visual */
.cap-visual { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cap-visual p {
  font-family: "Inter Tight"; font-weight: 900; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.025em;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; line-height: 1.1;
}
.cap-visual p span { color: rgba(255,255,255,0.5); }
.cap-visual p span.on { color: #fff; background: rgba(139,92,255,0.35); padding: 0 4px; border-radius: 4px; }
.cap-visual p em { color: var(--lime); text-shadow: 0 0 18px rgba(214,255,92,0.4); }
.cap-acc { color: var(--dim); font-size: 10px; }

/* export */
.export-visual { display: flex; align-items: center; gap: 20px; }
.phone {
  position: relative;
  width: 128px; aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 26px 50px -22px rgba(0,0,0,0.95);
  flex-shrink: 0;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-cap {
  position: absolute; left: 8%; right: 8%; bottom: 14%;
  font-family: "Inter Tight"; font-weight: 900; font-size: 10px; line-height: 1.1; text-align: center;
  letter-spacing: -0.02em;
}
.phone-cap em { display: inline-block; background: var(--lime); color: #14120a; padding: 1px 3px; border-radius: 3px; margin-top: 2px; }
.phone-bar { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 3px; border-radius: 99px; background: rgba(255,255,255,0.2); }
.phone-bar i { display: block; width: 45%; height: 100%; border-radius: 99px; background: #fff; }
.export-meta { display: flex; flex-direction: column; gap: 5px; font-size: 10px; }
.export-meta .dim { color: var(--dim); }
.export-meta .ok { color: var(--lime); }
.export-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.export-row .chip { font-size: 11px; }

/* ============ templates ============ */
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tpl-card { display: flex; flex-direction: column; }
.tpl-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0d0b12;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tpl-card:hover .tpl-frame { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.95); }
.tpl-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; }
.tpl-card:hover .tpl-frame img { transform: scale(1.045); }
.tpl-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,4,10,0.82)); }
.tpl-overlay {
  position: absolute; left: 50%; bottom: 15%;
  transform: translateX(-50%);
  width: 88%; z-index: 2;
  font-family: "Inter Tight"; font-weight: 900;
  font-size: clamp(13px, 1.4vw, 17px); line-height: 1.06; letter-spacing: -0.025em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}
.tpl-overlay em { display: inline-block; margin-top: 3px; padding: 1px 5px; border-radius: 4px; background: var(--lime); color: #14120a; text-shadow: none; }
.tpl-overlay-b { font-size: clamp(14px, 1.5vw, 18px); }
.tpl-overlay-b em { background: #fff; color: #14120a; }
.tpl-overlay-c em { background: #ff5f9e; color: #fff; }
.tpl-overlay-d { font-weight: 800; }
.tpl-overlay-d em { background: rgba(255,255,255,0.92); color: #14120a; }
.tpl-name {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: "JetBrains Mono", monospace; font-size: 9px;
  padding: 3px 6px; border-radius: 5px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.14);
  color: #e2ddea; backdrop-filter: blur(6px);
}
.tpl-foot { padding: 14px 2px 0; }
.tpl-foot h3 { font-size: 16px; margin-bottom: 5px; }
.tpl-foot p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.tpl-uses { display: block; margin-top: 8px; color: var(--dim); font-size: 9.5px; }

.quote {
  margin: 56px auto 0;
  max-width: 820px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(139,92,255,0.14), transparent 65%),
    rgba(255,255,255,0.02);
  text-align: center;
}
.quote p {
  font-family: "Inter Tight"; font-weight: 500;
  font-size: clamp(18px, 2.1vw, 24px); line-height: 1.4; letter-spacing: -0.02em;
  color: #ece7f7;
}
.quote footer { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 20px; }
.quote footer img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.quote footer span { display: flex; flex-direction: column; text-align: left; line-height: 1.35; }
.quote footer strong { font-size: 13px; font-weight: 600; }
.quote footer .mono { color: var(--dim); font-size: 9.5px; }

/* ============ pricing ============ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}
.price-card-hot {
  border-color: rgba(139,92,255,0.5);
  background: linear-gradient(180deg, rgba(139,92,255,0.14), rgba(139,92,255,0.03));
  box-shadow: 0 30px 80px -50px rgba(139,92,255,1), inset 0 1px 0 rgba(255,255,255,0.09);
}
.price-flag {
  position: absolute; top: -11px; left: 24px;
  font-size: 10.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 99px;
  background: linear-gradient(135deg, #a26dff, #ff5f9e);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255,95,158,0.8);
}
.price-card h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: -0.02em; }
.price { display: flex; align-items: baseline; gap: 3px; }
.price span { font-family: "Inter Tight"; font-size: 42px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.price { color: #fff; }
.price-note { color: var(--dim); font-size: 12.5px; margin-top: 6px; }
.price-card .ticks { margin: 22px 0 26px; }
.price-card .ticks li { font-size: 13px; }
.pricing-note { text-align: center; color: var(--dim); font-size: 10.5px; margin-top: 26px; }

/* ============ faq ============ */
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  position: relative;
  font-family: "Inter Tight"; font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em;
  transition: color 0.18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #d9c9ff; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); font-size: 14.5px; line-height: 1.65; padding: 0 26px 22px 0; max-width: 60ch; }

/* ============ cta ============ */
.cta { padding: 110px 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before {
  content: "";
  position: absolute; left: 50%; bottom: -60%;
  width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(139,92,255,0.3), transparent 70%);
  filter: blur(20px);
}
.cta-inner { position: relative; text-align: center; }
.cta h2 { font-size: clamp(30px, 4.3vw, 52px); font-weight: 800; max-width: 20ch; margin: 0 auto 16px; letter-spacing: -0.04em; }
.cta p { color: var(--muted); font-size: 16.5px; }
.cta-actions { display: flex; gap: 10px; justify-content: center; margin: 30px 0 0; flex-wrap: wrap; }
.cta .micro { margin-top: 16px; }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--line); background: #060509; padding: 56px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 40px; }
.footer-brand p { color: var(--dim); font-size: 13px; max-width: 34ch; margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: "Inter", sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 600; margin-bottom: 13px; }
.footer-cols a { display: block; color: #b8b2c5; font-size: 13.5px; padding: 4px 0; transition: color 0.18s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--dim); font-size: 10.5px;
}

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .ed-body { grid-template-columns: 48px minmax(0, 1fr) 280px; }
  .ed-canvas { height: 262px; }
  .nav-links { gap: 20px; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .ed-body { grid-template-columns: 44px minmax(0, 1fr); }
  .ed-side { display: none; }
  .ed-canvas { height: 300px; }
  .bento { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .card-wide { flex-direction: column; align-items: stretch; gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .quote { margin-top: 40px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 48px; }
  .section { padding: 68px 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .clip-form { flex-wrap: wrap; padding: 9px; border-radius: 15px; }
  .clip-form-icon { display: none; }
  .clip-form input { flex: 1 0 100%; padding: 6px 6px 8px; }
  .clip-form .btn { width: 100%; }
  .ed-rail, .ed-tools, .ed-zoom { display: none; }
  .ed-body { grid-template-columns: minmax(0, 1fr); }
  .ed-scrub { padding: 10px 12px; gap: 8px; }
  .ed-canvas { height: 236px; }
  .ed-canvas-wrap { padding: 14px; }
  .ed-bar-actions .chip { display: none; }
  .ed-tracks { padding: 10px 12px; }
  .cap { font-size: 11px; }
  .tpl-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .tpl-overlay { font-size: 16px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 76px 0; }
  .quote { padding: 24px 20px; }
  .footer-bottom { justify-content: flex-start; }
}
