/* WingPal Web Platform - Modern Responsive Styles */
:root {
  --primary-teal: #0D9488;
  --primary-teal-dark: #0F766E;
  --primary-teal-light: #F0FDFA;
  --primary-teal-border: #CCFBF1;
  --primary-teal-hover: #115E59;
  
  --primary-orange: #EA580C;
  --primary-orange-dark: #C2410C;
  --primary-orange-light: #FFF7ED;
  --primary-orange-hover: #9A3412;
  
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  
  --star-gold: #F59E0B;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate-900);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.official-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--slate-800);
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-icon-lang {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--slate-700);
  transition: background-color 0.15s ease;
}

.btn-icon-lang:hover {
  background-color: var(--slate-100);
}

.btn-signin {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-teal);
  border: 1.5px solid var(--primary-teal);
  border-radius: var(--radius-full);
  background-color: transparent;
  transition: all 0.15s ease;
}

.btn-signin:hover {
  background-color: var(--primary-teal-light);
}

.btn-getstarted {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-orange);
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

.btn-getstarted:hover {
  background-color: var(--primary-orange-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 48px 0 32px 0;
  background-color: #FFFFFF;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  padding-right: 12px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.btn-hero-teal {
  background-color: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-hero-teal:hover {
  background-color: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-hero-orange {
  background-color: var(--primary-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-hero-orange:hover {
  background-color: var(--primary-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.hero-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  aspect-ratio: 16 / 9;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   CAMERA LENS HERO PHOTO VIEWFINDER & CONTINUOUS LOOP
   ========================================================================== */
.hero-lens-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0B0F19;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.12);
  user-select: none;
}

/* Glass Reflection & Vignette */
.lens-glass-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 60%);
  z-index: 5;
  pointer-events: none;
}

.lens-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(11, 15, 25, 0.55) 100%);
  z-index: 4;
  pointer-events: none;
}

.lens-shutter-flash {
  position: absolute;
  inset: 0;
  background-color: #FFFFFF;
  opacity: 0;
  z-index: 6;
  pointer-events: none;
}

.lens-shutter-flash.flash-active {
  animation: lensFlashEffect 0.25s ease-out forwards;
}

@keyframes lensFlashEffect {
  0% { opacity: 0.35; }
  100% { opacity: 0; }
}

/* Slides Container */
.lens-slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lens-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.lens-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.lens-slide.active .lens-img {
  animation: lensRackFocus 0.75s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes lensRackFocus {
  0% {
    filter: blur(8px) brightness(1.12);
    transform: scale(1.04);
  }
  60% {
    filter: blur(1.5px) brightness(1.02);
    transform: scale(1.01);
  }
  100% {
    filter: blur(0px) brightness(1);
    transform: scale(1);
  }
}

/* Camera Viewfinder Overlay & HUD */
.lens-viewfinder-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Corner Reticle Brackets */
.lens-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.corner-tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  border-top-left-radius: 4px;
}

.corner-tr {
  top: 14px;
  right: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-top-right-radius: 4px;
}

.corner-bl {
  bottom: 14px;
  left: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom-left-radius: 4px;
}

.corner-br {
  bottom: 14px;
  right: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom-right-radius: 4px;
}

/* Viewfinder HUD Top */
.lens-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lens-badge-af {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lens-af-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: afDotPulse 1.8s infinite;
}

@keyframes afDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.lens-meta-specs {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Center Autofocus Reticle */
.lens-focus-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, monospace;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
  transition: all 0.3s ease;
}

.lens-focus-reticle.reticle-lock {
  animation: reticleFocusSnap 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes reticleFocusSnap {
  0% {
    transform: translate(-50%, -50%) scale(1.3);
    color: #FCD34D;
    text-shadow: 0 0 10px rgba(252, 211, 77, 0.8);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.95);
    color: #14B8A6;
    text-shadow: 0 0 12px rgba(20, 184, 166, 0.9);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    color: rgba(255, 255, 255, 0.75);
    text-shadow: none;
    opacity: 0.7;
  }
}

.reticle-bracket {
  font-size: 18px;
  font-weight: 300;
}

.reticle-crosshair {
  font-size: 14px;
  font-weight: 700;
}

/* Viewfinder HUD Bottom */
.lens-hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.lens-scene-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lens-counter-box {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  font-family: ui-monospace, monospace;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Progress / Dot Navigation Bar */
.lens-nav-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lens-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lens-nav-dot:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.lens-nav-dot.active {
  width: 22px;
  background-color: #14B8A6;
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .lens-slide.active .lens-img {
    animation: none;
  }
  .lens-shutter-flash.flash-active {
    animation: none;
  }
  .lens-focus-reticle.reticle-lock {
    animation: none;
  }
  .lens-af-dot {
    animation: none;
  }
}

/* ==========================================================================
   CATEGORY FILTER BAR
   ========================================================================== */
.categories-section {
  padding: 18px 0 8px 0;
}

.category-bar {
  display: flex;
  align-items: center;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
  white-space: nowrap;
  position: relative;
}

.cat-pill:hover {
  color: var(--primary-teal);
  background-color: rgba(255, 255, 255, 0.6);
}

.cat-pill.active {
  background-color: #E6F7F5;
  color: var(--primary-teal);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.08);
}

.cat-pill.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 28px;
  height: 3px;
  background-color: var(--primary-teal);
  border-radius: var(--radius-full);
}

