:root {
  color-scheme: dark;
  --bg: #05040a;
  --bg-soft: #0b0713;
  --surface: rgba(15, 12, 26, 0.58);
  --surface-strong: rgba(21, 16, 36, 0.76);
  --line: rgba(171, 143, 255, 0.22);
  --line-bright: rgba(120, 217, 255, 0.42);
  --text: #fbfaff;
  --muted: rgba(246, 240, 255, 0.68);
  --dim: rgba(246, 240, 255, 0.45);
  --purple: #7b61ff;
  --violet: #a78bfa;
  --blue: #8fcfff;
  --cyan: #3be7ff;
  --pink: #d89cff;
  --radius: 8px;
  --max: 1360px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

a,
button {
  font: inherit;
}

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

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

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

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

.background-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 47% -12%, rgba(119, 88, 255, 0.28), transparent 48%),
    radial-gradient(ellipse at 12% 44%, rgba(102, 72, 181, 0.24), transparent 42%),
    radial-gradient(ellipse at 86% 26%, rgba(58, 204, 255, 0.13), transparent 38%),
    linear-gradient(135deg, #030306 0%, #0b0614 38%, #10091b 66%, #040408 100%);
}

.background-fx::before,
.background-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.background-fx::before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
}

.background-fx::after {
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(143, 104, 255, 0.08) 42%, transparent 58%),
    linear-gradient(20deg, transparent 0 46%, rgba(60, 231, 255, 0.06) 54%, transparent 70%);
  filter: blur(22px);
  opacity: 0.9;
}

.dust-wash,
.light-thread {
  position: absolute;
  pointer-events: none;
}

.dust-wash {
  width: 58vw;
  height: 34vh;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.44;
}

.dust-a {
  left: -12vw;
  top: 30vh;
  background: rgba(122, 88, 211, 0.45);
}

.dust-b {
  right: -18vw;
  bottom: 8vh;
  background: rgba(76, 188, 255, 0.16);
}

.light-thread {
  width: 1px;
  height: 120vh;
  top: -10vh;
  background: linear-gradient(to bottom, transparent, rgba(139, 109, 255, 0.32), transparent);
  filter: blur(1px);
}

.thread-a {
  left: 31%;
  transform: rotate(13deg);
}

.thread-b {
  right: 20%;
  transform: rotate(-10deg);
}

.section-shell {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.liquid-glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(133, 104, 255, 0.12), rgba(7, 5, 13, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 70px rgba(9, 5, 24, 0.42);
  backdrop-filter: blur(22px) saturate(1.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(167, 139, 250, 0.16);
  background: rgba(4, 4, 7, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  display: flex;
  width: calc(100% - 20px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 152px;
  height: 66px;
  object-fit: contain;
}

.primary-nav,
.header-actions,
.hero-actions,
.hero-stats,
.mode-row,
.settings-row,
.featured-rail,
.marquee-track {
  display: flex;
  align-items: center;
}

.primary-nav {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: clamp(10px, 0.75vw, 18px);
}

.nav-link,
.nav-trigger,
.header-actions a {
  position: relative;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(12px, 0.8vw, 14px);
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link,
.nav-trigger {
  padding: 28px 0;
}

.nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-trigger:hover,
.header-actions a:hover {
  color: white;
}

.nav-link:hover::after,
.nav-trigger:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-trigger span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  display: grid;
  width: 210px;
  gap: 4px;
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  border-radius: 6px;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 720;
  transition: background 160ms ease, color 160ms ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.with-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.with-badge span {
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.24);
  color: #c7b7ff;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 900;
}

.header-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: clamp(10px, 0.75vw, 18px);
  margin-left: auto;
  border-left: 1px solid rgba(167, 139, 250, 0.16);
  padding-left: 18px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.playground-button {
  border-radius: var(--radius) !important;
  background: linear-gradient(135deg, #7d67ff 0%, #98cdff 100%) !important;
  color: white !important;
  padding: 0 18px;
  box-shadow: 0 0 24px rgba(126, 105, 255, 0.32);
}

.avatar-link {
  width: 48px;
  justify-content: center;
  border: 1px solid rgba(143, 207, 255, 0.78);
  border-radius: 999px !important;
  box-shadow:
    0 0 18px rgba(143, 207, 255, 0.32),
    inset 0 0 10px rgba(143, 207, 255, 0.16);
}

.avatar-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px + 160px);
  padding: 254px 0 82px;
}

.hero-copy {
  max-width: 650px;
  padding-top: 120px;
}

.main-slogan {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(520px, calc(100% - 36px));
  transform: translateX(-50%);
  text-align: center;
}

.main-slogan h2 {
  margin: 0;
  color: white;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.98;
  font-weight: 930;
  text-wrap: balance;
}

.main-slogan a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(143, 205, 255, 0.98), rgba(139, 108, 255, 0.98) 58%, rgba(215, 157, 255, 0.95)),
    rgba(255, 255, 255, 0.08);
  color: #07040d;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -12px 22px rgba(31, 12, 92, 0.22),
    0 18px 42px rgba(123, 97, 255, 0.36);
}

.main-slogan .launch-note {
  margin-top: 6px;
}

.kicker,
.section-heading p,
.hero-video-content span,
.feature-card span,
.studio-panel span,
.model-card span,
.example-card span,
.app-card span,
.final-cta p {
  color: #9edbff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  position: relative;
  width: fit-content;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #d6ccff;
}

.launch-note {
  width: fit-content;
  margin: 0 0 12px;
  color: #ff3b5c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: launchPulse 1.9s ease-in-out infinite;
}

.kicker::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), transparent);
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 920;
  text-wrap: balance;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.72;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 880;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #8fcdff 0%, #8b6cff 54%, #d79dff 100%);
  color: #07040d;
  box-shadow: 0 0 30px rgba(123, 97, 255, 0.32);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--dim);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 750;
}

