:root {
  --primary: #6e29f6;
  --primary-2: #8a35ff;
  --ink: #111827;
  --muted: #57627f;
  --line: #dfe4ef;
  --soft: #f2f5fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #fff;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 34px;
  height: 78px;
  padding: 0 clamp(20px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(214, 218, 230, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 250px;
  min-width: 250px;
}

.brand img {
  display: block;
  width: 250px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
  gap: 30px;
  color: #1f2937;
  font-size: 16px;
  white-space: nowrap;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--primary);
}

.nav-product {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.desktop-nav .nav-product {
  align-self: stretch;
  height: 100%;
}

.desktop-nav .nav-product::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -58px;
  right: -360px;
  height: 54px;
  z-index: 39;
}

.product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-product:hover .product-trigger,
.nav-product:focus-within .product-trigger,
.nav-product.open .product-trigger {
  color: var(--primary);
}

.product-menu {
  position: absolute;
  top: 100%;
  left: -34px;
  z-index: 120;
  width: 430px;
  padding: 32px 40px 36px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(49, 44, 92, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-product:hover .product-menu,
.nav-product:focus-within .product-menu,
.nav-product.open .product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-menu strong {
  display: block;
  margin: 0 0 22px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.product-menu strong:nth-of-type(2) {
  margin-top: 34px;
}

.product-menu a {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 -18px;
  padding: 16px 18px;
  border-radius: 999px;
  color: #20283a;
  font-size: 22px;
  font-weight: 500;
}

.product-menu a:hover {
  color: var(--primary);
  background: #efe9ff;
}

.product-icon {
  width: 38px;
  color: #05070b;
  text-align: center;
  font-size: 22px;
  line-height: 1;
}

.login-btn,
.mobile-panel button {
  margin-left: auto;
  min-width: 82px;
  height: 38px;
  border: 0;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  cursor: pointer;
}

.mobile-panel {
  position: fixed;
  top: 78px;
  right: 18px;
  z-index: 30;
  display: none;
  width: min(280px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(31, 41, 55, 0.16);
}

.mobile-panel.open {
  display: grid;
  gap: 16px;
}

.mobile-panel .nav-product {
  display: grid;
  align-items: stretch;
}

.mobile-panel .product-menu {
  position: static;
  width: auto;
  padding: 6px 0 0 14px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-panel .product-menu strong {
  margin: 10px 0 4px;
  font-size: 13px;
}

.mobile-panel .product-menu strong:nth-of-type(2) {
  margin-top: 12px;
}

.mobile-panel .product-menu a {
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
}

.mobile-panel .product-icon {
  width: 18px;
  font-size: 13px;
}

.product-landing {
  background: #fff;
}

.product-main {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(116, 212, 255, 0.22), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(126, 41, 246, 0.2), transparent 28%),
    #fff;
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  min-height: 760px;
  padding: 150px clamp(24px, 7vw, 126px) 84px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.78)),
    var(--hero-bg, none) center / cover no-repeat;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -24% 44%;
  height: 360px;
  border-radius: 999px;
  background: rgba(110, 41, 246, 0.12);
  filter: blur(70px);
  pointer-events: none;
}

.product-copy,
.product-visual {
  position: relative;
  z-index: 1;
}

.product-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 800;
}

.product-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #101828;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-copy h1 span {
  color: var(--primary);
}

.product-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: #57627f;
  font-size: 21px;
  line-height: 1.75;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  font-weight: 700;
}

.product-actions a:first-child {
  color: #fff;
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
}

.product-actions a:last-child {
  color: #20283a;
  background: #fff;
  border: 1px solid rgba(110, 41, 246, 0.2);
}

