/* RCSpotter — Home / splash landing page */

.rcs-home-page {
  --home-halo:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.92),
    0 2px 10px rgba(0, 0, 0, 0.82),
    0 4px 22px rgba(0, 0, 0, 0.55);
  --home-halo-strong:
    0 0 2px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.88),
    0 6px 28px rgba(0, 0, 0, 0.65);
  --home-panel: rgba(15, 23, 42, 0.82);
  --home-panel-border: rgba(255, 255, 255, 0.12);
  --home-card: rgba(15, 23, 42, 0.78);
  --home-card-border: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .rcs-home-page {
  --home-halo:
    0 1px 2px rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(255, 255, 255, 0.55);
  --home-halo-strong:
    0 1px 3px rgba(255, 255, 255, 0.95),
    0 3px 12px rgba(255, 255, 255, 0.65);
  --home-panel: rgba(255, 255, 255, 0.74);
  --home-panel-border: rgba(255, 255, 255, 0.52);
  --home-card: rgba(255, 255, 255, 0.68);
  --home-card-border: rgba(255, 255, 255, 0.42);
  --home-glass-shadow:
    0 14px 36px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rcs-home-page .rcs-home-chrome .rcs-home-nav a {
  text-shadow: var(--home-halo);
}

[data-theme="light"] .rcs-home-page .rcs-home-chrome .rcs-home-nav a {
  text-shadow: var(--home-halo);
}

.rcs-home-wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* Shared frosted text panels (hero, section intros, CTA) */
.rcs-home-hero-panel,
.rcs-home-section-intro,
.rcs-home-features-intro,
.rcs-home-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  border-radius: 20px;
  background: var(--home-panel);
  border: 1px solid var(--home-panel-border);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .rcs-home-hero-panel,
[data-theme="light"] .rcs-home-section-intro,
[data-theme="light"] .rcs-home-features-intro,
[data-theme="light"] .rcs-home-cta-panel {
  box-shadow: var(--home-glass-shadow);
}

.rcs-home-hero-panel > *,
.rcs-home-section-intro > *,
.rcs-home-features-intro > *,
.rcs-home-cta-panel > * {
  margin: 0;
}

.rcs-home-hero-panel h1,
.rcs-home-hero-panel h2,
.rcs-home-section-intro .rcs-home-section-title,
.rcs-home-features-intro .rcs-home-section-title,
.rcs-home-cta-panel h2 {
  color: var(--rcs-text);
  text-shadow: none;
}

.rcs-home-hero-panel .rcs-home-tagline,
.rcs-home-hero-panel .rcs-home-lead,
.rcs-home-features-intro .rcs-home-section-lead,
.rcs-home-cta-panel p {
  color: var(--rcs-muted);
  text-shadow: none;
}

.rcs-home-hero-panel .rcs-home-accent {
  color: var(--rcs-accent);
}

[data-theme="light"] .rcs-home-hero-panel .rcs-home-accent {
  color: var(--rcs-brand-red, #dd0206);
}

.rcs-home-hero {
  padding: 24px 0 48px;
}

.rcs-home-hero-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 28px;
  gap: 16px;
}

.rcs-home-hero-panel h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.rcs-home-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(221, 2, 6, 0.2);
  border: 1px solid rgba(221, 2, 6, 0.45);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.rcs-home-kicker--panel {
  color: var(--rcs-accent-text);
  background: var(--rcs-accent-dim);
  border-color: rgba(221, 2, 6, 0.35);
  text-shadow: none;
}

[data-theme="light"] .rcs-home-kicker {
  color: #b91c1c;
  text-shadow: none;
}

.rcs-home-tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.rcs-home-lead {
  max-width: 640px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.65;
}

.rcs-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.rcs-home-hero-actions .rcs-btn {
  min-width: min(100%, 220px);
  text-align: center;
  justify-content: center;
}

.rcs-home-story {
  margin-bottom: 48px;
}

.rcs-home-story-inner {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--home-panel);
  border: 1px solid var(--home-panel-border);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .rcs-home-story-inner {
  box-shadow: var(--home-glass-shadow);
}

.rcs-home-story h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rcs-text);
}

.rcs-home-prose p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--rcs-text);
}

.rcs-home-prose p:last-child {
  margin-bottom: 0;
}

.rcs-home-quote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--rcs-accent);
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
  font-style: italic;
  color: var(--rcs-text);
  background: var(--rcs-accent-dim);
}

.rcs-home-section-title {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rcs-home-section-lead {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.rcs-home-pains {
  margin-bottom: 48px;
}

.rcs-home-section-intro {
  max-width: 520px;
  margin: 0 auto 24px;
  padding: 22px 28px;
}

.rcs-home-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.rcs-home-pain-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 16px;
  background: var(--home-card);
  border: 1px solid var(--home-card-border);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  backdrop-filter: blur(12px) saturate(1.12);
}

[data-theme="light"] .rcs-home-pain-card {
  box-shadow: var(--home-glass-shadow);
}

.rcs-home-pain-num {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rcs-accent);
}

.rcs-home-pain-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rcs-text);
}

.rcs-home-pain-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--rcs-muted);
}

.rcs-home-answer {
  margin-bottom: 48px;
}

.rcs-home-answer-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  background: var(--home-panel);
  border: 1px solid rgba(221, 2, 6, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.rcs-home-answer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 85% at 0% 0%, rgba(221, 2, 6, 0.24) 0%, transparent 68%);
}

[data-theme="light"] .rcs-home-answer-panel {
  border-color: rgba(221, 2, 6, 0.22);
  box-shadow: var(--home-glass-shadow);
}

[data-theme="light"] .rcs-home-answer-panel::before {
  background: radial-gradient(ellipse 92% 88% at 0% 0%, rgba(221, 2, 6, 0.14) 0%, transparent 72%);
}

.rcs-home-answer-panel > * {
  position: relative;
  z-index: 1;
}

.rcs-home-answer-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rcs-text);
}

.rcs-home-answer-panel p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--rcs-muted);
}

.rcs-home-features {
  margin-bottom: 48px;
}

.rcs-home-features-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 26px 28px;
  gap: 12px;
}

.rcs-home-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rcs-home-feature-grid li {
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--home-card);
  border: 1px solid var(--home-card-border);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  backdrop-filter: blur(12px) saturate(1.12);
}

[data-theme="light"] .rcs-home-feature-grid li {
  box-shadow: var(--home-glass-shadow);
}

.rcs-home-feature-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--rcs-text);
}

.rcs-home-feature-grid span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--rcs-muted);
}

.rcs-home-founder {
  margin-bottom: 48px;
}

.rcs-home-founder-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--home-panel);
  border: 1px solid var(--home-panel-border);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}

[data-theme="light"] .rcs-home-founder-card {
  box-shadow: var(--home-glass-shadow);
}

.rcs-home-founder-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rcs-accent);
}

.rcs-home-founder-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--rcs-text);
}

.rcs-home-founder-card p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--rcs-muted);
}

.rcs-home-founder-sign {
  margin-bottom: 0 !important;
  padding-top: 8px;
  font-weight: 600;
  color: var(--rcs-text) !important;
}

.rcs-home-cta {
  padding: 12px 0 0;
}

.rcs-home-cta-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 28px 32px;
  gap: 12px;
}

.rcs-home-cta-panel h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
}

.rcs-home-cta-panel p {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .rcs-home-hero-panel,
  .rcs-home-section-intro,
  .rcs-home-story-inner,
  .rcs-home-answer-panel,
  .rcs-home-features-intro,
  .rcs-home-founder-card,
  .rcs-home-cta-panel {
    padding: 24px 18px;
  }
}