.hero-stats strong {
  color: white;
}

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

.preview-stage {
  position: relative;
  min-height: 560px;
  transform-style: preserve-3d;
}

.preview-stage::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(121, 84, 255, 0.28), transparent 58%),
    radial-gradient(ellipse, rgba(59, 231, 255, 0.13), transparent 42%);
  filter: blur(26px);
  opacity: 0.84;
}

.hero-video-card,
.feature-card,
.studio-panel,
.example-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-video-card {
  position: absolute;
  inset: 42px 34px 62px 34px;
  transform: rotateX(5deg) rotateY(-8deg) translateZ(34px);
  box-shadow:
    0 34px 100px rgba(5, 3, 14, 0.72),
    0 0 36px rgba(123, 97, 255, 0.24);
}

.hero-video-card video,
.feature-card video,
.studio-panel video,
.example-card video,
.example-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-card video {
  min-height: 100%;
}

.media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 8, 0.28), rgba(4, 4, 8, 0.72)),
    linear-gradient(to top, rgba(5, 4, 11, 0.92), transparent 62%);
}

.hero-video-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 9px;
}

.hero-video-content strong {
  max-width: 430px;
  color: white;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.04;
}

.floating-folder,
.floating-dropdown {
  position: absolute;
  z-index: 4;
  border-radius: var(--radius);
}

.floating-folder {
  display: grid;
  width: 190px;
  gap: 4px;
  padding: 16px;
}

.floating-folder span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(59, 231, 255, 0.12);
  color: #c8efff;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-folder strong {
  font-size: 16px;
}

.floating-folder small {
  color: var(--dim);
  font-weight: 730;
}

.folder-one {
  top: 84px;
  left: 0;
  transform: rotateY(16deg) rotateZ(-2deg) translateZ(80px);
}

.folder-two {
  right: 0;
  bottom: 112px;
  z-index: 12;
  transform: rotateY(-16deg) rotateZ(2deg) translateZ(180px);
}

.floating-dropdown {
  top: 28px;
  right: 22px;
  width: 260px;
  padding: 8px;
  transform: rotateY(-11deg) translateZ(86px);
}

.floating-dropdown > button {
  width: 100%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 11px;
  text-align: left;
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.preview-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.preview-list button {
  display: grid;
  gap: 3px;
  width: 100%;
  border-radius: 6px;
  background: rgba(5, 4, 10, 0.42);
  padding: 9px 10px;
  text-align: left;
}

.preview-list button.is-active {
  outline: 1px solid rgba(143, 207, 255, 0.34);
  background: rgba(143, 207, 255, 0.1);
}

.preview-list span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-list strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.featured,
.studio-overview,
.models-section,
.examples,
.apps {
  padding: 76px 0;
}

.section-heading {
  display: grid;
  gap: 13px;
  margin-bottom: 28px;
}

.section-heading.centered {
  justify-items: center;
  text-align: center;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading p {
  margin: 0;
}

.section-heading h2,
.final-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.7vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.section-heading a,
.section-note {
  color: var(--dim);
  font-size: 14px;
  font-weight: 760;
}

.section-heading a:hover {
  color: white;
}

.featured-rail {
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.feature-card {
  flex: 0 0 min(320px, 82vw);
  height: 330px;
  padding: 20px;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}

.feature-card video {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.feature-card .media-shade {
  display: none;
}

.feature-card span,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  max-width: 230px;
  margin: 178px 0 8px;
  color: white;
  font-size: 26px;
  line-height: 1.04;
}

.feature-card p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.studio-panel {
  min-height: 330px;
}

.prompt-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
}

.panel-top {
  display: grid;
  gap: 8px;
}

.panel-top strong,
.studio-panel h3 {
  color: white;
  font-size: 30px;
  line-height: 1.06;
}

.prompt-panel p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.mode-row,
.settings-row {
  flex-wrap: wrap;
  gap: 9px;
}

.mode-row button,
.settings-row span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 820;
}

.mode-row button.is-active {
  border-color: rgba(143, 207, 255, 0.44);
  background: rgba(143, 207, 255, 0.12);
  color: white;
}

.settings-row span {
  color: var(--dim);
}

.preview-panel {
  min-height: 330px;
}

.preview-panel video {
  position: absolute;
  inset: 0;
}

.preview-panel > div:last-child {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.preview-panel.compact {
  min-height: 260px;
}

.folder-stack {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.folder-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.folder-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.folder-card strong {
  color: white;
}

.model-marquee {
  overflow: hidden;
  border-radius: var(--radius);
  padding: 10px;
}

.marquee-track {
  width: max-content;
  gap: 10px;
  animation: marquee 42s linear infinite;
}

.marquee-track span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.76);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.model-grid,
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.model-card,
.app-card {
  border-radius: var(--radius);
  padding: 24px;
}

.model-card strong,
.app-card strong {
  display: block;
  margin-top: 12px;
  color: white;
  font-size: 24px;
  line-height: 1.1;
}

.model-card p,
.app-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.playground-ad {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(280px, 1fr) minmax(240px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 26px;
  border-radius: var(--radius);
  padding: 18px;
}

.playground-ad-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.playground-ad-media img,
.playground-ad-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notes-shot img {
  object-position: center top;
}

.video-shot video {
  object-position: center center;
}

.playground-ad-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 16px 8px;
}

.playground-ad-copy span {
  color: #9edbff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.playground-ad-copy h2 {
  max-width: 620px;
  margin: 0;
  color: white;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.04;
  font-weight: 900;
}

.playground-ad-copy p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.examples-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  grid-auto-rows: 285px;
  gap: 16px;
}

.example-card.large {
  grid-row: span 2;
}

.example-card > div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.example-card strong {
  color: white;
  font-size: 24px;
  line-height: 1.08;
}

.example-card video,
.example-card img {
  transition: transform 420ms ease;
}

.example-card:hover video,
.example-card:hover img {
  transform: scale(1.035);
}

.example-card.video-fit video {
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.16) contrast(1.04) saturate(1.04);
}