.cat-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--slate-600);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-teal);
  transition: gap 0.15s ease, color 0.15s ease;
}

.section-link:hover {
  color: var(--primary-teal-dark);
  gap: 9px;
}

/* ==========================================================================
   CARDS GRIDS
   ========================================================================== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.content-section {
  padding: 16px 0 24px 0;
}

#buddies {
  padding-top: 8px;
  padding-bottom: 20px;
}

#wings {
  padding-top: 16px;
  padding-bottom: 24px;
}

/* Activity Card */
.cards-grid-buddies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 680px) {
  .cards-grid-buddies {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 10px 12px -5px rgba(15, 23, 42, 0.04);
  border-color: #CBD5E1;
}

.activity-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #F1F5F9;
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-img {
  transform: scale(1.04);
}

.activity-category-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FFFFFF;
  border-radius: 9999px;
  padding: 7px 18px 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  z-index: 2;
}

.activity-category-pill svg {
  flex-shrink: 0;
}

.activity-category-pill span {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -0.01em;
}

.btn-activity-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  z-index: 2;
  transition: transform 0.2s ease;
}

.btn-activity-fav:hover {
  transform: scale(1.12);
}

.activity-body {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  flex-grow: 1;
}

.activity-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-name {
  font-size: 21px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.activity-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
}

.activity-meta-item svg {
  flex-shrink: 0;
}

.activity-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.activity-attendees-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0D9488;
  line-height: 1;
  padding-top: 2px;
}

.activity-attendees-pill svg {
  flex-shrink: 0;
}

.btn-activity-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background-color: #E2F7F4;
  color: #0D9488;
  font-size: 15px;
  font-weight: 800;
  border-radius: 9999px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-activity-view:hover {
  background-color: #0D9488;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* ==========================================================================
   HORIZONTAL WING CARDS (Matching Official Mockup)
   ========================================================================== */
.cards-grid-wings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1080px) {
  .cards-grid-wings {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .cards-grid-wings {
    grid-template-columns: 1fr;
  }
}

.wing-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  gap: 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: stretch;
  cursor: pointer;
}

.wing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 10px 12px -5px rgba(15, 23, 42, 0.04);
  border-color: #CBD5E1;
}

.wing-card-left {
  flex-shrink: 0;
  width: 135px;
}

.wing-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 165px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #F1F5F9;
}

.wing-img-box .wing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wing-card:hover .wing-img-box .wing-img {
  transform: scale(1.04);
}

.btn-wing-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  z-index: 2;
  transition: transform 0.2s ease;
}

.btn-wing-fav:hover {
  transform: scale(1.12);
}

.wing-avail-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #FFFFFF;
  border-radius: 9999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  z-index: 2;
}

.wing-avail-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  animation: home-wing-pulse 1.8s ease-in-out 3;
}