.product-visual {
  min-height: 440px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 36px 90px rgba(42, 31, 92, 0.16);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.gateway-logos {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 44px;
}

.gateway-logos img {
  width: min(100%, 470px);
  height: auto;
  min-height: auto;
  object-fit: contain;
}

.product-section {
  padding: 108px clamp(24px, 7vw, 126px);
}

.product-section.soft {
  background: #f6f8ff;
}

.product-section h2 {
  max-width: 930px;
  margin: 0 auto 22px;
  color: #101828;
  text-align: center;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.18;
}

.product-section > p {
  max-width: 860px;
  margin: 0 auto 54px;
  color: #64708d;
  text-align: center;
  font-size: 19px;
  line-height: 1.8;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-feature-grid article,
.product-image-card,
.product-quote {
  border: 1px solid rgba(213, 220, 236, 0.88);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(31, 41, 55, 0.08);
}

.product-feature-grid article {
  min-height: 228px;
  padding: 30px;
}

.product-feature-grid img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 24px;
}

.product-feature-grid h3,
.product-image-card h3,
.product-quote h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 24px;
}

.product-feature-grid p,
.product-image-card p,
.product-quote p,
.product-list li {
  color: #64708d;
  font-size: 16px;
  line-height: 1.75;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-image-card {
  overflow: hidden;
}

.product-image-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-image-card div {
  padding: 28px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.product-list li {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(213, 220, 236, 0.86);
}

.product-list b {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 19px;
}

.product-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.product-quote {
  padding: 30px;
}

.product-cta {
  padding: 110px 24px 124px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg, #6e29f6 0%, #8a35ff 48%, #201d44 100%);
}

.product-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
}

.product-cta p {
  margin: 0 auto 34px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.75;
}

.product-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 48px;
  padding: 0 26px;
  border-radius: 24px;
  color: var(--primary);
  font-weight: 800;
  background: #fff;
}


.home-hero {
  position: relative;
  height: 888px;
  overflow: hidden;
  background: #f5f7fb;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 80px clamp(24px, 7vw, 132px) 40px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 1.2s ease;
  pointer-events: none;
}

.home-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.home-slide-copy {
  width: min(980px, 100%);
  color: #111827;
}

.home-slide-copy.center {
  justify-self: center;
  text-align: center;
}

.home-slide-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: 0;
}

.home-slide-copy h1 span {
  color: var(--primary);
  white-space: nowrap;
}

.home-slide-copy p {
  width: min(760px, 100%);
  margin: 0 0 32px;
  color: #111827;
  font-size: 20px;
  line-height: 1.65;
}

.home-slide-copy.center p {
  margin-inline: auto;
  font-size: 32px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  height: 64px;
  padding: 0 24px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, #252736, var(--primary));
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(110, 41, 246, 0.28);
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dots button {
  width: 32px;
  height: 4px;
  padding: 0;
  border: 0;
  background: #e3e3e3;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dots button.active {
  background: var(--primary);
}

.hero-dots button:hover {
  transform: translateY(-2px);
}

.home-section {
  width: min(1210px, calc(100% - 28px));
  margin: 0 auto 110px;
  padding-top: 10px;
  text-align: center;
}

.home-section:first-of-type {
  margin-top: 110px;
}

.home-section h2 {
  margin: 0 0 54px;
  color: #111827;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.home-section .section-lead.centered {
  width: min(760px, 100%);
  margin: -42px auto 64px;
  text-align: center;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 58px 48px;
  border-radius: 12px;
  background: #f1f1ff;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-card.dark {
  color: #fff;
  background: #36384a;
}

.home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(30, 41, 59, 0.12);
}

.home-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 650;
}

.home-card p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.65;
}

