:root {
  --blue: #1877f2;
  --blue-dark: #195ce6;
  --ink: #071326;
  --muted: #687383;
  --line: #e5e9f0;
  --soft: #f7f9fc;
  --dark: #08111f;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(18, 47, 88, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.brand-home {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.top-announcement {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, #2998ed, #176edc 48%, #4430d9);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.top-announcement button {
  position: absolute;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
}

.hero-shell {
  min-height: 960px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #fff9f1 44%, #d7e7fa 66%, #11243b 100%);
}

.canvas-bg,
.canvas-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.canvas-bg {
  background:
    radial-gradient(circle at 26% 18%, #ffe2b9 0 10%, transparent 25%),
    radial-gradient(circle at 72% 42%, #6fc3ff55 0 13%, transparent 34%),
    radial-gradient(circle at 86% 18%, #172d47 0 16%, transparent 36%);
  filter: saturate(1.05);
}

.canvas-grid {
  opacity: .42;
  background:
    linear-gradient(90deg, transparent 0 118px, #ffffff65 119px 120px),
    linear-gradient(0deg, transparent 0 118px, #ffffff55 119px 120px);
  background-size: 120px 120px;
}

.home-header {
  width: min(1360px, calc(100% - 56px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #21a2ff, #4057e8);
  color: #fff;
  box-shadow: 0 10px 24px #1877f238;
}

.brand b { font-size: 14px; }
.home-header nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.home-header nav a {
  color: #151d2b;
  font-size: 12px;
  font-weight: 650;
}

.home-header nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link,
.solid-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.ghost-link { color: #313b4c; }
.solid-link {
  padding: 0 18px;
  background: #08111f;
  color: #fff;
}

.hero {
  width: min(1360px, calc(100% - 56px));
  min-height: 745px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1769c9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 4px;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
}

.hero h1 {
  max-width: 940px;
  margin: 28px 0 22px;
  font-size: clamp(58px, 5vw, 82px);
  line-height: .98;
  letter-spacing: -5px;
  font-weight: 520;
}

.hero-copy > p {
  max-width: 670px;
  margin: 0;
  color: #4f5968;
  font-size: 15px;
  line-height: 1.7;
}

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

.primary-cta,
.secondary-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 850;
}

.primary-cta {
  gap: 18px;
  background: linear-gradient(90deg, #1483f5, #2562ed);
  color: #fff;
  box-shadow: 0 18px 42px #1e72ed33;
}

.primary-cta i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff24;
  font-style: normal;
}

.secondary-cta {
  gap: 10px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #111827;
}

.secondary-cta span {
  color: var(--blue);
}

.trusted {
  display: flex;
  gap: 14px;
  margin-top: 62px;
  color: #66717f;
  font-size: 11px;
}

.trusted b { color: #172033; }

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

.orbital {
  position: absolute;
  border: 1px solid #ffffffb5;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbital.one { width: 780px; height: 330px; right: -120px; top: 92px; }
.orbital.two { width: 620px; height: 250px; right: 20px; top: 170px; }

.model-stack {
  width: 470px;
  height: 470px;
  position: absolute;
  right: 30px;
  top: 48px;
  border-radius: 44% 18% 44% 18%;
  border: 22px solid #eef7ff40;
  background: linear-gradient(145deg, #354f68, #122033 48%, #d89a7b);
  box-shadow: inset 0 0 100px #07142180, 0 35px 110px #0b162575;
  transform: rotate(-5deg);
}

.model-stack article {
  position: absolute;
  width: 180px;
  min-height: 88px;
  padding: 15px;
  border: 1px solid #ffffff55;
  border-radius: 16px;
  background: #081421b5;
  color: #fff;
  backdrop-filter: blur(9px);
  box-shadow: 0 18px 40px #00000030;
}

.model-stack article:nth-child(1) { left: 34px; top: 38px; }
.model-stack article:nth-child(2) { right: 28px; top: 175px; }
.model-stack article:nth-child(3) { left: 118px; bottom: 50px; }
.model-stack small { color: #b7c5d6; font-size: 9px; }
.model-stack b { display: block; margin: 8px 0; font-size: 15px; }
.model-stack em { color: #d9ecff; font-style: normal; font-weight: 900; }

.hero-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffffb8;
  color: #193556;
  font-weight: 950;
  box-shadow: 0 24px 60px #17203324;
}

.node-a { width: 72px; height: 72px; right: 500px; top: 105px; }
.node-b { width: 62px; height: 62px; right: 50px; top: 28px; }
.node-c { width: 86px; height: 54px; right: 320px; bottom: 36px; }

.metrics-strip {
  width: min(1180px, calc(100% - 56px));
  min-height: 134px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 20px auto 0;
  position: relative;
  z-index: 6;
  border: 1px solid #dfe7f0;
  border-radius: 24px;
  background: #ffffffc7;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metrics-strip article {
  padding: 30px;
  border-right: 1px solid #e7edf4;
}

.metrics-strip article:last-child { border-right: 0; }
.metrics-strip b { font-size: 34px; letter-spacing: -1.6px; }
.metrics-strip span { color: var(--blue); font-size: 18px; font-weight: 900; }
.metrics-strip p { margin: 9px 0 0; color: #7a8492; font-size: 10px; font-weight: 850; letter-spacing: 1px; }

.status-band {
  width: min(1180px, calc(100% - 56px));
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -26px auto 105px;
  padding: 22px 26px;
  position: relative;
  z-index: 7;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-band span {
  display: block;
  color: #7b8593;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.status-band b { display: block; margin-top: 7px; font-size: 22px; }
.status-band a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  padding: 13px 18px;
  background: #071326;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.section {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  max-width: 790px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head.compact { max-width: 680px; }
.section-head > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 2px;
}

.section-head h2 {
  margin: 15px 0 16px;
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -3px;
  font-weight: 560;
}

.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: #66717f;
  font-size: 14px;
  line-height: 1.75;
}

.pricing-section {
  padding-top: 40px;
}

.price-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.price-stats article,
.price-model,
.steps-grid article,
.why-grid article,
.faq-list details {
  border: 1px solid #e1e7ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 48px #183a5d0b;
}

.price-stats article {
  padding: 26px;
}

.price-stats small,
.price-model span {
  color: #7c8796;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 1.1px;
}

.price-stats b {
  display: block;
  margin: 14px 0 8px;
  color: #061226;
  font-size: 34px;
  letter-spacing: -1.4px;
}

.price-stats p {
  margin: 0;
  color: #6d7785;
  font-size: 12px;
  line-height: 1.6;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.pricing-tabs button {
  border: 1px solid #e1e7ef;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: #596474;
  font-size: 11px;
  font-weight: 850;
}

.pricing-tabs button.active {
  background: #071326;
  color: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.price-model {
  min-height: 260px;
  padding: 20px;
}

.price-model h3 {
  min-height: 48px;
  margin: 10px 0 18px;
  font-size: 17px;
  letter-spacing: -.5px;
}

.price-compare {
  border-radius: 16px;
  padding: 14px;
  background: #f2f7ff;
}

.price-compare small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 950;
}

.price-compare b {
  display: block;
  margin: 7px 0 2px;
  font-size: 29px;
}

.price-compare em {
  color: #6d7785;
  font-style: normal;
  font-size: 11px;
}

.price-model strong {
  display: block;
  margin: 16px 0;
  color: #1d8a55;
  font-size: 12px;
}

.official {
  display: flex;
  justify-content: space-between;
  color: #7c8796;
  font-size: 11px;
}

.official b { color: #172033; }

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.center-action a,
.building-section a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(90deg, #1483f5, #2562ed);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.models-section {
  width: 100%;
  padding: 118px max(28px, calc((100% - 1180px) / 2));
  background: #f7f9fc;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.featured-card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, #203145, #0a111d);
  box-shadow: 0 25px 70px #17203320;
}

.featured-card:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: #80c7ff2c;
}

.featured-card.omni { background: linear-gradient(145deg, #24455d, #111827 50%, #70536b); }
.featured-card.kling { background: linear-gradient(145deg, #53634f, #111a1a); }
.featured-card.image { background: linear-gradient(145deg, #7a6647, #151311); }
.featured-card span {
  position: relative;
  z-index: 1;
  color: #d5e8ff;
  font-size: 9px;
  font-weight: 950;
}

.featured-card h3,
.featured-card p,
.featured-card b,
.featured-card a {
  position: relative;
  z-index: 1;
}

.featured-card h3 {
  margin: 96px 0 12px;
  font-size: 24px;
  letter-spacing: -1px;
}

.featured-card p {
  min-height: 58px;
  color: #d8e0e9;
  font-size: 12px;
  line-height: 1.65;
}

.featured-card b { display: block; margin: 12px 0 18px; font-size: 22px; }
.featured-card a {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 14px;
  background: #ffffff20;
  font-size: 11px;
  font-weight: 850;
}

.steps-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps-grid article,
.why-grid article {
  padding: 28px;
}

.steps-grid b,
.why-grid b {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 1px;
}

.steps-grid h3,
.why-grid h3 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.steps-grid p,
.why-grid p {
  margin: 0;
  color: #6d7785;
  font-size: 12px;
  line-height: 1.7;
}

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

.why-section {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.faq-section {
  max-width: 920px;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 13px 0 0;
  color: #6d7785;
  font-size: 13px;
  line-height: 1.7;
}

.building-section {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 100px;
  padding: 62px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 20%, #8bc8ff40, transparent 24%),
    linear-gradient(120deg, #08111f, #17345c);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.building-section h2 {
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -2.5px;
}

.building-section p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #d7e2ee;
  font-size: 14px;
  line-height: 1.75;
}

.home-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(28px, calc((100% - 1180px) / 2));
  border-top: 1px solid #e8edf3;
  color: #6d7785;
  font-size: 12px;
}

.home-footer div {
  display: flex;
  gap: 12px;
}

.home-footer b { color: #071326; }
.home-footer nav {
  display: flex;
  gap: 24px;
}

@media (max-width: 1100px) {
  .home-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 760px; }
  .hero-visual { position: absolute; inset: 120px -160px auto auto; width: 520px; opacity: .45; }
  .price-grid, .featured-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .top-announcement { height: 38px; padding: 0 44px 0 14px; font-size: 10px; text-align: center; }
  .home-header { width: calc(100% - 28px); height: 64px; }
  .header-actions { margin-left: auto; }
  .ghost-link { display: none; }
  .solid-link { min-height: 34px; padding: 0 13px; font-size: 10px; }
  .hero { width: calc(100% - 28px); min-height: 640px; }
  .hero h1 { font-size: 43px; letter-spacing: -2.4px; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .trusted { flex-direction: column; gap: 4px; margin-top: 34px; }
  .hero-visual { display: none; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); width: calc(100% - 28px); }
  .metrics-strip article:nth-child(2) { border-right: 0; }
  .metrics-strip article { padding: 22px; }
  .status-band { width: calc(100% - 28px); flex-direction: column; align-items: flex-start; margin-bottom: 50px; }
  .section { width: calc(100% - 28px); padding: 70px 0; }
  .section-head h2 { font-size: 34px; letter-spacing: -1.7px; }
  .price-stats, .price-grid, .featured-grid, .steps-grid, .why-grid { grid-template-columns: 1fr; }
  .pricing-tabs { overflow: auto; justify-content: flex-start; }
  .models-section { padding: 76px 14px; }
  .building-section { width: calc(100% - 28px); padding: 38px 22px; }
  .home-footer { flex-direction: column; align-items: flex-start; padding: 24px 14px; }
}

.play-model {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  background: #fff;
  color: #172033;
  text-align: left;
}

.play-model.active {
  border-color: #1877f2;
  background: #f0f7ff;
  box-shadow: 0 10px 26px #1877f214;
}

.play-model i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(135deg, #21a2ff, #4057e8);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.play-model span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.play-model b {
  font-size: 12px;
}

.play-model small {
  color: #6d7785;
  font-size: 10px;
}

.building-section select {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #ffffff;
  color: #071326;
}

.building-section button.primary-cta {
  border: 0;
  margin: 0 auto;
}

.building-section button.primary-cta:disabled {
  opacity: .65;
  cursor: wait;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #071326;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: .24s ease;
}

.toast.show {
  transform: none;
  opacity: 1;
}
