:root {
  --cytv-ink: #edf4ff;
  --cytv-muted: #8d9aab;
  --cytv-line: rgba(164, 190, 221, 0.18);
  --cytv-blue: #a8e7f1;
  --cytv-orange: #ff8050;
}

html:has(.cytv-seo-page) {
  overflow-x: clip;
}

.cytv-seo-page {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--cytv-ink);
  background:
    radial-gradient(circle at 76% 12%, rgba(80, 111, 183, 0.2), transparent 30%),
    radial-gradient(circle at 20% 2%, rgba(30, 90, 155, 0.18), transparent 28%),
    #050912;
}

.cytv-seo-header { position: absolute; }

.cytv-workspace-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cytv-seo-hero {
  position: relative;
  min-height: 920px;
  padding: 190px max(6vw, 32px) 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 7vw, 120px);
  isolation: isolate;
}

.cytv-seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.98) 0%, rgba(5, 9, 18, 0.78) 42%, rgba(5, 9, 18, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 9, 18, 0.1), #050912 96%),
    url("./assets/hero/hero-bg-source-poster.jpg") center / cover no-repeat;
  opacity: 0.78;
}

.cytv-seo-hero::after {
  content: "";
  position: absolute;
  inset: auto 6vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cytv-line) 12%, var(--cytv-line) 88%, transparent);
}

.cytv-seo-orbit {
  position: absolute;
  z-index: -1;
  width: min(72vw, 960px);
  aspect-ratio: 1;
  right: -19vw;
  top: 60px;
  border: 1px solid rgba(169, 224, 238, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(83, 141, 213, 0.08), inset 0 0 70px rgba(98, 168, 221, 0.06);
}

.cytv-seo-orbit::before,
.cytv-seo-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(169, 224, 238, 0.1);
  border-radius: 50%;
}

.cytv-seo-orbit::before { inset: 12%; }
.cytv-seo-orbit::after { inset: 28%; }

