/* ============================================================
   PalPal Home Page — Premium Stylesheet
   Theme: #541342 (Deep Wine/Magenta)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Georgia:ital@0;1&display=swap');

/* ── Reset & Tokens ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #541342;
  --brand-dark: #3a0d2e;
  --brand-mid: #7a1d5e;
  --brand-light: #c06ea0;
  --brand-pale: #f3e8f0;
  --brand-glass: rgba(84, 19, 66, 0.08);
  --white: #ffffff;
  --text-main: #1a0813;
  --text-muted: rgba(84, 19, 66, 0.65);
  --shadow-sm: 0 4px 16px rgba(84, 19, 66, 0.1);
  --shadow-md: 0 10px 40px rgba(84, 19, 66, 0.16);
  --shadow-lg: 0 24px 64px rgba(84, 19, 66, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-brand: Georgia, 'Times New Roman', serif;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

body.home-page {
  font-family: var(--font-body);
  background: #fdf6fb;
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Animated Background ── */
.home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #fdf6fb 0%, #f3e8f0 40%, #ffe8f5 70%, #fdf6fb 100%);
  background-size: 400% 400%;
  animation: bgShift 20s ease infinite;
}

@keyframes bgShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Floating orbs */
.home-bg::before,
.home-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}
.home-bg::before {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(84, 19, 66, 0.12), transparent 70%);
}
.home-bg::after {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(192, 110, 160, 0.18), transparent 70%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -60px) scale(1.05);
  }
  66% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

/* ── Particles ── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(84, 19, 66, 0.15);
  animation: particleDrift linear infinite;
}

@keyframes particleDrift {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ── Content Wrapper ── */
.home-wrap {
  position: relative;
  z-index: 1;
  padding-top: 80px; /* navbar height */
}

/* ── Navbar ── */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(84, 19, 66, 0.08);
  z-index: 1000;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.home-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(84, 19, 66, 0.08);
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.5px;
  transition: opacity var(--transition);
}
.nav-logo-link:hover {
  opacity: 0.8;
}
.nav-logo-link img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    color var(--transition),
    transform var(--transition);
  position: relative;
}
.nav-links-list a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links-list a:hover {
  color: var(--brand);
}
.nav-links-list a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(84, 19, 66, 0.25);
  transition: all var(--transition) !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(84, 19, 66, 0.35) !important;
}

/* ── Mobile Menu Toggle ── */
.home-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--brand);
  font-size: 1.5rem;
}
.home-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 1rem;
  gap: 0.5rem;
  z-index: 999;
  border-bottom: 1px solid rgba(84, 19, 66, 0.08);
  animation: slideDown 0.3s ease;
}
.home-mobile-menu.open {
  display: flex;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-mobile-menu a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.home-mobile-menu a:hover {
  background: var(--brand-glass);
}

/* ── Hero Section ── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(84, 19, 66, 0.08);
  border: 1px solid rgba(84, 19, 66, 0.18);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease both;
  letter-spacing: 0.5px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 0.1s ease both;
  transition: transform var(--transition);
}
.hero-logo-img:hover {
  transform: scale(1.05) rotate(3deg);
}

.hero-title {
  font-family: var(--font-brand);
  font-style: italic;
  text-transform: lowercase;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-mid) 50%,
    var(--brand-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
  animation: fadeInUp 0.7s 0.2s ease both;
  padding: 24px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  animation: fadeInUp 0.7s 0.3s ease both;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(84, 19, 66, 0.6);
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  animation:
    typing 2.8s steps(28, end) 0.5s both,
    blink 0.75s step-end 3.3s infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgba(84, 19, 66, 0.6);
  }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin: 1.5rem auto 2.5rem;
  animation: fadeInUp 0.7s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  animation: fadeInUp 0.7s 0.5s ease both;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(84, 19, 66, 0.35);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary-hero:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 48px rgba(84, 19, 66, 0.45);
}
.btn-primary-hero:hover::before {
  opacity: 1;
}
.btn-primary-hero span {
  position: relative;
  z-index: 1;
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(84, 19, 66, 0.07);
  color: var(--brand);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(84, 19, 66, 0.2);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost-hero:hover {
  background: rgba(84, 19, 66, 0.12);
  border-color: rgba(84, 19, 66, 0.35);
  transform: translateY(-4px);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s 1s ease both;
}
.scroll-hint .scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--brand-light);
  border-bottom: 2px solid var(--brand-light);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* ── Section Base ── */
.section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.section-title {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--brand);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Apps Section ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.app-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.app-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 19, 66, 0.05), transparent 70%);
  transition: transform var(--transition);
}
.app-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(84, 19, 66, 0.15);
  background: rgba(255, 255, 255, 0.9);
}
.app-card:hover::before {
  transform: scaleX(1);
}
.app-card:hover::after {
  transform: scale(1.5);
}

