/* ScreenLogic landing page
   Responsive, dependency-free styling.
*/

:root {
  --bg: #171126;
  --bg-deep: #100b1c;
  --panel: #211832;
  --panel-soft: #2a203d;
  --text: #f7f4fb;
  --muted: #bdb5c9;
  --muted-dark: #726b7c;
  --ink: #211b2a;
  --surface: #ffffff;
  --surface-alt: #f4f1f7;
  --line: rgba(255, 255, 255, 0.10);
  --line-dark: rgba(32, 22, 45, 0.10);
  --pink: #cf438c;
  --purple: #7d63c7;
  --blue: #65baf5;
  --green: #66d6b1;
  --gradient: linear-gradient(135deg, var(--pink), var(--purple) 52%, var(--blue));
  --shadow: 0 30px 80px rgba(13, 8, 24, 0.34);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 34px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(17, 11, 29, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.16rem;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(126, 87, 191, 0.24);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.primary-nav > a:not(.button) {
  position: relative;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gradient);
  transition: right 0.2s ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button):focus-visible {
  color: #fff;
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 3px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 18px 40px rgba(161, 74, 174, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 46px rgba(161, 74, 174, 0.38);
}

.button-secondary,
.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 20%, rgba(153, 80, 189, 0.22), transparent 29%),
    radial-gradient(circle at 90% 20%, rgba(69, 152, 230, 0.15), transparent 27%),
    linear-gradient(145deg, var(--bg-deep), var(--bg) 62%, #23183b);
  color: var(--text);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 80%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.45;
}

.hero-glow-one {
  width: 470px;
  height: 470px;
  right: -160px;
  top: 130px;
  background: radial-gradient(circle, rgba(99, 180, 245, 0.36), transparent 68%);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(205, 65, 142, 0.30), transparent 68%);
}

.hero-grid {
  min-height: 790px;
  padding-top: 128px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.15fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.cta-panel .eyebrow {
  color: #ccb9ff;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  line-height: 1.7;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-points span {
  position: relative;
  padding-left: 17px;
}

.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(102, 214, 177, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.dashboard-card {
  position: absolute;
  width: 92%;
  right: 0;
  top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: rgba(34, 25, 50, 0.92);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}

.dashboard-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,0.08), transparent 26%);
}

.dashboard-topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-brand img {
  border-radius: 9px;
}

.dashboard-brand strong,
.dashboard-brand small,
.screen-meta strong,
.screen-meta small {
  display: block;
}

.dashboard-brand strong {
  font-size: 0.86rem;
}

.dashboard-brand small {
  margin-top: 2px;
  color: rgba(255,255,255,0.46);
  font-size: 0.65rem;
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(102, 214, 177, 0.09);
  color: #a9efd8;
  font-size: 0.63rem;
  font-weight: 800;
}

.status-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(102, 214, 177, 0.1);
}

.dashboard-body {
  min-height: 370px;
  display: grid;
  grid-template-columns: 58px 1fr;
}

.dashboard-sidebar {
  padding-top: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-sidebar span {
  width: 21px;
  height: 21px;
  display: block;
  margin: 0 auto 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-sidebar .active {
  background: var(--gradient);
  box-shadow: 0 7px 20px rgba(202, 66, 143, 0.26);
}

.dashboard-content {
  padding: 24px 24px 27px;
}

.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}

.dashboard-heading small,
.dashboard-heading strong {
  display: block;
}

.dashboard-heading small {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.42);
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-heading strong {
  font-size: 0.92rem;
}

.dashboard-heading button {
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.61rem;
  font-weight: 800;
}

.screen-list {
  display: grid;
  gap: 11px;
}

.screen-list article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.screen-thumb {
  position: relative;
  height: 62px;
  display: flex;
  align-items: end;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.screen-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(10, 8, 20, 0.72));
}

.screen-thumb span {
  position: relative;
  z-index: 1;
}

