.bg-carbon-gradient {
  background: linear-gradient(180deg, rgba(18, 20, 12, 0.8) 0%, rgba(18, 20, 12, 1) 100%);
}

.modal-backdrop {
  background: rgba(18, 20, 12, 0.82);
  backdrop-filter: blur(14px);
}

.hero-parallax-media {
  transform: translate3d(0, 0, 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.store-badge-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.terrain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.terrain-chip::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(185, 242, 13, 0.95);
  box-shadow: 0 0 0 4px rgba(185, 242, 13, 0.14);
}

.hero-actions {
  align-items: flex-start;
}

.integration-card,
.pricing-plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 15, 11, 0.72);
}

.integration-card::before,
.pricing-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 242, 13, 0.6), rgba(255, 255, 255, 0));
}

.pricing-plan-card--pro {
  border-color: rgba(185, 242, 13, 0.22);
  background:
    radial-gradient(circle at top right, rgba(185, 242, 13, 0.12), transparent 42%),
    rgba(15, 20, 12, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.pricing-plan-card--roadmap {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 46%),
    rgba(11, 15, 11, 0.74);
}

.pricing-price-block {
  text-align: right;
}

.pricing-price {
  color: #f8fafc;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pricing-note {
  margin-top: 0.5rem;
  max-width: 12rem;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.pricing-comparison-shell {
  margin-top: clamp(3rem, 7vw, 6rem);
}

.pricing-comparison {
  width: 100%;
  border-collapse: collapse;
}

.pricing-comparison thead th {
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  vertical-align: bottom;
}

.pricing-comparison tbody th,
.pricing-comparison tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: middle;
}

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

.pricing-comparison th:first-child,
.pricing-comparison td:first-child {
  width: 34%;
}

.pricing-comparison-mobile {
  padding: 0.35rem 1.4rem 0.5rem;
}

.pricing-mobile-section {
  padding: 1.4rem 0;
}

.pricing-mobile-section + .pricing-mobile-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-mobile-section-body {
  margin-top: 1rem;
}

.pricing-mobile-feature {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.pricing-mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
}

.pricing-mobile-plan {
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pricing-mobile-sublabel {
  margin-top: 0.3rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.pricing-mobile-value {
  flex-shrink: 0;
}

.pricing-column-title {
  display: block;
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pricing-column-subtitle {
  display: block;
  margin-top: 0.4rem;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.pricing-feature-label {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.pricing-status {
  display: inline-flex;
  min-width: 6.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.56rem 0.78rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-status--yes {
  border-color: rgba(185, 242, 13, 0.24);
  background: rgba(185, 242, 13, 0.12);
  color: #d9ff74;
}

.pricing-status--no {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}

.pricing-status--roadmap {
  border-color: rgba(96, 165, 250, 0.24);
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
}

.pricing-status--neutral {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

@media (max-width: 640px) {
  header .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  header .max-w-7xl > a {
    gap: 0.55rem;
  }

  header .max-w-7xl > a .material-symbols-outlined {
    font-size: 1.5rem;
  }

  header .max-w-7xl > a h2 {
    font-size: 1rem;
  }

  header a[href="roadmap.html"] {
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
  }

  #hero-section {
    min-height: 820px;
  }

  #hero-section .relative.z-20 {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #hero-section h1 {
    font-size: clamp(3.35rem, 16vw, 4.35rem);
  }

  #hero-section [data-copy="heroBody"],
  #hero-section p.reveal-delay-2 {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 0.85rem;
  }

  .hero-actions > a,
  .hero-actions > button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions > a {
    padding: 1rem 1.25rem;
  }

  .hero-actions > button {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  #integrations .max-w-7xl,
  #pricing .max-w-7xl,
  footer .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #pricing h2 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  #pricing .grid {
    gap: 1rem;
  }

  #pricing article {
    padding: 1.4rem;
  }

  .pricing-price-block {
    text-align: left;
  }

  .pricing-note {
    max-width: none;
  }

  .pricing-comparison-shell {
    margin-top: 2.75rem;
  }

  /* Responsive comparison table */
  .pricing-comparison thead th {
    padding: 0.65rem 0.4rem;
  }

  .pricing-comparison th:first-child,
  .pricing-comparison td:first-child {
    width: 50%;
  }

  .pricing-comparison tbody th,
  .pricing-comparison tbody td {
    padding: 0.65rem 0.4rem;
  }

  .pricing-feature-label {
    font-size: 0.78rem;
    font-weight: 700;
  }

  .pricing-column-title {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .pricing-column-subtitle {
    font-size: 0.6rem;
    margin-top: 0.2rem;
  }

  /* Icon-only status badges on mobile */
  .pricing-status {
    min-width: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .pricing-status--yes::before {
    content: "✓";
    font-size: 0.85rem;
    font-weight: 900;
    color: #d9ff74;
  }

  .pricing-status--no::before {
    content: "–";
    font-size: 0.9rem;
    font-weight: 900;
    color: #94a3b8;
  }

  .pricing-status--roadmap::before {
    content: "✓";
    font-size: 0.85rem;
    font-weight: 900;
    color: #93c5fd;
  }

  .terrain-chip {
    font-size: 0.68rem;
    padding: 0.58rem 0.8rem;
    letter-spacing: 0.06em;
  }

  footer .flex.gap-10 {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-parallax-media {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.reveal--visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }

  .reveal-delay-1 {
    transition-delay: 0.08s;
  }

  .reveal-delay-2 {
    transition-delay: 0.16s;
  }

  .reveal-delay-3 {
    transition-delay: 0.24s;
  }

  .reveal-delay-4 {
    transition-delay: 0.32s;
  }

  .reveal-delay-5 {
    transition-delay: 0.40s;
  }

  .reveal-scale {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    will-change: transform, opacity;
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal-scale.reveal--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: auto;
  }
}
