/* ============================================
   AcuGIS Report Designer product page
   Extends home.css tokens, buttons, footer, type
   ============================================ */

:root {
  --rd: #5b4cdb;
  --rd-deep: #4338ca;
  --rd-soft: #f3f0ff;
  --rd-line: #e4dffc;
}

.rd-hero .btn:focus-visible,
.rd-text-link:focus-visible,
.rd-related a:focus-visible {
  outline: 3px solid rgba(91, 76, 219, 0.4);
  outline-offset: 2px;
}

.rd-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(91, 76, 219, 0.12), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(21, 101, 192, 0.08), transparent 42%),
    linear-gradient(110deg, #eef0fb 0%, #f3f0ff 46%, #eef4fb 100%);
}

.rd-hero .eyebrow {
  color: var(--rd-deep);
}

.rd-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 12px;
  max-width: 14em;
}

.rd-hero .hero-kicker {
  color: var(--rd-deep);
}

.rd-hero .hero-actions {
  align-items: center;
}

.rd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--rd-deep);
}

.rd-text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.rd-text-link:hover svg,
.rd-text-link:focus-visible svg {
  transform: translateX(3px);
}

.rd-hero .btn-primary {
  background: var(--rd);
}

.rd-hero .btn-primary:hover,
.rd-hero .btn-primary:focus {
  background: var(--rd-deep);
}

.rd-hero .btn-outline {
  color: var(--rd-deep);
  border-color: var(--rd);
}

.rd-hero .btn-outline:hover,
.rd-hero .btn-outline:focus {
  background: var(--rd-soft);
  color: var(--rd-deep);
}

.rd-shot {
  margin: 0;
  overflow: hidden;
  background: #f4f7f8;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.rd-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.rd-shot figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.rd-section {
  padding: 80px 0;
}

.rd-section--soft {
  background: var(--rd-soft);
}

.rd-section--alt {
  background: var(--soft);
}

.rd-section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.rd-section-header .eyebrow {
  color: var(--rd-deep);
}

.rd-section-header h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 12px;
}

.rd-section-header p {
  color: var(--muted);
  font-size: 17px;
}

.rd-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}

.rd-flow-step {
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.rd-flow-step h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.rd-flow-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.rd-flow-step--hub {
  border-color: var(--rd);
  background: var(--rd-soft);
}

.rd-flow-join {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd);
  font-size: 20px;
  font-weight: 700;
}

.rd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rd-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rd-card h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rd-deep);
  margin-bottom: 10px;
}

.rd-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.rd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.rd-copy-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.rd-copy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.rd-copy-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--rd);
  flex-shrink: 0;
}

.rd-source-row,
.rd-platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.rd-source,
.rd-platform {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
}

.rd-related {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 40px;
  align-items: center;
  padding: 28px 32px;
  background: var(--rd-soft);
  border: 1px solid var(--rd-line);
  border-radius: var(--radius-lg);
}

.rd-related .eyebrow {
  color: var(--rd-deep);
}

.rd-related h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 10px;
}

.rd-related p {
  font-size: 16px;
  color: var(--muted);
  max-width: 42em;
}

.rd-related .btn-primary {
  background: var(--rd);
}

.rd-related .btn-primary:hover,
.rd-related .btn-primary:focus {
  background: var(--rd-deep);
}

.rd-desktop-shot {
  margin-top: 22px;
}

.rd-price {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 28px 24px;
  background: var(--white);
  border: 1px solid var(--rd);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.rd-price .eyebrow {
  color: var(--rd-deep);
}

.rd-price h3 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.rd-price-desc {
  color: var(--muted);
  font-size: 15px;
}

.rd-price-amount {
  margin: 18px 0 4px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-deep);
}

.rd-price-amount span {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}

.rd-price .btn {
  width: 100%;
  margin-top: 22px;
  background: var(--rd);
}

.rd-price .btn:hover,
.rd-price .btn:focus {
  background: var(--rd-deep);
  color: var(--white);
}

.rd-price-note {
  max-width: 36rem;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.rd-price-note a {
  font-weight: 700;
  color: var(--rd-deep);
}

.rd-analytics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rd-analytics-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rd-analytics-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--navy-deep);
}

.rd-analytics-card > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.rd-analytics-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  flex: 1;
}

.rd-analytics-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.rd-analytics-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--rd);
  flex-shrink: 0;
}

.rd-analytics-card .btn {
  width: 100%;
}

.rd-analytics-card .btn-primary {
  background: var(--rd);
}

.rd-analytics-card .btn-primary:hover,
.rd-analytics-card .btn-primary:focus {
  background: var(--rd-deep);
  color: var(--white);
}

.rd-analytics-card .btn-outline {
  color: var(--rd-deep);
  border-color: var(--rd);
}

.rd-analytics-card .btn-outline:hover,
.rd-analytics-card .btn-outline:focus {
  background: var(--rd-soft);
  color: var(--rd-deep);
}

.rd-cta.cta {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(91, 76, 219, 0.24), transparent 55%),
    linear-gradient(135deg, #2e1065 0%, #312e81 45%, #0f4c75 100%);
}

.rd-cta .btn-outline-light:hover,
.rd-cta .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1100px) {
  .rd-card-grid,
  .rd-analytics {
    grid-template-columns: 1fr 1fr;
  }

  .rd-split,
  .rd-related {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rd-related .product-cta,
  .rd-related .btn {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .rd-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rd-flow-join {
    min-height: 28px;
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .rd-hero,
  .rd-section {
    padding: 48px 0;
  }

  .rd-hero h1 {
    font-size: 32px;
  }

  .rd-card-grid,
  .rd-analytics {
    grid-template-columns: 1fr;
  }

  .rd-hero .hero-actions .btn,
  .rd-cta .btn {
    width: 100%;
  }

  .rd-related {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-text-link svg {
    transition: none;
  }

  .rd-text-link:hover svg,
  .rd-text-link:focus-visible svg {
    transform: none;
  }
}
