.landing-body {
  min-height: 100vh;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 16%, rgba(0, 226, 240, 0.14), transparent 23rem),
    radial-gradient(circle at 12% 100%, rgba(0, 255, 196, 0.11), transparent 28rem),
    linear-gradient(180deg, #05070b 0%, #071015 58%, #061314 100%);
}

.landing-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.landing-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 216, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 216, 232, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, black 78%, transparent 100%);
}

.landing-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 39%, rgba(0, 232, 255, 0.13), transparent 31rem),
    radial-gradient(circle at 55% 32%, rgba(47, 55, 180, 0.12), transparent 26rem);
  opacity: 0.82;
  animation: none;
  transform: none;
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
  background: rgba(4, 7, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #26edf4;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
}

.landing-logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: rgba(3, 16, 18, 0.84);
  box-shadow:
    0 0 20px rgba(0, 216, 232, 0.35),
    inset 0 0 18px rgba(0, 216, 232, 0.12);
}

.landing-logo-img {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.3));
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#openDeveloper,
#navStartUse[hidden],
#navLogin[hidden],
.silicon-home.is-logged-in #navStartUse,
.silicon-home.is-logged-in #navLogin {
  display: none !important;
}

.nav-chip,
.language-btn,
.start-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #dce8ef;
  padding: 0 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.start-btn {
  min-width: 90px;
  border: 0;
  color: #001114;
  background: linear-gradient(135deg, #19f4ff, #11e1c2);
  box-shadow: 0 0 22px rgba(0, 216, 232, 0.26);
}

.language-btn {
  border-radius: 999px;
  min-width: 58px;
}

.landing-main {
  position: relative;
  z-index: 1;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  padding: 116px 7vw 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-center {
  position: relative;
  z-index: 2;
  width: min(720px, 92vw);
  text-align: center;
  margin-top: 0;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(0, 216, 232, 0.36);
  background: rgba(0, 216, 232, 0.08);
  color: #22eff7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  box-shadow: inset 0 0 18px rgba(0, 216, 232, 0.08);
}

.hero-center h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 4.7vw, 62px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-center h1 .gradient-word {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #11ffd0 0%, #16e9ff 28%, #51a4ff 52%, #b46bff 76%, #11ffd0 100%);
  background-size: 280% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 36px rgba(0, 216, 232, 0.2);
  animation: gradientShift 7s linear infinite;
}

.hero-center p {
  max-width: 610px;
  margin: 0 auto;
  color: #9caab5;
  font-size: 16px;
  line-height: 1.85;
}

.capability-grid {
  position: relative;
  z-index: 3;
  width: min(1140px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.capability-heading {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 38px;
}

.capability-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: 0;
}

.capability-heading h2 span {
  color: transparent;
  background: linear-gradient(90deg, #11ffd0 0%, #16e9ff 24%, #51a4ff 46%, #b46bff 68%, #ff7bd5 84%, #11ffd0 100%);
  background-size: 280% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradientShift 7s linear infinite;
}

.capability-card {
  position: relative;
  min-height: 228px;
  padding: 28px 23px 27px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 44%, rgba(0, 216, 232, 0.035)),
    rgba(8, 15, 20, 0.78);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.capability-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 216, 232, 0.36);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 46%, rgba(0, 216, 232, 0.065)),
    rgba(8, 15, 20, 0.84);
}

.card-number {
  position: absolute;
  top: 13px;
  right: 22px;
  color: rgba(0, 216, 232, 0.1);
  font-size: 46px;
  font-weight: 950;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(0, 216, 232, 0.22);
  background: rgba(0, 216, 232, 0.12);
  color: #12e8f3;
  font-size: 20px;
  box-shadow: 0 0 24px rgba(0, 216, 232, 0.1);
}

.capability-card h2 {
  position: relative;
  margin: 20px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.capability-card p {
  position: relative;
  min-height: 0;
  margin: 0 0 18px;
  color: #97a5b0;
  font-size: 14px;
  line-height: 1.65;
}

.capability-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #19f1ff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.capability-card a::after {
  content: " →";
}

.ghost-model {
  position: absolute;
  z-index: 0;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  pointer-events: none;
}

.ghost-model-a {
  top: 27px;
  left: 27%;
}

.ghost-model-b {
  top: 32px;
  right: 27%;
}

.ghost-model-c {
  top: 87px;
  right: 14%;
}

.next-pill {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(0, 216, 232, 0.32);
  background: rgba(0, 216, 232, 0.08);
  color: #22eff7;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.5px;
}

.platform-section {
  min-height: 56vh;
  padding: 82px 7vw 34px;
  background:
    radial-gradient(circle at 68% 0%, rgba(0, 216, 232, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(4, 9, 12, 0), rgba(5, 13, 17, 0.96));
}

.journey-copy {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.journey-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.14;
  font-weight: 950;
}

.journey-copy h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #11ffd0 0%, #16e9ff 28%, #51a4ff 52%, #b46bff 76%, #11ffd0 100%);
  background-size: 280% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradientShift 7s linear infinite;
}

.journey-copy p {
  margin: 14px auto 0;
  max-width: 760px;
  color: #9caab5;
  font-size: 15px;
  line-height: 1.8;
}

.journey-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.journey-primary,
.journey-secondary {
  min-width: 156px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-primary {
  color: #fff;
  background: linear-gradient(135deg, #1ec6eb, #12d8e8);
  box-shadow: 0 0 24px rgba(0, 216, 232, 0.22);
}

.journey-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  width: min(980px, 100%);
  margin: 82px auto 0;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  color: #93a0aa;
  font-size: 13px;
}

.footer-links button,
.footer-links a {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-links button:nth-child(3),
.footer-links button:nth-child(4) {
  color: #19f1ff;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.payment-badges span {
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e3ea;
  font-size: 12px;
  font-weight: 800;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 280% 50%;
  }
}

.floating-service {
  position: fixed;
  right: 31px;
  bottom: 31px;
  z-index: 7;
  width: 51px;
  height: 51px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #16f3ff, #0db6e5);
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 42px rgba(0, 216, 232, 0.32);
}

.landing-modal {
  width: min(380px, 94vw);
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #181c22;
  border-color: rgba(255, 255, 255, 0.12);
}

.service-dialog {
  color: #f5fbff;
}

.service-head {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  padding: 19px 20px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-head-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 216, 232, 0.12);
  color: #0fe8f4;
  font-weight: 900;
}

.service-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.service-head p {
  margin: 2px 0 0;
  color: #929ba5;
  font-size: 12px;
}

.service-body {
  padding: 20px;
}

.agent-card,
.worktime-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.agent-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55)),
    url("./assets/service-mr.jpg")
      center / cover;
}

.agent-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.agent-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 196, 126, 0.12);
  color: #1ee992;
  font-size: 12px;
  font-weight: 800;
}

.agent-card i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1ee992;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 0 15px;
}

.service-qr-img {
  width: 174px;
  height: 174px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.qr-card p {
  margin: 0;
  color: #7f8994;
  font-size: 12px;
}

.worktime-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
}