.home-card a {
  position: absolute;
  left: 33px;
  bottom: 50px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 120px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  background: #743aed;
  font-weight: 650;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-card:hover a {
  color: #743aed;
  background: #fff;
}

.home-card img {
  position: absolute;
  right: -26px;
  bottom: -18px;
  width: 220px;
  height: 220px;
  object-fit: contain;
  animation: float-card 5.4s ease-in-out infinite;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 866px;
  padding: 76px 92px;
  border: 1px solid #dedfee;
  border-radius: 15px;
  background: #faf9fc;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-card.dark {
  color: #fff;
  background: #1d1f2c;
  border-color: #1d1f2c;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(29, 31, 44, 0.18);
}

.stat-card h3 {
  margin: 0 0 82px;
  font-size: 36px;
  line-height: 1;
}

.stat-card strong {
  display: block;
  margin-top: 40px;
  font-size: clamp(58px, 5vw, 84px);
  line-height: 1;
}

.stat-card p {
  margin: 12px 0 26px;
  font-size: 24px;
  line-height: 1.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 74px;
  text-align: left;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 48px 32px;
  background: #f5f5f8;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 58px rgba(30, 41, 59, 0.12);
}

.feature-grid img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  transition: transform 0.28s ease;
}

.feature-grid article:hover img {
  transform: rotate(-6deg) scale(1.08);
}

.feature-grid h3 {
  margin: 0 0 34px;
  color: #1f2937;
  font-size: 32px;
  text-align: center;
}

.feature-grid p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.solution-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.solution-tabs {
  display: grid;
  align-content: start;
  gap: 12px;
}

.solution-tabs button {
  height: 58px;
  border: 1px solid #e2e7f0;
  border-radius: 12px;
  color: #1f2937;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.solution-tabs button.active,
.solution-tabs button:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  transform: translateX(4px);
}

.solution-stage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f8;
}

.solution-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.solution-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.solution-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 12px;
}

.solution-card h3 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.2;
}

.solution-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.home-section,
.customer-wall,
.footer {
  animation: section-rise 0.7s ease both;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

@keyframes section-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  min-height: 818px;
  padding: 120px 24px 40px;
  display: grid;
  place-items: center;
  text-align: center;
  background: url("./hero-bg.png") center bottom / cover no-repeat;
}

.hero-copy {
  width: min(100%, 1120px);
}

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(42px, 6.7vw, 102px);
  line-height: 1.15;
  font-weight: 650;
  color: #111827;
  letter-spacing: 0;
}

.hero p {
  width: min(786px, 100%);
  margin: 0 auto 42px;
  color: #475569;
  font-size: 20px;
  line-height: 1.8;
}

.primary-link,
.join-btn {
  display: inline-grid;
  place-items: center;
  height: 56px;
  min-width: 156px;
  padding: 0 30px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 38px rgba(110, 41, 246, 0.28);
}

.section {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 118px 24px 96px;
}

.customer-wall {
  overflow: hidden;
  padding: 112px 0 86px;
  background:
    radial-gradient(circle at 18% 48%, rgba(122, 234, 203, 0.36), transparent 36%),
    linear-gradient(105deg, #def8ed 0%, #e8eef8 53%, #eee9ff 100%);
}

.customer-wall h2 {
  margin: 0 0 56px;
  color: #182235;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.2;
  text-align: center;
  font-weight: 680;
}

.marquee-row {
  width: 100%;
  margin: 0 0 34px;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logo-slide 72s linear infinite;
}

.reverse .logo-track {
  animation-direction: reverse;
  animation-duration: 104s;
}

.slow .logo-track {
  animation-duration: 60s;
}

.customer-wall:hover .logo-track {
  animation-play-state: paused;
}

.logo-track span,
.logo-track a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 80px;
  padding: 0;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(55, 63, 88, 0.06);
  color: #1b2434;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.logo-track img {
  display: block;
  width: 185px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-track span:nth-child(6n + 1) {
  color: #1769ff;
}

.logo-track span:nth-child(6n + 2) {
  color: #253b74;
}

.logo-track span:nth-child(6n + 3) {
  color: #111;
}

.logo-track span:nth-child(6n + 4) {
  color: #0b67d8;
}

.logo-track span:nth-child(6n + 5) {
  color: #202436;
}

.logo-track span:nth-child(6n) {
  color: #f05a28;
}

.customer-cta {
  width: min(1160px, calc(100% - 48px));
  margin: 76px auto 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  color: #111827;
}

.customer-cta h3 {
  margin: 0 0 26px;
  font-size: 32px;
  line-height: 1.25;
}

.customer-cta p {
  display: inline-block;
  margin: 0 18px 0 0;
  color: #20283a;
  font-size: 26px;
  font-weight: 600;
}

.dark-link {
  display: inline-grid;
  place-items: center;
  height: 44px;
  min-width: 140px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  background: #252539;
}

@keyframes logo-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes case-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section h2,
.join h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.2;
  font-weight: 640;
}

