/* =========================================================
   Rosary Ranch — Design System & Global Styles
   ========================================================= */

/* ── 1. Design Tokens ──────────────────────────────────── */
:root {
  --navy-900: #05101b;
  --navy-800: #08141f;
  --navy-700: #0c1c30;
  --navy-600: #102540;
  --navy-500: #152f50;
  --navy-400: #1c3d62;

  --gold-700: #8a6820;
  --gold-600: #a8832e;
  --gold-500: #c9a84c;
  --gold-400: #ddbf6a;
  --gold-300: #ebd48f;
  --gold-100: #f9f1d8;
  --gold-glow: rgba(201, 168, 76, 0.18);

  --cream:      #faf7f0;
  --cream-dark: #f2ece0;
  --white:      #ffffff;
  --text:       #1c1c2e;
  --text-mid:   #3d3d55;
  --text-muted: #6b7280;
  --border:     #e4ddd0;
  --border-dark:#c8bfa8;

  --radius-sm:  6px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-xs:  0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 10px rgba(0,0,0,.08);
  --shadow:     0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 56px rgba(0,0,0,.14);
  --shadow-gold:0 0 0 1px rgba(201,168,76,.4), 0 8px 32px rgba(201,168,76,.15);

  --max-width: 1160px;
  --narrow:    720px;

  --ease:      cubic-bezier(.4, 0, .2, 1);
}

/* ── 2. Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-400); }
ul { list-style: none; padding: 0; }

/* ── 3. Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'EB Garamond', serif;
  line-height: 1.15;
  color: var(--text);
}

/* ── 4. Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: var(--narrow); }

/* ── 5. Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 20, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  transition: background .3s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo:hover { color: var(--gold-300); text-decoration: none; }

.logo-cross {
  font-size: 1rem;
  opacity: .8;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: color .2s, background .2s;
}
nav a:hover  { color: var(--gold-400); background: rgba(201,168,76,.08); text-decoration: none; }
nav a.active  { color: var(--gold-500); }
nav a.nav-active { color: var(--white); background: rgba(255,255,255,.1); }

/* ── 6. Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.925rem;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-800);
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.btn-primary:hover {
  background: var(--gold-300);
  color: var(--navy-800);
  box-shadow: 0 6px 24px rgba(201,168,76,.5);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--gold-500);
  border: 1.5px solid rgba(201,168,76,.6);
}
.btn-outline:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold-500);
  color: var(--gold-300);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-dark {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-dark:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Legacy .btn class for inner pages */
.btn:not(.btn-primary):not(.btn-outline):not(.btn-dark):not(.btn-ghost) {
  background: var(--gold-500);
  color: var(--navy-800);
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.btn:not(.btn-primary):not(.btn-outline):not(.btn-dark):not(.btn-ghost):hover {
  background: var(--gold-300);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-500);
  border: 1.5px solid rgba(201,168,76,.5);
}
.btn-ghost:hover {
  background: rgba(201,168,76,.08);
  color: var(--gold-400);
  text-decoration: none;
}

/* ── 7. Hero (Homepage) ────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(28, 61, 98, 0.7) 0%, transparent 65%),
    linear-gradient(175deg, var(--navy-700) 0%, var(--navy-900) 55%, #030a12 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Decorative cross watermark */
.hero::before {
  content: '✝';
  position: absolute;
  font-size: 55vw;
  color: rgba(255,255,255,.018);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  pointer-events: none;
  font-family: 'Cinzel', serif;
  line-height: 1;
  user-select: none;
}

/* Subtle top light beam */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 160px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  border: 1px solid rgba(201,168,76,.3);
  background: rgba(201,168,76,.07);
  padding: 7px 18px;
  border-radius: 100px;
  animation: fadeInDown 0.7s var(--ease) both;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 40%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0.04em;
  line-height: 1.05;
  animation: fadeInUp 0.7s var(--ease) 0.1s both;
}

.hero-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-style: italic;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  line-height: 1.5;
  animation: fadeInUp 0.7s var(--ease) 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.7s var(--ease) 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeInUp 1s var(--ease) 0.6s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── 8. Section Base ───────────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(28, 61, 98, 0.5) 0%, transparent 70%),
    linear-gradient(175deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.section-dark .section-header h2 { color: var(--gold-400); }
.section-dark .section-header p  { color: rgba(255,255,255,.55); }

/* Ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  color: var(--gold-500);
  font-size: 1rem;
  margin: 0 auto 16px;
  opacity: .7;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-500));
}
.ornament::before { background: linear-gradient(to left, transparent, var(--gold-500)); }

/* ── 9. Mission Pillars ────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.pillar:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.pillar h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy-600);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 10. Featured Spotlight ────────────────────────────── */
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.spotlight:hover {
  box-shadow: 0 24px 72px rgba(0,0,0,.16);
  transform: translateY(-3px);
}

/* Gradient border via pseudo-element */
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,168,76,.8) 0%, rgba(201,168,76,.1) 40%, rgba(201,168,76,.1) 60%, rgba(201,168,76,.8) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.spotlight-icon-col {
  background:
    radial-gradient(ellipse 100% 80% at 50% 40%, rgba(28,61,98,.6) 0%, transparent 70%),
    linear-gradient(175deg, var(--navy-600) 0%, var(--navy-900) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 32px;
  border-right: 1px solid rgba(201,168,76,.15);
}

.spotlight-emoji {
  font-size: 5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  border: 1px solid rgba(201,168,76,.3);
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(201,168,76,.08);
}

.spotlight-body {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-platform {
  display: flex;
  gap: 8px;
}

.chip {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--cream-dark);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.chip-gold {
  background: var(--gold-100);
  color: var(--gold-700);
  border-color: rgba(201,168,76,.3);
}

.spotlight-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy-700);
}