.screen-thumb-one {
  background: linear-gradient(135deg, #55416f, #9e5db1);
}

.screen-thumb-two {
  background: linear-gradient(135deg, #b94b82, #5f79ca);
}

.screen-thumb-three {
  background: linear-gradient(135deg, #466a8d, #55b9a5);
}

.screen-meta {
  min-width: 0;
}

.screen-meta strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-meta small {
  margin-top: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-time {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.57rem;
  font-weight: 800;
}

.tv-card {
  position: absolute;
  left: -16px;
  bottom: 12px;
  z-index: 3;
  width: 54%;
  filter: drop-shadow(0 24px 34px rgba(7, 4, 14, 0.43));
  transform: rotateY(6deg) rotateX(-2deg);
}

.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 7px;
  border: 8px solid #0b0910;
  border-radius: 12px;
  background: #17121d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.tv-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 77% 26%, rgba(100, 191, 249, 0.54), transparent 34%),
    radial-gradient(circle at 23% 73%, rgba(208, 63, 139, 0.68), transparent 39%),
    linear-gradient(145deg, #241536, #3b2654);
}

.tv-kicker {
  margin-bottom: 5px;
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.tv-content strong {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tv-content small {
  margin-top: 8px;
  color: rgba(255,255,255,0.63);
  font-size: 0.55rem;
}

.tv-stand {
  width: 46%;
  height: 22px;
  margin: 0 auto;
  border-bottom: 5px solid #0b0910;
  clip-path: polygon(33% 0, 67% 0, 100% 100%, 0 100%);
  background: #17131b;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(27, 20, 41, 0.84);
  box-shadow: 0 16px 35px rgba(10, 7, 18, 0.24);
  backdrop-filter: blur(14px);
}

.floating-card-one {
  right: -5px;
  bottom: 47px;
}

.floating-card-two {
  top: 94px;
  left: 10px;
}

.floating-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--gradient);
  font-size: 0.65rem;
  font-weight: 900;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.68rem;
}

.floating-card small {
  margin-top: 3px;
  color: rgba(255,255,255,0.46);
  font-size: 0.57rem;
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: #0f0a18;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.trust-grid {
  min-height: 126px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-grid > div {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,0.09);
}

.trust-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-grid > div:last-child {
  padding-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 7px;
  font-size: 0.94rem;
}

.trust-grid span {
  color: rgba(255,255,255,0.48);
  font-size: 0.77rem;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 54px;
}

.section-heading p,
.workflow-copy > p,
.compatibility-copy > p,
.faq-intro > p {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 1.04rem;
}

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

.feature-card {
  min-height: 295px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 18, 48, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 95, 191, 0.26);
  box-shadow: 0 24px 48px rgba(31, 18, 48, 0.09);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(204, 63, 139, 0.10), rgba(101, 185, 245, 0.12));
  color: var(--purple);
}

.feature-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(106, 91, 186, 0.18), transparent 34%),
    linear-gradient(145deg, #171024, #100a19);
  color: #fff;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  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: 68px 68px;
}

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 88px;
}

.workflow-copy > p {
  color: rgba(255,255,255,0.59);
}

.steps {
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.steps li > span {
  color: #c6b2fb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: rgba(255,255,255,0.47);
  font-size: 0.86rem;
}

.planner-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  background: rgba(255,255,255,0.055);
  box-shadow: 0 28px 70px rgba(4, 2, 9, 0.28);
  backdrop-filter: blur(18px);
}

.planner-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 2px 20px;
}

.planner-header small,
.planner-header strong {
  display: block;
}

.planner-header small {
  margin-bottom: 6px;
  color: rgba(255,255,255,0.42);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.planner-header strong {
  font-size: 1rem;
}

.planner-header > span {
  align-self: start;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.57);
  font-size: 0.64rem;
  font-weight: 800;
}

.planner-screen {
  padding: 7px;
  border: 8px solid #07060a;
  border-radius: 16px;
  background: #151019;
}

.planner-video {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 34px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 72% 21%, rgba(100, 188, 245, 0.60), transparent 34%),
    radial-gradient(circle at 27% 82%, rgba(211, 66, 144, 0.72), transparent 38%),
    linear-gradient(145deg, #261739, #44305d);
  transition: background 0.35s ease;
}

