@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap");

.hero,
.tabs,
.sec,
.hero *,
.tabs *,
.sec * {
  box-sizing: border-box;
}

.hero,
.tabs,
.sec {
  --text: #121826;
  --muted: #536079;
  --line: #dfe7fb;
  --blue: #2864ff;
  --blue2: #0f47d9;
  --soft-blue: #eef4ff;
  --purple: #8b12e6;
  --purple2: #6d3df2;
  --card: #ffffff;
  color: var(--text);
}

.hero a,
.tabs a,
.sec a {
  text-decoration: none;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0 auto 24px;
  padding: 168px max(34px, calc((100% - 1480px) / 2)) 56px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 18, 230, 0.13), transparent 28%),
    radial-gradient(circle at 84% 0%, rgba(40, 100, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #f0f6ff 0%, #f7f2ff 58%, #eef5ff 100%);
  background-size: cover;
  background-position: center;
}

.hero-kicker {
  margin: 0 0 20px;
  color: #ea580c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  margin: 0;
  color: #0d1117;
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 800;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero > p:not(.hero-kicker) {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 820px;
  margin: 48px auto 0;
  padding: 28px 0;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
  border-bottom: 1px solid rgba(18, 24, 38, 0.08);
  list-style: none;
}

.hero-stats li {
  flex: 1;
  min-width: 0;
  padding: 0 28px;
}

.hero-stats li + li {
  border-left: 1px solid rgba(18, 24, 38, 0.1);
}

.hero-stats strong {
  display: block;
  color: #0d1117;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: min(100% - 40px, 1180px);
  margin: 68px auto 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(40, 100, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 4px 20px rgba(40, 100, 255, 0.1),
    0 1px 3px rgba(18, 24, 38, 0.06);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 999px;
  color: #3d4f6e;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.tabs a:not(.active):hover {
  color: var(--blue2);
  background: rgba(40, 100, 255, 0.07);
}

.tabs i {
  color: var(--blue);
  font-size: 16px;
}

.tabs .active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue2) 72%, var(--purple2));
  box-shadow: 0 4px 14px rgba(40, 100, 255, 0.32);
}

.tabs .active i {
  color: #ffffff;
}

.sec {
  width: min(1480px, calc(100% - 40px));
  margin: 60px auto 0;
  padding: 58px 36px;
  scroll-margin-top: 96px;
  background:
    radial-gradient(circle at 92% 0%, rgba(40, 100, 255, 0.1), transparent 28%),
    radial-gradient(circle at 8% 100%, rgba(139, 18, 230, 0.06), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7ff 54%, #ffffff 100%);
}

.heading-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 36px;
  text-align: center;
}

.heading-title h2 {
  margin: 0;
  padding-bottom: 30px;
  color: #000000;
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;
  border: 1px solid rgba(40, 100, 255, 0.22);
  border-radius: 8px;
  color: var(--blue2);
  background: rgba(40, 100, 255, 0.08);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.heading-title p,
.card p,
.panel p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.heading-title p {
  margin: 18px auto 0;
}

.grid,
.tools {
  display: grid;
  gap: 24px;
}

#desktop-products > .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.tools a,
.visual {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 30px;
}

.card:has(> .tag) {
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: auto auto 1fr auto auto;
  column-gap: 18px;
}

.card:has(> .tag) > img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 68px;
  height: 68px;
  object-fit: contain;
  align-self: center;
}

.card:has(> .tag) > .tag {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.card:has(> .tag) > h3 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
}

.card:has(> .tag) > p,
.card:has(> .tag) > .price,
.card:has(> .tag) > .actions {
  grid-column: 1 / -1;
}

.card:has(> .tag) > p {
  margin-top: 24px;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
}

.price {
  margin-top: auto;
  padding-top: 22px;
}

.price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}

.price-highlight {
  color: #f97316;
}

.price-amount {
  color: #f97316;
  font-size: clamp(28px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-period,
.price-prefix {
  color: #6b7c93;
  font-size: 15px;
  font-weight: 700;
}

#bundle-plan .price-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.price-was {
  color: #9aa8bd;
  font-size: 15px;
  font-weight: 600;
  text-decoration: line-through;
}

.price-save {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ea580c;
  background: rgba(249, 115, 22, 0.12);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.price-note {
  margin: 10px 0 0;
  color: #9aa8bd;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.price-note-amt {
  color: #6b7c93;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}

.action-btn {
  display: inline-flex;
  min-height: 50px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
}

.action-btn i {
  font-size: 18px;
  line-height: 1;
}

.action-btn.primary {
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-color: #ffffff;
  color: #ffffff;
  background: rgba(107, 71, 255, 1);
  transition: background 0.2s ease;
}

.action-btn.primary:hover,
.action-btn.primary:focus,
.action-btn.primary:active {
  color: #ffffff;
  background: rgba(88, 56, 220, 1);
}

.action-btn.soft {
  color: #ffffff;
  background: #000000;
  transition: background 0.2s ease, color 0.2s ease;
}

.action-btn.soft:hover,
.action-btn.soft:focus,
.action-btn.soft:active {
  color: #ffffff;
  background: #1a1a1a;
}

.panel {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 46px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(241,246,255,0.96));
}

#bundle-plan .panel {
  grid-template-columns: minmax(0, 1.2fr) 360px;
}

#mcp-access .panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

#mcp-access .panel .visual {
  min-height: 380px;
  padding: 28px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.panel p {
  margin: 16px 0 0;
}

#bundle-plan .actions {
  max-width: 560px;
}