.spotlight-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-600);
}

.spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.spotlight-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ── 11. Quote Banner ──────────────────────────────────── */
.quote-section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '"';
  position: absolute;
  font-family: 'EB Garamond', serif;
  font-size: 40rem;
  line-height: 1;
  color: rgba(255,255,255,.02);
  top: -10%;
  left: -5%;
  pointer-events: none;
  user-select: none;
}

.quote-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quote-mark {
  font-family: 'EB Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: .5;
  display: block;
  margin-bottom: -8px;
}

.quote-text {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  margin-bottom: 28px;
}

.quote-attribution {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  opacity: .8;
}

/* ── 12. Coming Soon ───────────────────────────────────── */
.coming-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.coming-inner h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 16px;
}

.coming-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

.coming-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.coming-contact a { color: var(--gold-600); font-weight: 500; }

/* ── 13. Page Hero (inner pages) ───────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(28,61,98,.5) 0%, transparent 60%),
    linear-gradient(175deg, var(--navy-600) 0%, var(--navy-900) 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid rgba(201,168,76,.2);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(201,168,76,.5), transparent);
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold-400); text-decoration: none; }
.breadcrumb-sep { opacity: .4; }

.page-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.page-hero p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.5);
}

/* ── 14. Apps Page ─────────────────────────────────────── */
.apps-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}

.filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--navy-700);
  border-color: rgba(201,168,76,.4);
  color: var(--gold-400);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

/* ── 15. App Cards ─────────────────────────────────────── */
.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}

.app-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.35);
}

.app-card-header {
  position: relative;
  background:
    radial-gradient(ellipse 100% 80% at 50% 30%, rgba(28,61,98,.7) 0%, transparent 70%),
    linear-gradient(175deg, var(--navy-500) 0%, var(--navy-900) 100%);
  padding: 44px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(201,168,76,.15);
}

.app-card-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}

.app-card-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  text-align: center;
}

.app-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.app-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.app-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-600) !important;
  margin: 0 !important;
}

.app-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0;
}

.app-feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
}

.app-card-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
  margin-top: auto;
}

.app-card-links .btn {
  font-size: 0.78rem;
  padding: 9px 14px;
}

.app-card-links .btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  border-style: dashed;
}

/* ── 16. Prose ─────────────────────────────────────────── */
.prose h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-600);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-500);
  margin: 32px 0 8px;
}

.prose p, .prose li {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 0;
  margin-bottom: 20px;
}

.prose ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-size: 0.65rem;
  top: 4px;
}

.prose code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: var(--cream-dark);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--navy-500);
  border: 1px solid var(--border);
}

.prose strong { color: var(--text); }
.prose a { color: var(--gold-600); }
.prose a:hover { color: var(--gold-500); }

/* ── 17. Support Card ──────────────────────────────────── */
.support-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 28px 0 48px;
  box-shadow: var(--shadow-sm);
}

.support-icon { font-size: 2.2rem; }

.support-label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  margin-bottom: 4px !important;
}

.support-email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-600) !important;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.02em;
}
.support-email:hover { color: var(--gold-500) !important; }

/* ── 18. Footer ────────────────────────────────────────── */
.site-footer {
  background:
    linear-gradient(175deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-top: 1px solid rgba(201,168,76,.2);
  padding: 64px 0 36px;
  color: rgba(255,255,255,.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}

.footer-brand .logo {
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-col li a:hover { color: var(--gold-400); text-decoration: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ── 19. Reveal Animations ─────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── 20. Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-icon-col { border-right: none; border-bottom: 1px solid rgba(201,168,76,.15); padding: 40px 28px; }
  .spotlight-body { padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { min-height: 85vh; }
  .hero .container { padding-top: 20px; }
  .app-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .spotlight-links { flex-direction: column; }
  .spotlight-links .btn { text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .support-card { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  gap: 2rem;
  max-width: var(--narrow);
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.blog-card-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.blog-card p {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-500);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-link:hover {
  color: var(--gold-600);
}

/* ── App Detail Page ── */
.app-detail-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.app-detail-emoji {
  font-size: 5rem;
  margin-bottom: 1rem;
}
.app-detail-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 0.5rem;
}

.app-detail-section {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 2rem 0;
}
.app-detail-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.app-detail-section p {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.app-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.app-detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.app-detail-feature .feature-dot {
  margin-top: 0.35rem;
}

.screenshots-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

/* ── 404 Page ── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-family: 'Cinzel', serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-message {
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.error-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Filter Buttons (active state) ── */
.app-card[data-hidden="true"] {
  display: none !important;
}
