.intellect-hero {
  padding: 15px 0 58px;
}

.intellect-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 44px;
  align-items: center;
}

.intellect-hero-copy h1 {
  font-size: clamp(40px, 6.8vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.intellect-lead,
.intellect-section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.intellect-lead {
  max-width: 690px;
  margin-bottom: 30px;
}

.intellect-preview-shell {
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 26px;
  background: rgba(3, 7, 18, 0.84);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
}

.intellect-preview-top,
.intellect-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 13px;
}

.intellect-preview-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.intellect-preview-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.intellect-preview-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.intellect-status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.11);
}

.intellect-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.intellect-preview-button img {
  display: block;
  width: 100%;
  height: auto;
}

.intellect-section {
  padding: 88px 0;
}

.intellect-section-soft {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.intellect-feature-card {
  min-height: 245px;
}

.intellect-feature-card p {
  color: var(--muted);
}

.intellect-workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.intellect-workflow-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  min-height: 155px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

.intellect-workflow-step > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
  font-size: 20px;
  font-weight: 900;
}

.intellect-workflow-step h3 {
  margin: 2px 0 7px;
}

.intellect-workflow-step p {
  margin: 0;
  color: var(--muted);
}

.intellect-workflow-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.8));
}

.intellect-credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 50px;
  align-items: center;
}

.intellect-credit-layout h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 12px 0 22px;
}

.intellect-credit-points {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.intellect-credit-points > div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-left: 3px solid rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.055);
}

.intellect-credit-points span {
  color: var(--muted);
  font-size: 14px;
}

.intellect-credit-panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 15, 31, 0.94));
  box-shadow: var(--shadow);
}

.intellect-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.intellect-panel-head h3 {
  margin: 0;
  font-size: 26px;
}

.intellect-credit-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.intellect-credit-stat {
  min-height: 105px;
  padding: 16px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.intellect-credit-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.intellect-credit-stat strong {
  font-size: 23px;
  letter-spacing: -0.04em;
}

.intellect-pricing-grid {
  align-items: stretch;
}

.intellect-pricing-grid .pricing-card {
  display: flex;
  flex-direction: column;
}

.intellect-pricing-grid .feature-list {
  flex: 1;
}

.intellect-plan-label {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 12px;
  font-weight: 800;
}

.intellect-subscription-notice {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 15px 18px;
  border-radius: 15px;
  color: #fde68a;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.28);
  text-align: center;
  font-weight: 750;
}

.intellect-final-cta {
  padding: 76px 0;
}

.intellect-final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(34, 197, 94, 0.14), transparent 35%),
    rgba(15, 23, 42, 0.82);
}

.intellect-final-card h2 {
  margin: 8px 0 5px;
}

.intellect-final-card p {
  color: var(--muted);
  margin: 0;
}

.intellect-preview-modal {
  width: min(96vw, 1380px);
  max-width: 1380px;
}

.intellect-preview-modal img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
}

.intellect-download-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 1080px) {
  .intellect-hero-grid {
    grid-template-columns: 1fr;
  }

  .intellect-preview-shell {
    max-width: 900px;
  }

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

  .intellect-workflow {
    grid-template-columns: 1fr;
  }

  .intellect-workflow-line {
    width: 1px;
    height: 24px;
    margin-left: 49px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.8));
  }

  .intellect-credit-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .intellect-nav-links {
    display: none;
  }

  .intellect-hero {
    padding-top: 46px;
  }

  .intellect-feature-grid {
    grid-template-columns: 1fr;
  }

  .intellect-final-card {
    align-items: stretch;
    flex-direction: column;
  }

  .intellect-final-card .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .intellect-nav-inner {
    align-items: center;
    gap: 10px;
  }

  .intellect-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    flex-shrink: 0;
  }

  .intellect-nav-actions .auth-user-label {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .intellect-nav-actions .btn {
    width: auto;
    padding: 11px 15px;
    white-space: nowrap;
  }

  /* Hide only the navigation Download button */
  .intellect-nav-actions > .btn.btn-primary {
    display: none !important;
  }

  .intellect-hero-copy h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .intellect-credit-stats {
    grid-template-columns: 1fr;
  }

  .intellect-preview-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intellect-section {
    padding: 66px 0;
  }
}
