/* ============================================================
   SPECIAL DAYS & CELEBRATIONS — Main Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Core */
  --color-midnight:  #0F172A;
  --color-slate:     #1E293B;
  --color-slate-mid: #334155;
  --color-surface:   #F8FAFC;
  --color-white:     #FFFFFF;

  /* Birthday */
  --birthday-primary: #F97316;
  --birthday-dark:    #C2410C;
  --birthday-light:   #FEF3C7;
  --birthday-accent:  #FCD34D;
  --birthday-bg:      #FFFBEB;
  --birthday-border:  #FDE68A;

  /* Anniversary */
  --anniversary-primary: #BE185D;
  --anniversary-dark:    #9D174D;
  --anniversary-light:   #FECDD3;
  --anniversary-accent:  #F43F5E;
  --anniversary-bg:      #FFF1F2;
  --anniversary-border:  #FBCFE8;

  /* Memorial */
  --memorial-primary: #4338CA;
  --memorial-dark:    #3730A3;
  --memorial-light:   #C7D2FE;
  --memorial-accent:  #818CF8;
  --memorial-bg:      #EEF2FF;
  --memorial-border:  #E0E7FF;

  /* Text */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-tertiary:  #94A3B8;
  --text-inverse:   #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:  0 24px 80px rgba(0,0,0,0.16);
  --shadow-hero: 0 40px 100px rgba(0,0,0,0.30);

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.35s;
  --duration-slow: 0.6s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--anniversary-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-midnight);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { max-width: 65ch; }
p + p { margin-top: 1rem; }

.overline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--anniversary-primary);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { position: relative; overflow: hidden; }

.section-pad { padding: 7rem 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 55ch;
  margin: 0 auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.35s var(--ease-in-out),
              box-shadow 0.35s var(--ease-in-out),
              padding 0.35s var(--ease-in-out);
}

.navbar--scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 32px rgba(0,0,0,0.08);
  padding: 0.875rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color 0.35s;
  white-space: nowrap;
}
.navbar--scrolled .navbar__logo { color: var(--text-primary); }

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar__link:hover { color: var(--color-white); }
.navbar--scrolled .navbar__link { color: var(--text-secondary); }
.navbar--scrolled .navbar__link:hover { color: var(--text-primary); }