.section-lead {
  margin: 18px 0 54px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mode-card {
  min-height: 314px;
  padding: 36px;
  border: 1px solid #dfe4ef;
  border-radius: 8px;
  background:
    radial-gradient(circle at right top, rgba(110, 41, 246, 0.08), transparent 40%),
    #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 41, 246, 0.4);
  box-shadow: 0 22px 54px rgba(40, 48, 74, 0.1);
}

.mode-card span {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

.mode-card h3,
.benefit-grid h3 {
  margin: 12px 0 22px;
  color: #111827;
  font-size: 26px;
  line-height: 1.3;
}

.mode-card p,
.benefit-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.benefits {
  background: #f7f8fc url("https://static01.siliconflow.cn/f/static/cn/home/bg-section-3.svg") center / cover no-repeat;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit-grid article {
  min-height: 312px;
  padding: 34px 28px;
  border: 1px solid #e1e5ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.benefit-grid span {
  color: var(--primary);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.case-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 10px 0 22px;
}

.case-row {
  overflow: hidden;
  margin-bottom: 22px;
}

.case-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: case-slide 46s linear infinite;
}

.case-row.reverse .case-track {
  animation-direction: reverse;
  animation-duration: 52s;
}

.case-row.slow .case-track {
  animation-duration: 58s;
}

.case-marquee:hover .case-track {
  animation-play-state: paused;
}

.case-track article {
  width: 360px;
  height: 168px;
  flex: 0 0 auto;
  padding: 30px 34px 24px;
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.04);
  cursor: pointer;
}

.case-track article:hover {
  border-color: rgba(110, 41, 246, 0.38);
  box-shadow: 0 18px 46px rgba(40, 48, 74, 0.11);
}

.case-track img {
  display: block;
  width: 100%;
  height: 38px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
}

.case-track p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.join {
  width: min(1400px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 98px 24px;
  text-align: center;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(110deg, #6e29f5 0%, #8a35ff 48%, #c966f5 100%);
  box-shadow: 0 24px 70px rgba(110, 41, 246, 0.22);
}

.join h2 {
  color: #fff;
}

.join p {
  max-width: 780px;
  margin: 24px auto 42px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.7;
}

.join-btn {
  color: var(--primary);
  background: #fff;
  box-shadow: none;
}

.footer {
  margin-top: 0;
  padding: 120px 24px 70px;
  background: var(--soft);
}

.footer-inner {
  width: min(1434px, 100%);
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand img {
  width: 224px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 6px;
}

.footer-links {
  display: flex;
  gap: 92px;
}

.footer-links div {
  display: grid;
  gap: 16px;
  color: #1f2937;
}

.footer h4 {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
}

.footer a,
.contact p {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
}

.contact {
  display: grid;
  gap: 12px;
  max-width: 300px;
}

.copyright {
  width: min(1434px, 100%);
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid #d5d6ea;
  color: var(--muted);
  font-size: 16px;
}

.login-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.login-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(3px);
}

.login-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.login-card .close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 26px;
  cursor: pointer;
}

.login-card img {
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  justify-self: center;
}

.login-card h2 {
  margin: 0;
  font-size: 28px;
  text-align: center;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 15px;
}

.login-card input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d8ddea;
  border-radius: 8px;
  outline: 0;
}

.login-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(110, 41, 246, 0.12);
}

.login-card .submit {
  height: 48px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 50;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: #111827;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.app-body {
  min-height: 100vh;
  background: #f6f8fc;
}