.wing-avail-badge span:last-child {
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1;
}

@keyframes home-wing-pulse {
  50% { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .wing-avail-dot { animation: none; }
}

.wing-card-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 2px 2px 0;
}

.wing-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.wing-name {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.wing-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wing-verified-badge svg {
  width: 18px;
  height: 18px;
}

.wing-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.wing-star-icon {
  width: 15px;
  height: 15px;
  fill: #F59E0B;
  flex-shrink: 0;
}

.wing-rating-score {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}

.wing-rating-count {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

.wing-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.wing-location-row svg {
  color: #334155;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.wing-tags-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.wing-tag {
  background-color: #EDF4F9;
  color: #0F172A;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  line-height: 1;
}

.wing-card-divider {
  height: 1px;
  background-color: #E2E8F0;
  width: 100%;
  margin-bottom: 8px;
}

.wing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wing-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.wing-price-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.wing-price-val {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.btn-wing-book {
  background-color: #0D9488;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-wing-book:hover {
  background-color: #0F766E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

@media (max-width: 580px) {
  .wing-card {
    flex-direction: column;
    padding: 14px;
  }
  .wing-card-left {
    width: 100%;
  }
  .wing-img-box {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }
  .wing-card-right {
    padding: 10px 0 0 0;
  }
}

/* ==========================================================================
   LOWER PART OF SCREEN: HOW IT WORKS
   ========================================================================== */
.how-it-works-section {
  padding: 64px 0;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-center-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px auto;
}

.eyebrow-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-teal);
  background-color: var(--primary-teal-light);
  border: 1px solid var(--primary-teal-border);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.center-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.center-subtitle {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-teal-border);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   LOWER PART: TRUST & SAFETY
   ========================================================================== */
.safety-section {
  padding: 72px 0;
  background-color: var(--white);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.safety-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.safety-card:hover {
  background-color: var(--white);
  border-color: var(--primary-teal-border);
  box-shadow: var(--shadow-card);
}

.safety-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  margin-bottom: 18px;
}

.safety-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.safety-card-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   LOWER PART: TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 64px 0;
  background-color: transparent;
  border-top: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  color: var(--star-gold);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}

.testimonial-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-teal);
}

/* ==========================================================================
   LOWER PART: CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 64px 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 60%, #115E59 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.cta-banner-sub {
  font-size: 18px;
  opacity: 0.92;
  max-width: 580px;
  margin: 0 auto 36px auto;
  line-height: 1.5;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-cta-white {
  background-color: var(--white);
  color: var(--primary-teal-dark);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  background-color: var(--primary-teal-light);
  transform: translateY(-2px);
}

.btn-cta-orange {
  background-color: var(--primary-orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta-orange:hover {
  background-color: var(--primary-orange-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0B132B;
  color: #CBD5E1;
  padding: 64px 0 32px 0;
  border-top: 1px solid #1E293B;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  font-size: 14px;
  color: #94A3B8;
  transition: color 0.15s ease;
}

.footer-col-links a:hover {
  color: var(--white);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  font-size: 13px;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: #94A3B8;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-content {
    padding-right: 0;
  }
  
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 38px;
  }
  
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .safety-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
}


/* ==========================================================================
   ENHANCED MODERN STYLES: WING INTERESTS, FILTER ANIMATIONS, HOW IT WORKS, SAFETY, TESTIMONIALS, CTA
   ========================================================================== */

/* Category filter animations & empty state */
.cat-pill {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.cat-pill:hover:not(.active) {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
  transform: translateY(-1px);
}
.cat-pill.active {
  background-color: #0D9488 !important;
  color: #FFFFFF !important;
  border-color: #0D9488 !important;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}
.cat-pill.active .cat-icon {
  stroke: #FFFFFF;
}
.filter-item-hidden {
  display: none !important;
}
.filter-item-anim {
  animation: fadeInFilterCard 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInFilterCard {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.filter-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: #F8FAFC;
  border: 2px dashed #CBD5E1;
  border-radius: 20px;
  color: #64748B;
}
.filter-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: #94A3B8;
}

/* Wing Card Interests & Modern Action */
.wing-interests-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 14px 0;
}
.wing-interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  background-color: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}
.wing-interest-tag:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}