.time-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(111, 70, 255, 0.24);
  color: #a987ff;
}

.worktime-card span {
  display: block;
  color: #8f9aa5;
  font-size: 12px;
}

.worktime-card strong {
  font-size: 15px;
}

.developer-list {
  display: grid;
  gap: 10px;
}

.developer-list article {
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 10px;
  background: rgba(109, 40, 242, 0.045);
  padding: 13px 14px;
}

.developer-list strong,
.developer-list span {
  display: block;
}

.developer-list strong {
  color: #171422;
  font-size: 14px;
}

.developer-list span {
  margin-top: 5px;
  color: #777186;
  font-size: 12px;
  line-height: 1.55;
}

.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 11px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-actions button {
  height: 38px;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.service-ghost {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #fff;
}

.service-primary {
  border: 0;
  background: linear-gradient(135deg, #17d9ee, #12b9d7);
  color: #fff;
}

@media (max-width: 1050px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-body {
    background:
      radial-gradient(circle at 50% 12%, rgba(0, 226, 240, 0.12), transparent 16rem),
      linear-gradient(180deg, #05070b 0%, #061015 100%);
  }

  .landing-nav {
    height: auto;
    min-height: 58px;
    padding: 12px 15px;
  }

  .nav-chip,
  .language-btn {
    display: none;
  }

  .landing-hero {
    min-height: auto;
    padding: 92px 16px 58px;
  }

  .hero-center {
    width: 100%;
  }

  .hero-center h1 {
    font-size: clamp(38px, 14vw, 54px);
  }

  .hero-center p {
    font-size: 14px;
    line-height: 1.75;
  }

  .capability-heading {
    margin-top: 34px;
  }

  .capability-heading h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .capability-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .platform-section {
    min-height: auto;
    padding: 64px 16px 28px;
  }

  .journey-copy h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .journey-actions {
    grid-template-columns: 1fr;
    display: grid;
    gap: 12px;
  }

  .site-footer {
    margin-top: 54px;
  }

  .footer-links {
    gap: 8px 10px;
    font-size: 12px;
  }

  .landing-modal {
    width: min(380px, calc(100vw - 24px));
  }

  .floating-service {
    right: 18px;
    bottom: 18px;
  }
}

/* Minimal enterprise landing theme */
.landing-body {
  background:
    radial-gradient(circle at 52% 0%, rgba(109, 40, 242, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 30%, rgba(139, 92, 246, 0.1), transparent 24rem),
    linear-gradient(180deg, #fbfaff 0%, #f4f0ff 100%);
}

.landing-body::before {
  background:
    linear-gradient(rgba(98, 43, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 43, 226, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.landing-body::after {
  background:
    radial-gradient(circle at 50% 34%, rgba(109, 40, 242, 0.08), transparent 28rem),
    radial-gradient(circle at 60% 20%, rgba(139, 92, 246, 0.08), transparent 20rem);
}

.landing-canvas {
  display: none;
}

.landing-nav {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(98, 43, 226, 0.1);
  box-shadow: 0 12px 40px rgba(45, 28, 90, 0.06);
}

.landing-brand {
  color: #5f24d8;
}

.landing-logo {
  background: #fff;
  color: #6d28f2;
  border-radius: 10px;
  border-color: rgba(109, 40, 242, 0.28);
  box-shadow: 0 10px 28px rgba(109, 40, 242, 0.14);
}

.landing-logo-img {
  filter: drop-shadow(0 0 8px rgba(109, 40, 242, 0.28));
}

.nav-chip,
.language-btn {
  background: #fff;
  color: #4f4664;
  border-color: rgba(98, 43, 226, 0.13);
}

.start-btn {
  color: #fff;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  box-shadow: 0 12px 28px rgba(109, 40, 242, 0.22);
}

.section-pill,
.next-pill {
  color: #6d28f2;
  border-color: rgba(109, 40, 242, 0.18);
  background: rgba(109, 40, 242, 0.08);
  box-shadow: none;
}

.hero-center h1 .gradient-word,
.capability-heading h2 span,
.journey-copy h2 span {
  background: linear-gradient(90deg, #6d28f2 0%, #7c3aed 28%, #a855f7 58%, #5b21b6 100%);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-center h1,
.capability-heading h2,
.journey-copy h2 {
  color: #171422;
  text-shadow: none;
}

.hero-center p,
.journey-copy p,
.platform-copy p {
  color: #6f6a7c;
}

.capability-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(98, 43, 226, 0.12);
  box-shadow: 0 20px 56px rgba(45, 28, 90, 0.08);
  backdrop-filter: blur(14px);
}

.capability-card:hover {
  border-color: rgba(109, 40, 242, 0.28);
  background: #fff;
}

.card-number {
  color: rgba(109, 40, 242, 0.1);
}

.card-icon {
  color: #6d28f2;
  background: rgba(109, 40, 242, 0.09);
  border-color: rgba(109, 40, 242, 0.16);
  box-shadow: none;
}

.capability-card h2 {
  color: #171422;
}

.capability-card p {
  color: #6f6a7c;
}

.capability-card a,
.footer-links button:nth-child(3),
.footer-links button:nth-child(4) {
  color: #6d28f2;
}

.platform-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 40, 242, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.74));
}

.journey-primary,
.floating-service,
.service-primary {
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  box-shadow: 0 14px 34px rgba(109, 40, 242, 0.24);
}

.journey-secondary,
.payment-badges span,
.agent-card,
.worktime-card {
  background: rgba(255, 255, 255, 0.82);
  color: #171422;
  border-color: rgba(98, 43, 226, 0.12);
}

.site-footer,
.footer-links,
.qr-card p,
.service-head p,
.worktime-card span {
  color: #777186;
}

.landing-modal {
  background: #fff;
  color: #171422;
  border-color: rgba(98, 43, 226, 0.13);
  box-shadow: 0 28px 80px rgba(45, 28, 90, 0.18);
}

.service-head {
  border-bottom-color: rgba(98, 43, 226, 0.1);
}

.service-head-icon,
.time-icon {
  background: rgba(109, 40, 242, 0.1);
  color: #6d28f2;
}

.service-actions {
  border-top-color: rgba(98, 43, 226, 0.1);
}

.service-ghost {
  color: #4f4664;
  border-color: rgba(98, 43, 226, 0.14);
}

.hero-center h1 .gradient-word,
.capability-heading h2 span,
.journey-copy h2 span {
  animation: none !important;
  background-position: 50% 50%;
}

.service-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 42px;
  margin-right: auto;
}

.service-nav a {
  position: relative;
  color: #4f4664;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.service-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28f2, #8b5cf6);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.service-nav a:hover,
.service-nav a.active {
  color: #6d28f2;
}

.service-nav a:hover::after,
.service-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.sf-hero,
.compute-hero {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 150px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 58px;
  overflow: visible;
  isolation: isolate;
}

.compute-hero {
  width: min(1200px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 76px;
  right: min(-120px, calc((100vw - 1440px) / 2));
  bottom: -24px;
  left: min(-120px, calc((100vw - 1440px) / 2));
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 255, 0.49) 42%, rgba(255, 255, 255, 0.70) 100%),
    url("./assets/005-q76.webp") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 86%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 7%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.hero-video-bg video {
  position: relative;
  z-index: 1;
  width: 112%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translateX(-4%);
  opacity: 1;
  transition: opacity 0.82s ease;
}

.hero-image-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.82s ease;
}

.hero-image-carousel span {
  position: absolute;
  inset: 0;
  background: var(--hero-slide) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 0.82s ease, transform 4.8s ease;
}

.hero-image-carousel span.active {
  opacity: 1;
  transform: scale(1);
}

.hero-video-bg.show-carousel video {
  opacity: 0;
}

.hero-video-bg.show-carousel .hero-image-carousel {
  opacity: 1;
}

.hero-media-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-media-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.22);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.hero-media-dots button.active {
  width: 46px;
  background: #6d28f2;
}

.hero-video-bg::before,
.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video-bg::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 28%, rgba(250, 247, 255, 0.09) 56%, rgba(255, 255, 255, 0.11) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(250, 247, 255, 0.02) 42%, rgba(255, 255, 255, 0.14));
}

.hero-video-bg::after {
  z-index: 2;
  background:
    linear-gradient(rgba(109, 40, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 242, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 30%, rgba(139, 92, 246, 0.18), transparent 24rem),
    linear-gradient(90deg, transparent 0 68%, rgba(255, 255, 255, 0.11) 86%, rgba(255, 255, 255, 0.14) 100%);
  background-size: 42px 42px, 42px 42px, auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: radial-gradient(ellipse at 58% 45%, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.55) 54%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse at 58% 45%, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.55) 54%, #000 100%);
  mix-blend-mode: multiply;
}

.hero-video-bg.no-mask::before,
.hero-video-bg.no-mask::after {
  opacity: 0;
}

.hero-video-bg.no-mask {
  background: url("./assets/005-q76.webp") center / cover no-repeat;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero-video-bg.no-mask ~ .sf-copy::before {
  opacity: 0;
}

.hero-video-bg.no-mask ~ .sf-copy h1,
.hero-video-bg.no-mask ~ .sf-copy p {
  color: #fff;
}

.sf-copy,
.sf-console {
  position: relative;
  z-index: 2;
}

.sf-copy {
  isolation: isolate;
}

.sf-copy::before {
  content: "";
  position: absolute;
  inset: -68px -34px -78px -72px;
  z-index: -1;
  border-radius: 44px;
  background:
    radial-gradient(ellipse at 18% 48%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 30%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22) 46%, rgba(255, 255, 255, 0) 72%);
  filter: blur(9px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 82%, transparent 100%);
}

.sf-copy h1,
.compute-copy h1 {
  margin: 20px 0 22px;
  color: #171422;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 950;
}

.sf-copy h1 {
  max-width: 980px;
  color: transparent;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  background: linear-gradient(90deg, #5b8fff 0%, #2267f2 38%, #5c5ff5 68%, #8b63ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 10px 34px rgba(42, 103, 242, 0.12);
}

.sf-copy p,
.compute-copy p {
  max-width: 680px;
  margin: 0;
  color: #6f6a7c;
  font-size: 18px;
  line-height: 1.9;
}

.sf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.sf-primary,
.sf-secondary {
  min-width: 168px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.sf-primary {
  color: #fff;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  box-shadow: 0 14px 34px rgba(109, 40, 242, 0.24);
}

.sf-secondary {
  border: 1px solid rgba(98, 43, 226, 0.16);
  background: #fff;
  color: #4f4664;
}

.sf-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 680px;
  margin-top: 42px;
}

.sf-hero.is-first-image-slide .sf-metrics {
  display: none;
}

.sf-hero.is-second-image-slide .sf-copy > .sf-actions,
.sf-hero.is-second-image-slide .sf-metrics {
  display: none;
}

.sf-hero.is-second-image-slide .sf-copy {
  transform: translateY(116px);
}

.sf-hero.is-second-image-slide .sf-copy p {
  max-width: min(1120px, calc(100vw - 96px));
  white-space: normal;
}

.sf-metrics span,
.sf-metrics button,
.sf-console,
.gpu-panel,
.sf-product-card,
.sf-capability-grid article,
.compute-market-grid article {
  border: 1px solid rgba(98, 43, 226, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 58px rgba(45, 28, 90, 0.08);
  backdrop-filter: blur(14px);
}

.sf-metrics span,
.sf-metrics button {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
}

.sf-metrics button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sf-metrics button:hover,
.sf-metrics button:focus-visible {
  border-color: rgba(109, 40, 242, 0.28);
  box-shadow: 0 24px 64px rgba(109, 40, 242, 0.14);
  transform: translateY(-3px);
}

.sf-metrics button:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.24);
  outline-offset: 3px;
}

.sf-metrics strong {
  color: #6d28f2;
  font-size: 28px;
}

.sf-metrics small {
  color: #6f6a7c;
}

.sf-console,
.gpu-panel {
  border-radius: 28px;
  padding: 24px;
}

.sf-console {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 72px rgba(45, 28, 90, 0.1);
  backdrop-filter: blur(18px);
  display: none;
}

.console-top {
  display: flex;
  gap: 8px;
  padding-bottom: 22px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8b8ff;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.console-grid article {
  min-height: 142px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(109, 40, 242, 0.1), rgba(255, 255, 255, 0.26));
  backdrop-filter: blur(12px);
}

.console-grid b,
.gpu-header b,
.sf-product-card h3,
.sf-capability-grid strong,
.compute-market-grid h3 {
  color: #171422;
}

.console-grid em,
.gpu-list span,
.sf-product-card p,
.sf-capability-grid p,
.compute-market-grid p {
  color: #6f6a7c;
  font-style: normal;
  line-height: 1.7;
}

.sf-section,
.compute-section {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.sf-section-head {
  text-align: center;
  margin-bottom: 34px;
}

.sf-section-head h2 {
  margin: 18px auto 0;
  max-width: 1120px;
  color: transparent;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(90deg, #5b8fff 0%, #2267f2 38%, #5c5ff5 68%, #8b63ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 10px 34px rgba(42, 103, 242, 0.12);
}

.sf-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sf-product-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border-radius: 26px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sf-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 40, 242, 0.28);
}

.sf-product-card span {
  color: rgba(109, 40, 242, 0.28);
  font-size: 42px;
  font-weight: 950;
}

.sf-product-card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.sf-product-card b {
  color: #6d28f2;
}

.sf-capability-grid,
.compute-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sf-capability-grid article,
.compute-market-grid article {
  min-height: 180px;
  padding: 24px;
  border-radius: 22px;
}

.compute-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.compute-body {
  background:
    radial-gradient(circle at 20% 12%, rgba(109, 40, 242, 0.14), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(139, 92, 246, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfaff 0%, #f4f0ff 100%);
}

.home-compute-showcase {
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  padding: 18px 0 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(109, 40, 242, 0.1), transparent 24rem),
    radial-gradient(circle at 82% 20%, rgba(139, 92, 246, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 242, 255, 0.74) 14%, rgba(246, 242, 255, 0.58) 88%, rgba(255, 255, 255, 0));
}

.reveal-up {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 0.82s ease,
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 {
  --reveal-delay: 100ms;
}

.reveal-delay-2 {
  --reveal-delay: 200ms;
}

.reveal-delay-3 {
  --reveal-delay: 300ms;
}

.reveal-delay-4 {
  --reveal-delay: 400ms;
}

.home-compute-showcase .compute-hero {
  padding-top: 84px;
}

.home-compute-showcase .compute-copy h1 {
  margin: 20px 0 14px;
  color: transparent;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  background: linear-gradient(90deg, #5b8fff 0%, #2267f2 38%, #5c5ff5 68%, #8b63ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.home-compute-showcase .compute-builder-section,
.home-compute-showcase .compute-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.gpu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.gpu-header span {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(24, 185, 129, 0.1);
  color: #18b981;
  font-weight: 900;
}

.gpu-list {
  display: grid;
  gap: 14px;
}

.gpu-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(98, 43, 226, 0.1);
}

.gpu-list strong {
  color: #171422;
  font-size: 22px;
}

.gpu-list em {
  grid-row: span 2;
  align-self: center;
  color: #6d28f2;
  font-style: normal;
  font-weight: 900;
}

.compute-flow {
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.compute-flow span {
  border: 1px solid rgba(109, 40, 242, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5b526c;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.compute-flow i {
  width: 22px;
  height: 1px;
  background: rgba(109, 40, 242, 0.28);
}

.compute-overview-panel {
  display: grid;
  gap: 18px;
}

.compute-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compute-kpi-grid div {
  border-radius: 16px;
  background: rgba(109, 40, 242, 0.07);
  padding: 14px;
}

.compute-kpi-grid strong {
  display: block;
  color: #6d28f2;
  font-size: 26px;
  line-height: 1;
}

.compute-kpi-grid span {
  display: block;
  margin-top: 8px;
  color: #6f6a7c;
  font-size: 12px;
  font-weight: 800;
}

.compute-market-grid {
  display: flex;
  grid-template-columns: none;
  align-items: stretch;
  min-height: 218px;
}

.compute-market-grid article > span:not(.market-card-bg) {
  color: #6d28f2;
  font-weight: 900;
}

.compute-market-grid article {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  overflow: hidden;
  transition:
    flex 0.52s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.compute-market-grid.is-interactive article {
  flex: 0.88 1 0;
}

.compute-market-grid article.market-card-active {
  flex: 2.18 1 0;
}

.market-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.42s ease, transform 0.58s cubic-bezier(0.4, 0, 0.2, 1);
}

.market-card-bg {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.compute-market-grid article[data-market-card="container"] .market-card-bg {
  background-image: url("./assets/001-market.webp");
}

.compute-market-grid article[data-market-card="baremetal"] .market-card-bg {
  background-image: url("./assets/002-market.webp");
}

.compute-market-grid article[data-market-card="workstation"] .market-card-bg {
  background-image: url("./assets/003-workstation.webp");
}

.compute-market-grid article > span:not(.market-card-bg),
.compute-market-grid h3,
.compute-market-grid p {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, font-weight 0.2s ease, opacity 0.24s ease, transform 0.24s ease;
}

.compute-market-grid article.market-card-active {
  border-color: rgba(109, 40, 242, 0.28);
  background: rgba(18, 20, 52, 0.88);
  box-shadow: 0 24px 66px rgba(45, 28, 90, 0.12);
  transform: translateY(-3px);
}

.compute-market-grid article.market-card-active .market-card-bg {
  opacity: 1;
}

.compute-market-grid article.market-card-active .market-card-bg {
  transform: scale(1);
}

.compute-market-grid article.market-card-active > span:not(.market-card-bg),
.compute-market-grid article.market-card-active h3 {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.compute-market-grid article.market-card-active p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.compute-mode-section {
  position: relative;
  padding-top: 28px;
}

#compute-products {
  padding-top: 6px;
}

#compute-products > .sf-section-head {
  display: none;
}

.operation-mode-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.operation-mode-grid::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 62px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(109, 40, 242, 0.5), rgba(91, 143, 255, 0.38), transparent);
  box-shadow: 0 0 18px rgba(109, 40, 242, 0.12);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.28s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.operation-mode-grid article,
.resource-board,
.delivery-panel,
.monitor-grid article {
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 58px rgba(45, 28, 90, 0.08);
  backdrop-filter: blur(14px);
}

.operation-mode-grid article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 16px;
  min-height: 210px;
  padding: 24px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

body.has-reveal-js .operation-mode-grid article {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  will-change: opacity, transform;
}

.operation-mode-grid article::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 56px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d28f2;
  box-shadow: 0 0 0 7px rgba(109, 40, 242, 0.08), 0 0 18px rgba(109, 40, 242, 0.24);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.compute-mode-section.is-visible .operation-mode-grid::before {
  opacity: 1;
  transform: scaleX(1);
}

body.has-reveal-js .compute-mode-section.is-visible .operation-mode-grid article {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.compute-mode-section.is-visible .operation-mode-grid article::before {
  opacity: 1;
  transform: scale(1);
}

.operation-mode-grid article:nth-child(1) {
  transition-delay: 0.04s;
}

.operation-mode-grid article:nth-child(2) {
  transition-delay: 0.12s;
}

.operation-mode-grid article:nth-child(3) {
  transition-delay: 0.2s;
}

.operation-mode-grid article:nth-child(4) {
  transition-delay: 0.28s;
}

.operation-mode-grid article:hover {
  border-color: rgba(109, 40, 242, 0.28);
  background: linear-gradient(180deg, rgba(109, 40, 242, 0.07), rgba(255, 255, 255, 0.86));
  box-shadow: 0 24px 66px rgba(45, 28, 90, 0.12);
  transform: translateY(-3px);
}

.compute-mode-section.is-visible .operation-mode-grid article:nth-child(1)::before {
  transition-delay: 0.12s;
}

.compute-mode-section.is-visible .operation-mode-grid article:nth-child(2)::before {
  transition-delay: 0.26s;
}

.compute-mode-section.is-visible .operation-mode-grid article:nth-child(3)::before {
  transition-delay: 0.4s;
}

.compute-mode-section.is-visible .operation-mode-grid article:nth-child(4)::before {
  transition-delay: 0.54s;
}

.operation-mode-grid b,
.operation-mode-grid h3 {
  color: rgba(109, 40, 242, 1);
  font-size: 34px;
  line-height: 1;
  font-weight: 760;
  transition: color 0.2s ease, transform 0.2s ease, font-weight 0.2s ease;
}

.operation-mode-grid article:hover b,
.operation-mode-grid article:hover h3 {
  color: rgba(109, 40, 242, 0.62);
  font-weight: 900;
  transform: translateY(-1px);
}

.resource-toolbar h3,
.delivery-panel h3,
.monitor-grid h3 {
  margin: 10px 0;
  color: #171422;
}

.operation-mode-grid h3 {
  margin: 0;
}

.operation-mode-grid p,
.resource-toolbar span,
.monitor-grid p {
  color: #6f6a7c;
  line-height: 1.7;
}

.operation-mode-grid p {
  grid-column: 1 / -1;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.operation-mode-grid article:hover p {
  color: #2f2740;
  font-weight: 700;
}

.resource-board {
  margin-top: 22px;
  padding: 24px;
}

.resource-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.resource-toolbar h3 {
  margin: 0;
}

.resource-table {
  display: grid;
  gap: 8px;
}

.resource-table > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  border-radius: 12px;
  background: rgba(109, 40, 242, 0.045);
  padding: 13px 14px;
  color: #6f6a7c;
}

.resource-table .table-head {
  background: transparent;
  color: #8a8398;
  font-size: 13px;
  font-weight: 900;
}

.resource-table strong {
  color: #171422;
}

.resource-table em {
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.1);
  color: #171422;
  padding: 5px 9px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.compute-builder-section {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0;
}

.compute-builder {
  display: grid;
  gap: 22px;
}

.compute-secondary-panel {
  display: none;
}

.builder-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.builder-tabs button {
  height: 64px;
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #4f4664;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(45, 28, 90, 0.05);
}

.builder-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  box-shadow: 0 18px 38px rgba(109, 40, 242, 0.22);
}

.builder-card,
.builder-order {
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(45, 28, 90, 0.07);
  padding: 24px;
}

.builder-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.builder-card h3,
.builder-card-head h3,
.order-spec h3,
.billing-options h3 {
  margin: 0;
  color: #171422;
  font-size: 17px;
}

.builder-card-head a {
  color: #6d28f2;
  text-decoration: none;
  font-weight: 900;
}

.gpu-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gpu-type {
  position: relative;
  min-height: 214px;
  padding: 26px;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(109, 40, 242, 0.045), #fff);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gpu-type:hover,
.gpu-type:focus-visible {
  border-color: rgba(109, 40, 242, 0.32);
  box-shadow: 0 16px 42px rgba(45, 28, 90, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.gpu-type.active {
  border-color: rgba(109, 40, 242, 0.55);
  box-shadow: inset 3px 0 0 #6d28f2;
}

.gpu-zone {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(109, 40, 242, 0.08);
  color: #6d28f2;
  font-size: 13px;
  font-weight: 900;
}

.gpu-type h4 {
  margin: 10px 0 20px;
  color: #403b4d;
  font-size: 24px;
}

.gpu-type dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(98, 43, 226, 0.1);
}

.gpu-type dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.gpu-type dt {
  color: #7a7388;
}

.gpu-type dd {
  margin: 0;
  color: #403b4d;
}

.gpu-type footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.gpu-type footer span {
  color: #2e6de8;
  font-weight: 900;
}

.gpu-type footer strong {
  color: #ff6b00;
  font-size: 28px;
}

.gpu-type footer small {
  color: #6f6a7c;
  font-size: 14px;
}

.builder-card.compact {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 20px;
}

.gpu-count-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gpu-count-row button {
  min-width: 104px;
  min-height: 56px;
  border: 1px solid rgba(98, 43, 226, 0.13);
  border-radius: 8px;
  background: #fff;
  color: #403b4d;
  font-weight: 900;
  cursor: pointer;
}

.gpu-count-row button.active {
  color: #6d28f2;
  border-color: rgba(109, 40, 242, 0.55);
  box-shadow: inset 0 0 0 1px rgba(109, 40, 242, 0.2);
}

.gpu-count-row span {
  display: block;
  margin-top: 4px;
  color: #777186;
  font-size: 12px;
  font-weight: 700;
}

.config-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.config-title span {
  color: #bd7a00;
  font-size: 13px;
  font-weight: 900;
}

.config-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 14px;
  padding: 22px;
}

.config-form label {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.config-form label > span {
  color: #403b4d;
  font-weight: 900;
}

.config-form label button,
.config-form label > div {
  min-height: 48px;
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 9px;
  background: #faf9ff;
}

.config-form label button {
  color: #777186;
  font-weight: 800;
  cursor: pointer;
}

.config-form .option-row {
  align-items: start;
}

.config-form .config-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 0;
  padding: 10px;
}

.config-form .config-option-list button {
  min-height: 42px;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 9px;
  background: #fff;
  color: #5f596f;
  padding: 9px 12px;
  text-align: left;
  line-height: 1.35;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.config-form .config-option-list button:hover {
  border-color: rgba(109, 40, 242, 0.32);
  color: #403b4d;
}

.config-form .config-option-list button.active {
  border-color: rgba(109, 40, 242, 0.58);
  background: rgba(109, 40, 242, 0.07);
  color: #6d28f2;
  box-shadow: inset 0 0 0 1px rgba(109, 40, 242, 0.14);
}

.warning-note {
  width: min(560px, 100%);
  margin: 0 0 0 140px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 176, 0, 0.24);
  background: rgba(255, 176, 0, 0.08);
  color: #ad7400;
  font-size: 13px;
}

.storage-row div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #6f6a7c;
}

.storage-row .storage-option-list {
  align-items: stretch;
  padding: 10px;
}

.storage-row b {
  color: #403b4d;
}

.storage-row em {
  margin-left: auto;
  color: #6d28f2;
  font-style: normal;
}

.storage-row a {
  margin-left: auto;
  color: #6d28f2;
  text-decoration: none;
  font-weight: 900;
}

.builder-order {
  display: grid;
  grid-template-columns: 260px 1fr 190px;
  align-items: center;
  gap: 26px;
}

.order-spec {
  border-right: 1px solid rgba(98, 43, 226, 0.1);
  padding-right: 24px;
}

.order-spec p {
  margin: 6px 0;
  color: #6f6a7c;
}

.billing-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.billing-options h3 {
  grid-column: 1 / -1;
}

.billing-options button {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(98, 43, 226, 0.13);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.billing-options button.active {
  border-color: rgba(109, 40, 242, 0.55);
  background: rgba(109, 40, 242, 0.05);
}

.billing-options span {
  color: #403b4d;
  font-weight: 900;
}

.billing-options strong {
  display: block;
  margin-top: 8px;
  color: #d92d20;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
}

.create-order button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.create-order p {
  text-align: center;
  color: #6f6a7c;
}

.create-order a {
  color: #6d28f2;
  text-decoration: none;
  font-weight: 900;
}

.operation-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 20px;
}

.delivery-panel {
  padding: 24px;
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-list div {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  background: rgba(109, 40, 242, 0.045);
  padding: 13px 14px;
}

.order-list b {
  color: #171422;
}

.order-list span {
  color: #6f6a7c;
}

.order-list em {
  color: #6d28f2;
  font-style: normal;
  font-weight: 950;
}

.instance-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.instance-timeline span {
  position: relative;
  border-radius: 12px;
  background: rgba(109, 40, 242, 0.045);
  color: #6f6a7c;
  padding: 14px 14px 14px 36px;
  font-weight: 900;
}

.instance-timeline span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8b8ff;
  transform: translateY(-50%);
}

.instance-timeline .done {
  color: #18a66f;
}

.instance-timeline .done::before {
  background: #18b981;
}

.instance-timeline .active {
  color: #6d28f2;
  background: rgba(109, 40, 242, 0.1);
}

.instance-timeline .active::before {
  background: #6d28f2;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.monitor-grid article {
  padding: 22px;
}

.metric-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.1);
  margin: 18px 0 12px;
}

.metric-bar span {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d28f2, #8b5cf6);
}

@media (max-width: 980px) {
  .service-nav {
    gap: 16px;
    margin-left: 22px;
  }

  .sf-hero,
  .compute-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 118px;
  }

  .sf-console,
  .gpu-panel {
    max-width: 720px;
  }

  .sf-console {
    transform: none;
  }

  .hero-video-bg {
    inset: 118px -18px auto -18px;
    height: 520px;
    opacity: 0.42;
  }

  .hero-video-bg video {
    display: none;
  }

  .hero-image-carousel {
    opacity: 1;
  }

  .hero-media-dots {
    display: none;
  }

  .hero-video-bg::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.58) 44%, rgba(255, 255, 255, 0.96)),
      linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 255, 0.42));
  }

  .sf-capability-grid,
  .compute-market-grid,
  .gpu-type-grid,
  .operation-mode-grid,
  .monitor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operation-dashboard {
    grid-template-columns: 1fr;
  }

  .operation-mode-grid::before,
  .operation-mode-grid article::before {
    display: none;
  }

  .compute-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compute-market-grid article,
  .compute-market-grid.is-interactive article,
  .compute-market-grid article.market-card-active {
    flex: none;
  }

  .builder-order {
    grid-template-columns: 1fr;
  }

  .order-spec {
    border-right: 0;
    border-bottom: 1px solid rgba(98, 43, 226, 0.1);
    padding: 0 0 18px;
  }
}

