/* ============================================================
   ROSARY EXPERIENCE — Redesign Stylesheet
   Brand Blue: #0169ff
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2rem, 0.5rem + 4vw, 4rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Brand Colors */
  --color-primary: #0169ff;
  --color-primary-dark: #0050cc;
  --color-primary-light: #3d8aff;
  --color-primary-glow: rgba(1, 105, 255, 0.3);

  /* Surfaces */
  --color-bg: #0a0a14;
  --color-surface: #10101e;
  --color-surface-2: #161628;
  --color-surface-3: #1c1c34;
  --color-border: rgba(255, 255, 255, 0.08);

  /* Text */
  --color-text: #f0f0f5;
  --color-text-muted: rgba(240, 240, 245, 0.65);
  --color-text-faint: rgba(240, 240, 245, 0.4);

  /* Gold accent */
  --color-gold: #d4a853;
  --color-gold-light: #e8c574;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(1, 105, 255, 0.2);

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ============================================================
   GLOBAL
   ============================================================ */

body {
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.header--scrolled {
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: var(--space-2) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}

.header__nav a:hover {
  color: var(--color-text);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header__cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.header__cta::after {
  display: none !important;
}

/* Mobile hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100dvh;
    background: var(--color-surface);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    transition: right 0.4s var(--ease-out);
    z-index: 200;
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }
  .header__nav.open {
    right: 0;
  }
  .header__nav a {
    font-size: var(--text-lg);
  }
  .header__hamburger {
    display: flex;
    z-index: 300;
  }
  .header__hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================================================
   HERO SECTION — Full-screen video
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay with blue gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 20, 0.4) 0%,
      rgba(1, 105, 255, 0.15) 40%,
      rgba(10, 10, 20, 0.7) 80%,
      rgba(10, 10, 20, 0.95) 100%
    );
}

/* Rosary bead decorative border */
.hero__bead-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-primary) 20%,
    var(--color-gold) 50%,
    var(--color-primary) 80%,
    transparent 100%
  );
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__subtitle-top {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__tagline em {
  font-style: italic;
  color: var(--color-primary-light);
}

.hero__description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

@media (min-width: 768px) {
  .hero__subtitle-top { order: 1; margin-bottom: var(--space-3); }
  .hero__tagline { order: 2; }
  .hero__description { order: 3; margin-bottom: var(--space-3); }
  .hero__cta-row { order: 4; }
}

.hero__cta-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero__cta-row .btn-secondary {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 216px;
  max-width: 312px;
}

.hero__cta-row .btn-secondary svg,
.btn-secondary svg {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(1, 105, 255, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(1, 105, 255, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-text);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero__scroll-indicator span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-faint);
}

.hero__scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MYSTERIES SHOWCASE — 4 Mystery cards with video backgrounds
   ============================================================ */

.mysteries {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.mysteries__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(1,105,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mysteries .section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.mysteries__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-inline: auto;
  margin-top: var(--space-3);
  line-height: 1.7;
  opacity: 0.85;
}

.mysteries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .mysteries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .mysteries__grid {
    grid-template-columns: 1fr;
  }
}

.mystery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  group: mystery;
}

.mystery-card__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mystery-card__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.mystery-card:hover .mystery-card__video video {
  transform: scale(1.08);
}

.mystery-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(1, 105, 255, 0.1) 0%,
    rgba(10, 10, 20, 0.85) 100%
  );
  transition: background 0.4s ease;
}

.mystery-card:hover .mystery-card__overlay {
  background: linear-gradient(180deg,
    rgba(1, 105, 255, 0.2) 0%,
    rgba(10, 10, 20, 0.7) 100%
  );
}

.mystery-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
}

.mystery-card__number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.mystery-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.mystery-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Decorative cross divider */
.cross-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
}

.cross-divider__line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cross-divider__icon {
  color: var(--color-gold);
  font-size: 1.25rem;
  opacity: 0.7;
}

/* ============================================================
   ABOUT / "WHAT IS" SECTION
   ============================================================ */

.about {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.about__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(1,105,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,168,83,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.about__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.about__text h2 span {
  color: var(--color-primary-light);
}

.about__text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.about__text blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
}

.about__text blockquote cite {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-gold);
}

.about__visual {
  position: relative;
}

.about__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.about__image-frame img {
  width: 100%;
  display: block;
}

.about__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(1, 105, 255, 0.15);
  pointer-events: none;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (max-width: 500px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: var(--space-1);
}

