/* ------- lp_digital_legacy.css
   Page-specific overrides for the Digital Legacy landing page.
   Requires: video_avatar.css (base dark theme + shared components)
   Body class: .legacypage

     --gold: #c9a96e;
  --gold-lt: #f0d9a0;
  --gold-md: #e8c882;
   ------------------------------------------------------------ */

:root {
  --gold: #f8d7ff;
  --gold-lt: #a868ff;
  --muted: #e9e9e9;
}

/* ── Page base ─────────────────────────────────────────── */
body.legacypage {
  background: #000;
}

body.legacypage a:not(footer a) {
  color: #cf84fd;
}

/* ── Typography overrides ──────────────────────────────── */

.legacypage .hook.gradient-text {
  letter-spacing: 8px !important;
}

.legacypage .subh1 {
  color: #fff !important;
}

.legacypage .subtitlesection {
  padding-bottom: 40px;
  font-size: 18px !important;
  font-family: "Raleway";
  font-weight: 400;
  line-height: 1.8em !important;
  letter-spacing: 0.3px !important;
}

.legacypage h2 {
  color: #fff;
  font-weight: 500 !important;
  letter-spacing: 0px !important;
}

/* ── Gradient text — warm gold ─────────────────────────── */
.legacypage h1 span.gradient-text {
  background: linear-gradient(90deg, #fef3d6, #ffffff, #e8c882);
  background-clip: text;
  color: transparent;
}

.legacypage .gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: inherit;
}

/* ── Background texture filter ─────────────────────────── */
.legacypage .bg-texture {
  height: 164vh;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 0px;
  transform: translateX(-50%);
  width: 114%;
  z-index: 0;
}
.legacypage .bg-texture img {
  filter: brightness(0.5);
  display: block;
  width: 100%;
  height: 155%;
  border-radius: inherit;
  object-position: center center;
  object-fit: cover;
  object-position: center 70%;
  transform: translateY(9%);
}

/* ── Hero adjustments ──────────────────────────────────── */
.legacypage .hero {
  margin-top: 160px;
}
.legacypage .hero video {
  width: 520px;
  scale: 1.25;
  max-width: 700px;
  clip-path: inset(1px);
  margin-left: 0px;
  transform: translateX(-38px);
}

.legacypage .cta-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt)) !important;
  color: #0a0a0f !important;
  font-family: "Raleway" !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase !important;
  font-size: 15px !important;
  padding: 12px 18px !important;
}

.legacypage .cta-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35);
}

.legacypage .cta-secondary {
  background: transparent !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  border: 2px solid var(--gold) !important;
  border-radius: 8px !important;
  padding: 0.75em 1.8em !important;
  font-family: "Raleway" !important;
  letter-spacing: 1px;
  text-transform: uppercase !important;
  font-size: 15px !important;
  transition: background 0.2s;
}

.legacypage .cta-secondary:hover {
  background: rgba(201, 169, 110, 0.1) !important;
}

/* ── Trust ribbon (hero) ───────────────────────────────── */
.trust-ribbon {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}

.trust-ribbon .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-ribbon .trust-item i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ── Quote block ───────────────────────────────────────── */
.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem;
}

.quote-block blockquote {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.55;
  position: relative;
  font-style: italic;
}

.quote-block blockquote::before {
  content: "\201C";
  font-size: 5rem;
  position: absolute;
  top: -2.5rem;
  left: -1.5rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: "Raleway", serif;
}

.quote-block .attribution {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── featcontainers ────────────────────── */
.legacypage .featblock {
  padding: 35px 0px;
}
.legacypage .featblock .rounded-2xl {
  overflow: hidden;
  display: grid;
  place-items: center;
}

.legacypage .featblock img,
.legacypage .featblock video {
  width: 100%;
  max-width: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.legacypage .c_familyusecase {
    padding-top:250px;
    padding-bottom: 45px;
}

.c_familyusecase video {
}

.legacypage h2 {
  color: #fff;
  font-size: 34px;
}

/* ── Use case grid — 3-column, gold-tinted cards ──────── */
.legacypage .c_usecase {
  padding-top: 60px;
  max-width: 1100px;
  margin: auto;
}

.legacypage .usecase_grid .center {
  max-width: 310px;
}
.legacypage .centervideocard {
  min-height: unset;
  max-height: 455px;
}
.legacypage .centervideocard video {
  max-height: 460px;
}

.legacypage .usecase_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.legacypage .usecase_card.ui.segment {
  background: rgba(201, 169, 110, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 16px;
  box-shadow: none;
  padding: 1.75rem;
  margin: 0;
}

.legacypage .usecase_card .badge {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.legacypage .usecase_card .badge i {
  color: var(--gold);
  margin: 0;
  font-size: 18px;
}

.legacypage .usecase_card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.legacypage .usecase_card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── Steps — gold accent numbers ───────────────────────── */
.legacypage .step-number {
  color: var(--gold);
}
.legacypage .step-title {
  color: #fff;
}

/* ── Safety / Trust grid ───────────────────────────────── */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.safety-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.safety-card i.icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: inline;
}

.safety-card h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
  margin-top: 15px;
}

.safety-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ── FAQ overrides — gold icon accent ──────────────────── */
.legacypage .faq-icon {
  color: var(--gold) !important;
}

.legacypage .faq-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
}

/* ── Blog highlight ring — gold ────────────────────────── */
.legacypage .blog-card.highlight .blog-image-wrap {
  border: 3px solid var(--gold);
}


/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 860px) {
  .legacypage .usecase_grid {
    grid-template-columns: 1fr;
  }

  .trust-ribbon {
    gap: 1rem;
  }
}

@media (max-width: 800px) {
  .legacypage .bg-texture {
    height: 102vh;
  }

  .legacypage .hero {
    margin-top: 30px !important;
  }

  .legacypage .hero .cta-primary {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
  }

  .legacypage .hero video {
    scale: 1.2;
    max-width: 100%;
    transform: none;
    margin: 0 auto;
    display: block;
  }
  .legacypage h1.subh1 {
    padding: 0 20px;
    text-align: center;
    padding-bottom: 20px;
  }

  .legacypage h2 {
    font-size: 32px;
    font-weight: 200 !important;
    text-transform: uppercase;
  }

  .legacypage .usecase_card.ui.segment {
    padding: 1.25rem;
  }

  .legacypage .centervideocard {
    min-height: unset;
    max-height: 315px;
  }

  .legacypage .centervideocard video {
    max-height: 350px;
  }

  /* put the video first */
  .invertvideomobile .ui.stackable.two.column.grid {
    display: flex;
    flex-direction: column-reverse;
  }
}