.example-card.kingdom-fit video {
  transform: scale(1.08);
}

.example-card.kingdom-fit:hover video {
  transform: scale(1.1);
}

.example-card.right-video-fit video {
  transform: scale(1.28);
}

.example-card.right-video-fit:hover video {
  transform: scale(1.31);
}

.example-card.video-fit .media-shade {
  background: transparent;
}

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

.app-card {
  min-height: 230px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  margin-bottom: 64px;
  border-radius: var(--radius);
  padding: 32px;
}

.final-cta p {
  margin: 0 0 10px;
}

.site-footer {
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  background: rgba(0, 0, 0, 0.24);
  padding: 70px 0 38px;
}

.footer-inner {
  display: grid;
  gap: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 0.75fr));
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.footer-brand img {
  width: 132px;
  height: 58px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.68;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.footer-social a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 16px;
}

.footer-links h3 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 900;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  font-weight: 760;
}

.footer-links a:hover,
.footer-social a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  padding-top: 26px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 760;
}

.footer-bottom span {
  color: #ff8b7d;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes launchPulse {
  0%,
  100% {
    opacity: 0.68;
    text-shadow: 0 0 0 rgba(255, 59, 92, 0);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 18px rgba(255, 59, 92, 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1280px) {
  .header-actions a:not(.playground-button):not(.avatar-link) {
    display: none;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    order: 3;
  }

  .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - 68px);
    justify-content: stretch;
    gap: 0;
    overflow: auto;
    border-bottom: 1px solid rgba(167, 139, 250, 0.16);
    background: rgba(4, 4, 8, 0.94);
    padding: 12px 18px 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .is-menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

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

  .is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-link,
  .nav-trigger {
    width: 100%;
    padding: 14px 0;
    text-align: left;
  }

  .nav-link::after,
  .nav-trigger::after {
    bottom: 8px;
  }

  .nav-menu {
    position: static;
    width: 100%;
    margin: -4px 0 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }

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

  .hero-visual,
  .preview-stage {
    min-height: 530px;
  }

  .studio-grid,
  .model-grid,
  .playground-ad,
  .examples-grid,
  .apps-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .example-card.large {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: calc(100% - 22px);
  }

  .header-inner {
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand img {
    width: 96px;
  }

  .header-actions {
    gap: 8px;
  }

  .playground-button {
    padding: 0 12px;
    font-size: 12px !important;
  }

  .avatar-link {
    display: none !important;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .main-slogan {
    position: static;
    margin: 0 auto 36px;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions,
  .final-cta,
  .footer-bottom,
  .footer-inner,
  .section-heading.split {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual,
  .preview-stage {
    min-height: 470px;
  }

  .hero-video-card {
    inset: 76px 0 62px;
    transform: rotateX(3deg) rotateY(-4deg);
  }

  .floating-dropdown {
    display: none;
  }

  .floating-folder {
    width: 158px;
    padding: 13px;
  }

  .folder-one {
    top: 14px;
  }

  .folder-two {
    bottom: 18px;
  }

  .studio-grid,
  .model-grid,
  .playground-ad,
  .examples-grid,
  .apps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .examples-grid {
    grid-auto-rows: 300px;
  }

  .featured,
  .studio-overview,
  .models-section,
  .examples,
  .apps {
    padding: 54px 0;
  }

  .prompt-panel p {
    font-size: 16px;
  }
}
