/* Shared landing-page styles for keyword-focused SEO pages.
   Scoped under .rtai-seo so nothing here can leak into the rest of the site. */

.rtai-seo {
  color: #42556b;
  font-size: 16px;
  line-height: 1.7;
}

.rtai-seo h1,
.rtai-seo h2,
.rtai-seo h3,
.rtai-seo h4 {
  color: var(--color-heading-1);
  word-break: normal;
}

.rtai-seo p {
  margin-bottom: 18px;
}

.rtai-seo a {
  color: var(--color-primary);
}

.rtai-seo a:hover {
  color: #2423b8;
}

/* Keep theme buttons readable even though body links are brand-colored. */
.rtai-seo .rts-btn.btn-primary {
  color: #fff;
}

.rtai-seo .rts-btn.btn-border-p:hover {
  color: #fff;
}

/* Hero */
.rtai-hero {
  --rtai-header-band: 96px;
  --rtai-header-fade: 150px;
  position: relative;
  overflow: hidden;
  padding: 158px 0 68px;
  background:
    linear-gradient(180deg, #083a5e 0, #083a5e var(--rtai-header-band), rgba(8, 58, 94, 0) var(--rtai-header-fade)),
    radial-gradient(900px 420px at 12% -10%, rgba(63, 62, 237, 0.12), transparent 62%),
    radial-gradient(760px 380px at 92% 4%, rgba(51, 184, 159, 0.14), transparent 60%),
    linear-gradient(180deg, #f7f8ff 0%, #f2f9ff 100%);
  border-bottom: 1px solid #e8ebf6;
}

.rtai-hero .container {
  position: relative;
  z-index: 1;
}

.rtai-breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
  color: #6b7d92;
}

.rtai-breadcrumb a {
  color: #516579;
  text-decoration: none;
}

.rtai-breadcrumb a:hover {
  color: var(--color-primary);
}

.rtai-breadcrumb span {
  margin: 0 8px;
  color: #9aa8ba;
}

.rtai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(63, 62, 237, 0.09);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rtai-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 22px 0 20px;
}

.rtai-lead {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.65;
  color: #3f536a;
  margin-bottom: 28px;
}

.rtai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.rtai-actions .rts-btn {
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
}

.rtai-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.rtai-checks li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #42556b;
}

.rtai-checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 7px;
  height: 13px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

.rtai-hero-media {
  position: relative;
  padding: 10px 0 10px 18px;
}

.rtai-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2e7f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(8, 58, 94, 0.16);
}

.rtai-hero-badge {
  position: absolute;
  left: -6px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #e2e7f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 58, 94, 0.14);
  color: #083a5e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.rtai-hero-badge i {
  color: var(--color-primary);
  font-size: 18px;
}

/* Sections */
.rtai-section {
  padding: 74px 0;
}

.rtai-section--tint {
  background: #f6f8ff;
}

.rtai-section--tight {
  padding: 54px 0;
}

.rtai-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}

.rtai-section h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 10px;
}

.rtai-section p:last-child {
  margin-bottom: 0;
}

.rtai-section-head {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.rtai-section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: #516579;
  margin: 0;
}

.rtai-prose {
  max-width: 860px;
  margin: 0 auto;
}

.rtai-prose p {
  font-size: 16.5px;
  line-height: 1.75;
}

/* Card grids */
.rtai-grid {
  display: grid;
  gap: 24px;
}

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

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

.rtai-card {
  height: 100%;
  padding: 28px;
  border: 1px solid #e5e9f4;
  border-radius: 14px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rtai-card:hover {
  transform: translateY(-3px);
  border-color: #d5dbef;
  box-shadow: 0 18px 40px rgba(8, 58, 94, 0.1);
}

.rtai-card h3 {
  margin-bottom: 9px;
}

.rtai-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #516579;
}

.rtai-card p + p {
  margin-top: 10px;
}

.rtai-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #eef0ff;
  color: var(--color-primary);
  font-size: 19px;
}

.rtai-card--green .rtai-icon {
  background: #e9f8f4;
  color: #1f9b83;
}

.rtai-card--amber .rtai-icon {
  background: #fff5e9;
  color: #c97a13;
}

