:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #e5e7f0;
  --brand: #3b5bff;
  --brand-2: #8b5cf6;
  --brand-dark: #1730b8;
  --shadow: 0 18px 60px rgba(27, 39, 94, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(59, 91, 255, 0.14), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.14), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(59, 91, 255, 0.28);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 18px 56px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.hero.compact {
  min-height: auto;
  padding: 60px 0 28px;
  grid-template-columns: 1fr;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  max-width: 790px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 22px 0;
}

.tool-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 18px;
  max-width: 760px;
  backdrop-filter: blur(14px);
}

.tool-card label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}

.input-row {
  display: flex;
  gap: 10px;
}

input,
select {
  width: 100%;
  border: 1px solid #cfd6e6;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  font-size: 16px;
}

input:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(59, 91, 255, 0.12);
}

button,
.button-link {
  border: 0;
  border-radius: 16px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(59, 91, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
}

.hint,
.small {
  color: var(--muted);
  font-size: 14px;
}

.hint {
  margin: 10px 2px 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  color: #344054;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}

.preview-card {
  background: #101828;
  color: #eef2ff;
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.24);
  transform: rotate(1deg);
}

.preview-top {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.preview-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #475467;
}

.preview-line {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  color: #d0d5dd;
}

.preview-line.strong {
  color: #fff;
  font-weight: 800;
  width: 80px;
}

.preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.preview-actions button {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section {
  padding: 70px 0 10px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.use-cases article,
.copy-block {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(27, 39, 94, 0.08);
}

.card p,
.use-cases p,
.copy-block p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #eef2ff;
  color: var(--brand);
  font-weight: 900;
}

.step p {
  margin: 0;
  color: #344054;
}

.use-cases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.cta {
  margin-top: 70px;
  padding: 44px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #172554, #3b5bff 55%, #8b5cf6);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.cta .button-link {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
  margin-top: 10px;
}

.footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 18px 42px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer div {
  display: flex;
  gap: 16px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
  padding: 32px 0 60px;
}

.video-panel,
.transcript-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-panel-inner,
.transcript-panel-inner {
  padding: 20px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: #101828;
}

.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.actions button,
.actions select {
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.toggle-row {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
  color: #344054;
}

.toggle-row input {
  width: auto;
}

.search-box {
  margin: 0 0 12px;
}

.transcript {
  background: #0f172a;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 18px;
  max-height: 640px;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 15px;
}

.status {
  color: var(--muted);
  padding: 18px;
  background: #f9fafb;
  border: 1px dashed #d0d5dd;
  border-radius: 18px;
}

.legal {
  max-width: 780px;
  margin: 60px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero,
  .watch-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .cards,
  .use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .input-row,
  .result-top,
  .footer {
    flex-direction: column;
  }

  .input-row button,
  .actions,
  .actions button,
  .actions select {
    width: 100%;
  }

  .cards,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 20px;
  }

  .preview-card {
    transform: none;
  }

  .cta {
    padding: 30px 20px;
  }
}