/* Modernized How It Works Section */
/* ==========================================================================
   HOW WINGPAL WORKS (Two Tracks: Buddies + Wings, Pixel-Perfect Matching Mockup)
   ========================================================================== */
.how-it-works-section {
  padding: 38px 0 42px;
  background-color: #FAFAF9;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.how-wave-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

.how-wave-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  height: 95px;
  pointer-events: none;
  z-index: 1;
}

.how-wave-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 340px;
  height: 95px;
  pointer-events: none;
  z-index: 1;
}

.how-section-header {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.how-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: #0D9488;
  border-radius: 2px;
}

.eyebrow-text {
  font-size: 13px;
  font-weight: 700;
  color: #0D9488;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-main-title {
  font-size: 38px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.how-main-title .text-orange {
  color: #EA580C;
}

.how-main-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

/* TRACK CARDS */
.how-track-card {
  border-radius: 28px;
  padding: 24px 28px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.how-track-buddies {
  background-color: #F0FDF9;
  border: 1.5px solid #CCFBF1;
}

.how-track-wings {
  background-color: #FFF9F5;
  border: 1.5px solid #FFEDD5;
}

.how-track-sidebar {
  width: 195px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.how-track-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.how-icon-buddies {
  background-color: #0D9488;
  color: #FFFFFF;
}

.how-icon-wings {
  background-color: #EA580C;
  color: #FFFFFF;
}

.how-track-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.how-track-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 10px;
}

.how-track-underline {
  display: block;
}

/* TRACK STEPS FLOW */
.how-track-steps {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.how-step-card {
  flex: 1;
  min-width: 0;
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.how-card-img-wrap {
  width: 100%;
  height: 116px;
  background-color: #F8FAFC;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.how-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.how-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.how-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.num-teal {
  background-color: #0D9488;
}

.num-orange {
  background-color: #EA580C;
}

.how-card-heading {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.how-card-desc {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.how-track-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
}

.arrow-teal {
  color: #0D9488;
}

.arrow-orange {
  color: #EA580C;
}

/* DUAL CTA ROW */
.how-dual-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-cta-buddies {
  background-color: #0D9488;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-cta-buddies:hover {
  background-color: #0F766E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.btn-cta-wings {
  background-color: #EA580C;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.btn-cta-wings:hover {
  background-color: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

@media (max-width: 1024px) {
  .how-track-card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 20px;
  }
  .how-track-sidebar {
    width: 100%;
  }
  .how-track-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .how-track-arrow {
    display: none;
  }
  .how-step-card {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 200px;
  }
}

@media (max-width: 640px) {
  .how-track-steps {
    flex-direction: column;
  }
  .how-step-card {
    width: 100%;
    min-width: auto;
  }
  .how-dual-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-pill {
    width: 100%;
  }
}

/* Modernized Peace of Mind / Safety Section */
.safety-section {
  padding: 38px 0 42px;
  background: #FFFFFF;
  position: relative;
}
.safety-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.safety-card-modern {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.safety-card-modern:hover {
  border-color: #0D9488;
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(13, 148, 136, 0.16);
}
.safety-card-img-wrap {
  width: 100%;
  height: 180px;
  background-color: #F8FAFC;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #F1F5F9;
}
.safety-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.safety-card-modern:hover .safety-card-img {
  transform: scale(1.03);
}
.safety-card-content {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.safety-pill-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0D9488;
  background: #E6FFFA;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}
.safety-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.3;
}
.safety-card-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

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

@media (max-width: 640px) {
  .safety-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Modernized Testimonials / Community Stories */
.testimonials-section {
  padding: 38px 0 42px;
  background: transparent;
  border-top: none;
}
.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card-modern {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card-modern:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.09);
}
.quote-glyph {
  font-size: 52px;
  font-family: Georgia, serif;
  line-height: 0.8;
  color: #0D9488;
  opacity: 0.25;
  margin-bottom: 10px;
}
.testimonial-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0D9488;
  background: #F0FDFA;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 3px;
  border: 1px solid #CCFBF1;
}

/* Modernized Don't Go Alone Bottom CTA Banner */
.cta-banner-section {
  padding: 32px 0 48px;
}
.cta-banner-modern {
  background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.35), transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.28), transparent 45%),
              linear-gradient(135deg, #0F172A 0%, #115E59 55%, #0F172A 100%);
  border-radius: 32px;
  padding: 48px 36px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 28px 56px -14px rgba(15, 23, 42, 0.45);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-banner-modern::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-pill-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 800;
  color: #5EEAD4;
  margin-bottom: 24px;
  border: 1px solid rgba(94, 234, 212, 0.35);
}
.cta-banner-modern-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  color: #FFFFFF;
  line-height: 1.15;
}
.cta-banner-modern-sub {
  font-size: 18.5px;
  opacity: 0.94;
  max-width: 640px;
  margin: 0 auto 38px auto;
  line-height: 1.6;
  color: #E2E8F0;
}
.cta-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: #CBD5E1;
  font-weight: 600;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F1F5F9;
}
.cta-trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.2);
  color: #2DD4BF;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid-modern {
    grid-template-columns: 1fr;
  }
  .cta-banner-modern-title {
    font-size: 34px;
  }
}
@media (max-width: 640px) {
  .safety-grid-modern {
    grid-template-columns: 1fr;
  }
  .cta-banner-modern {
    padding: 52px 24px;
  }
  .cta-banner-modern-title {
    font-size: 28px;
  }
}

