/* ===========================
   Accent gradient (shared)
   =========================== */
:root {
  /* Warm diagonal gradient like your example */
  --title-gradient: linear-gradient(45deg, #ffb937, #ff7b3a, #af4261);
}

/* ===========================
   Use Cases section background + title gradient
   =========================== */
/* Matches your provided snippet */
.use-cases {
  background-color: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Section title with warm gradient */
.use-cases h2 {
  background: var(--title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

/* ===========================
   SEO text sections (harmonize with dark/glassy theme)
   =========================== */
.seo-section {
  max-width: 960px;
  margin: 56px auto 0;
}
/* Replace previous white gradient with your warm gradient */
.seo-section h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 123, 58, 0.12);
}
.seo-section .lead {
  color: #cfd6d6;
  margin-bottom: 20px;
}

/* --- Symmetrical 2×2 grid for the support-matrix --- */
.support-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* equal column widths */
  gap: 18px 28px; /* row x column gap */
  margin: 8px 0 20px;
}

/* Each pair (your existing <div>) becomes a vertical, centered block */
.support-matrix > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  border-radius: 12px;
}

/* Tighten dt/dd, keep mono accent for dt */
.support-matrix dt {
  margin: 0 0 6px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.95rem;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.support-matrix dd {
  margin: 0;
  color: #d7d7d7;
  line-height: 1.45;
}

/* Mobile: stack to 1 column, still centered */
@media (max-width: 767.98px) {
  .support-matrix {
    grid-template-columns: 1fr;
  }
}

/* Readable lists */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 18px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
  font-weight: 700;
  /* warm-ish glow */
  filter: drop-shadow(0 0 8px rgba(255, 148, 86, 0.35));
}

.steps {
  counter-reset: step;
  padding-left: 0;
  margin-left: 0;
}
.steps > li {
  list-style: none;
  margin: 10px 0;
  padding-left: 40px;
  position: relative;
}
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  /* swap cold cyan/blue with warm gradient rim */
  background: var(--title-gradient);
  color: #0f1115;
  font-weight: 800;
  box-shadow: 0 2px 16px rgba(255, 123, 58, 0.25);
}

.note {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  color: #cfcfcf;
}

/* ===========================
   Section-wide subtle gradient backdrop
   =========================== */
.section-gradient {
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
  isolation: isolate;
}

/* ===========================
   Glassy card containers
   =========================== */
.card-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: clamp(14px, 1.8vw, 20px);
  margin: 16px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: box-shadow 0.25s ease, transform 0.25s ease,
    border-color 0.25s ease;
}
.card-box:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 185, 55, 0.25);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 22px 0 rgba(255, 185, 55, 0.1), 0 0 30px 0 rgba(175, 66, 97, 0.08);
}
/* Card subtitles with warm gradient text */
.card-box h2 {
  margin-top: 0;
  margin-bottom: 8px;

  letter-spacing: 0.2px;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(255, 123, 58, 0.12);
}
.card-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  letter-spacing: 0.2px;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(255, 123, 58, 0.12);
}
.card-box .lead {
  color: #cfd6d6;
}

/* Tighter spacing inside cards */
.card-box .support-matrix {
  margin: 6px 0 10px;
}
.card-box .checklist {
  margin: 6px 0 10px;
}
.card-box .steps {
  margin: 6px 0 10px;
}

/* Stacked look for long FAQ */
#faq-long .card-box + .card-box {
  margin-top: 18px;
}

/* Focus-visible ring for links in cards (a11y) */
.card-box a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 17, 21, 1), 0 0 0 4px rgba(255, 185, 55, 0.55);
  border-radius: 12px;
}

/* ===========================
   Apply gradient title to other key sections for consistency
   (safe overrides if they exist)
   =========================== */
#how-it-works h2,
#features h2,
#faq h2,
#about-us h2,
.related-tools h2 {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 123, 58, 0.12);
}

/* Only profile picture card on downloader */
.dl-profile-card .card {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}