@media (max-width: 720px) {
  .service-nav {
    order: 3;
    width: 100%;
    margin: 10px 0 0;
    overflow-x: auto;
  }

  .landing-nav {
    flex-wrap: wrap;
  }

  .sf-hero,
  .compute-hero,
  .sf-section,
  .compute-section {
    width: min(100% - 32px, 1200px);
  }

  .sf-copy h1,
  .compute-copy h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .sf-copy h1 {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1;
  }

  .sf-section-head h2 {
    font-size: clamp(26px, 8vw, 38px);
    white-space: normal;
  }

  .sf-copy p,
  .compute-copy p {
    font-size: 15px;
  }

  .sf-hero.is-second-image-slide .sf-copy {
    transform: none;
  }

  .sf-hero.is-second-image-slide .sf-copy p {
    max-width: 100%;
    white-space: normal;
  }

  .sf-product-grid,
  .console-grid,
  .sf-capability-grid,
  .compute-market-grid,
  .gpu-type-grid,
  .builder-tabs,
  .billing-options {
    grid-template-columns: 1fr;
  }

  .sf-actions {
    display: grid;
  }

  .sf-copy::before {
    inset: -48px -34px -54px;
    background:
      radial-gradient(ellipse at 24% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0) 82%);
    filter: blur(12px);
  }

  .compute-builder-section {
    width: min(100% - 32px, 1320px);
  }

  .builder-card.compact,
  .config-form label {
    grid-template-columns: 1fr;
  }

  .warning-note {
    margin-left: 0;
  }

  .storage-row div {
    flex-wrap: wrap;
  }

  .compute-kpi-grid,
  .operation-mode-grid,
  .monitor-grid {
    grid-template-columns: 1fr;
  }

  .resource-toolbar,
  .resource-table > div,
  .order-list div {
    grid-template-columns: 1fr;
  }

  .resource-table .table-head {
    display: none;
  }

  .instance-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .reveal-up {
    transform: translateY(22px) scale(0.992);
    transition-duration: 0.56s;
  }

  .landing-nav {
    min-height: 64px;
    padding: 10px 16px;
    gap: 10px;
  }

  .landing-brand {
    flex: 1 1 auto;
  }

  .service-nav {
    order: 5;
    width: 100%;
    margin: 4px 0 0;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-nav::-webkit-scrollbar {
    display: none;
  }

  .service-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .landing-actions {
    gap: 8px;
  }

  .landing-actions .nav-chip,
  .landing-actions .language-btn {
    display: none;
  }

  .start-btn {
    min-width: 88px;
    height: 36px;
    padding: 0 14px;
  }

  .sf-hero,
  .compute-hero {
    padding-top: 112px;
  }

  .sf-copy,
  .compute-copy {
    max-width: 100%;
  }

  .sf-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .sf-primary,
  .sf-secondary {
    width: 100%;
    justify-content: center;
  }

  .compute-flow {
    align-items: stretch;
  }

  .compute-flow span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .compute-flow i {
    display: none;
  }

  .compute-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compute-market-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .compute-market-grid article,
  .compute-market-grid.is-interactive article,
  .compute-market-grid article.market-card-active {
    min-height: 210px;
    flex: none;
    transform: none;
  }

  .compute-market-grid article .market-card-bg {
    opacity: 1;
    transform: scale(1);
  }

  .compute-market-grid article > span:not(.market-card-bg),
  .compute-market-grid article h3 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }

  .compute-market-grid article p {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }

  .resource-board {
    padding: 18px;
  }

  .resource-table {
    gap: 12px;
  }

  .resource-table > div:not(.table-head) {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: start;
    padding: 14px;
  }

  .resource-table > div:not(.table-head) span:first-child {
    color: #171422;
    font-weight: 900;
  }

  .resource-table > div:not(.table-head) strong {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .resource-table > div:not(.table-head) em {
    justify-self: end;
  }

  .builder-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .builder-tabs::-webkit-scrollbar {
    display: none;
  }

  .builder-tabs button {
    flex: 0 0 148px;
    height: 52px;
  }

  .gpu-type-grid {
    grid-template-columns: 1fr;
  }

  .gpu-type {
    min-height: 0;
    padding: 22px;
  }

  .gpu-count-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .config-form {
    padding: 16px;
  }

  .config-form .config-option-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .builder-order {
    gap: 18px;
    padding: 18px;
  }

  .billing-options {
    grid-template-columns: 1fr;
  }

  .model-directory-shell,
  .pricing-directory-shell,
  .partner-directory-section {
    width: min(100% - 32px, 1440px);
  }

  .catalog-hero {
    padding: 40px 0 30px;
  }

  .catalog-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .catalog-search {
    height: auto;
    min-height: 54px;
  }

  .filter-chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-directory-table {
    border: 0;
    gap: 12px;
    background: transparent;
    box-shadow: none;
  }

  .pricing-directory-table .pricing-head {
    display: none;
  }

  .pricing-directory-table .pricing-row {
    border: 1px solid rgba(98, 43, 226, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    padding: 14px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sf-hero,
  .compute-hero,
  .sf-section,
  .compute-section,
  .compute-builder-section,
  .home-catalog-showcase,
  .pricing-page-main {
    width: min(100% - 28px, 1440px);
  }

  .sf-copy h1,
  .compute-copy h1 {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.12;
  }

  .compute-kpi-grid,
  .gpu-count-row,
  .filter-chip-list {
    grid-template-columns: 1fr;
  }

  .gpu-zone {
    position: static;
    width: fit-content;
    margin-bottom: 12px;
  }

  .gpu-type h4 {
    margin-top: 0;
    font-size: 21px;
  }

  .model-directory-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-directory-summary {
    justify-content: flex-start;
  }
}

/* Models / pricing / partner pages */
.catalog-main {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 88px;
}

.catalog-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 52px 0 44px;
}

.catalog-hero h1 {
  margin: 20px 0 14px;
  color: #171422;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

.catalog-hero p {
  max-width: 780px;
  margin: 0;
  color: #6f6a7c;
  font-size: 17px;
  line-height: 1.85;
}

.catalog-search {
  width: min(760px, 100%);
  height: 58px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 0 18px;
  border: 1px solid rgba(98, 43, 226, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(45, 28, 90, 0.08);
}

.catalog-search span {
  color: #6d28f2;
  font-weight: 900;
}

.catalog-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #171422;
  font-size: 15px;
}

.hot-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hot-tags b,
.hot-tags span {
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(109, 40, 242, 0.08);
  color: #6d28f2;
  font-size: 13px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-filters,
.model-row,
.pricing-panel,
.partner-grid article {
  border: 1px solid rgba(98, 43, 226, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(45, 28, 90, 0.07);
}

.catalog-filters {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
}

.catalog-filters h2 {
  margin: 14px 0 6px;
  color: #171422;
  font-size: 15px;
}

.catalog-filters h2:first-child {
  margin-top: 0;
}

.catalog-filters button {
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f6a7c;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

.catalog-filters button.active,
.catalog-filters button:hover {
  color: #6d28f2;
  background: rgba(109, 40, 242, 0.08);
}

.model-catalog {
  display: grid;
  gap: 16px;
}

.catalog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.catalog-title-row h2 {
  margin: 0;
  color: #171422;
  font-size: 24px;
}

.catalog-title-row button {
  height: 38px;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #4f4664;
}

.model-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
}

.vendor-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
  color: #fff;
  font-weight: 950;
  font-size: 22px;
}

.model-type {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.08);
  color: #6d28f2;
  font-size: 12px;
  font-weight: 900;
}

.model-row h3 {
  margin: 0 0 8px;
  color: #171422;
  font-size: 20px;
}

.model-row p {
  margin: 0 0 14px;
  color: #6f6a7c;
  line-height: 1.75;
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-meta span {
  padding: 7px 10px;
  border-radius: 9px;
  background: #f6f2ff;
  color: #4f4664;
  font-size: 13px;
}

.pricing-panel {
  padding: 22px;
  border-radius: 22px;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pricing-tabs button {
  height: 38px;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #4f4664;
  padding: 0 18px;
  font-weight: 900;
}

.pricing-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #6d28f2, #8b5cf6);
}

.pricing-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 16px;
}

.pricing-table > div {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr 1.2fr 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(98, 43, 226, 0.08);
  color: #6f6a7c;
}

.pricing-table > div:last-child {
  border-bottom: 0;
}

.pricing-head {
  background: #f6f2ff;
  color: #4f4664 !important;
  font-weight: 900;
}

.pricing-table b {
  color: #171422;
}

.pricing-directory-shell {
  width: min(1440px, calc(100% - 48px));
}

.pricing-page-main .pricing-directory-shell {
  width: 100%;
}

.pricing-directory-results {
  min-width: 0;
}

.pricing-directory-table {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(45, 28, 90, 0.07);
}

.pricing-directory-table > div {
  grid-template-columns: minmax(120px, 0.95fr) minmax(220px, 1.8fr) minmax(72px, 0.62fr) minmax(86px, 0.72fr) minmax(110px, 0.9fr) minmax(110px, 0.9fr) minmax(120px, 1fr);
}

.pricing-directory-table .pricing-row {
  min-height: 70px;
}

.pricing-directory-table .pricing-row > span,
.pricing-directory-table .pricing-row > b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pricing-vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f4664;
  font-weight: 850;
}

.pricing-vendor i {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(109, 40, 242, 0.12), rgba(91, 143, 255, 0.14));
  color: #6d28f2;
  font-style: normal;
  font-weight: 950;
}

