:root {
  --bg: #091520;
  --bg-soft: #122131;
  --surface: rgba(11, 25, 40, 0.78);
  --surface-strong: rgba(12, 30, 48, 0.95);
  --surface-light: rgba(255, 255, 255, 0.05);
  --card-border: rgba(157, 197, 220, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eff7ff;
  --muted: #b7c8db;
  --accent: #3dd4a8;
  --accent-2: #f3a84d;
  --accent-3: #f5c96a;
  --shadow: 0 18px 42px rgba(2, 10, 18, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 212, 168, 0.08), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(243, 168, 77, 0.1), transparent 22%),
    radial-gradient(circle at 55% 80%, rgba(245, 201, 106, 0.08), transparent 25%),
    linear-gradient(180deg, #091520 0%, #10202f 45%, #08131d 100%);
  overflow-x: hidden;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button {
  font: inherit;
}

p,
h1,
h2,
h3,
.site-nav a,
.btn,
.text-link {
  overflow-wrap: anywhere;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
  pointer-events: none;
  opacity: 0.14;
  z-index: -3;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.22;
  z-index: -2;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.ambient-one {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -80px;
  background: rgba(79, 244, 202, 0.18);
}

.ambient-two {
  width: 260px;
  height: 260px;
  top: 18%;
  right: -50px;
  background: rgba(255, 142, 60, 0.18);
  animation-delay: -4s;
}

.ambient-three {
  width: 280px;
  height: 280px;
  bottom: 8%;
  left: 40%;
  background: rgba(255, 200, 87, 0.12);
  animation-delay: -8s;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.site-header > *,
.hero > *,
.visual-grid > *,
.proof-grid > *,
.fit-split > *,
.audience-grid > *,
.problem-grid > *,
.feature-grid > *,
.engine-layout > *,
.compare-board > *,
.video-section > *,
.output-showcase > *,
.benefit-grid > *,
.compatibility-board > *,
.assurance-grid > *,
.post-buy-steps > *,
.value-layout > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(10, 23, 36, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand > div {
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #07131f;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 10px 24px rgba(61, 212, 168, 0.18);
}

.brand-kicker,
.eyebrow,
.mini-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand h2 {
  margin: 2px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #04111b;
  background: linear-gradient(135deg, var(--accent), #6fe0bc 55%, var(--accent-3));
  box-shadow: 0 14px 30px rgba(61, 212, 168, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(61, 212, 168, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-copy,
.hero-visual,
.section-heading,
.video-copy {
  max-width: 100%;
}

.hero-copy h1,
.section-heading h2,
.final-cta-panel h2 {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 6.2rem);
  max-width: 11ch;
}

.hero-copy h1 span {
  color: var(--accent-3);
}

.hero-text,
.section-heading p,
.feature-card p,
.glass-card p,
.engine-panel p,
.timeline-item p,
.output-card p,
.benefit-card p,
.compat-card li,
.faq-answer p,
.site-footer p,
.solution-banner p,
.section-cta p,
.final-cta-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.offer-callout {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.credibility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.credibility-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-chip {
  display: inline-flex;
  justify-self: flex-start;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #04111b;
  background: linear-gradient(135deg, var(--accent), var(--accent-3), var(--accent-2));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hero-stats article,
.trust-strip,
.proof-card,
.fit-card,
.audience-card,
.glass-card,
.feature-card,
.engine-panel,
.compare-board,
.output-card,
.benefit-card,
.compat-card,
.assurance-card,
.post-buy-flow,
.post-step,
.value-panel,
.faq-item,
.dashboard-card,
.final-cta-panel,
.solution-banner,
.section-cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-stats article {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-3);
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transform-style: preserve-3d;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(61, 212, 168, 0.08), transparent 35%, rgba(243, 168, 77, 0.1));
  pointer-events: none;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(61, 212, 168, 0.45);
}

.status-pill {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.shot-card {
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(4, 13, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-card-primary {
  border-color: rgba(79, 244, 202, 0.22);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px rgba(4, 11, 20, 0.34);
}

.shot-card figcaption {
  color: var(--muted);
  line-height: 1.6;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: 18px;
  margin-top: 24px;
  align-items: center;
}

.input-panel,
.output-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 22px;
  background: rgba(4, 13, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-panel h3,
.output-panel h3,
.feature-card h3,
.glass-card h3,
.engine-panel h3,
.timeline-item h3,
.output-card h3,
.benefit-card h3,
.compat-card h3,
.solution-banner h3 {
  margin: 8px 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.muted {
  color: var(--muted);
}

.arrow-stack {
  display: grid;
  gap: 12px;
}

.arrow-stack span {
  display: block;
  width: 44px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: pulseShift 2s ease-in-out infinite;
}

.arrow-stack span:nth-child(2) {
  animation-delay: -0.25s;
}

.arrow-stack span:nth-child(3) {
  animation-delay: -0.5s;
}

.output-panel ul,
.check-list,
.compat-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.output-panel li,
.check-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.output-panel li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(79, 244, 202, 0.35);
}

.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.engine-tags span,
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.section {
  padding: 44px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.compact-heading {
  max-width: 100%;
  margin-bottom: 22px;
}

.section-heading h2,
.final-cta-panel h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.problem-grid,
.proof-grid,
.product-meta-grid,
.fit-split,
.audience-grid,
.pricing-layout,
.feature-grid,
.assurance-grid,
.post-buy-steps,
.value-layout,
.output-showcase,
.benefit-grid,
.compatibility-board,
.video-demo-stack,
.video-section {
  display: grid;
  gap: 18px;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
}

.trust-strip h3 {
  margin: 8px 0 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pills span,
.proof-label,
.final-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid,
.fit-split,
.value-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.proof-card,
.meta-card,
.fit-card,
.pricing-card,
.value-panel {
  padding: 24px;
}

.meta-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.meta-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta-value {
  display: block;
  margin-top: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  line-height: 1.3;
  color: var(--text);
}

.meta-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.meta-card .text-link {
  margin-top: 0;
}

.proof-before {
  border-color: rgba(255, 255, 255, 0.1);
}

.proof-after {
  border-color: rgba(79, 244, 202, 0.28);
  background:
    linear-gradient(180deg, rgba(61, 212, 168, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.proof-label {
  justify-content: flex-start;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.proof-card h3,
.fit-card h3,
.audience-card h3,
.assurance-card h3,
.post-step h3,
.pricing-card h3,
.value-panel h3 {
  margin: 12px 0 14px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.proof-block > p,
.audience-card p,
.assurance-card p,
.post-step p,
.pricing-card p,
.value-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.proof-title {
  font-weight: 800;
  color: var(--text);
}

.proof-list,
.loss-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li,
.loss-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.proof-list li::before,
.loss-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.fit-card-muted {
  background:
    linear-gradient(180deg, rgba(255, 142, 60, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.audience-grid,
.assurance-grid,
.post-buy-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.audience-card,
.assurance-card,
.support-card,
.post-step {
  padding: 22px;
}

.audience-card,
.assurance-card,
.support-card,
.post-step {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.pricing-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.pricing-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.pricing-card-primary {
  border-color: rgba(79, 244, 202, 0.28);
  background:
    linear-gradient(180deg, rgba(61, 212, 168, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.pricing-card-side {
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
}

.price-line strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.95;
  color: var(--accent-3);
}

.price-line span {
  color: var(--muted);
  padding-bottom: 10px;
}

.api-disclaimer {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-title {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--text);
}

.support-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compare-board {
  overflow: hidden;
  padding: 0;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-head span,
.compare-row span {
  padding: 18px 20px;
}

.compare-head {
  background: linear-gradient(135deg, rgba(79, 244, 202, 0.12), rgba(255, 142, 60, 0.12));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.compare-row + .compare-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row span:first-child,
.compare-head span:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row span {
  color: var(--muted);
  line-height: 1.6;
}

.post-buy-flow {
  margin-top: 24px;
  padding: 24px;
}

.post-step span {
  display: inline-flex;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent-3);
}

.value-main {
  border-color: rgba(79, 244, 202, 0.24);
}

.value-side {
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.glass-card,
.feature-card,
.output-card,
.benefit-card,
.compat-card {
  padding: 24px;
}

.solution-banner,
.section-cta,
.final-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  margin-top: 22px;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 244, 202, 0.2), transparent 68%);
}

.feature-number {
  font-family: "Space Grotesk", sans-serif;
  min-width: 52px;
  color: var(--accent-3);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent-3);
}

.engine-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
}

.video-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.video-demo-stack {
  gap: 26px;
}

.video-frame,
.video-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.video-frame {
  overflow: hidden;
  padding: 14px;
}

.video-player,
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
}

.video-player {
  position: relative;
  overflow: hidden;
  background: #03070b;
}

.video-frame iframe {
  border: 0;
  background: #000;
  height: 100%;
}

.video-launch {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #02060a;
  color: var(--text);
}

.video-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-launch-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 17, 27, 0.08), rgba(6, 17, 27, 0.72)),
    radial-gradient(circle at center, rgba(79, 244, 202, 0.12), transparent 40%);
}

.video-launch-chip,
.video-launch-cta {
  position: absolute;
  z-index: 1;
}

.video-launch-chip {
  top: 18px;
  left: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 18, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.video-launch-cta {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  color: #04111b;
  background: linear-gradient(135deg, var(--accent), var(--accent-3), var(--accent-2));
  box-shadow: 0 18px 34px rgba(255, 142, 60, 0.24);
}

.video-launch-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #04111b;
}

.video-frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 8px 4px;
}

.video-frame-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.video-copy {
  padding: 26px;
}

.video-copy h3 {
  margin: 12px 0 14px;
  font-size: 1.6rem;
  line-height: 1.2;
}

.engine-tabs {
  display: grid;
  gap: 12px;
}

.engine-tab {
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.engine-tab:hover,
.engine-tab.active {
  transform: translateX(4px);
  border-color: rgba(255, 200, 87, 0.5);
  background: linear-gradient(135deg, rgba(79, 244, 202, 0.12), rgba(255, 142, 60, 0.12));
}

.engine-panels {
  position: relative;
}

.engine-panel {
  display: none;
  padding: 30px;
  min-height: 270px;
}

.engine-panel.active {
  display: block;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(79, 244, 202, 0.4), rgba(255, 142, 60, 0.4));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 14px 0 14px 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #04111b;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  box-shadow: 0 14px 26px rgba(79, 244, 202, 0.2);
}

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

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

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

.compat-card code,
.faq-answer code {
  padding: 0.12rem 0.35rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.faq-icon {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--accent-3);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p,
.faq-answer .text-link {
  margin: 0 24px 24px;
}

.faq-item.open .faq-answer {
  max-height: var(--faq-max-height, 420px);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.final-cta {
  padding-bottom: 110px;
}

.final-cta-panel {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}

.final-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.final-note {
  margin: 8px 0 0;
}

.final-cta-panel::before {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.28), transparent 70%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 36px;
}

.site-footer a {
  color: var(--accent-3);
  font-weight: 800;
}

.floating-buy {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  color: #04111b;
  background: linear-gradient(135deg, var(--accent), #77e0bf, var(--accent-3));
  box-shadow: 0 16px 36px rgba(61, 212, 168, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-buy.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -28px, 0) scale(1.08);
  }
}

@keyframes pulseShift {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.9;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

@media (max-width: 1140px) {
  .site-header {
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .problem-grid,
  .proof-grid,
  .product-meta-grid,
  .fit-split,
  .audience-grid,
  .pricing-support,
  .feature-grid,
  .assurance-grid,
  .post-buy-steps,
  .value-layout,
  .output-showcase,
  .benefit-grid,
  .compatibility-board,
  .video-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engine-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .site-header {
    position: static;
    top: auto;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand h2 {
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 12px 2px;
    white-space: normal;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
    order: 5;
    width: 100%;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .arrow-stack {
    grid-auto-flow: column;
    justify-content: center;
  }

  .solution-banner,
  .section-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .video-section {
    grid-template-columns: 1fr;
  }

  .engine-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    left: 18px;
  }

  .video-frame-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-buy {
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: 88px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .section {
    padding: 30px 0;
  }

  .page-shell::before {
    opacity: 0.18;
  }

  .ambient {
    opacity: 0.18;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 8vw, 3.8rem);
    line-height: 1.02;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .section-cta .btn,
  .solution-banner .btn,
  .video-copy .btn,
  .pricing-card .btn {
    width: 100%;
  }

  .hero-stats,
  .problem-grid,
  .proof-grid,
  .product-meta-grid,
  .fit-split,
  .audience-grid,
  .pricing-layout,
  .pricing-support,
  .feature-grid,
  .assurance-grid,
  .post-buy-steps,
  .value-layout,
  .output-showcase,
  .benefit-grid,
  .compatibility-board,
  .video-section,
  .engine-layout {
    grid-template-columns: 1fr;
  }

  .engine-tabs {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .arrow-stack {
    grid-auto-flow: column;
    justify-content: flex-start;
  }

  .dashboard-card,
  .meta-card,
  .trust-strip,
  .proof-card,
  .fit-card,
  .audience-card,
  .pricing-card,
  .glass-card,
  .feature-card,
  .engine-panel,
  .compare-board,
  .output-card,
  .benefit-card,
  .compat-card,
  .assurance-card,
  .support-card,
  .post-buy-flow,
  .post-step,
  .value-panel,
  .faq-item,
  .solution-banner,
  .section-cta,
  .final-cta-panel,
  .video-frame,
  .video-copy {
    border-radius: 22px;
  }

  .dashboard-card::before,
  .feature-card::after {
    display: none;
  }

  .card-topline {
    gap: 8px;
    font-size: 0.82rem;
  }

  .status-pill {
    margin-left: 0;
  }

  .feature-card,
  .proof-card,
  .fit-card,
  .audience-card,
  .pricing-card,
  .output-card,
  .benefit-card,
  .compat-card,
  .assurance-card,
  .support-card,
  .post-step,
  .value-panel,
  .glass-card,
  .video-copy,
  .video-frame,
  .section-cta,
  .solution-banner,
  .final-cta-panel {
    padding: 18px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-head span:first-child,
  .compare-row span:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .input-panel,
  .output-panel,
  .engine-panel {
    padding: 18px;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .timeline-step {
    width: 40px;
    height: 40px;
  }

  .timeline::before {
    left: 13px;
  }

  .video-frame-footer,
  .site-footer,
  .solution-banner,
  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 20px), var(--content));
  }

  .section {
    padding: 32px 0;
  }

  .site-header {
    margin-top: 10px;
    padding: 12px 14px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 32px;
    gap: 22px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.3rem);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-heading h2,
  .final-cta-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.05;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .section-cta .btn,
  .solution-banner .btn,
  .video-copy .btn,
  .pricing-card .btn {
    width: 100%;
  }

  .hero-stats,
  .problem-grid,
  .proof-grid,
  .product-meta-grid,
  .fit-split,
  .audience-grid,
  .pricing-layout,
  .pricing-support,
  .feature-grid,
  .assurance-grid,
  .post-buy-steps,
  .value-layout,
  .output-showcase,
  .benefit-grid,
  .compatibility-board,
  .video-section {
    grid-template-columns: 1fr;
  }

  .engine-tabs {
    grid-template-columns: 1fr;
  }

  .engine-tab,
  .site-nav a,
  .faq-question {
    min-height: 48px;
  }

  .faq-question,
  .glass-card,
  .proof-card,
  .fit-card,
  .audience-card,
  .pricing-card,
  .feature-card,
  .output-card,
  .benefit-card,
  .compat-card,
  .assurance-card,
  .support-card,
  .post-step,
  .value-panel,
  .dashboard-card,
  .section-cta,
  .solution-banner,
  .video-frame,
  .video-copy,
  .final-cta-panel {
    padding: 18px;
  }

  .video-copy h3 {
    font-size: 1.3rem;
  }

  .input-panel,
  .output-panel {
    padding: 18px;
  }

  .card-topline {
    gap: 10px;
  }

  .status-pill {
    margin-left: 0;
  }

  .timeline-item {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .floating-buy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 54px;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .hero-stats,
  .problem-grid,
  .proof-grid,
  .product-meta-grid,
  .fit-split,
  .audience-grid,
  .pricing-layout,
  .pricing-support,
  .feature-grid,
  .assurance-grid,
  .post-buy-steps,
  .value-layout,
  .output-showcase,
  .benefit-grid,
  .compatibility-board {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 26px 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .brand-kicker,
  .eyebrow,
  .mini-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .brand h2 {
    font-size: 0.92rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 9vw, 2.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .offer-callout,
  .api-disclaimer {
    padding: 16px;
  }

  .price-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .price-line span {
    padding-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
  }

  .timeline::before {
    left: 15px;
  }

  .video-launch-cta {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .hero-stats strong {
    font-size: 1.6rem;
  }

  .hero-stats span,
  .site-nav a,
  .video-frame-footer p,
  .text-link {
    font-size: 0.92rem;
  }

  .btn {
    width: 100%;
  }

  .engine-tags {
    gap: 8px;
  }

  .engine-tags span,
  .feature-number {
    width: 100%;
    justify-content: flex-start;
  }

  .trust-pills span,
  .final-points span {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 16px), var(--content));
  }

  .btn {
    min-height: 50px;
    padding: 0 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .faq-question,
  .glass-card,
  .feature-card,
  .meta-card,
  .output-card,
  .benefit-card,
  .compat-card,
  .dashboard-card,
  .section-cta,
  .solution-banner,
  .video-frame,
  .video-copy,
  .final-cta-panel {
    padding: 16px;
  }

  .floating-buy {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .brand {
    align-items: flex-start;
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .brand-kicker {
    display: none;
  }

  .brand h2 {
    font-size: 0.88rem;
    line-height: 1.2;
    max-width: 16ch;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8.6vw, 2.3rem);
    margin: 14px 0;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .hero-stats article {
    padding: 16px;
  }

  .dashboard-card,
  .glass-card,
  .feature-card,
  .engine-panel,
  .output-card,
  .benefit-card,
  .compat-card,
  .faq-item,
  .solution-banner,
  .section-cta,
  .final-cta-panel,
  .video-frame,
  .video-copy {
    border-radius: 18px;
  }

  .card-topline {
    font-size: 0.76rem;
  }

  .status-pill {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