.cytv-seo-eyebrow {
  margin: 0 0 24px;
  color: var(--cytv-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.cytv-seo-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(66px, 8.2vw, 138px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.cytv-seo-hero h1 span {
  display: block;
  margin-top: 26px;
  color: transparent;
  font-size: 0.53em;
  line-height: 1.05;
  letter-spacing: -0.055em;
  background: linear-gradient(100deg, #f3f7ff 0%, #aee3ef 52%, #9aaee0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cytv-seo-lead {
  max-width: 680px;
  margin: 38px 0 0;
  color: #a8b3c3;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.9;
}

.cytv-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.cytv-seo-primary,
.cytv-seo-secondary {
  min-height: 58px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cytv-seo-primary {
  color: #09101a;
  background: linear-gradient(120deg, #c5eff5, #b6c9f0);
  box-shadow: 0 20px 50px rgba(119, 183, 223, 0.15);
}

.cytv-seo-secondary {
  color: #cbd4df;
  border: 1px solid var(--cytv-line);
  background: rgba(11, 17, 28, 0.55);
  backdrop-filter: blur(16px);
}

.cytv-seo-primary:hover,
.cytv-seo-secondary:hover { transform: translateY(-2px); }
.cytv-seo-primary:hover { box-shadow: 0 26px 58px rgba(119, 183, 223, 0.24); }
.cytv-seo-secondary:hover { border-color: rgba(179, 214, 238, 0.34); }

.cytv-seo-preview {
  position: relative;
  min-height: 580px;
  border: 1px solid rgba(175, 205, 233, 0.16);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(6, 11, 21, 0.62);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.cytv-preview-grid {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(146, 181, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 181, 216, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cytv-seo-preview svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cytv-seo-preview path { fill: none; stroke: rgba(184, 215, 238, 0.34); stroke-width: 2; }

.cytv-preview-card {
  position: absolute;
  z-index: 2;
  width: clamp(170px, 17vw, 245px);
  min-height: 130px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(191, 218, 239, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 42, 60, 0.86), rgba(10, 15, 25, 0.9));
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.cytv-preview-card small { color: var(--cytv-orange); font-size: 10px; letter-spacing: 0.15em; }
.cytv-preview-card strong { font-size: 22px; }
.cytv-preview-card span { color: var(--cytv-muted); font-size: 13px; }
.cytv-preview-card-a { left: 7%; top: 16%; }
.cytv-preview-card-b { left: 39%; top: 36%; }
.cytv-preview-card-c { right: 6%; bottom: 12%; }

.cytv-seo-intro,
.cytv-seo-features,
.cytv-seo-cta,
.cytv-seo-footer {
  width: min(88vw, 1500px);
  margin-inline: auto;
}

.cytv-seo-intro {
  padding: 130px 0 100px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 9vw, 150px);
  border-bottom: 1px solid var(--cytv-line);
}

.cytv-seo-intro h2,
.cytv-seo-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.cytv-seo-copy { color: #9ba8b8; font-size: 18px; line-height: 1.95; }
.cytv-seo-copy p { margin: 0 0 22px; }

.cytv-seo-features {
  margin: 94px auto 120px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cytv-line);
  border: 1px solid var(--cytv-line);
  border-radius: 26px;
  overflow: hidden;
}

.cytv-seo-features article {
  min-height: 280px;
  padding: 42px;
  background: #080d17;
}

.cytv-seo-features span { color: var(--cytv-orange); font-size: 11px; letter-spacing: 0.18em; }
.cytv-seo-features h2 { margin: 58px 0 16px; font-size: 28px; }
.cytv-seo-features p { margin: 0; color: var(--cytv-muted); line-height: 1.85; }

.cytv-seo-cta {
  min-height: 360px;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  border-bottom: 1px solid var(--cytv-line);
}

.cytv-seo-footer {
  padding: 40px 0 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  color: #6f7b8a;
  font-size: 13px;
}

.cytv-seo-footer a { color: #8b98a8; text-decoration: none; }
.cytv-seo-footer span { margin-left: auto; }

@media (max-width: 1080px) {
  .cytv-seo-hero { grid-template-columns: 1fr; padding-top: 170px; }
  .cytv-seo-preview { min-height: 520px; }
}

@media (max-width: 720px) {
  .cytv-seo-header { padding-inline: 18px; }
  .cytv-seo-header .nav { display: none; }
  .cytv-seo-header .brand-copy { width: 120px; }
  .cytv-seo-header .auth-primary { min-height: 42px; padding: 0 16px; font-size: 13px; }
  .cytv-seo-hero { min-height: auto; padding: 145px 20px 80px; gap: 54px; }
  .cytv-seo-hero h1 { font-size: clamp(54px, 18vw, 82px); }
  .cytv-seo-lead { font-size: 16px; }
  .cytv-seo-actions { align-items: stretch; flex-direction: column; }
  .cytv-seo-primary, .cytv-seo-secondary { width: 100%; }
  .cytv-seo-preview { min-height: 440px; border-radius: 24px; }
  .cytv-preview-card { width: 168px; min-height: 108px; padding: 16px; }
  .cytv-preview-card strong { font-size: 18px; }
  .cytv-preview-card-a { left: 5%; top: 10%; }
  .cytv-preview-card-b { left: 31%; top: 38%; }
  .cytv-preview-card-c { right: 4%; bottom: 9%; }
  .cytv-seo-intro { width: calc(100% - 40px); padding: 84px 0 70px; grid-template-columns: 1fr; gap: 30px; }
  .cytv-seo-copy { font-size: 16px; }
  .cytv-seo-features { width: calc(100% - 40px); padding: 0; grid-template-columns: 1fr; }
  .cytv-seo-features article { min-height: 230px; padding: 30px; }
  .cytv-seo-features h2 { margin-top: 38px; }
  .cytv-seo-cta { width: calc(100% - 40px); min-height: 360px; padding: 70px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
  .cytv-seo-footer { width: calc(100% - 40px); }
  .cytv-seo-footer span { width: 100%; margin: 10px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cytv-seo-primary,
  .cytv-seo-secondary { transition: none; }
}
