@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:#EDEAFB;
  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, 56px);
  font-weight: 700;
}

.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;
}

.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: #552ef4;
}

.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(139, 18, 230, 0.06), transparent 28%), 
radial-gradient(circle at 8% 100%, rgba(40, 100, 255, 0.1), 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-size: clamp(34px, 3.8vw, 40px);
  font-weight: 600;
  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: #27282a;
  font-size: 20px;
  line-height: 1.9;
}

.heading-title p {
  margin: 18px auto 0;
}

.grid,
.tools {
  display: grid;
  gap: 24px;
}

.pricing-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: 5px;
  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;
}

.action-btn.outline {
  color: #121826;
  background: #ffffff;
  border: 1px solid #D7D7D7;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.action-btn.outline:hover,
.action-btn.outline:focus,
.action-btn.outline:active {
  color: var(--blue);
  background: #ffffff;
  border-color: var(--blue);
}

.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));
}

.panel-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.panel-split--bundle {
  grid-template-columns: minmax(0, 1.2fr) 360px;
}

.panel-split .visual {
  min-height: 380px;
  padding: 28px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.panel-product {
  position: relative;
  border: none;
  background: none;
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.08);
}

.panel-product + .panel-product {
  margin-top: 106px;
}

.panel-product h3 {
  font-size: clamp(30px, 2.8vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.panel-product .product-actions {
  margin-top: 0;
  padding: 16px 0 0;
}

.panel .panel-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.panel > .visual {
  grid-column: 2;
  grid-row: 1;
}

.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) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-split,
  #online-editor {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 230px;
  }

  .panel-split .visual {
    min-height: 300px;
    padding: 20px;
    grid-column: 1;
    grid-row: 2;
  }

  .panel .panel-body {
    grid-column: 1;
    grid-row: 1;
  }
}

@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;
  }

  .heading-title p,
  .card p,
  .panel p {
    font-size: 20px;
    line-height: 1.85;
  }

  .pricing-grid,
  .tools {
    grid-template-columns: 1fr;
  }

  .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;
}

.card h3 a:hover,
.panel h3 a:hover {
  color: var(--blue2);
}

/* Catalog pages (products & download) */
.catalog-page .hero {
  padding-bottom: 88px;
}

.catalog-page .sec {
  background: none;
  padding-top: 38px;
}

.catalog-page #mcp-access {
  margin-bottom: 3rem;
}

.catalog-page .panel p {
  line-height: 1.75;
}

.catalog > .grid {
  gap: 96px 48px;
  padding-top: 96px;
  overflow: visible;
}

.catalog--3col > .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog .card {
  position: relative;
  min-height: 0;
  padding: 30px 24px;
  border-color: #D7D7D7;
  background-color: #ffffff;
  overflow: visible;
  transition: box-shadow 0.25s ease;
}

.catalog--3col .card {
  align-items: center;
  padding: 80px 24px 30px;
  text-align: center;
}

.catalog .card:hover {
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.08);
}

.catalog--3col .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%);
}

.catalog--3col .card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.catalog .badge,
.panel-product .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;
}

.catalog .card > p {
  margin-bottom: 18px;
}

.product-actions {
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 0;
  padding: 22px 24px 20px;
  text-align: left;
}

.product-actions .actions-dl {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.product-actions .actions-dl [data-platform] {
  width: 100%;
  flex: none;
}

.product-actions .actions-btns {
  display: flex;
  gap: 13px;
  align-items: stretch;
  margin-top: 20px;
}

.product-actions .actions-side {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.product-actions .guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.product-actions .guide-link i {
  font-size: 12px;
}

.product-actions .guide-link:hover {
  color: var(--blue2);
  text-decoration: underline;
}

.product-actions [data-platform][hidden] {
  display: none !important;
}

.product-actions .platform-switch {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
}

.product-actions .platform-switch:hover {
  color: var(--blue2);
  text-decoration: underline;
}

.product-actions [data-platform] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.product-actions .actions-side .action-btn,
.product-actions .actions-dl .action-btn,
.product-actions [data-platform] .action-btn {
  width: 100%;
  max-width: none;
  flex: none;
}

.product-actions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-actions li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4a5568;
  font-size: 18px;
  line-height: 1.6;
  word-break: break-word;
}

.product-actions li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.product-actions li + li {
  margin-top: 10px;
}

.product-actions [data-platform] li strong {
  color: #1f2937;
  font-weight: 700;
}

.product-actions [data-platform] li a {
  color: var(--blue);
  font-weight: 400;
}

.product-actions [data-platform] li a:hover {
  color: var(--blue2);
  text-decoration: underline;
}

@media (max-width: 1439px) {
  .catalog--3col > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 24px;
  }
}

@media (max-width: 832px) {
  .catalog-page .sec {
    width: min(100% - 24px, 1180px);
    padding: 46px 16px;
  }

  .catalog > .grid {
    grid-template-columns: 1fr;
    gap: 96px;
    margin-inline: auto;
  }

  .catalog--3col > .grid {
    max-width: 480px;
  }

  .catalog .card {
    padding: 26px 18px 24px;
  }

  .catalog--3col .card {
    padding: 72px 18px 24px;
  }

  .catalog .card > p {
    font-size: 17px;
    line-height: 1.65;
  }

  .product-actions {
    padding: 16px;
  }

  .product-actions .actions-btns {
    flex-direction: column;
  }
}
