.hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background:
    radial-gradient(1100px 520px at 76% 18%, rgba(37, 99, 235, .22), transparent 62%),
    radial-gradient(900px 460px at 6% 88%, rgba(37, 99, 235, .14), transparent 64%),
    linear-gradient(180deg, #060d1b 0%, #04080f 72%);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  background-image: radial-gradient(circle, rgba(96, 165, 250, .38) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

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

.hero-sub {
  margin-top: 24px;
  max-width: 365px;
  font-size: 17px;
  color: var(--text-muted);
}

.hero-tags {
  margin-top: 26px;
  max-width: 470px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.hero-tag {
  white-space: nowrap;
}

.hero-tag-sep {
  margin-inline: 7px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-media {
  perspective: 1000px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, .18),
    0 28px 70px rgba(2, 8, 23, .75),
    0 0 90px rgba(37, 99, 235, .22);
  transform: rotateY(-18deg) rotateX(3deg);
  transform-origin: left center;
}

.hero-trusted {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 44px;
}

.hero-trusted .logo-bar {
  gap: 44px;
}

.hero-trusted .logo-bar img {
  height: auto;
  width: auto;
  max-height: 36px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(1.6);
  opacity: .92;
}

.hero-trusted .logo-bar img:hover {
  opacity: 1;
}

.features,
.comparison {
  padding-block: 64px;
}

.workflow-section {
  padding-block: 64px 32px;
}

.industries {
  padding-block: 32px;
}

.integrations {
  padding-block: 32px 64px;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
}

.feature-icon {
  color: var(--accent);
}

.feature-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.7;
}

.feature-card h3 {
  margin: 20px 0 14px;
  font-size: 17px;
}

.feature-points li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--light-muted);
}

.feature-more {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.comparison {
  background: var(--bg-1);
}

.comparison-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 5px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.comparison-table thead th {
  padding-block: 11px;
  font-weight: 600;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  padding-left: 18px;
  text-align: left;
  font-weight: 500;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, .025);
}

.comparison-table thead .is-katapy {
  background: #1a5fd4;
  font-weight: 700;
}

.comparison-table tbody .is-katapy,
.comparison-table tbody tr:hover .is-katapy {
  background: #0b3fa3;
}

.mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.mark-yes {
  background: rgba(74, 222, 128, .16);
  color: #4ade80;
}

.mark-no {
  background: rgba(248, 113, 113, .14);
  color: #f87171;
}

.is-katapy .mark-yes {
  background: #16a34a;
  color: #fff;
}

.workflow {
  margin-top: 40px;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.industry-card {
  flex: 0 0 calc((100% - 90px) / 10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 22px 6px;
  text-align: center;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  transition: border-color .2s ease, color .2s ease;
}

.industry-card .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
  color: #334155;
}

.industry-card span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.industry-card:hover {
  border-color: var(--accent);
}

.industry-card:hover .icon {
  color: var(--accent);
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.integration-tile {
  display: flex;
  flex: 0 0 136px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 56px;
  padding: 8px 10px;
  border: 1px solid var(--light-border);
  border-radius: 10px;
  background: var(--light-bg);
}

.integration-tile img {
  width: 100%;
  height: 26px;
  object-fit: contain;
}

.integration-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.15;
  color: #334155;
}

.integration-tile:has(.integration-label) img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.integration-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #334155;
}

.integration-more {
  margin-top: 20px;
  text-align: center;
}

.integration-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.story {
  padding-block: 56px;
  background: linear-gradient(180deg, #04080f, #050b16);
}

.story-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.story-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.story-body {
  max-width: 470px;
}

.story-quote {
  margin-block: 14px 26px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.story-logo {
  height: 40px;
  width: auto;
  margin-bottom: 10px;
}

.story-role {
  font-size: 14px;
  color: var(--text-muted);
}

.story-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
}

.story-link:hover {
  color: var(--accent);
}

.home-cta {
  padding-block: 72px;
}

.home-cta .cta-banner {
  padding: 48px 32px;
}

.home-cta .cta-banner p {
  margin-bottom: 26px;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 44px;
  }

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

  .industry-card {
    flex-basis: calc((100% - 40px) / 5);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-media img {
    transform: none;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-sub,
  .hero-tags {
    max-width: none;
  }

  .story-quote {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
  }

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

  .hero-sub {
    font-size: 16px;
  }

  .hero-trusted {
    padding-top: 48px;
    padding-bottom: 8px;
  }

  .logo-bar {
    gap: 28px;
  }

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

  .feature-grid .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .industry-card {
    flex-grow: 1;
  }

  .feature-grid .card {
    text-align: center;
  }

  .feature-grid .card .feature-icon {
    display: flex;
    justify-content: center;
  }

  .industry-card {
    flex-basis: calc((100% - 20px) / 3);
  }

  .integration-tile {
    flex-basis: 116px;
    height: 50px;
  }

  .story {
    padding-block: 56px;
  }

  .home-cta {
    padding-block: 56px;
  }

  .cta-banner {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .industry-card {
    flex-basis: calc((100% - 10px) / 2);
  }

  .hero-actions .btn {
    width: 100%;
  }
}
