/* Copyright (c) 2024 Ryan Leckey Media. All rights reserved.
   No use, distribution, or modification is permitted without prior written permission. */

/* ==========================================================================
   SEO landing pages: /marketing/, /industries/
   Built on the RLM neon signature already in general.css (#00f0ff cyan into
   #ff00f0 magenta) rather than a second, competing palette.
   ========================================================================== */

:root {
  --seo-cyan: #00f0ff;
  --seo-magenta: #ff00f0;
  --seo-violet: #7a42ff;
  --seo-lime: #67fd00;
  --seo-amber: #ff8a0e;
  --seo-ink: #06060c;
  --seo-ink-2: #0d0d18;
  --seo-panel: rgba(255, 255, 255, 0.055);
  --seo-panel-line: rgba(255, 255, 255, 0.13);
  --seo-text: #f2f3f8;
  --seo-muted: #b3b7c9;
  --seo-grad: linear-gradient(100deg, #00f0ff 0%, #7a42ff 48%, #ff00f0 100%);
  --seo-grad-hot: linear-gradient(100deg, #67fd00 0%, #00f0ff 35%, #ff00f0 80%, #ff8a0e 100%);
}

.seo-page {
  background: var(--seo-ink);
  color: var(--seo-text);
  overflow-x: hidden;
}

.seo-page a { color: var(--seo-cyan); }
.seo-page a:hover { color: var(--seo-magenta); }

.seo-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.seo-wrap--narrow { max-width: 900px; }

/* ---------------------------------------------------------------- headings */

.seo-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--seo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.85rem;
}

.seo-h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.15rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.seo-h1 .seo-grad-text { display: inline-block; }

.seo-h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.seo-h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.seo-grad-text {
  background: var(--seo-grad-hot);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: seoGradShift 9s ease-in-out infinite;
}

@keyframes seoGradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.seo-rule {
  width: 90px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  margin: 1.15rem 0 0;
  background: var(--seo-grad);
  opacity: 1;
}
.seo-rule--center { margin-inline: auto; }

.seo-lead {
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.65;
  color: var(--seo-muted);
  margin-top: 1.3rem;
}
.seo-lead strong { color: var(--seo-text); }

.seo-body { line-height: 1.72; color: var(--seo-muted); }
.seo-body strong { color: var(--seo-text); }

/* -------------------------------------------------------------------- hero */

.seo-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(7.5rem, 15vh, 11rem) 0 clamp(3.5rem, 7vh, 5.5rem);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 6, 12, 0.82) 0%, rgba(6, 6, 12, 0.7) 42%, rgba(6, 6, 12, 0.97) 100%);
}

/* Saturated colour wash so a dark photo still reads as an RLM page and not
   as a generic dark hero. */
.seo-hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 12% 22%, rgba(0, 240, 255, 0.42), transparent 70%),
    radial-gradient(closest-side at 88% 26%, rgba(255, 0, 240, 0.38), transparent 70%),
    radial-gradient(closest-side at 62% 88%, rgba(122, 66, 255, 0.36), transparent 70%),
    radial-gradient(closest-side at 26% 92%, rgba(103, 253, 0, 0.18), transparent 70%);
  filter: blur(14px);
  animation: seoAurora 22s ease-in-out infinite alternate;
}

@keyframes seoAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 1.5%, 0) scale(1.07); }
  100% { transform: translate3d(2.5%, -1.5%, 0) scale(1.03); }
}

.seo-hero__inner { position: relative; max-width: 960px; }

.seo-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  color: var(--seo-muted);
}
.seo-crumb a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.seo-crumb a:hover { color: var(--seo-cyan); }
.seo-crumb span[aria-hidden] { color: rgba(255, 255, 255, 0.34); }

.seo-hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 1.5rem 0 0;
  max-width: 60ch;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

/* ----------------------------------------------------------------- buttons */

.seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.92rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.seo-btn:hover { transform: translateY(-3px); text-decoration: none; }

.seo-btn--neon {
  background: var(--seo-grad);
  color: #06060c !important;
  box-shadow: 0 8px 26px rgba(0, 240, 255, 0.34), 0 4px 20px rgba(255, 0, 240, 0.28);
}
.seo-btn--neon:hover {
  filter: brightness(1.12);
  box-shadow: 0 14px 38px rgba(0, 240, 255, 0.46), 0 8px 28px rgba(255, 0, 240, 0.4);
  color: #06060c !important;
}

.seo-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff !important;
  backdrop-filter: blur(6px);
}
.seo-btn--ghost:hover {
  border-color: var(--seo-cyan);
  color: var(--seo-cyan) !important;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.26);
}

/* -------------------------------------------------------------- stat strip */

.seo-stats {
  position: relative;
  background: var(--seo-grad);
  padding: 2px 0;
}
.seo-stats__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.4rem, 5vw, 4.2rem);
  background: var(--seo-ink-2);
  padding: 1.9rem 1.25rem;
}
.seo-stat { text-align: center; min-width: 120px; }
.seo-stat__num {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--seo-grad-hot);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: seoGradShift 9s ease-in-out infinite;
}
.seo-stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--seo-muted);
}

/* ---------------------------------------------------------------- sections */

.seo-section { padding: clamp(3.5rem, 8vh, 6rem) 0; }
.seo-section--panel {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 0, 240, 0.13), transparent 46%),
    radial-gradient(circle at 6% 92%, rgba(0, 240, 255, 0.13), transparent 46%),
    var(--seo-ink-2);
}
.seo-section--photo {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.seo-section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 12, 0.9), rgba(13, 13, 24, 0.94));
}

