/* Rex theme overrides (lavender → indigo) */
:root {
  /* Brand / highlight colors */
  --highlight-rex:        #BB8FCE;
  --rex-indigo:           #9B59B6;
  --highlight-rex-dark:   #6C3483;
  --rex-indigo-light:     rgba(155,89,182,0.08);
  --highlight-rex-glow:   rgba(187,143,206,0.4);

  /* (Optional) tie into primary/accent too: */
  --color-primary:        var(--rex-indigo);
  --color-accent:         var(--highlight-rex);
}

/*──────────────────────────────────────────────────────────────────────────
  GLASS-STYLE REX BUTTON (Premium Look)
──────────────────────────────────────────────────────────────────────────*/
.btn-rex-sheen {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  color: var(--rex-indigo, #9B59B6);
  background: rgba(155, 89, 182, 0.08); /* light purple by default */
  border: 2px solid var(--rex-indigo, #9B59B6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none; /* fix for <a> */
  cursor: pointer;        /* ensures <a> looks clickable */
}

/* Light shimmer animation */
.btn-rex-sheen::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2)
  );
  transform: skewX(-25deg);
  animation: rexSheen 4s linear infinite;
  z-index: 0;
}

/* Text stays on top of ::before */
.btn-rex-sheen span {
  position: relative;
  z-index: 1;
}

/* Optional hover lift only (no color fill) */
.btn-rex-sheen:hover {
  /* Completely neutral hover */
  transform: none;
  background: transparent;
  color: var(--rex-indigo, #9B59B6);
  box-shadow: none;
}

.btn-rex-sheen.on-light {
  background: rgba(155, 89, 182, 0.08); /* branded lavender wash */
  border: 2px solid var(--rex-indigo, #9B59B6);
  color: var(--rex-indigo, #9B59B6);
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-rex-sheen.on-light::before {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.3)
  );
}




/* Shimmer keyframes */
@keyframes rexSheen {
  0%   { left: -150%; }
  100% { left: 150%; }
}

/* ── Rex MAIN HERO Black + Purple Tint ───────────────────────────────── */
.hero-section {
  background:
    linear-gradient(135deg,
      rgba(155,89,182,0.3) 0%,
      rgba(108,52,131,0.4) 100%
    ),
    #000 !important;
  color: #fafafa !important;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right,
    var(--highlight-rex-glow),
    transparent 60%);
  pointer-events: none;
}
.hero-section h1,
.hero-section .lead {
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* primary buttons still use your rex-indigo */
.hero-section .btn-primary {
background-color: var(--rex-indigo) !important;
border-color:    var(--rex-indigo) !important;
color:           #fff !important;
}

/* ── SCROLLBAR ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--highlight-rex-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}
/* ── LETTERING ───────────────────────────────────────────────────────────── */

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #222;
}

.lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #444;
}

/* ── Link styling ───────────────────────────────────────────────────────────── */

a {
  color: var(--rex-indigo);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--highlight-rex-dark);
  text-decoration: underline;
}

.text-muted a {
  color: var(--highlight-rex-dark);
}

.text-muted a:hover {
  color: var(--rex-indigo);
}

/* ── FAQ ───────────────────────────────────────────────────────────── */

.accordion-button {
  background: rgba(255, 255, 255, 0.04);
  color: #222;
  transition: all 0.3s ease;
  border: none;
  border-radius: 0.5rem;
}

.accordion-button:hover {
  background: rgba(155, 89, 182, 0.06); /* soft hover tint */
}

/* Expanded (active) button */
.accordion-button:not(.collapsed) {
  color: var(--rex-indigo);
  background: var(--rex-indigo-light);
  box-shadow: inset 0 0 0 1px var(--highlight-rex);
}

/* Indicator arrow color */
.accordion-button::after {
  filter: hue-rotate(250deg) saturate(2); /* gives it a purple-ish tint */
}

/* ── PROOF ───────────────────────────────────────────────────────────── */

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Icon inside Proof Card */
.icon-wrapper i {
  color: var(--rex-indigo);
  background: var(--rex-indigo-light);
  padding: 0.6rem;
  border-radius: 0.6rem;
  box-shadow: 0 2px 10px rgba(155, 89, 182, 0.2);
}

.proof-link {
  color: var(--rex-indigo, #9B59B6);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.proof-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--rex-indigo, #9B59B6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.proof-link:hover {
  color: var(--highlight-rex-dark, #6C3483);
}

.proof-link:hover::after {
  transform: scaleX(1);
}


/* Icon wrapper for siteProof */
.site-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rex-indigo-light); /* soft lavender background */
  color: var(--rex-indigo);            /* primary indigo brand color */
  font-size: 1.4rem;
  box-shadow: 0 2px 12px var(--highlight-rex-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-proof-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 18px var(--highlight-rex-glow);
}


/* ── CONTACT ───────────────────────────────────────────────────────────── */


.contact-input {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #222;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.contact-input::placeholder {
  color: #999;
}

.contact-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--highlight-rex-glow);
  background-color: rgba(255,255,255,0.15);
}

/* Checkbox */
.form-check-input {
  accent-color: var(--rex-indigo);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: var(--rex-indigo);
  border-color: var(--rex-indigo);
  box-shadow: 0 0 0 2px var(--highlight-rex-glow);
}