.navbar__cta {
  padding: 0.625rem 1.375rem;
  background: var(--color-white);
  color: var(--text-primary) !important;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.navbar__cta:hover {
  background: var(--color-surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.navbar--scrolled .navbar__cta {
  background: var(--color-midnight);
  color: var(--color-white) !important;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(15,23,42,0.72) 0%,
    rgba(15,23,42,0.50) 50%,
    rgba(15,23,42,0.68) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 860px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 32px rgba(0,0,0,0.3);
}

.hero__title em {
  font-style: italic;
  color: var(--anniversary-light);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out),
              background 0.2s,
              opacity 0.2s;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-midnight);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(15,23,42,0.25);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(15,23,42,0.32); }

.btn--white {
  background: var(--color-white);
  color: var(--color-midnight);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--anniversary-primary);
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost::after {
  content: '';
  display: block;
  height: 1px;
  background: currentColor;
  width: 0;
  transition: width 0.3s var(--ease-out);
}
.btn--ghost:hover::after { width: 100%; }
.btn--ghost:hover { transform: none; }

.btn--stripe {
  background: #635BFF;
  color: white;
  box-shadow: 0 4px 16px rgba(99,91,255,0.35);
}
.btn--stripe:hover { box-shadow: 0 8px 32px rgba(99,91,255,0.45); }

.btn--paypal {
  background: #003087;
  color: white;
  box-shadow: 0 4px 16px rgba(0,48,135,0.3);
}
.btn--paypal:hover { box-shadow: 0 8px 32px rgba(0,48,135,0.4); }

.btn--appstore {
  background: var(--color-midnight);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   MOOD PILLARS
   ============================================================ */
.mood-section {
  padding: 5rem 0;
  background: var(--color-surface);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.mood-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  overflow: hidden;
}
.mood-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
}
.mood-card:hover { transform: translateY(-8px); }

/* Birthday card */
.mood-card--birthday {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 60%, #FFF7ED 100%);
  border-color: var(--birthday-border);
  box-shadow: 0 4px 32px rgba(249,115,22,0.1);
}
.mood-card--birthday:hover { box-shadow: 0 16px 56px rgba(249,115,22,0.18); }

/* Anniversary card */
.mood-card--anniversary {
  background: linear-gradient(135deg, #FECDD3 0%, #FFF1F2 55%, #FDF2F8 100%);
  border-color: var(--anniversary-border);
  box-shadow: 0 4px 32px rgba(190,24,93,0.10);
}
.mood-card--anniversary:hover { box-shadow: 0 16px 56px rgba(190,24,93,0.18); }

/* Memorial card */
.mood-card--memorial {
  background: linear-gradient(135deg, #E0E7FF 0%, #EEF2FF 55%, #F5F3FF 100%);
  border-color: var(--memorial-border);
  box-shadow: 0 4px 32px rgba(67,56,202,0.08);
}
.mood-card--memorial:hover { box-shadow: 0 16px 56px rgba(67,56,202,0.15); }

.mood-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mood-card--birthday .mood-card__icon { background: rgba(249,115,22,0.12); }
.mood-card--anniversary .mood-card__icon { background: rgba(190,24,93,0.1); }
.mood-card--memorial .mood-card__icon { background: rgba(67,56,202,0.1); }

.mood-card__icon svg { width: 28px; height: 28px; }
.mood-card--birthday .mood-card__icon svg { color: var(--birthday-primary); }
.mood-card--anniversary .mood-card__icon svg { color: var(--anniversary-primary); }
.mood-card--memorial .mood-card__icon svg { color: var(--memorial-primary); }

.mood-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.mood-card--birthday .mood-card__title { color: var(--birthday-dark); }
.mood-card--anniversary .mood-card__title { color: var(--anniversary-dark); }
.mood-card--memorial .mood-card__title { color: var(--memorial-dark); }

.mood-card__body {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 28ch;
}
.mood-card--birthday .mood-card__body { color: #92400E; }
.mood-card--anniversary .mood-card__body { color: #881337; }
.mood-card--memorial .mood-card__body { color: #3730A3; }

/* ============================================================
   APPS SECTION
   ============================================================ */
.apps-section {
  padding: 7rem 0;
  background: var(--color-white);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.app-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.app-card__media {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--color-midnight);
}
.app-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.app-card:hover .app-card__media img { transform: scale(1.04); }

.app-card__body {
  padding: 2.25rem 2.5rem 2.5rem;
}

.app-card__platform {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.app-card__title {
  font-size: 1.875rem;
  margin-bottom: 0.625rem;
}

.app-card__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 38ch;
}

/* ============================================================
   SCREENSHOTS SECTION
   ============================================================ */
.screenshots-section {
  padding: 7rem 0;
  background: var(--color-midnight);
}
.screenshots-section .overline { color: var(--anniversary-light); }
.screenshots-section h2 { color: var(--color-white); }
.screenshots-section .section-header p { color: rgba(255,255,255,0.6); }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
  padding: 1rem 1.5rem 2rem;
}

.screenshot-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-frame:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.screenshots-desktop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.screenshot-desktop-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease-out);
}
.screenshot-desktop-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-desktop-frame:hover { transform: translateY(-6px) scale(1.01); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 7rem 0;
  background: var(--color-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.feature-card {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--memorial-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--memorial-primary);
}

.feature-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 32ch;
}

/* ============================================================
   BUY / PRICING SECTION
   ============================================================ */
.buy-section {
  padding: 7rem 0;
  background: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.pricing-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(0,0,0,0.08);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--memorial-primary);
  background: var(--color-midnight);
  color: var(--color-white);
  box-shadow: 0 8px 40px rgba(67,56,202,0.25);
}
.pricing-card--featured h3,
.pricing-card--featured .pricing-price,
.pricing-card--featured .pricing-period,
.pricing-card--featured .pricing-features li {
  color: var(--color-white);
}
.pricing-card--featured .pricing-features li { opacity: 0.85; }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--memorial-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--memorial-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.pricing-card--featured .pricing-icon {
  background: rgba(255,255,255,0.12);
}
.pricing-icon svg { width: 26px; height: 26px; color: var(--memorial-primary); }
.pricing-card--featured .pricing-icon svg { color: var(--memorial-accent); }

.pricing-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 1rem 0 0.25rem;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.pricing-features {
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
}
.pricing-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--memorial-primary);
}
.pricing-card--featured .pricing-features li svg { color: var(--memorial-accent); }