.planner-video.theme-two {
  background:
    radial-gradient(circle at 22% 20%, rgba(243, 122, 68, 0.58), transparent 31%),
    radial-gradient(circle at 78% 82%, rgba(196, 52, 134, 0.70), transparent 37%),
    linear-gradient(145deg, #251124, #583055);
}

.planner-video.theme-three {
  background:
    radial-gradient(circle at 74% 22%, rgba(70, 210, 183, 0.55), transparent 34%),
    radial-gradient(circle at 22% 80%, rgba(86, 109, 205, 0.69), transparent 38%),
    linear-gradient(145deg, #121d34, #263c5b);
}

.planner-video > span {
  margin-bottom: 10px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.planner-video > strong {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.planner-video > small {
  margin-top: 14px;
  color: rgba(255,255,255,0.68);
  font-size: 0.74rem;
}

.planner-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.planner-option {
  min-height: 84px;
  padding: 13px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 13px;
  background: rgba(255,255,255,0.035);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.planner-option:hover,
.planner-option:focus-visible,
.planner-option.active {
  border-color: rgba(191, 166, 245, 0.36);
  background: rgba(178, 144, 237, 0.10);
}

.planner-option span,
.planner-option strong {
  display: block;
}

.planner-option span {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.42);
  font-size: 0.62rem;
}

.planner-option strong {
  font-size: 0.73rem;
  line-height: 1.35;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-card {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.use-case-card::before,
.use-case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.use-case-card::after {
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 9, 22, 0.96), rgba(16, 10, 25, 0.04) 72%);
}

.use-case-retail::before {
  background:
    radial-gradient(circle at 25% 18%, rgba(234, 103, 175, 0.80), transparent 28%),
    linear-gradient(135deg, #35214f, #8b3f82 48%, #343b77);
}

.use-case-hospitality::before {
  background:
    radial-gradient(circle at 72% 18%, rgba(88, 202, 188, 0.72), transparent 30%),
    linear-gradient(135deg, #1c3553, #365e73 45%, #47325f);
}

.use-case-corporate::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(101, 184, 245, 0.72), transparent 30%),
    linear-gradient(135deg, #212d57, #4d3d77 50%, #7a3e6f);
}

.use-case-card::before {
  transition: transform 0.55s ease;
}

.use-case-card:hover::before {
  transform: scale(1.06);
}

.use-case-content {
  padding: 30px;
  color: #fff;
}

.use-case-content > span {
  display: inline-block;
  margin-bottom: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.use-case-content h3 {
  max-width: 320px;
  font-size: 1.55rem;
}

.use-case-content p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.61);
  font-size: 0.9rem;
}

.compatibility-section {
  overflow: hidden;
  background: var(--surface-alt);
}

.compatibility-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.compatibility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.compatibility-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.compatibility-list span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(116, 94, 193, 0.11);
  color: var(--purple);
  font-size: 0.73rem;
}

.device-stack {
  position: relative;
  min-height: 470px;
}

.device-tv {
  position: absolute;
  width: 76%;
  right: 0;
  top: 0;
  z-index: 2;
  filter: drop-shadow(0 32px 50px rgba(31, 19, 49, 0.20));
}

.device-screen {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 10px solid #17121f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 70% 20%, rgba(103, 188, 245, 0.32), transparent 34%),
    radial-gradient(circle at 25% 80%, rgba(203, 64, 140, 0.45), transparent 36%),
    linear-gradient(145deg, #251839, #44305e);
  color: #fff;
}

.device-screen img {
  width: 82px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 20px 35px rgba(15, 7, 25, 0.30);
}

.device-screen strong {
  font-size: 1.25rem;
}

.device-screen small {
  margin-top: 8px;
  color: rgba(255,255,255,0.56);
}

.device-base {
  width: 42%;
  height: 34px;
  margin: 0 auto;
  border-bottom: 7px solid #17121f;
  clip-path: polygon(33% 0, 67% 0, 100% 100%, 0 100%);
  background: #251f2c;
}

.device-panel {
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 3;
  width: 51%;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid rgba(28, 16, 43, 0.10);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 55px rgba(34, 21, 51, 0.16);
  transform: rotate(-4deg);
}

.device-panel-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(28, 16, 43, 0.08);
}

.device-panel-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7d1de;
}

.device-panel-lines {
  padding: 19px;
}

.device-panel-lines i {
  height: 43px;
  display: block;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eeeaf1 26%, #f7f4f8 26%);
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: start;
  gap: 94px;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.accordion {
  border-top: 1px solid var(--line-dark);
}

.accordion-item {
  border-bottom: 1px solid var(--line-dark);
}

.accordion-item button {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
}

.accordion-item button i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid rgba(43, 27, 63, 0.12);
  border-radius: 50%;
}

.accordion-item button i::before,
.accordion-item button i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.accordion-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.accordion-item.open button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}

.accordion-panel p {
  max-width: 650px;
  margin: 0 0 27px;
  color: var(--muted-dark);
}

.cta-section {
  padding: 32px 0 100px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 50px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(103, 186, 245, 0.26), transparent 31%),
    radial-gradient(circle at 12% 90%, rgba(209, 65, 142, 0.28), transparent 34%),
    linear-gradient(145deg, #21152f, #171025);
  color: #fff;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}

.cta-logo {
  position: relative;
  z-index: 1;
}

.cta-logo img {
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(14, 8, 22, 0.34);
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy .eyebrow {
  margin-bottom: 13px;
}

.cta-copy h2 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.cta-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.58);
}

.cta-actions {
  position: relative;
  z-index: 1;
  min-width: 210px;
  text-align: center;
}

.cta-actions .button {
  width: 100%;
}

.cta-actions small {
  display: block;
  max-width: 230px;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.66rem;
  line-height: 1.45;
}

.cta-actions code {
  color: rgba(255,255,255,0.7);
}

.site-footer {
  padding: 70px 0 28px;
  background: #100b19;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  padding-bottom: 55px;
}

.footer-brand p {
  max-width: 370px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 160px);
  gap: 36px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 5px;
  font-size: 0.82rem;
}