.page-main {
  padding: 116px 24px 80px;
}

.page-hero,
.content-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero {
  padding: 68px 0 46px;
}

.page-hero h1 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.12;
}

.page-hero p {
  width: min(720px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.content-shell {
  display: grid;
  gap: 22px;
}

.panel,
.doc-sidebar,
.model-sidebar,
.model-card,
.price-card {
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.04);
}

.models-layout {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.model-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 16px;
}

.model-sidebar a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #475569;
}

.model-sidebar a.active,
.model-sidebar a:hover {
  color: var(--primary);
  background: #f5f0ff;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.search-box {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dfe4ef;
  border-radius: 8px;
  background: #fff;
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pill-tabs span {
  padding: 9px 16px;
  border: 1px solid #e2e7f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
}

.pill-tabs span.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f0ff;
}

.model-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.model-card,
.price-card,
.panel {
  padding: 24px;
}

.model-card h3,
.price-card h3,
.panel h2 {
  margin: 0 0 12px;
  color: #111827;
}

.model-card p,
.price-card p,
.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f8;
  font-size: 13px;
}

.doc-layout {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.doc-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 20px;
}

.doc-sidebar a {
  display: block;
  padding: 10px 0;
  color: #475569;
}

.doc-content {
  display: grid;
  gap: 18px;
}

.code-block {
  overflow-x: auto;
  padding: 18px;
  border-radius: 8px;
  color: #e6edf3;
  background: #111827;
  line-height: 1.65;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label,
.form-full {
  display: grid;
  gap: 8px;
  color: #475569;
}

.form-grid input,
.form-full textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dfe4ef;
  border-radius: 8px;
  background: #fff;
}

