:root {
  --bg: #000;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-strong: rgba(255, 255, 255, 0.2);
  --text-primary: #f5f8ff;
  --text-secondary: #9fa6b2;
  --text-muted: #71767e;
  --brand-purple: #645ffc;
  --content-width: 1200px;
  --soft-gradient: linear-gradient(90deg, #ffdff6 0%, #9fb8fd 66.346%, #fff 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--bg);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Geist", "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #b6c6ff;
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

.site-shell {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.section-black {
  position: relative;
  width: 100%;
  background: #000;
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  color: var(--text-primary);
  font-family: "Geist", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 880px;
  overflow: hidden;
  background-color: #0e0e0e;
}

.site-nav {
  position: fixed;
  z-index: 9999;
  top: 24px;
  left: 50%;
  display: flex;
  width: min(var(--content-width), calc(100% - 48px));
  height: 72px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  overflow: visible;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
}

.site-nav::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 54px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  content: "";
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 40px;
  height: 100%;
}

.nav-links a,
.nav-links button {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover {
  color: var(--text-primary);
}

.nav-dropdown {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.nav-dropdown-trigger {
  border-radius: 18px !important;
  transition: color 180ms ease, background 180ms ease !important;
}

.nav-dropdown.is-open .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 50%;
  display: grid;
  visibility: hidden;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  opacity: 0;
  background: rgba(37, 35, 37, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transform: translate(-50%, 0);
  transition: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}


.nav-dropdown.is-open .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu > a {
  display: flex;
  width: 100%;
  height: auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
  border-radius: 10px;
  color: var(--text-primary);
  white-space: normal;
  transition: color 160ms ease, background 160ms ease;
}

.nav-dropdown-menu > a:hover,
.nav-dropdown-menu > a:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.nav-resources-menu {
  min-width: 168px;
}

.nav-resources-menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
}

.nav-use-cases-menu,
.nav-features-menu {
  width: 360px;
}

.nav-use-cases-menu a,
.nav-features-menu a {
  min-height: 64px;
  flex-direction: column;
  gap: 12px;
}

.nav-use-cases-menu strong,
.nav-features-menu strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.nav-use-cases-menu span,
.nav-features-menu span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}

.nav-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-cta {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  border-radius: 49px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: #f2f3f8;
  transform: translateY(-1px);
}

.nav-cta img {
  display: block;
  width: 14px;
  height: 14px;
}

.nav-user {
  display: flex;
  max-width: 230px;
  align-items: center;
  gap: 8px;
}

.nav-user-name {
  max-width: 120px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-size: 14px;
}

.nav-logout:hover {
  color: #fff;
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: calc(50% + 80px);
  left: 50%;
  display: flex;
  width: min(100%, 1600px);
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 0 24px;
  transform: translate(-50%, -50%);
}

.home-dashboard-tools-shell {
  width: min(calc(100vw - 40px), var(--dashboard-tools-total-width, 1196px));
  margin-top: -28px;
}

.dashboard-card-rail.home-dashboard-tools {
  grid-template-columns: repeat(6, 204px);
}

.home-dashboard-tools-error {
  margin: 10px 0 0;
  color: #fda4af;
  font-size: 13px;
  text-align: center;
}

.hero-copy {
  width: 100%;
  text-align: center;
}

.hero-copy h1 {
  color: var(--text-primary);
  font-family: "Geist", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 48px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-copy h1 [data-hero-title-part="accent"] {
  margin-inline-start: 0;
}

.hero-copy h1.is-compact-spacing [data-hero-title-part="accent"] {
  margin-inline-start: 0;
}

.hero-copy h1 strong {
  background: var(--soft-gradient);
  background-clip: text;
  color: transparent;
  font: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-upload-panel {
  position: relative;
  display: flex;
  width: var(--source-entry-panel-width, 720px);
  max-width: calc(100vw - 40px);
  min-height: 223px;
  padding: 24px;
  flex-direction: column;
  align-items: stretch;
  gap: var(--source-entry-content-gap, 20px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 44px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
}

.hero-upload-panel.uploading .hero-mode-tabs,
.hero-upload-panel.uploading .hero-source-block,
.hero-upload-panel.uploading .hero-actions {
  pointer-events: none;
  opacity: 0.62;
}

.hero-source-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.hero-input-wrapper {
  display: flex;
  width: min(var(--source-entry-link-width, 652px), 100%);
  height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: #71767e;
  border: 0;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.hero-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-input-wrapper .input-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.hero-input-wrapper input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5f8ff;
  font: 400 14px/14px Geist, "Noto Sans SC", sans-serif;
}

.hero-input-wrapper input::placeholder {
  color: #71767e;
  opacity: 1;
}

.hero-supported-sources {
  display: flex;
  min-height: 14px;
  align-items: center;
  gap: 13px;
  color: #71767e;
  font: 400 11px/11px Geist, "Noto Sans SC", sans-serif;
  white-space: nowrap;
}

.hero-supported-sources ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.hero-supported-sources li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-supported-sources li img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.hero-input-wrapper[hidden],
.hero-source-block[hidden],
.hero-supported-sources[hidden],
.hero-supported-sources li[hidden],
.hero-actions .upload-btn[hidden],
.hero-actions .link-submit-btn[hidden] {
  display: none;
}

.hero-actions {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-actions .upload-btn,
.hero-actions .link-submit-btn {
  display: inline-flex;
  width: auto;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 63px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
  transition: background 180ms ease;
}

.hero-actions .upload-btn {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-actions .upload-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-actions .upload-btn .upload-icon {
  display: grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
  overflow: hidden;
}

.hero-actions .upload-btn .upload-icon img {
  display: block;
  width: 13.28px;
  height: 13.28px;
  max-width: none;
  flex: 0 0 auto;
}

.hero-actions .upload-btn .upload-label {
  width: max-content;
  min-width: 0;
  height: 14px;
  flex: 0 0 auto;
}

.hero-actions .link-submit-btn {
  margin-inline-start: auto;
  background: #fff;
  color: #000;
  font-weight: 600;
}

.hero-actions .link-submit-btn:hover {
  background: #f0f0f0;
}

.hero-actions .link-submit-btn:disabled,
.hero-actions .upload-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.upload-progress-row {
  position: absolute;
  z-index: 12;
  top: calc(100% + 16px);
  left: 50%;
  display: none;
  width: min(620px, calc(100vw - 48px));
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(159, 184, 253, 0.22);
  border-radius: 16px;
  background: rgba(11, 12, 18, 0.94);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.42);
  color: var(--text-secondary);
  font-size: 13px;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.upload-progress-row.visible {
  display: flex;
}

.progress-main {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.progress-spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.progress-text {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-time {
  margin-left: auto;
  color: var(--text-muted);
  white-space: nowrap;
}

.progress-percent {
  min-width: 42px;
  color: #fff;
  font-size: 14px;
  text-align: right;
}

.progress-bar {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6560fc, #9fb8fd, #ffdff6);
  box-shadow: 0 0 16px rgba(159, 184, 253, 0.58);
  transition: width 220ms ease;
}

.upload-progress-row.complete .progress-spinner {
  border-color: #50d890;
  animation: none;
}

.upload-progress-row.complete .progress-bar span {
  background: #50d890;
}

.upload-progress-row.error .progress-spinner {
  border-color: #ef6464;
  animation: none;
}

.upload-progress-row.error .progress-bar span {
  background: #ef6464;
}

.progress-cancel {
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

/* Example carousel */
.showcase {
  height: 1080px;
  overflow: hidden;
}

.showcase-heading {
  width: min(1033px, calc(100% - 48px));
  padding-top: 56px;
}

.showcase-heading p {
  width: min(800px, 100%);
  margin: 20px auto 0;
}

.case-carousel {
  position: absolute;
  top: 324px;
  left: 0;
  width: 100%;
  height: 643px;
  overflow: hidden;
}

.case-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 643px;
  align-items: center;
  gap: 62px;
  will-change: transform;
}

.case-track .case-card {
  width: 300px;
  height: 535.714px;
  border-radius: 24px;
  opacity: 0.72;
  transform: scale(0.78);
  transform-origin: center;
  will-change: transform, opacity;
}

.case-card {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161821;
}

.case-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-small {
  width: 240px;
  height: 428.571px;
  border-radius: 19.2px;
}

.case-medium {
  width: 300px;
  height: 535.714px;
  border-radius: 24px;
}

.case-large {
  width: 360px;
  height: 642.857px;
  border-radius: 32px;
}

.case-tone-1 { background-color: #151927; }
.case-tone-2 { background-color: #291921; }
.case-tone-3 { background-color: #1d202b; }
.case-tone-4 { background-color: #181c2d; }
.case-tone-5 { background-color: #241a2c; }
.case-tone-6 { background-color: #172326; }

.case-placeholder {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 30px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.case-placeholder small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.carousel-fade {
  position: absolute;
  z-index: 3;
  top: 0;
  width: clamp(96px, 10vw, 144px);
  height: 100%;
  pointer-events: none;
}

.carousel-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0));
}

.carousel-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0));
}

.section-cta {
  position: absolute;
  z-index: 5;
  bottom: 5px;
  left: 50%;
  display: inline-flex;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 32px;
  border-radius: 49px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.section-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) translateY(-2px);
}

.section-cta img {
  display: block;
  width: 14px;
  height: 14px;
}

/* Feature */
.feature {
  height: 1000px;
  overflow: hidden;
}

.feature-glow {
  position: absolute;
  z-index: 0;
  top: calc(50% - 220px);
  right: -6%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--feature-glow-rgb, 48, 70, 255), 0.18), transparent 67%);
  filter: blur(80px);
  pointer-events: none;
}

.feature-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(var(--content-width), calc(100% - 64px));
  height: 900px;
  grid-template-columns: 552px 600px;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.feature-copy-wrap {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.feature-step {
  position: relative;
  display: grid;
  width: 72px;
  flex: 0 0 72px;
  grid-template-columns: 72px 5px;
  align-items: start;
}

.feature-step span {
  margin-top: 48px;
  color: #fff;
  font-family: "Geist", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.feature-step img {
  display: block;
  width: 5px;
  height: 500px;
}

.feature-copy {
  width: 423px;
  padding-top: 48px;
}

.feature-copy h2 {
  width: 390px;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.feature-copy p {
  width: 380px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.interface-placeholder {
  position: relative;
  width: 600px;
  height: 354px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 120px rgba(26, 36, 104, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
}

.interface-placeholder::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(159, 184, 253, 0.08), transparent 48%, rgba(255, 223, 246, 0.06));
  content: "";
  pointer-events: none;
}

.placeholder-toolbar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 17, 0.76);
}

.placeholder-toolbar i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.placeholder-toolbar span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.placeholder-workspace {
  display: flex;
  height: calc(100% - 42px);
}

.placeholder-sidebar {
  display: flex;
  width: 68px;
  flex-direction: column;
  gap: 12px;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 9, 14, 0.6);
}

.placeholder-sidebar b {
  display: block;
  height: 34px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.placeholder-canvas {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.placeholder-video {
  display: flex;
  min-height: 205px;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.66);
}

.placeholder-video span {
  font-family: "Geist", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.placeholder-video small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
}

.placeholder-timeline {
  display: flex;
  height: 55px;
  gap: 4px;
}

.placeholder-timeline i {
  flex: 1;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(100, 95, 252, 0.45), rgba(159, 184, 253, 0.14));
}

.placeholder-timeline i:nth-child(even) {
  flex: 0.65;
  background: rgba(255, 255, 255, 0.1);
}

.feature-cta {
  bottom: 80px;
}

.feature--reverse {
  background: #05050a;
}

.feature--reverse .feature-copy-wrap {
  order: 2;
}

.feature--reverse .interface-placeholder {
  order: 1;
}

.feature--reverse .feature-glow {
  right: auto;
  left: -38px;
  transform: scaleX(-1);
}

.feature-ui-highlights .placeholder-timeline i:nth-child(2),
.feature-ui-highlights .placeholder-timeline i:nth-child(4) {
  background: linear-gradient(90deg, rgba(255, 223, 246, 0.55), rgba(159, 184, 253, 0.4));
}

.feature-ui-reframe .placeholder-video {
  width: 42%;
  align-self: center;
  border-color: rgba(159, 184, 253, 0.46);
  box-shadow: 0 0 32px rgba(100, 95, 252, 0.2);
}

.feature-ui-captions .placeholder-video span {
  padding: 8px 12px;
  background: linear-gradient(90deg, #ffdff6, #9fb8fd);
  color: #151621;
  font-size: 20px;
}

.feature-ui-cleanup .placeholder-timeline i:nth-child(2),
.feature-ui-cleanup .placeholder-timeline i:nth-child(4) {
  flex: 0.18;
  background: rgba(239, 100, 100, 0.32);
}

.feature-switcher-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(var(--content-width), calc(100% - 64px));
  height: 820px;
  grid-template-columns: 69px minmax(0, 1fr);
  align-items: center;
  column-gap: 48px;
  transform: translate(-50%, -50%);
}

.feature-tabs {
  position: relative;
  z-index: 4;
  display: grid;
  height: 500px;
  grid-auto-rows: 1fr;
  align-items: center;
}

.feature-tabs::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 1px;
  background: rgba(245, 248, 255, 0.28);
  content: "";
}

.feature-tabs::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: calc(100% / var(--feature-count, 1));
  border-radius: 4px;
  background: var(--feature-accent, var(--brand-purple));
  content: "";
  transform: translateY(calc(var(--active-feature, 0) * 100%));
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-tab {
  display: grid;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 248, 255, 0.35);
  cursor: pointer;
  font-family: "Geist", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  text-align: left;
  transition: color 550ms ease;
}

.feature-tab:hover {
  color: #fff;
}

.feature-tab.active {
  color: #fff;
}

.feature-stage {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.feature-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 423px) minmax(0, 600px);
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.feature-panel[hidden] {
  display: none;
}

.feature-switcher[data-theme-pending] .feature-stage {
  visibility: hidden;
}

.feature-switcher.is-feature-ready .feature-copy {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 620ms ease;
  will-change: transform, opacity;
}

.feature-switcher.is-feature-ready .feature-preview {
  opacity: 0;
  transform: translate3d(0, 439px, 0) scale(0.9);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease-in-out;
  will-change: transform, opacity;
}

.feature-switcher.is-feature-ready .feature-panel.is-past .feature-copy {
  transform: translate3d(0, -44px, 0);
}

.feature-switcher.is-feature-ready .feature-panel.is-past .feature-preview {
  transform: translate3d(0, -439px, 0) scale(0.9);
}

.feature-switcher.is-feature-entered .feature-panel.active .feature-copy,
.feature-switcher.is-feature-entered .feature-panel.active .feature-preview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-switcher .feature-copy {
  width: auto;
  padding-top: 0;
  align-self: center;
}

.feature-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--feature-accent, #bca8ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.feature-switcher .feature-copy h2,
.feature-switcher .feature-copy p {
  width: auto;
}

.feature-switcher .feature-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:lang(zh) .feature-switcher .feature-copy h2 {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.feature-switcher .feature-copy p {
  color: #9ea2af;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.feature-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(var(--feature-glow-rgb, 188, 168, 255), 0.16);
}

.feature-ui-transcript .placeholder-video {
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(90deg, rgba(159, 184, 253, 0.1), rgba(0, 0, 0, 0.2));
}

.feature-ui-transcript .placeholder-video span {
  font-size: 22px;
  letter-spacing: 0.08em;
}

.feature-ui-broll .placeholder-video {
  background: linear-gradient(135deg, rgba(100, 95, 252, 0.18), rgba(255, 223, 246, 0.08));
}

.feature-ui-broll .placeholder-timeline i:nth-child(2),
.feature-ui-broll .placeholder-timeline i:nth-child(5) {
  background: linear-gradient(90deg, rgba(255, 223, 246, 0.52), rgba(159, 184, 253, 0.4));
}

.feature-switcher .feature-cta {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
}

.feature-switcher .feature-cta:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* Testimonials */
.testimonials {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 900px;
  padding-bottom: 140px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d0e1b 0%, #0d0e1b calc(100% - 180px), rgba(13, 14, 27, 0) 100%);
}

.testimonials::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.58) 32%, rgba(0, 0, 0, 0) 100%);
  content: "";
  pointer-events: none;
}

.reviews-glow {
  position: absolute;
  z-index: 0;
  top: -132px;
  left: 50%;
  width: 941px;
  height: 794px;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(74px);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-50%);
}

.testimonials-heading {
  width: min(903px, calc(100% - 48px));
  padding-top: 112px;
}

.testimonials-heading h2 {
  font-size: 56px;
}

.testimonials-heading p {
  margin-top: 12px;
  font-weight: 400;
}

.testimonial-viewport {
  position: relative;
  z-index: 2;
  margin-top: 88px;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  position: relative;
  left: -140px;
  display: flex;
  width: max-content;
  align-items: stretch;
  gap: 24px;
}

.marquee-track {
  direction: ltr;
}

.marquee-track[data-marquee-ready="true"] {
  animation: homepage-marquee var(--marquee-duration, 60s) linear infinite;
  animation-delay: var(--marquee-delay, 0s);
}

.marquee-track[data-marquee-ready="true"]:hover {
  animation-play-state: paused;
}

.testimonial-card {
  display: flex;
  width: 352px;
  min-height: 600px;
  flex: 0 0 352px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.testimonial-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.testimonial-metric strong {
  background: var(--soft-gradient);
  background-clip: text;
  color: transparent;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-metric span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.testimonial-rule {
  height: 1px;
  margin: 32px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.testimonial-title {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.testimonial-card blockquote {
  min-height: 150px;
  flex: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.testimonial-card footer > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.testimonial-card footer b {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonial-card footer div span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  line-height: 12px;
}

.avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ */
.faq-section {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 728px;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 100px 24px;
  background: linear-gradient(180deg, #0d0e1b 0%, #000 45.204%, rgba(0, 0, 0, 0) 100%);
}

.faq-section h2 {
  color: var(--text-primary);
  font-family: "Geist", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.faq-list {
  display: flex;
  width: min(800px, 100%);
  flex-direction: column;
  gap: 13px;
}

.faq-item {
  width: 100%;
  border-radius: 12px;
}

.faq-question {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-question > span {
  opacity: 1;
  transition: opacity 180ms ease;
}

.faq-question:hover > span {
  opacity: 0.7;
}

.faq-question img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  transition: transform 180ms ease;
}

.faq-item[open]:not(.is-closing) .faq-question img {
  transform: rotate(180deg);
}

.faq-list.faq-animated .faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease-out,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list.faq-animated .faq-item.is-expanded .faq-answer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  padding: 0 64px 18px 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-list.faq-animated .faq-answer,
  .faq-question > span,
  .faq-question img {
    transition: none;
  }

  .faq-list.faq-animated .faq-answer {
    transform: none;
  }
}

/* Marketing navigation: the same wide, icon-led menus are used on Home and on
   every public feature / use-case page. */
.nav-features,
.nav-use-cases {
  position: static;
}

.nav-features-menu,
.nav-use-cases-menu {
  top: 100%;
  left: 50%;
  width: min(1080px, calc(100vw - 48px));
  padding: 16px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(30,31,34,.85);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.08);
}

.nav-mega-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 244px;
  gap: 14px;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 5px;
}

.nav-features-menu .nav-mega-item,
.nav-use-cases-menu .nav-mega-item {
  display: flex;
  height: auto;
  min-height: 69px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 9px;
  border-radius: 12px;
  color: #f5f7fa;
  text-decoration: none;
  white-space: normal;
}

.nav-mega-item:hover,
.nav-mega-item:focus-visible {
  background: rgba(255,255,255,.09);
}

.nav-mega-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: #3b3e42;
  color: #e8ebe8;
}

.nav-mega-icon svg {
  width: 23px;
  height: 23px;
}

.nav-mega-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.nav-mega-copy strong {
  color: #f6f8f6;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.22;
  overflow-wrap: anywhere;
  white-space: normal;
}

.nav-mega-copy small {
  display: block;
  overflow-wrap: anywhere;
  color: #a7ada9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.nav-features-menu .nav-mega-spotlight,
.nav-use-cases-menu .nav-mega-spotlight {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: #2b332e;
  text-decoration: none;
}

.nav-mega-spotlight::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(4,10,7,.92));
  content: '';
}

.nav-mega-spotlight > img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: 62% center;
  transition: transform .3s ease;
}

.nav-mega-spotlight:hover > img { transform: scale(1.04); }

.nav-mega-spotlight-copy {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 17px;
  left: 15px;
  display: grid;
  gap: 7px;
}

.nav-mega-spotlight-copy small {
  color: #a2d399;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

.nav-mega-spotlight-copy strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.nav-mega-spotlight-copy > span {
  color: #e5efdf;
  font-size: 12px;
}

.nav-resources-menu {
  top: 100%;
  min-width: 215px;
  padding: 9px;
  background: rgba(37,35,37,.85);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}


.nav-resources-menu > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-resources-menu > a::before {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 7px;
  background: #444a45 url('/static/dashboard/assets/sidebar/help.svg') center / 18px no-repeat;
  content: '';
}

.nav-resources-menu > a + a::before {
  background-image: url('/static/home/assets/faq-chevron.svg');
}

.marketing-mobile-toggle { display: none; }

@media (max-width: 900px) {
  .marketing-mobile-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    cursor: pointer;
  }

  .marketing-mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .site-nav .nav-actions { margin-left: 10px; }

  .site-nav .nav-links { display: none; }

  .site-nav.is-mobile-open .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100dvh - 120px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(27,29,30,.98);
    box-shadow: 0 20px 70px rgba(0,0,0,.5);
  }

  .site-nav.is-mobile-open .nav-links > a,
  .site-nav.is-mobile-open .nav-links > button,
  .site-nav.is-mobile-open .nav-dropdown { display: flex; }

  .site-nav.is-mobile-open .nav-dropdown {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-mobile-open .nav-links > a,
  .site-nav.is-mobile-open .nav-links > button,
  .site-nav.is-mobile-open .nav-dropdown-trigger {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 11px 14px;
    color: #eef2ee;
    text-align: left;
  }

  .site-nav .nav-dropdown-menu,
  .site-nav .nav-dropdown.is-open .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-height: none;
    margin: 0 0 5px;
    padding: 5px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .site-nav.is-mobile-open .nav-dropdown.is-open .nav-dropdown-menu { display: block; }

  .nav-mega-content { grid-template-columns: 1fr; }
  .nav-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav .nav-features-menu .nav-mega-spotlight,
  .site-nav .nav-use-cases-menu .nav-mega-spotlight { display: none; }
}

@media (max-width: 570px) {
  .nav-mega-grid { grid-template-columns: 1fr; }
  .site-nav .nav-actions .nav-cta { padding-inline: 10px; }
  .site-nav .nav-actions .nav-cta span { display: none; }
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  height: 492px;
  overflow: visible;
  background: #000;
}

.site-footer::before {
  position: absolute;
  z-index: 0;
  top: -180px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000 url("/static/home/assets/footer-glow.png?v=20260820a") center / cover no-repeat;
  content: "";
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(55% 48% at 50% 102%, rgba(83, 72, 255, 0.4), rgba(0, 0, 0, 0) 70%);
  filter: blur(30px);
  opacity: 0.38;
  pointer-events: none;
}

.footer-bar {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 50%;
  display: flex;
  width: min(var(--content-width), calc(100% - 48px));
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 54px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 62px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.footer-social-links {
  display: contents;
}

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

@keyframes homepage-marquee {
  to { transform: translate3d(var(--marquee-distance), 0, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1280px) {
  .section-heading h2 {
    font-size: 42px;
  }

  .case-track {
    width: max-content;
    gap: 42px;
  }

  .case-track .case-card {
    width: 260px;
    height: 464px;
  }

  .case-small {
    width: 200px;
    height: 357px;
  }

  .case-medium {
    width: 250px;
    height: 446px;
  }

  .case-large {
    width: 300px;
    height: 536px;
  }

  .case-carousel {
    height: 536px;
  }

  .showcase {
    height: 980px;
  }

  .showcase .section-cta {
    bottom: 20px;
  }

  .feature-inner {
    grid-template-columns: minmax(420px, 1fr) minmax(460px, 1.08fr);
    gap: 36px;
  }

  .feature-copy-wrap {
    gap: 28px;
  }

  .feature-copy {
    width: auto;
  }

  .feature-copy h2,
  .feature-copy p {
    width: auto;
  }

  .interface-placeholder {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .site-nav {
    height: 64px;
  }

  .nav-links {
    display: flex;
  }

  .nav-links a {
    display: none;
  }

  .nav-dropdown {
    display: none;
  }

  .hero-content {
    width: 100%;
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .hero-copy p {
    max-width: 640px;
    margin-inline: auto;
    line-height: 1.4;
  }

  .feature {
    height: auto;
    min-height: 940px;
    padding: 90px 32px;
  }

  .feature-inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    overflow: visible;
    transform: none;
  }

  .feature-copy-wrap {
    justify-content: center;
  }

  .feature--reverse .feature-copy-wrap {
    order: initial;
  }

  .feature--reverse .interface-placeholder {
    order: initial;
  }

  .feature-copy {
    max-width: 520px;
  }

  .feature-step img {
    height: 260px;
    object-fit: cover;
    object-position: top;
  }

  .interface-placeholder {
    width: min(680px, 100%);
    justify-self: center;
  }

  .feature-cta {
    position: relative;
    bottom: auto;
    left: auto;
    justify-self: center;
    margin-top: 8px;
    transform: none;
  }

  .feature-cta:hover {
    transform: translateY(-2px);
  }

  .footer-links {
    gap: 26px;
  }
}

@media (max-width: 680px) {
  .hero {
    height: max(940px, 100svh);
  }

  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
    height: 60px;
    padding: 0 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 21px;
    height: 21px;
  }

  .nav-actions {
    gap: 3px;
  }

  .nav-user {
    display: none;
  }

  .nav-cta {
    height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-content {
    top: 48%;
    gap: 38px;
    padding: 0 18px;
  }

  .home-dashboard-tools-shell {
    width: calc(100vw - 36px);
    margin-top: -18px;
  }

  .hero-copy h1 {
    max-width: 520px;
    font-size: clamp(28px, 8vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.14;
    white-space: normal;
  }

  .hero-copy p {
    max-width: 430px;
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-upload-panel {
    width: 100%;
    max-width: 520px;
    min-height: 0;
    padding: 16px;
    gap: 16px;
  }

  .hero-input-wrapper {
    padding-inline: 14px;
  }

  .hero-supported-sources {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 14px;
    white-space: normal;
  }

  .hero-supported-sources ul {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .upload-progress-row {
    min-width: 100%;
    border-radius: 18px;
  }

  .section-heading {
    width: calc(100% - 40px);
  }

  .section-heading h2,
  .testimonials-heading h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .section-heading p {
    font-size: 16px;
    line-height: 1.45;
  }

  .showcase {
    height: auto;
    min-height: 940px;
    padding: 72px 0 120px;
  }

  .showcase-heading {
    padding-top: 0;
  }

  .case-carousel {
    position: relative;
    top: auto;
    height: 500px;
    margin-top: 56px;
    overflow: hidden;
  }

  .case-carousel::-webkit-scrollbar,
  .testimonial-viewport::-webkit-scrollbar {
    display: none;
  }

  .case-track {
    position: relative;
    top: auto;
    left: 0;
    width: max-content;
    height: 500px;
    gap: 20px;
  }

  .case-small,
  .case-medium,
  .case-large,
  .case-track .case-card {
    width: 250px;
    height: 444px;
    border-radius: 22px;
  }

  .carousel-fade {
    display: none;
  }

  .showcase .section-cta {
    bottom: 44px;
  }

  .feature {
    min-height: auto;
    padding: 78px 20px 90px;
  }

  .feature-glow {
    top: 360px;
    right: -60%;
    width: 150%;
  }

  .feature-copy-wrap {
    gap: 18px;
    justify-content: flex-start;
  }

  .feature-step {
    width: 44px;
    flex-basis: 44px;
    grid-template-columns: 39px 5px;
  }

  .feature-step span {
    margin-top: 8px;
    font-size: 20px;
  }

  .feature-step img {
    height: 180px;
  }

  .feature-copy {
    padding-top: 8px;
  }

  .feature-copy h2 {
    font-size: 22px;
  }

  .feature-copy p {
    font-size: 16px;
    line-height: 1.45;
  }

  .interface-placeholder {
    height: 300px;
    border-radius: 18px;
  }

  .placeholder-sidebar {
    width: 48px;
    padding-inline: 8px;
  }

  .placeholder-video {
    min-height: 160px;
  }

  .testimonials {
    height: auto;
    min-height: 790px;
    padding: 84px 0 90px;
  }

  .testimonials::before {
    height: 64px;
  }

  .testimonials-heading {
    padding-top: 0;
  }

  .testimonial-viewport {
    position: relative;
    top: auto;
    margin-top: 56px;
    overflow: hidden;
  }

  .testimonial-track {
    left: 0;
    gap: 16px;
  }

  .testimonial-card {
    width: min(352px, calc(100vw - 48px));
    flex-basis: min(352px, calc(100vw - 48px));
  }

  .faq-section {
    min-height: auto;
    gap: 40px;
    padding: 84px 20px 96px;
  }

  .faq-section h2 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .faq-list {
    gap: 8px;
  }

  .faq-question {
    min-height: 56px;
    gap: 16px;
    padding: 14px 12px;
    font-size: 16px;
  }

  .faq-question img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .faq-answer p {
    padding: 0 44px 16px 12px;
    font-size: 14px;
    line-height: 22px;
  }

  .site-footer {
    height: 360px;
  }

  .footer-bar {
    bottom: 24px;
    width: calc(100% - 24px);
    height: auto;
    min-height: 128px;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    padding: 22px;
    border-radius: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
  }

  .footer-links a {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }

  .footer-brand span {
    display: inline;
  }

  .testimonial-card {
    padding: 28px;
  }
}


@media (max-width: 900px) {
  .feature-switcher {
    min-height: 940px;
    padding: 72px 20px 92px;
  }

  .feature-switcher-layout {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 776px;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 18px;
    transform: none;
  }

  .feature-tabs {
    height: 360px;
    align-self: start;
    margin-top: 60px;
  }

  .feature-tab {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .feature-stage {
    height: 690px;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 360px auto;
    align-content: start;
    gap: 34px;
    padding-top: 17px;
  }

  .feature-switcher .feature-copy {
    max-width: none;
  }

  .feature-switcher .feature-cta {
    bottom: 0;
  }
}

@media (max-width: 520px) {
  .feature-switcher {
    min-height: 900px;
    padding-inline: 14px;
  }

  .feature-switcher-layout {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 10px;
  }

  .feature-tabs {
    height: 360px;
  }

  .feature-tab {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .feature-switcher .feature-copy h2 {
    font-size: 28px;
  }

  .feature-switcher .feature-copy p {
    margin-top: 14px;
    font-size: 15px;
  }

  .feature-preview {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track[data-marquee-ready="true"] {
    animation: none !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