.stat-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.features__showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (max-width: 900px) {
  .features__showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features__showcase {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(1,105,255,0.1);
  border-color: rgba(1, 105, 255, 0.2);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(1,105,255,0.25);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   APP SCREENSHOTS / GALLERY
   ============================================================ */

.gallery {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.gallery__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 15%, var(--color-surface) 85%, var(--color-bg) 100%);
}

.gallery__scroll {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-4) var(--space-4);
  scrollbar-width: none;
  margin-top: var(--space-8);
}

.gallery__scroll::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(1,105,255,0.1);
  border: 2px solid rgba(255,255,255,0.12);
  background: var(--color-surface-2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.gallery__item:hover {
  transform: scale(1.03);
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   GALLERY DETAIL (below screenshots)
   ============================================================ */

.gallery-detail {
  margin-top: var(--space-6);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-detail__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.gallery-detail__nav a {
  color: var(--color-primary-light);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.gallery-detail__nav a:hover {
  border-bottom-color: var(--color-primary-light);
  color: #fff;
}

.gallery-detail__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1rem + 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.gallery-detail__tagline em {
  color: var(--color-primary);
  font-style: italic;
}

.gallery-detail__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.gallery-detail__platforms {
  margin-bottom: var(--space-8);
}

.gallery-detail__platforms h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.gallery-detail__platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.gallery-detail__platform-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.gallery-detail__platform-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.gallery-detail__platform-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.5;
}

.gallery-detail__about {
  text-align: left;
}

.gallery-detail__about h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-align: center;
}

.gallery-detail__about p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.gallery-detail__about p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */

.reviews {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.reviews__bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(1,105,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-3);
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
  color: var(--color-gold);
  font-size: 0.875rem;
}

.review-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.review-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.review-card__platform {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.reviews__store-link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.reviews__store-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.pricing__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(1,105,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(212,168,83,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
}

.pricing-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 40px rgba(1,105,255,0.15);
  background: linear-gradient(180deg, rgba(1,105,255,0.08) 0%, var(--color-surface-2) 100%);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 50px rgba(1,105,255,0.25);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: var(--space-1);
}

.pricing-card__period {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-6);
  flex: 1;
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.pricing-card__features li::before {
  content: '✦';
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

.pricing-card__cta {
  display: block;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card__cta--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(1,105,255,0.3);
}

.pricing-card__cta--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.pricing-card__cta--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.pricing-card__cta--secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--color-primary);
}

/* ============================================================
   QUOTE / DIVIDER SECTIONS
   ============================================================ */

.quote-section {
  position: relative;
  padding: var(--space-16) var(--space-4);
  text-align: center;
  background: var(--color-bg);
  overflow: hidden;
}

.quote-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.quote-section blockquote {
  max-width: 700px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.quote-section cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */

.contact {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

@media (max-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.contact__info p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.contact__item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(1,105,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.contact__item-text a {
  color: var(--color-text);
  text-decoration: none;
}

.contact__item-text a:hover {
  color: var(--color-primary-light);
}

.contact__item-text small {
  display: block;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

.contact__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.contact__social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1.1rem;
}

.contact__social a:hover {
  background: rgba(1,105,255,0.1);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Download CTA area */
.contact__download {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--color-border);
}

.contact__download h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.contact__download p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.store-badges {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.store-badges a {
  display: block;
  transition: transform 0.2s var(--ease-out);
}

.store-badges a:hover {
  transform: translateY(-2px);
}

.store-badges img {
  height: 48px;
  width: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-4);
}

.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__left img {
  height: 28px;
  width: auto;
  opacity: 0.6;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__links {
  display: flex;
  gap: var(--space-4);
}

.footer__links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

/* ============================================================
   SCROLL ANIMATIONS (CSS-only)
   ============================================================ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes revealFade {
  to { opacity: 1; }
}

/* ============================================================
   VIDEO SECTION BACKGROUND
   ============================================================ */

.video-bg-section {
  position: relative;
  overflow: hidden;
}

.video-bg-section__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-bg-section__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-bg-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 20, 0.8);
}

.video-bg-section__content {
  position: relative;
  z-index: 2;
}

/* ============================================================
   ROSARY IMAGE DECORATIONS
   ============================================================ */

.rosary-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-2) 0;
  opacity: 0.4;
}

.rosary-divider__bead {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

.rosary-divider__bead--large {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
}

.rosary-divider__line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

/* Family plan banner */
.family-banner {
  background: linear-gradient(135deg, rgba(1,105,255,0.1) 0%, rgba(212,168,83,0.08) 100%);
  border: 1px solid rgba(1,105,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  margin-top: var(--space-8);
}

.family-banner h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.family-banner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-inline: auto;
}

.family-banner .price-highlight {
  color: var(--color-gold);
  font-weight: 700;
}