.footer-links a {
  color: rgba(255,255,255,0.48);
  font-size: 0.81rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
  font-size: 0.74rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

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


.store-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 30px;
}

.store-badge,
.coming-soon-badge {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(13, 8, 24, 0.18);
}

.store-badge {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.store-badge-icon,
.coming-soon-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
}

.store-badge-icon svg,
.coming-soon-icon svg {
  width: 24px;
  height: 24px;
}

.coming-soon-icon {
  color: #ffffff;
}

.store-badge-copy,
.coming-soon-copy {
  display: grid;
  gap: 2px;
}

.store-badge-copy small,
.coming-soon-copy small {
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-badge-copy strong,
.coming-soon-copy strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.platform-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(32, 22, 45, 0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 28px rgba(31, 18, 48, 0.05);
}

.platform-note-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(204, 63, 139, 0.10), rgba(101, 185, 245, 0.12));
  color: var(--purple);
}

.platform-note-icon svg {
  width: 20px;
  height: 20px;
}

.platform-note strong,
.platform-note small {
  display: block;
}

.platform-note strong {
  margin-bottom: 5px;
  font-size: 0.96rem;
  color: var(--ink);
}

.platform-note small {
  color: var(--muted-dark);
  font-size: 0.86rem;
  line-height: 1.6;
}


@media (max-width: 1080px) {
  .primary-nav {
    gap: 21px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    gap: 38px;
  }

  .workflow-grid,
  .compatibility-grid {
    gap: 55px;
  }

  .faq-grid {
    gap: 60px;
  }

  .cta-panel {
    grid-template-columns: auto 1fr;
  }

  .cta-actions {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 760px);
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 90px 30px 40px;
    background: rgba(14, 9, 23, 0.97);
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: 84vw;
  }

  .primary-nav .button {
    min-width: 200px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 85px;
    gap: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .dashboard-card {
    width: 88%;
    right: 2%;
  }

  .tv-card {
    width: 49%;
    left: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
  }

  .trust-grid > div {
    padding: 18px 24px;
  }

  .trust-grid > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .feature-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid,
  .compatibility-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    gap: 60px;
  }

  .compatibility-copy {
    max-width: 680px;
  }

  .faq-intro {
    position: static;
  }

  .cta-panel {
    grid-template-columns: auto 1fr;
    padding: 38px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    font-size: 1.05rem;
  }

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

  .hero-grid {
    padding-top: 124px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 12px;
  }

  .store-availability {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-badge,
  .coming-soon-badge {
    width: 100%;
  }

  .platform-note {
    padding: 16px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .dashboard-card {
    width: 100%;
    right: 0;
    transform: none;
  }

  .dashboard-topbar {
    min-height: 63px;
    padding: 12px;
  }

  .status-chip {
    display: none;
  }

  .dashboard-body {
    min-height: 300px;
    grid-template-columns: 42px 1fr;
  }

  .dashboard-content {
    padding: 18px 12px;
  }

  .dashboard-heading button {
    display: none;
  }

  .screen-list article {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 69px;
    gap: 10px;
  }

  .screen-thumb {
    height: 52px;
  }

  .screen-time {
    display: none;
  }

  .tv-card {
    width: 61%;
    left: -2px;
    bottom: -2px;
  }

  .floating-card-one {
    right: 0;
    bottom: 5px;
  }

  .floating-card-two {
    display: none;
  }

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

  .trust-grid > div,
  .trust-grid > div:nth-child(odd) {
    padding: 17px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 82px 0;
  }

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

  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .planner-card {
    padding: 14px;
  }

  .planner-video {
    min-height: 220px;
    padding: 22px;
  }

  .planner-options {
    grid-template-columns: 1fr;
  }

  .planner-option {
    min-height: 66px;
  }

  .use-case-card {
    min-height: 360px;
  }

  .compatibility-list {
    grid-template-columns: 1fr;
  }

  .device-stack {
    min-height: 375px;
  }

  .device-tv {
    width: 92%;
  }

  .device-panel {
    width: 62%;
    min-height: 215px;
  }

  .faq-grid {
    gap: 40px;
  }

  .cta-section {
    padding-bottom: 70px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .cta-logo img {
    width: 66px;
    height: 66px;
  }

  .cta-actions {
    grid-column: auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