.visual {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  background: #ffffff;
}

.visual img {
  max-width: 100%;
  height: auto;
}


.visual div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 10px;
}

.visual span {
  padding: 11px 15px;
  border: 1px solid rgba(40, 100, 255, 0.15);
  border-radius: 10px;
  color: #244a9f;
  background: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 800;
}

#online-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

#online-editor > .heading-title {
  grid-column: 1 / -1;
}

#online-editor > .card {
  min-height: 100%;
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
}

.tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.tools a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon link";
  column-gap: 16px;
  align-content: center;
  min-width: 0;
  min-height: 126px;
  padding: 24px;
  color: var(--text);
}

.tools a > i {
  grid-area: icon;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue2) 72%, var(--purple2));
  font-size: 20px;
}

.tools strong {
  grid-area: title;
  align-self: end;
  color: #111111;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.tools em {
  display: inline-flex;
  grid-area: link;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--blue2);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.tools em i {
  font-size: 12px;
}

@media (max-width: 1200px) {
  #online-editor {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  #online-editor .tools {
    grid-template-columns: 1fr;
  }

  .tools a {
    min-height: 108px;
    padding: 20px;
  }

  .tools strong {
    font-size: 18px;
  }
}

@media (max-width: 1040px) {
  #desktop-products > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #bundle-plan .panel,
  #mcp-access .panel,
  #online-editor {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 230px;
  }

  #mcp-access .panel .visual {
    min-height: 300px;
    padding: 20px;
  }
}

@media (max-width: 832px) {
  .hero {
    padding: 120px 18px 46px;
  }

  .sec {
    width: min(100% - 24px, 1180px);
    padding: 46px 18px;
    border-radius: 16px;
  }

  .tabs {
    justify-content: flex-start;
    max-width: calc(100% - 24px);
    margin-bottom: 54px;
    padding: 10px;
  }

  .tabs a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-stats {
    flex-direction: column;
    margin-top: 36px;
    padding: 24px 0;
  }

  .hero-stats li {
    padding: 16px 0;
  }

  .hero-stats li + li {
    border-left: none;
    border-top: 1px solid rgba(18, 24, 38, 0.1);
  }

  .hero-stats strong {
    font-size: 40px;
  }

  .heading-title p,
  .card p,
  .panel p {
    font-size: 20px;
    line-height: 1.85;
  }

  #desktop-products > .grid,
  .tools {
    grid-template-columns: 1fr;
  }

  #desktop-products.dl-products > .grid {
    gap: 80px 32px;
    max-width: none;
    margin-inline: 0;
  }

  .card,
  .panel {
    padding: 26px;
  }

  .actions {
    flex-direction: column;
  }

  .visual div {
    position: static;
    width: calc(100% - 32px);
    margin: -10px auto 18px;
  }
}
.card h3,
.panel h3 {
  font-weight: 800;
}

.card h3 a,
.panel h3 a {
  color: inherit;
  text-decoration: none;
}

/* Download page */
.download-page .sec {
  background: none;
}

.download-page #mcp-access {
  margin-bottom: 3rem;
}

#desktop-products.dl-products > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 96px 48px;
  padding-top: 76px;
  overflow: visible;
}

.dl-products .card {
  position: relative;
  min-height: 0;
  align-items: center;
  padding: 80px 24px 30px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  background-color: #ffffff;
  background-image: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(40, 100, 255, 0.05), transparent 68%);
  box-shadow:
    0 8px 28px rgba(18, 24, 38, 0.06),
    0 1px 2px rgba(18, 24, 38, 0.04);
  text-align: center;
  overflow: visible;
}

.dl-products .card > img {
  position: absolute;
  top: -72px;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 112px;
  padding: 18px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 24, 38, 0.1);
  object-fit: contain;
  transform: translateX(-50%);
}

.dl-products .card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.dl-products .card h3 a:hover {
  color: var(--blue2);
}

.dl-products .card > .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff8c00, #ff5e00);
  box-shadow: 0 3px 10px rgba(255, 94, 0, 0.35);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dl-products .card > p {
  margin-bottom: 18px;
  color: #666666;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
}

.dl-products .dl-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 24px;
  padding: 22px 24px 20px;
  background: #f6f7f9;
  text-align: left;
}

.dl-products .platform {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.dl-products .platform .action-btn {
  width: 100%;
  max-width: none;
}

.dl-products .platform ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-products .platform li {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.65;
  white-space: nowrap;
}

.dl-products .platform li strong {
  color: #1f2937;
  font-weight: 700;
}

.dl-products .platform li a {
  color: var(--blue);
  font-weight: 400;
  text-decoration: none;
}

.dl-products .platform li a:hover {
  color: var(--blue2);
  text-decoration: underline;
}

.download-page #mcp-access .panel p {
  line-height: 1.75;
}