.seo-head { max-width: 780px; }
.seo-head--center { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------------- cards */

.seo-grid {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.seo-grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.seo-grid--4 { grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); }

.seo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border-radius: 18px;
  background: var(--seo-panel);
  border: 1px solid var(--seo-panel-line);
  backdrop-filter: blur(9px);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Gradient hairline along the top edge, revealed on hover. Cheaper and
   sharper than animating a full gradient border. */
.seo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--seo-grad);
  opacity: 0.55;
  transition: opacity 0.28s ease;
}
.seo-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 240, 255, 0.42);
  box-shadow: 0 20px 44px rgba(0, 240, 255, 0.17), 0 8px 28px rgba(255, 0, 240, 0.19);
}
.seo-card:hover::before { opacity: 1; }

.seo-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  color: var(--seo-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.26);
  transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
.seo-card:hover .seo-card__icon {
  color: var(--seo-magenta);
  background: rgba(255, 0, 240, 0.12);
  border-color: rgba(255, 0, 240, 0.34);
}

.seo-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.65rem; }
.seo-card p { color: var(--seo-muted); line-height: 1.62; margin: 0; font-size: 0.96rem; }
.seo-card__link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--seo-cyan);
}
.seo-card__link:hover { color: var(--seo-magenta); }
.seo-card__link::after { content: " \2192"; }

/* Whole-card link: keeps a single tap target without nesting anchors. */
a.seo-card { text-decoration: none; color: inherit; }
a.seo-card:hover { color: inherit; }

/* ------------------------------------------------------------------- lists */

.seo-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.78rem;
}
.seo-check li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.58;
  color: var(--seo-muted);
}
.seo-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #06060c;
  background: var(--seo-grad);
}

.seo-check--warn li::before {
  content: "\0021";
  background: linear-gradient(100deg, #ff8a0e, #ff00f0);
}

/* -------------------------------------------------------------------- tags */

.seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.seo-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--seo-text) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--seo-panel-line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.seo-chip:hover {
  transform: translateY(-2px);
  color: var(--seo-cyan) !important;
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 8px 22px rgba(0, 240, 255, 0.22);
}
.seo-chip--hot { border-color: rgba(255, 0, 240, 0.42); }
.seo-chip--hot:hover {
  color: var(--seo-magenta) !important;
  border-color: rgba(255, 0, 240, 0.75);
  box-shadow: 0 8px 22px rgba(255, 0, 240, 0.24);
}

/* --------------------------------------------------------------- two-column */

.seo-split {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  margin-top: 2.6rem;
}

/* --------------------------------------------------------------------- FAQ */

.seo-faq { margin-top: 2.4rem; display: grid; gap: 0.9rem; }

.seo-faq__item {
  border-radius: 16px;
  background: var(--seo-panel);
  border: 1px solid var(--seo-panel-line);
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}
.seo-faq__item[open] {
  border-color: rgba(0, 240, 255, 0.42);
  box-shadow: 0 14px 34px rgba(0, 240, 255, 0.14);
}

.seo-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.42;
  list-style: none;
}
.seo-faq__q::-webkit-details-marker { display: none; }
.seo-faq__q::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--seo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.24s ease;
}
.seo-faq__item[open] .seo-faq__q::after { transform: rotate(45deg); }

.seo-faq__a {
  padding: 0 1.5rem 1.4rem;
  color: var(--seo-muted);
  line-height: 1.7;
  max-width: 78ch;
}

/* ---------------------------------------------------------------- CTA band */

.seo-cta {
  position: relative;
  isolation: isolate;
  background: var(--seo-grad);
  padding: clamp(2.6rem, 6vh, 4rem) 0;
  overflow: hidden;
}
.seo-cta::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(103, 253, 0, 0.55), transparent 70%),
    radial-gradient(closest-side at 80% 70%, rgba(255, 138, 14, 0.5), transparent 70%);
  animation: seoAurora 18s ease-in-out infinite alternate;
}
.seo-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}
.seo-cta h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #06060c;
  margin: 0;
  line-height: 1.14;
  text-wrap: balance;
}
.seo-cta p {
  margin: 0.7rem 0 0;
  color: rgba(6, 6, 12, 0.78);
  font-size: 1.02rem;
  max-width: 58ch;
}
.seo-cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.seo-btn--ink {
  background: #06060c;
  color: #fff !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}
.seo-btn--ink:hover { color: var(--seo-cyan) !important; }
.seo-btn--ink-outline {
  background: transparent;
  border-color: rgba(6, 6, 12, 0.65);
  color: #06060c !important;
}
.seo-btn--ink-outline:hover {
  background: rgba(6, 6, 12, 0.1);
  border-color: #06060c;
  color: #06060c !important;
}

/* --------------------------------------------------------------- reveal fx */

/* Hidden only once JS has confirmed it can reveal them again. Without the
   .seo-js flag the content renders plainly, so a no-JS visitor or a crawler
   that does not execute scripts still gets the full page. */
.seo-js .seo-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.seo-js .seo-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .seo-js .seo-reveal { opacity: 1; transform: none; transition: none; }
  .seo-hero::after,
  .seo-cta::before,
  .seo-grad-text,
  .seo-stat__num { animation: none; }
  .seo-section--photo { background-attachment: scroll; }
  .seo-btn:hover, .seo-card:hover, .seo-chip:hover { transform: none; }
}

/* iOS ignores background-attachment: fixed and renders it badly zoomed. */
@media (hover: none) {
  .seo-section--photo { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .seo-hero { padding-top: 6.5rem; }
  .seo-hero__actions .seo-btn { width: 100%; justify-content: center; }
  .seo-cta__actions { width: 100%; }
  .seo-cta__actions .seo-btn { flex: 1 1 auto; justify-content: center; }
}