.app-card.featured {
  background: linear-gradient(135deg, rgba(84, 19, 66, 0.04), rgba(255, 255, 255, 0.85));
  border-color: rgba(84, 19, 66, 0.18);
}

.app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-pale), rgba(84, 19, 66, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}
.app-card:hover .app-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.app-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.app-card-tag.live {
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.app-card-tag.soon {
  background: rgba(234, 179, 8, 0.1);
  color: #92400e;
  border: 1px solid rgba(234, 179, 8, 0.25);
}
.app-card-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.tag-dot.live {
  background: #22c55e;
}
.tag-dot.soon {
  background: #eab308;
}

.app-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.app-card-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.app-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: gap var(--transition);
  position: relative;
  z-index: 1;
}
.app-card:hover .app-card-cta {
  gap: 12px;
}

/* ── Stats Strip ── */
.stats-strip {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
  margin: 0 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.stat-item {
  position: relative;
  z-index: 1;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ── Community Section ── */
.community-card {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(84, 19, 66, 0.1);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.community-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 19, 66, 0.06), transparent 70%);
  pointer-events: none;
}

.community-content h2 {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.community-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.community-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.community-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--text-muted);
}
.community-benefits .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.community-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.avatar-group {
  display: flex;
  align-items: center;
  gap: -8px;
  margin-bottom: 1rem;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: linear-gradient(135deg, var(--brand-pale), rgba(84, 19, 66, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(84, 19, 66, 0.15);
  transition: transform var(--transition);
}
.avatar:first-child {
  margin-left: 0;
}
.avatar:hover {
  transform: translateY(-4px) scale(1.1);
}

.community-quote {
  background: rgba(84, 19, 66, 0.05);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.5rem;
}
.community-quote p {
  font-size: 0.97rem;
  color: var(--brand);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.community-quote cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* ── Support / Donate Section ── */
.support-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.support-inner {
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--brand));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.support-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1.5rem;
  animation: heartBeat 2s ease infinite;
}
@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.18);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

.support-title {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.support-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.support-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: left;
}
.tier-card {
  background: var(--brand-pale);
  border: 1.5px solid rgba(84, 19, 66, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tier-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  opacity: 0;
  transition: opacity var(--transition);
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.tier-card:hover::after {
  opacity: 1;
}
.tier-card:hover .tier-label,
.tier-card:hover .tier-amount,
.tier-card:hover .tier-desc {
  color: var(--white);
}

.tier-label,
.tier-amount,
.tier-desc {
  position: relative;
  z-index: 1;
}
.tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tier-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.4rem;
}
.tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: var(--white);
  padding: 1.1rem 3rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(84, 19, 66, 0.35);
  transition: all var(--transition);
}
.btn-support:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(84, 19, 66, 0.45);
}

/* ── Footer ── */
.home-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.home-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-name img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
  opacity: 0.9;
}
.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition:
    color var(--transition),
    transform var(--transition);
}
.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.87rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: var(--white);
}

/* ── Reveal animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up:nth-child(1) {
  transition-delay: 0s;
}
.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .community-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .support-inner {
    padding: 3.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .home-nav {
    padding: 0 1.25rem;
    height: 65px;
  }
  .nav-links-list {
    display: none;
  }
  .home-mobile-btn {
    display: block;
  }
  .home-wrap {
    padding-top: 65px;
  }
  .home-mobile-menu {
    top: 65px;
  }

  .hero {
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 65px);
  }
  .hero-logo-img {
    width: 90px;
    height: 90px;
  }
  .section {
    padding: 5rem 1.5rem;
  }
  .community-card {
    padding: 2rem;
  }
  .stats-strip {
    margin: 0 1.5rem;
    padding: 2.5rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .support-tiers {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .support-tiers {
    grid-template-columns: 1fr;
  }
  .support-title {
    font-size: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Inline styles replacement utilities */
.hidden-alias {
  display: none;
}

.hero-logo-link {
  text-decoration: none;
}

.app-card-cta.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.community-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.community-quote + .community-quote {
  margin-top: 1rem;
}

.support-section .support-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}