.pricing-page-main {
  width: min(1440px, calc(100% - 48px));
}

.partner-hero {
  padding-bottom: 76px;
}

.partner-section {
  padding: 56px 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-grid article {
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
}

.partner-directory-section .partner-grid article,
.partner-directory-section .sf-capability-grid article {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(45, 28, 90, 0.07);
  backdrop-filter: blur(14px);
}

.partner-grid span {
  color: #6d28f2;
  font-weight: 900;
}

.partner-grid h3 {
  margin: 18px 0 10px;
  color: #171422;
  font-size: 22px;
}

.partner-grid p {
  color: #6f6a7c;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-filters h2 {
    grid-column: 1 / -1;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .catalog-main {
    width: min(100% - 32px, 1240px);
    padding-top: 136px;
  }

  .catalog-filters,
  .partner-grid,
  .pricing-table > div {
    grid-template-columns: 1fr;
  }

  .pricing-directory-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

.model-row {
  grid-template-columns: 1fr;
}

  .catalog-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-table {
    gap: 10px;
    border: 0;
  }

.pricing-table > div {
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 14px;
  padding: 14px;
}
}

.home-catalog-showcase {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.home-catalog-showcase + .sf-section {
  padding-top: 88px;
}

.home-pricing-showcase {
  padding-top: 88px;
}

.home-partner-showcase {
  padding-top: 92px;
}

.home-catalog-showcase .catalog-hero {
  padding-top: 28px;
}

.home-catalog-showcase .pricing-panel {
  margin-top: 10px;
}

.home-catalog-showcase .partner-section:last-child {
  padding-bottom: 0;
}

.legacy-product-section {
  display: none;
}

.home-partner-showcase {
  padding-top: 88px;
}

.partner-directory-section {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.partner-hero.model-directory-hero {
  padding-bottom: 36px;
}

.partner-hero .model-directory-summary {
  margin-bottom: 22px;
}

.model-directory-main {
  padding-bottom: 96px;
}

.model-directory-hero {
  padding-bottom: 36px;
}

.model-directory-hero h1 {
  color: transparent;
  background: linear-gradient(90deg, #5b8fff 0%, #2267f2 38%, #5c5ff5 68%, #8b63ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.model-directory-search {
  max-width: 760px;
}

.model-directory-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.model-directory-summary span {
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #5b526c;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
}

.model-directory-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.model-directory-filters {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 108px);
  overflow: auto;
}

.filter-chip-list {
  display: grid;
  gap: 8px;
}

.scene-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.catalog-filter-chip {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(98, 43, 226, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #4f4664;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 850;
}

.catalog-filter-chip b {
  min-width: 28px;
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.08);
  color: #6d28f2;
  padding: 2px 7px;
  font-size: 12px;
}

.catalog-filter-chip.active {
  border-color: rgba(109, 40, 242, 0.42);
  background: rgba(109, 40, 242, 0.09);
  color: #6d28f2;
}

.model-directory-title {
  align-items: flex-end;
  margin-bottom: 18px;
}

.model-directory-title h2 {
  margin: 0 0 6px;
}

.model-directory-title p {
  margin: 0;
  color: #6f6a7c;
}

.model-directory-title strong {
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.09);
  color: #6d28f2;
  padding: 9px 13px;
  white-space: nowrap;
}

.model-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.model-directory-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(45, 28, 90, 0.07);
  backdrop-filter: blur(14px);
  padding: 18px;
}

.model-card-head {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
}

.vendor-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 40, 242, 0.12), rgba(91, 143, 255, 0.14));
  color: #6d28f2;
  font-weight: 950;
}