.form-full textarea {
  min-height: 130px;
  resize: vertical;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 20px;
  }

  .home-hero {
    height: 760px;
  }

  .desktop-nav {
    gap: 18px;
    font-size: 15px;
  }

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

  .footer-inner,
  .footer-links {
    gap: 42px;
  }

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

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

  .solution-shell {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .solution-tabs button.active,
  .solution-tabs button:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand,
  .brand img {
    width: 188px;
    min-width: 188px;
  }

  .desktop-nav,
  .site-header > .login-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-panel {
    top: 68px;
  }

  .home-hero {
    height: 588px;
  }

  .home-slide {
    align-items: center;
    padding: 86px 24px 48px;
    background-position: center;
  }

  .home-slide-copy,
  .home-slide-copy.center {
    justify-self: center;
    text-align: center;
  }

  .home-slide-copy h1 {
    margin-bottom: 20px;
    font-size: 36px;
  }

  .home-slide-copy p,
  .home-slide-copy.center p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .hero-action {
    height: 54px;
    min-width: 140px;
    border-radius: 10px;
    font-size: 18px;
  }

  .home-section,
  .home-section:first-of-type {
    width: calc(100% - 28px);
    margin-bottom: 78px;
    margin-top: 76px;
  }

  .home-section h2 {
    margin-bottom: 38px;
    font-size: 38px;
  }

  .home-section .section-lead.centered {
    margin: -20px auto 38px;
    font-size: 16px;
  }

  .home-card-grid,
  .stat-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .home-card {
    min-height: 336px;
    padding: 34px 28px;
  }

  .home-card h3,
  .feature-grid h3 {
    font-size: 28px;
  }

  .home-card p {
    max-width: 62%;
    font-size: 16px;
  }

  .home-card a {
    left: 28px;
    bottom: 34px;
  }

  .home-card img {
    width: 180px;
    height: 180px;
  }

  .stat-card {
    min-height: auto;
    padding: 48px 40px;
  }

  .stat-card h3 {
    margin-bottom: 42px;
    font-size: 32px;
  }

  .stat-card strong {
    margin-top: 30px;
    font-size: 64px;
  }

  .stat-card p {
    font-size: 20px;
  }

  .feature-grid article {
    min-height: auto;
  }

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

  .solution-tabs button {
    height: 48px;
    font-size: 16px;
  }

  .solution-stage {
    min-height: 560px;
  }

  .solution-card {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
    padding: 22px;
  }

  .solution-card img {
    height: 260px;
  }

  .solution-card h3 {
    font-size: 30px;
  }

  .hero {
    min-height: 680px;
    padding-top: 96px;
    background-position: center bottom;
  }

  .hero h1 {
    margin-bottom: 24px;
  }

  .hero p,
  .section-lead,
  .join p {
    font-size: 16px;
  }

  .customer-wall {
    padding: 78px 0 64px;
  }

  .customer-wall h2 {
    margin-bottom: 38px;
    padding: 0 18px;
  }

  .marquee-row {
    margin-bottom: 18px;
  }

  .logo-track {
    gap: 12px;
    animation-duration: 24s;
  }

  .reverse .logo-track {
    animation-duration: 28s;
  }

  .slow .logo-track {
    animation-duration: 31s;
  }

  .logo-track span,
  .logo-track a,
  .logo-track img {
    width: 150px;
    height: 65px;
    font-size: 16px;
  }

  .customer-cta {
    margin-top: 48px;
    display: grid;
    gap: 34px;
    text-align: center;
  }

  .customer-cta h3 {
    font-size: 26px;
  }

  .customer-cta p {
    display: block;
    margin: 0 0 18px;
    font-size: 22px;
  }

  .section {
    padding: 84px 18px 72px;
  }

  .mode-list,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .mode-card,
  .benefit-grid article {
    min-height: auto;
    padding: 26px;
  }

  .case-track {
    gap: 14px;
    animation-duration: 32s;
  }

  .case-row.reverse .case-track {
    animation-duration: 36s;
  }

  .case-row.slow .case-track {
    animation-duration: 40s;
  }

  .case-track article {
    width: 286px;
    height: 156px;
    padding: 24px 24px 20px;
  }

  .case-track img {
    height: 34px;
    margin-bottom: 24px;
  }

  .case-track p {
    font-size: 14px;
  }

  .join {
    width: calc(100% - 32px);
    padding: 70px 18px;
    border-radius: 18px;
  }

  .footer {
    padding: 80px 18px 48px;
  }

  .footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .footer-brand img {
    object-position: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    gap: 30px;
  }

  .copyright {
    text-align: center;
  }

  .page-main {
    padding: 88px 18px 58px;
  }

  .models-layout,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .model-sidebar,
  .doc-sidebar {
    position: static;
  }

  .toolbar,
  .customer-cta {
    align-items: stretch;
  }

  .model-grid,
  .price-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand,
  .brand img {
    width: 160px;
    min-width: 160px;
  }

  .home-slide {
    background-position: center;
  }

  .home-slide-copy h1 {
    font-size: 32px;
  }

  .home-card p {
    max-width: 100%;
  }

  .home-card img {
    opacity: 0.26;
  }

  .solution-stage {
    min-height: 610px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .login-card {
    padding: 30px 22px;
  }
}

.desktop-nav .active {
  color: var(--primary);
  font-weight: 650;
}

.model-page,
.pricing-page {
  min-height: 100vh;
  background: #f7f9ff;
}

.model-hero,
.pricing-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 180px 24px 120px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 35%, rgba(126, 206, 255, 0.26), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(155, 98, 255, 0.23), transparent 32%),
    linear-gradient(118deg, #f8fdff 0%, #e9f5ff 45%, #eee7ff 100%);
}

.model-hero::before,
.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 100px -10% auto;
  height: 240px;
  border-radius: 50%;
  border-top: 8px solid rgba(255, 255, 255, 0.72);
  transform: rotate(8deg);
}

.model-hero h1,
.pricing-hero h1 {
  position: relative;
  margin: 0 0 28px;
  color: #5771ff;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.2;
  font-weight: 800;
}

.pricing-hero h1 {
  color: #111827;
}