/* Numbered steps */
.rtai-steps {
  counter-reset: rtai-step;
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.rtai-step {
  position: relative;
  padding: 26px 30px 26px 88px;
  border: 1px solid #e5e9f4;
  border-radius: 14px;
  background: #fff;
}

.rtai-step::before {
  counter-increment: rtai-step;
  content: counter(rtai-step);
  position: absolute;
  left: 26px;
  top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.rtai-step h3 {
  margin-bottom: 7px;
}

.rtai-step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #516579;
}

/* Note */
.rtai-note {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  background: #f2f3ff;
  font-size: 15.5px;
  line-height: 1.7;
}

.rtai-note strong {
  color: #083a5e;
}

/* Comparison table */
.rtai-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e9f4;
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.rtai-table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
}

.rtai-table th {
  padding: 16px 22px;
  background: #083a5e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.rtai-table td {
  padding: 16px 22px;
  border-bottom: 1px solid #edf0f8;
  color: #4a5f75;
  font-size: 15px;
  line-height: 1.55;
  vertical-align: top;
}

.rtai-table tr:last-child td {
  border-bottom: 0;
}

.rtai-table td:first-child {
  color: #083a5e;
  font-weight: 600;
}

/* Pricing panel */
.rtai-price-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
  align-items: center;
  padding: 42px 46px;
  border-radius: 18px;
  background: linear-gradient(135deg, #083a5e 0%, #12256b 100%);
  color: #dbe6f5;
}

.rtai-price-panel h2 {
  color: #fff;
  margin-bottom: 14px;
}

.rtai-price-panel p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #dbe6f5;
}

.rtai-price-panel p:last-of-type {
  margin-bottom: 0;
}

.rtai-price-panel .rtai-price {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.rtai-price-panel .rtai-price span {
  font-size: 15px;
  font-weight: 500;
  color: #b9c9e0;
}

.rtai-price-panel .rtai-actions {
  margin: 22px 0 0;
}

.rtai-price-panel .rts-btn.btn-primary {
  background: #fff;
  color: #083a5e;
}

.rtai-price-panel .rts-btn.btn-primary:hover {
  background: #dfe6ff;
  color: #083a5e;
}

.rtai-price-panel .rts-btn.btn-border-p {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.rtai-price-panel .rts-btn.btn-border-p:hover {
  background: #fff;
  border-color: #fff;
  color: #083a5e;
}

/* Related links */
.rtai-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rtai-related--center {
  justify-content: center;
}

.rtai-related a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #dfe3f3;
  border-radius: 999px;
  background: #fff;
  color: #083a5e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rtai-related a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.rtai-related a i {
  font-size: 12px;
  color: var(--color-primary);
}

/* FAQ */
.rtai-faq .accordion-item {
  margin-bottom: 12px;
  border: 1px solid #e5e9f4;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.rtai-faq .accordion-item:last-child {
  margin-bottom: 0;
}

.rtai-faq .accordion-button {
  padding: 20px 24px;
  background: #fff;
  color: #083a5e;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: none;
}

.rtai-faq .accordion-button:not(.collapsed) {
  background: #eef0ff;
  color: var(--color-primary);
  box-shadow: none;
}

.rtai-faq .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.rtai-faq .accordion-body {
  padding: 18px 24px 22px;
  color: #516579;
  font-size: 15.5px;
  line-height: 1.7;
}

.rtai-faq .accordion-body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .rtai-hero {
    --rtai-header-band: 96px;
    --rtai-header-fade: 124px;
    padding: 132px 0 50px;
  }

  .rtai-hero-media {
    margin-top: 38px;
    padding-left: 0;
  }

  .rtai-section {
    padding: 56px 0;
  }

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

  .rtai-price-panel {
    grid-template-columns: 1fr;
    padding: 34px;
  }
}

@media only screen and (max-width: 767px) {
  .rtai-hero {
    --rtai-header-band: 78px;
    --rtai-header-fade: 106px;
    padding: 112px 0 40px;
  }

  .rtai-hero h1 {
    font-size: 34px;
  }

  .rtai-lead {
    font-size: 17px;
  }

  .rtai-hero-media {
    margin-top: 32px;
    padding-left: 0;
  }

  .rtai-hero-badge {
    position: static;
    margin-top: 14px;
  }

  .rtai-section {
    padding: 48px 0;
  }

  .rtai-grid--2,
  .rtai-grid--3 {
    grid-template-columns: 1fr;
  }

  .rtai-step {
    padding: 22px 22px 22px 76px;
  }

  .rtai-step::before {
    left: 20px;
    top: 21px;
    width: 38px;
    height: 38px;
  }

  .rtai-price-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .rtai-price-panel .rtai-price {
    font-size: 34px;
  }

  .rtai-actions .rts-btn {
    width: 100%;
    text-align: center;
  }
}