.model-card-head span {
  display: block;
  color: #8a8398;
  font-size: 12px;
}

.model-card-head strong {
  display: block;
  color: #171422;
  font-size: 15px;
  line-height: 1.25;
}

.model-card-head em {
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.09);
  color: #6d28f2;
  padding: 5px 9px;
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.model-directory-card h3 {
  margin: 0;
  color: #171422;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.model-directory-card p {
  min-height: 66px;
  margin: 0;
  color: #6f6a7c;
  line-height: 1.65;
  font-size: 13px;
}

.model-tags,
.model-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model-tags span,
.model-features span {
  border-radius: 999px;
  background: rgba(109, 40, 242, 0.08);
  color: #6d28f2;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.model-features span {
  background: rgba(91, 143, 255, 0.1);
  color: #315be8;
}

.model-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 0;
}

.model-specs div {
  border-radius: 10px;
  background: rgba(109, 40, 242, 0.045);
  padding: 9px;
}

.model-specs dt {
  color: #8a8398;
  font-size: 12px;
}

.model-specs dd {
  margin: 3px 0 0;
  color: #171422;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.model-empty {
  border: 1px dashed rgba(109, 40, 242, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: #6f6a7c;
  padding: 28px;
  text-align: center;
}

.model-toggle-btn {
  min-width: 168px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto 0;
  border: 1px solid rgba(109, 40, 242, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #6d28f2;
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(45, 28, 90, 0.08);
}

.model-toggle-btn:hover {
  border-color: rgba(109, 40, 242, 0.36);
  background: rgba(109, 40, 242, 0.08);
}

.model-toggle-btn[hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .model-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .model-directory-shell {
    width: min(100% - 32px, 1440px);
    grid-template-columns: 1fr;
  }

  .model-directory-filters {
    position: static;
    max-height: none;
  }

  .filter-chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-directory-grid {
    grid-template-columns: 1fr;
  }
}

/* Auth modal overrides for landing */
.landing-modal:has(.auth-modal) {
  padding: 0;
  overflow: visible;
}

.landing-modal .auth-modal {
  padding: 36px 32px 28px;
  background: #fff;
  border-radius: 12px;
}

.landing-modal .auth-title {
  color: #171422;
}

.landing-modal .auth-tab {
  color: #6f6a7c;
}

.landing-modal .auth-tab.active {
  color: #6d28f2;
}

.landing-modal .auth-tab.active::after {
  background: #6d28f2;
}

.landing-modal .auth-field label {
  color: #6f6a7c;
}

.landing-modal .auth-field input {
  background: #fff;
  border-color: rgba(98, 43, 226, 0.15);
  color: #171422;
}

.landing-modal .auth-field input:focus {
  border-color: #6d28f2;
  box-shadow: 0 0 0 3px rgba(109, 40, 242, 0.1);
}

.landing-modal .auth-code-row button {
  border-color: rgba(109, 40, 242, 0.3);
  background: linear-gradient(135deg, #6d28f2 0%, #8b5cf6 100%);
}

.landing-modal .auth-code-row button:hover {
  background: linear-gradient(135deg, #5b21d9 0%, #7c3aed 100%);
}

.landing-modal .auth-code-row button:disabled {
  background: #c4b5fd;
  border-color: #c4b5fd;
}


.landing-modal .auth-submit {
  background: #6d28f2;
}

.landing-modal .auth-submit:hover {
  background: #5b21d9;
}

.landing-modal .auth-error {
  color: #ef476f;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-video-bg {
    opacity: 0.52;
  }

  .hero-video-bg video {
    display: none;
  }

  .hero-image-carousel {
    opacity: 1;
  }

  .operation-mode-grid::before {
    transform: none;
  }

  .operation-mode-grid article,
  .operation-mode-grid article::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* === 首页右上角用户信息 === */
.nav-login-area {
  display: inline-flex;
  align-items: center;
  margin-left: 16px;
}

.nav-user-area {
  position: relative;
  display: inline-block;
}
.nav-user-area[hidden] {
  display: none !important;
}
.nav-login-btn[hidden] {
  display: none !important;
}
.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid rgba(98, 43, 226, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(45, 28, 90, 0.14);
  padding: 6px;
  z-index: 100;
}
/* 伪元素桥接：填充用户名和下拉之间的间隙 */
.nav-user-area::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-user-area:hover .nav-user-dropdown {
  display: block !important;
}
.nav-user-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 108px;
  max-width: 168px;
  height: 34px;
  padding: 0 16px;
  cursor: pointer;
  color: #6d28f2;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
  user-select: none;
}

.nav-user-info::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28f2, #8b5cf6);
  opacity: 1;
  transform: scaleX(1);
}

.nav-user-info:hover {
  background: rgba(109, 40, 242, 0.06);
}
.nav-user-avatar {
  font-size: 1.1rem;
}
.nav-user-name {
  color: inherit;
  max-width: 126px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-user-arrow {
  font-size: 0.7rem;
  color: #6d28f2;
  opacity: 0.75;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  border: none;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-platform-entry {
  position: relative;
  color: #6d28f2;
}

.nav-platform-entry::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28f2, #8b5cf6);
}
.nav-dropdown-item:hover {
  background: #f5f5f5;
  color: #111;
}

.nav-platform-entry:hover {
  background: rgba(109, 40, 242, 0.07);
  color: #6d28f2;
}

.nav-dropdown-logout {
  color: #d33;
  border-top: 1px solid #eee;
}
.nav-dropdown-logout:hover {
  background: #fef0f0;
  color: #c00;
}