/* Home discovery and compact previews */
#buddiesCardsGrid [hidden], #wingsCardsGrid [hidden], .home-empty[hidden] { display: none !important; }
.hero-actions .btn-hero { align-items: center; }
.btn-hero small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; }
.hero-trust { margin-top: 22px; color: var(--slate-600); font-size: 13px; max-width: 460px; }
.hero-trust a { color: var(--primary-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.home-discovery { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 12px 0 16px; padding: 18px 22px; background: var(--primary-teal-light); border: 1px solid var(--primary-teal-border); border-radius: var(--radius-lg); }
.home-discovery h2 { font-size: 18px; line-height: 1.4; letter-spacing: -.25px; margin-bottom: 3px; }
.home-discovery p { color: var(--slate-600); font-size: 14px; }
.home-city-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
 .home-city-field { flex: 0 1 300px; min-width: 0; }
.home-city-select { position: relative; display: flex; align-items: center; }
.home-city-pin, .home-city-chevron { position: absolute; pointer-events: none; color: var(--primary-teal-dark); }
.home-city-pin { left: 14px; }
.home-city-chevron { right: 14px; }
.home-city-field select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: 12px 40px; border: 1px solid var(--slate-200); border-radius: 12px; background: var(--white); color: var(--slate-900); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.home-city-field select:hover { border-color: var(--primary-teal); box-shadow: var(--shadow-md); }
.home-empty { padding: 24px; border: 1px dashed var(--slate-200); border-radius: var(--radius-md); color: var(--slate-600); }
.home-city-field select:focus-visible, .cat-pill:focus-visible, .btn-hero:focus-visible { outline: 3px solid var(--primary-teal-dark); outline-offset: 4px; }
@media (max-width: 640px) {
  .home-discovery { flex-direction: column; align-items: stretch; padding: 18px; gap: 16px; }
  .home-city-field { flex: none; width: 100%; }
  .home-city-field select { min-width: 0; }
  .hero-actions .btn-hero { width: 100%; }
}

.home-city-field .home-city-status { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--slate-600); }

.home-city-field .home-city-status:empty { display: none; }

.nearby-distance { display: block; padding: 8px 12px; color: #0f766e; font-size: 12px; font-weight: 600; }

@media (max-width: 600px) {
  #buddies .section-header-row,
  #wings .section-header-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  #buddies .section-link,
  #wings .section-link {
    font-size: 14px;
    white-space: nowrap;
  }

  #buddies .activity-meta-item {
    font-size: 13px;
  }
}
