/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--brand-50) 0%, #fff 70%);
  scroll-margin-top: 68px;
}

.hero__glow {
  position: absolute;
  top: -260px;
  right: -200px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(220 38 38 / 0.16), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(15 23 42 / 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-hover);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero__lead {
  max-width: 540px;
  color: var(--ink-2);
  font-size: 1.15rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__trust svg {
  color: var(--brand);
}

/* Upload card */
.upload-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.upload-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.upload-card__head h2 {
  font-size: 1.2rem;
}

.upload-card__head p {
  color: var(--muted);
  font-size: 0.9rem;
}

.convert-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
}

.convert-chip .file-badge {
  width: 30px;
  height: 36px;
  font-size: 0.58rem;
}

/* Dropzone */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
  padding: 32px 24px;
  border: 2px dashed var(--brand-200);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, var(--brand-50));
  text-align: center;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.dropzone__idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dropzone.is-dragging {
  border-color: var(--brand);
  background: var(--brand-100);
  transform: scale(1.01);
}

.dropzone.is-uploading {
  border-style: solid;
  border-color: var(--line);
  background: var(--surface-2);
}

.dropzone__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow);
}

.dropzone__hint {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.dropzone__error {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-active);
  font-size: 0.88rem;
  font-weight: 500;
}

.dropzone__progress {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dropzone__file {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.dropzone__file-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dropzone__file-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone__file-meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */
.section {
  padding: 96px 0;
  scroll-margin-top: 68px;
}

.section--tint {
  background: var(--surface-2);
  border-block: 1px solid var(--line-2);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

.section__head p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Tools */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tool-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
}

.tool-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--line-2);
  color: var(--muted);
}

.tool-card--live {
  border-color: var(--brand-200);
  background: linear-gradient(180deg, #fff, var(--brand-50));
}

.tool-card--live .tool-card__icon {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 16px -6px rgb(220 38 38 / 0.5);
}

.tool-card--live:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Security */
.security {
  background: radial-gradient(circle at 85% 0%, rgb(220 38 38 / 0.35), transparent 45%), #0b1120;
  color: #fff;
}

.security__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.security h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

.security__inner > div > p {
  color: #cbd5e1;
  font-size: 1.08rem;
}

.security__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security__list li {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.04);
}

.security__list svg {
  flex: none;
  color: #f87171;
}

.security__list h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.security__list p {
  color: #94a3b8;
  font-size: 0.93rem;
}

/* CTA */
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand) 0%, #b91c1c 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgb(220 38 38 / 0.5);
}

.cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

.cta p {
  color: #fee2e2;
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--brand);
}

.cta .btn--primary:hover {
  background: var(--brand-50);
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.site-footer__brand p {
  max-width: 300px;
  margin-top: 14px;
}

.site-footer__cols {
  display: flex;
  gap: 80px;
}

.site-footer__cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer h4 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__inner,
  .security__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 48px 0 72px;
  }
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .tool-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .upload-card {
    padding: 18px;
    border-radius: 20px;
  }
  .dropzone {
    min-height: 230px;
  }
  .site-footer__inner {
    flex-direction: column;
  }
  .site-footer__cols {
    gap: 48px;
  }
}