.pricing-buy-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--memorial-primary);
  flex-shrink: 0;
}

/* ============================================================
   MEMORIAL CALLOUT
   ============================================================ */
.memorial-cta {
  padding: 7rem 0;
  background: linear-gradient(135deg, #E0E7FF 0%, #EEF2FF 50%, #F5F3FF 100%);
}

.memorial-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.memorial-cta__text .overline { color: var(--memorial-primary); }

.memorial-cta__text h2 {
  color: var(--memorial-dark);
  margin-bottom: 1.25rem;
}

.memorial-cta__text p {
  color: #4338CA;
  font-size: 1.0625rem;
  line-height: 1.75;
  opacity: 0.8;
}

.memorial-cta__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.memorial-cta__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-midnight);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2.5rem;
}

.footer__brand .navbar__logo {
  color: var(--color-white);
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--color-white); }

/* ============================================================
   ANIMATIONS (Impeccable Animate)
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate][data-delay="1"] { transition-delay: 0.10s; }
[data-animate][data-delay="2"] { transition-delay: 0.20s; }
[data-animate][data-delay="3"] { transition-delay: 0.30s; }
[data-animate][data-delay="4"] { transition-delay: 0.40s; }
[data-animate][data-delay="5"] { transition-delay: 0.50s; }

[data-animate="quiet"] {
  opacity: 0;
  transform: none;
  transition: opacity 1.1s ease-out;
}
[data-animate="quiet"][data-delay="1"] { transition-delay: 0.25s; }
[data-animate="quiet"][data-delay="2"] { transition-delay: 0.50s; }
[data-animate="quiet"][data-delay="3"] { transition-delay: 0.75s; }

[data-animate].is-visible,
[data-animate="quiet"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate="quiet"] {
    transform: none !important;
    transition: opacity 0.4s ease-out !important;
    transition-delay: 0s !important;
  }
}

/* ============================================================
   APP STORE BADGE
   ============================================================ */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-midnight);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  text-decoration: none;
}
.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.appstore-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.appstore-badge__sub { font-size: 0.6875rem; opacity: 0.75; }
.appstore-badge__name { font-size: 1rem; font-weight: 700; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-auto { margin-top: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.page-header {
  padding: 10rem 0 5rem;
  background: var(--color-midnight);
  text-align: center;
}
.page-header h1 { color: var(--color-white); }
.page-header p { color: rgba(255,255,255,0.65); margin: 1rem auto 0; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .mood-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .mood-grid .mood-card { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 0 1.25rem; align-items: start; }
  .mood-card__icon { grid-row: 1 / 3; margin-bottom: 0; }
  .mood-card__body { max-width: none; }

  .apps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .memorial-cta__inner { grid-template-columns: 1fr; gap: 3rem; }
  .memorial-cta__image { order: -1; }
  .screenshots-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section-pad { padding: 4.5rem 0; }

  .navbar__links { display: none; }
  .navbar__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-midnight);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    z-index: 999;
  }
  .navbar__links.is-open .navbar__link {
    color: var(--color-white);
    font-size: 1.5rem;
  }
  .navbar__hamburger { display: flex; }
  .navbar__cta { display: none; }

  .hero__title { font-size: 2.75rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }

  .mood-grid { grid-template-columns: 1fr; }
  .mood-card { display: block; }

  .apps-grid { grid-template-columns: 1fr; }
  .app-card__media { height: 240px; }
  .app-card__body { padding: 1.75rem; }

  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-desktop { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { order: -1; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}