.pricing-hero h1 span {
  color: var(--primary);
}

.model-hero p,
.pricing-hero p {
  position: relative;
  margin: 0 auto 34px;
  color: #243044;
  font-size: 18px;
  font-weight: 650;
}

.pricing-hero p {
  max-width: 980px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.7;
}

.big-search {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(690px, 100%);
  height: 48px;
  margin: 0 auto 32px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(99, 116, 149, 0.13);
}

.big-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: #475569;
}

.big-search button {
  min-width: 96px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.hot-row,
.price-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #1f2937;
}

.hot-row span,
.model-filters button,
.vendor-chips span {
  padding: 8px 14px;
  border: 1px solid #dfe6f2;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  color: #475569;
  font-size: 13px;
}

.float-logo {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  color: #5670ff;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(86, 112, 255, 0.16);
  font-size: 28px;
  font-weight: 900;
  animation: float-card 5s ease-in-out infinite;
}

.float-logo.whale { left: 16%; top: 170px; }
.float-logo.z { right: 24%; top: 210px; color: #111827; }
.float-logo.kimi { right: 10%; top: 120px; color: #111827; }
.float-logo.minimax { right: 15%; top: 300px; color: #ff4d8d; }

.model-filters,
.model-list-section,
.price-board {
  width: min(1370px, calc(100% - 48px));
  margin: -120px auto 0;
  position: relative;
  z-index: 2;
}

.model-filters {
  display: grid;
  gap: 16px;
  margin-top: -150px;
}

.model-filters div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.model-filters b {
  min-width: 76px;
  color: #334155;
}

.model-filters button,
.price-tabs button {
  cursor: pointer;
}

.model-filters button.active,
.price-tabs button.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.model-list-section {
  margin-top: 64px;
  padding-bottom: 90px;
}

.model-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.model-list-head h2,
.price-board h2 {
  margin: 0;
  color: #1f2937;
  font-size: 28px;
}

.model-list-head div {
  color: #475569;
  font-size: 14px;
}

.public-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.model-card-v2 {
  min-height: 228px;
  padding: 26px;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(30, 41, 59, 0.04);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.model-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 41, 246, 0.45);
  box-shadow: 0 18px 44px rgba(30, 41, 59, 0.1);
}

.model-card-v2 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.model-card-v2 small {
  margin-left: 10px;
  color: #64748b;
}

.model-card-v2 h3 {
  margin: 16px 0 8px;
  color: #1f2937;
  font-size: 18px;
}

.model-card-v2 p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.model-card-v2 div,
.console-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.model-card-v2 span,
.console-card span {
  padding: 4px 8px;
  border-radius: 4px;
  color: #6e29f6;
  background: #f0e8ff;
  font-size: 12px;
  font-weight: 650;
}

.model-card-v2 footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e7edf6;
  color: #64748b;
  font-size: 13px;
}

.price-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 28px;
  padding: 10px 18px;
  border: 1px solid rgba(110, 41, 246, 0.22);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 750;
}

.price-points span {
  color: #64748b;
  font-size: 14px;
}

.price-board {
  margin-top: -70px;
  padding: 26px 28px 80px;
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.72);
}

.price-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.price-tabs button {
  min-width: 86px;
  height: 44px;
  border: 1px solid #dfe6f2;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.vendor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.vendor-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.vendor-chips img,
.price-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.price-table {
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  background: #fff;
}

.price-row {
  display: grid;
  grid-template-columns: 190px 1.5fr repeat(3, 1fr);
  min-height: 58px;
  border-bottom: 1px solid #e8eef7;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: #64748b;
  font-weight: 650;
}

.price-row > div:nth-child(n + 3) {
  justify-content: flex-end;
  color: var(--primary);
}

.price-row.head {
  min-height: 48px;
  background: #f8fafc;
}

.price-row.head > div {
  color: #475569;
}

.console-body {
  min-height: 100vh;
  color: #334155;
  background: #f8fbff;
}

.console-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 204px;
  padding: 0 8px 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f2eaff 0%, #fff 42%);
  border-right: 1px solid #e6edf7;
}

.console-logo {
  display: flex;
  height: 56px;
  margin: 0 -8px 12px;
  align-items: center;
  justify-content: center;
  background: #6e29f6;
}

.console-logo img {
  width: 150px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.console-sidebar p {
  margin: 18px 10px 8px;
  color: #94a3b8;
  font-size: 13px;
}

.console-sidebar p span {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #7c3aed;
  background: #efe7ff;
}

.console-sidebar a:not(.console-logo) {
  display: block;
  padding: 11px 18px;
  border-radius: 8px;
  color: #75839a;
  font-size: 14px;
  font-weight: 650;
}

.console-sidebar a.active,
.console-sidebar a:hover {
  color: #6e29f6;
  background: #e8ddff;
}

.console-main {
  margin-left: 204px;
  padding: 0 18px 34px;
}

.console-top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(12px);
}

.console-top h1 {
  margin: 0;
  color: #334155;
  font-size: 20px;
}

.console-top div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-top div span:first-child {
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.28);
  font-size: 13px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: #6e29f6;
}

.console-tools {
  display: flex;
  gap: 12px;
  margin: 10px 0 14px;
}

.console-tools button,
.console-tools input {
  height: 42px;
  border: 1px solid #d9e3f2;
  border-radius: 8px;
  background: #fff;
}

.console-tools button {
  padding: 0 18px;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
}

.console-tools input {
  width: 510px;
  max-width: 100%;
  padding: 0 16px;
}

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

.console-card {
  position: relative;
  min-height: 160px;
  padding: 24px 18px 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 41, 59, 0.04);
}

.console-card.active {
  border-color: #6e29f6;
  box-shadow: 0 0 0 1px rgba(110, 41, 246, 0.3);
}

.console-card b {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 8px;
  border-radius: 0 8px 0 8px;
  color: #fff;
  background: #ef4444;
  font-size: 12px;
}

.console-card img {
  float: left;
  width: 36px;
  height: 36px;
  margin: 0 12px 8px 0;
  object-fit: contain;
}

.console-card h3 {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.console-card small {
  display: block;
  color: #64748b;
  font-weight: 650;
}

.console-card p {
  clear: both;
  display: -webkit-box;
  min-height: 44px;
  margin: 14px 0;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1180px) {
  .public-model-grid,
  .console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-row {
    grid-template-columns: 150px 1.25fr repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .model-hero,
  .pricing-hero {
    min-height: 620px;
    padding: 120px 18px 90px;
  }

  .model-filters,
  .model-list-section,
  .price-board {
    width: calc(100% - 28px);
  }

  .model-filters {
    margin-top: -105px;
  }

  .public-model-grid,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .model-list-head {
    display: grid;
  }

  .price-board {
    overflow-x: auto;
  }

  .price-table {
    min-width: 840px;
  }

  .console-sidebar {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 250px;
  }

  .console-logo {
    grid-column: 1 / -1;
  }

  .console-main {
    margin-left: 0;
  }

  .console-top {
    position: static;
    display: grid;
    height: auto;
    gap: 12px;
    padding: 12px 0;
  }

  .console-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .console-tools button,
  .console-tools input {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .product-hero {
    grid-template-columns: 1fr;
    padding-top: 128px;
  }

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

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

@media (max-width: 820px) {
  .product-hero {
    min-height: auto;
    padding: 108px 18px 64px;
  }

  .product-copy h1 {
    font-size: 42px;
  }

  .product-copy p {
    font-size: 17px;
  }

  .product-visual,
  .product-visual img,
  .gateway-logos {
    min-height: 260px;
  }

  .product-section {
    padding: 72px 18px;
  }

  .product-feature-grid,
  .product-showcase,
  .product-list,
  .product-quote-grid {
    grid-template-columns: 1fr;
  }

  .product-image-card img {
    height: 210px;
  }
}
