/* Longly — custom styles layered on top of Tailwind */

/* ═══════════════ GLOBAL ═══════════════ */

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #FFFFFF;
  overflow-x: hidden;
}

::selection { background: #7C3AED; color: white; }

/* ═══════════════ HEART SHAPES ═══════════════ */

.heart {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #A855F7 0%, #6D28D9 100%);
  filter: drop-shadow(0 6px 16px rgba(124, 58, 237, 0.4));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41 0.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41 0.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center / contain;
}

.heart-nav {
  width: 20px; height: 20px; vertical-align: -3px;
  animation: heartPulse 1.4s ease-in-out infinite;
}

.heart-mega {
  width: 0.85em; height: 0.85em; vertical-align: middle;
  animation: heartPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.45));
}

/* ═══════════════ HEART EMISSION (particles floating up) ═══════════════ */

.heart-host {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.heart-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #A855F7 0%, #6D28D9 100%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41 0.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41 0.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") no-repeat center / contain;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.4));
  animation: heartEmit 3.5s ease-out infinite;
}

/* Six particles — varied horizontal drift, sizes, and delays */
.heart-particle-1 { --x: -80px; animation-delay: 0s;   width: 18px; height: 18px; }
.heart-particle-2 { --x:  60px; animation-delay: 0.6s; width: 14px; height: 14px; }
.heart-particle-3 { --x: -30px; animation-delay: 1.2s; width: 22px; height: 22px; }
.heart-particle-4 { --x:  90px; animation-delay: 1.9s; width: 16px; height: 16px; }
.heart-particle-5 { --x: -60px; animation-delay: 2.5s; width: 12px; height: 12px; }
.heart-particle-6 { --x:  30px; animation-delay: 3.0s; width: 20px; height: 20px; }

@keyframes heartEmit {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  15% {
    opacity: 1;
    transform: translate(calc(-50% + var(--x, 0px) * 0.15), calc(-50% - 24px)) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% - 220px)) scale(1.2);
  }
}

/* ═══════════════ HERO ═══════════════ */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 50px 20px 44px;
  background: #C084FC;
  border-radius: 40px;
  margin: 16px 16px;
}

.hero-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #5B21B6; margin-bottom: 28px;
}

/* Pill badge at top of hero (replaces plain eyebrow for more pop) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: white;
  color: #1A1033;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  50%      { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.hero-wordmark {
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: clamp(96px, 16vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #1A1033; user-select: none;
}

.hero-tagline {
  margin-top: 24px;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  color: rgba(26, 16, 51, 0.78);
  letter-spacing: -0.01em;
}

/* ═══════════════ WHAT IS LONGLY (2-column with phone mockups) ═══════════════ */

.what-section {
  padding: 64px 20px;
}

.what-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .what-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.what-copy { max-width: 560px; }

.what-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

/* ═══════════════ PHONE MOCKUPS (Bumble-style 3 stacked phones) ═══════════════ */

.phone-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 480px;
}

.phone {
  position: absolute;
  background: #1A1033;
  border-radius: 32px;
  padding: 7px;
  box-shadow: 0 30px 60px -15px rgba(26, 16, 51, 0.45),
              0 0 0 2px rgba(26, 16, 51, 0.08);
}

.phone-main {
  width: 210px;
  height: 430px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.phone-back-left {
  width: 175px;
  height: 370px;
  top: 50%;
  left: 12%;
  transform: translateY(-50%) rotate(-12deg);
  z-index: 1;
  opacity: 0.92;
}

.phone-back-right {
  width: 175px;
  height: 370px;
  top: 50%;
  right: 12%;
  transform: translateY(-50%) rotate(12deg);
  z-index: 2;
  opacity: 0.92;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 26px;
  overflow: hidden;
}

.phone-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.75) 100%);
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.phone-brand {
  font-size: 15px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.phone-match {
  padding: 4px 10px;
  background: linear-gradient(135deg, #A855F7 0%, #6D28D9 100%);
  color: white;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
}

.phone-bottom {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: white;
  z-index: 2;
}

.phone-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.phone-detail {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.95;
  margin-top: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.phone-chips {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.phone-chip {
  padding: 3px 8px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Back phones have simpler bottom text (no chips) */
.phone-back-left .phone-name,
.phone-back-right .phone-name {
  font-size: 14px;
}
.phone-back-left .phone-detail,
.phone-back-right .phone-detail {
  font-size: 10px;
}

/* Mobile: scale down the phone stack */
@media (max-width: 899px) {
  .phone-stack { height: 420px; max-width: 420px; }
  .phone-main { width: 180px; height: 380px; }
  .phone-back-left, .phone-back-right { width: 150px; height: 320px; }
  .phone-back-left { left: 5%; }
  .phone-back-right { right: 5%; }
}

/* ═══════════════ MEMBERS STRIP (Bumble-style tilted photo cards) ═══════════════ */

.members-section {
  background: white;
}

.members-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.member-card {
  position: relative;
  width: 150px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(26, 16, 51, 0.3),
              0 0 0 6px rgba(255, 255, 255, 1);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  flex-shrink: 0;
}

.member-card--large { width: 180px; }

.member-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  z-index: 2;
}

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

.member-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.97);
  color: #1A1033;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26, 16, 51, 0.15);
}

@media (min-width: 768px) {
  .member-card { width: 180px; }
  .member-card--large { width: 220px; }
  .members-row { gap: 24px; }
}

/* ═══════════════ FEATURES GRID (Bumble-style 2-up cards) ═══════════════ */

.features-section {
  padding: 40px 20px 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.feature-card {
  background: #C084FC;
  border-radius: 22px;
  padding: 22px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 10px 30px -15px rgba(76, 29, 149, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
  .feature-card {
    border-radius: 28px;
    padding: 30px 28px 36px;
    gap: 22px;
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(76, 29, 149, 0.35);
}

.feature-card-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 150px;
}

@media (min-width: 640px) {
  .feature-card-visual { min-height: 200px; }
}

/* Pin the content (title + body + hint) to the bottom of the card.
   Combined with grid default equal-row-heights, the titles on cards
   in the same row land at the same Y position. */
.feature-card-content {
  margin-top: auto;
}

/* Tight variant: content flows right after the visual (Matchmaker, Nearby). */
.feature-card--tight .feature-card-content {
  margin-top: 0;
}

.feature-card-title {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 900;
  color: #1A1033;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.05;
}

.feature-card-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(26, 16, 51, 0.82);
}

/* Italic hint line right after the body (no big gap). */
.feature-card-hint {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  color: #6D28D9;
}

/* ═══════════════ EVENT MINI GRID (3 mini cards — swipe carousel on mobile) ═══════════════ */

.event-mini-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
  width: 100%;
}

.event-mini-grid::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
  .event-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.event-mini {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px -14px rgba(124, 58, 237, 0.3);
  min-width: 0;
  flex: 0 0 78%;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .event-mini { flex: initial; }
}
.event-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -14px rgba(124, 58, 237, 0.5);
}

.event-mini-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #EDE9FE;
}

.event-mini-title {
  padding: 14px 14px 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #1A1033;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.event-mini-sub {
  padding: 0 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(26, 16, 51, 0.68);
  flex: 1;
  min-height: 68px;  /* ~3 lines so all mini cards match height across features */
}

/* Slight stagger so the middle card pops forward (tablet+ only; removed on mobile for scroll-snap carousel) */
@media (min-width: 640px) {
  .event-mini:nth-child(1) { transform: rotate(-1.2deg); }
  .event-mini:nth-child(3) { transform: rotate(1.2deg); }
  .event-mini:nth-child(1):hover { transform: rotate(0) translateY(-4px); }
  .event-mini:nth-child(3):hover { transform: rotate(0) translateY(-4px); }
}

/* ═══════════════ MATCH MINI GRID (3 profile preview cards — swipe carousel on mobile) ═══════════════ */

.match-mini-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
  width: 100%;
}

.match-mini-grid::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
  .match-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.match-mini {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px -14px rgba(124, 58, 237, 0.3);
  min-width: 0;
  flex: 0 0 78%;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .match-mini { flex: initial; }
}
.match-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -14px rgba(124, 58, 237, 0.5);
}

.match-mini-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #EDE9FE;
}

/* Overlay match-score pill on the photo (like the app's compatibility chip) */
.match-mini-score {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}

.match-mini-body {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-mini-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #1A1033;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.match-mini-detail {
  font-size: 11px;
  font-weight: 600;
  color: rgba(26, 16, 51, 0.6);
  line-height: 1.3;
}

/* Keep chips available for Events card (still used there) */
.match-mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}
.match-mini-chips .chip {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.chip-amber { background: #FEF3C7; color: #B45309; }
.chip-green { background: #DCFCE7; color: #15803D; }
.chip-blue  { background: #DBEAFE; color: #1D4ED8; }
.chip-pink  { background: #FCE7F3; color: #BE185D; }

/* ═══ MATCH MINI — compatibility rings (4 dimensions) ═══ */

.match-mini-rings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
}

.mini-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.mini-ring-wrap {
  position: relative;
  width: 36px;
  height: 36px;
}

.mini-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.mini-ring-bg {
  fill: none;
  stroke: #EDE9FE;
  stroke-width: 3.5;
}

.mini-ring-fg {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}

.ring-amber { stroke: #D97706; }
.ring-green { stroke: #059669; }
.ring-blue  { stroke: #2563EB; }
.ring-pink  { stroke: #DB2777; }

.mini-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #1A1033;
  letter-spacing: -0.02em;
}

.mini-ring-lbl {
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(26, 16, 51, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}

/* Tilt the outer profile cards like the event minis (tablet+ only) */
@media (min-width: 640px) {
  .match-mini:nth-child(1) { transform: rotate(-1.2deg); }
  .match-mini:nth-child(3) { transform: rotate(1.2deg); }
  .match-mini:nth-child(1):hover { transform: rotate(0) translateY(-4px); }
  .match-mini:nth-child(3):hover { transform: rotate(0) translateY(-4px); }
}

/* Shared avatar style */
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid white;
  flex-shrink: 0;
}
.avatar-1 { background: radial-gradient(circle at 35% 40%, #F9A8D4, #C4B5FD); }
.avatar-2 { background: radial-gradient(circle at 35% 40%, #FDBA74, #A78BFA); }
.avatar-3 { background: radial-gradient(circle at 35% 40%, #86EFAC, #60A5FA); }
.avatar-4 { background: radial-gradient(circle at 35% 40%, #FCA5A5, #C4B5FD); }

/* ═══════════════ VISUAL 1 &middot; MATCH CARD ═══════════════ */

.match-card {
  position: relative;
  width: 100%; max-width: 340px;
  background: white; border-radius: 22px; padding: 22px;
  box-shadow: 0 24px 48px -12px rgba(26, 16, 51, 0.25);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.match-card:hover { transform: rotate(0deg); }

.match-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.match-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, #F9A8D4 0%, #C4B5FD 100%);
  flex-shrink: 0;
}
.match-name { font-size: 16px; font-weight: 800; color: #1A1033; }
.match-intent { font-size: 12px; font-weight: 600; color: rgba(26, 16, 51, 0.55); }

.match-score {
  position: relative; width: 130px; height: 130px; margin: 4px auto 14px;
}
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #EDE9FE; stroke-width: 10; }
.ring-fg {
  fill: none; stroke: #7C3AED; stroke-width: 10; stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease-out;
}
.score-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-num {
  font-size: 40px; font-weight: 900; color: #1A1033;
  line-height: 1; letter-spacing: -0.03em;
}
.score-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(26, 16, 51, 0.5); margin-top: 4px;
}

.match-traits { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.trait { padding: 5px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.trait-green { background: #DCFCE7; color: #15803D; }
.trait-amber { background: #FEF3C7; color: #B45309; }

/* ═══════════════ VISUAL 2 &middot; EVENT CARD ═══════════════ */

.event-card {
  position: relative;
  width: 100%; max-width: 340px;
  background: white; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(26, 16, 51, 0.25);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}
.event-card:hover { transform: rotate(0deg); }

.event-banner {
  position: relative;
  height: 110px;
  background: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
  display: flex; align-items: center; justify-content: center;
}
.event-emoji { font-size: 60px; }
.event-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 11px;
  background: rgba(255,255,255,0.95);
  font-size: 11px; font-weight: 700;
  color: #1A1033; border-radius: 999px;
}

.event-body { padding: 18px 20px 20px; }
.event-title {
  font-size: 16px; font-weight: 800; color: #1A1033; margin-bottom: 4px;
}
.event-loc { font-size: 12px; color: rgba(26,16,51,0.6); margin-bottom: 12px; }

.event-attendees {
  display: flex; align-items: center; gap: 4px; margin-bottom: 12px;
}
.event-attendees .avatar { margin-left: -6px; width: 26px; height: 26px; }
.event-attendees .avatar:first-child { margin-left: 0; }
.event-count { margin-left: 8px; font-size: 11px; font-weight: 700; color: #7C3AED; }

.event-cta {
  display: block; text-align: center;
  padding: 10px 16px;
  background: #1A1033; color: white;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
}

/* ═══════════════ VISUAL 3 &middot; NEARBY MAP ═══════════════ */

.nearby-map {
  position: relative;
  width: 260px; height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(124,58,237,0.18) 0%, rgba(124,58,237,0.05) 50%, transparent 70%),
    white;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(124,58,237,0.3);
  box-shadow: 0 24px 48px -12px rgba(124, 58, 237, 0.25);
}
.you-pin { font-size: 34px; z-index: 5; }

.pulse {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #EC4899;
  animation: pulseRing 2.4s ease-out infinite;
}
.pulse-1 { top: 26%; left: 22%; animation-delay: 0s; }
.pulse-2 { top: 70%; left: 66%; animation-delay: 0.8s; }
.pulse-3 { top: 30%; right: 18%; animation-delay: 1.6s; background: #7C3AED; }

@keyframes pulseRing {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0   rgba(236,72,153,0.55); }
  100% { transform: scale(1.4); box-shadow: 0 0 0 28px rgba(236,72,153,0); }
}

.nearby-popup {
  position: absolute; top: 20px; right: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 18px 36px -12px rgba(26,16,51,0.25);
  z-index: 20;
  max-width: 200px;
}
.popup-name { font-size: 12.5px; font-weight: 800; color: #1A1033; line-height: 1.2; }
.popup-time { font-size: 11px; color: rgba(26,16,51,0.55); margin-top: 2px; }

/* ═══════════════ VISUAL 4 &middot; TRAVEL CARD ═══════════════ */

.travel-card {
  position: relative;
  width: 100%; max-width: 340px;
  background: white; border-radius: 22px; padding: 20px;
  box-shadow: 0 24px 48px -12px rgba(26, 16, 51, 0.25);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}
.travel-card:hover { transform: rotate(0deg); }

.travel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.travel-city { font-size: 22px; font-weight: 900; color: #1A1033; }
.travel-dates {
  font-size: 11px; font-weight: 700; color: #7C3AED;
  background: #EDE9FE; padding: 5px 10px; border-radius: 999px;
}

.travel-map-stub {
  position: relative;
  height: 130px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 60%, rgba(124,58,237,0.15), transparent 40%),
    linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.travel-pin {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.25);
}
.travel-pin-main {
  width: auto; height: auto;
  background: none; box-shadow: none;
  font-size: 36px;
  animation: heartPulse 2s ease-in-out infinite;
}
.travel-pin-1 { top: 28%; left: 22%; }
.travel-pin-2 { top: 60%; right: 20%; background: #EC4899; box-shadow: 0 0 0 4px rgba(236,72,153,0.25); }
.travel-pin-3 { bottom: 20%; left: 35%; }

.travel-matches {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #F5F3FF; border-radius: 12px;
}
.travel-matches .avatar { margin-left: -6px; width: 26px; height: 26px; }
.travel-matches .avatar:first-child { margin-left: 0; }
.travel-count {
  margin-left: 6px; font-size: 12px; line-height: 1.4;
  color: rgba(26,16,51,0.8);
}
.travel-count strong { color: #1A1033; font-weight: 800; }

/* ═══════════════ VISUAL 5 &middot; HOBBY GRID ═══════════════ */

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 360px;
}

.hobby-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  aspect-ratio: 1 / 1;
  background: white;
  border-radius: 16px;
  font-size: 12px; font-weight: 700; color: #1A1033;
  box-shadow: 0 10px 24px -8px rgba(124,58,237,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hobby-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(124,58,237,0.4);
}
.hobby-emoji { font-size: 30px; }

.hobby-tile:nth-child(2) { transform: translateY(12px); }
.hobby-tile:nth-child(5) { transform: translateY(12px); }
.hobby-tile:nth-child(2):hover,
.hobby-tile:nth-child(5):hover { transform: translateY(9px); }

/* ═══════════════ VISUAL 6 &middot; COACH STACK ═══════════════ */

.coach-stack {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 340px;
}

.coach-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 18px 36px -14px rgba(124,58,237,0.28);
  transition: transform 0.25s ease;
}
.coach-card:hover { transform: translateX(4px); }

.coach-card:nth-child(1) { transform: rotate(-1.5deg); }
.coach-card:nth-child(3) { transform: rotate(1.5deg); }
.coach-card:nth-child(1):hover { transform: rotate(0) translateX(4px); }
.coach-card:nth-child(3):hover { transform: rotate(0) translateX(4px); }

.coach-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  flex-shrink: 0;
}
.coach-avatar-1 { background: radial-gradient(circle at 35% 40%, #F9A8D4, #C4B5FD); }
.coach-avatar-2 { background: radial-gradient(circle at 35% 40%, #FDBA74, #A78BFA); }
.coach-avatar-3 { background: radial-gradient(circle at 35% 40%, #86EFAC, #60A5FA); }

.coach-info { flex: 1; min-width: 0; }
.coach-name { font-size: 14px; font-weight: 800; color: #1A1033; }
.coach-spec { font-size: 11px; font-weight: 600; color: rgba(26,16,51,0.6); margin-top: 1px; }
.coach-rating { font-size: 10.5px; font-weight: 700; color: #7C3AED; margin-top: 3px; }

.coach-book {
  padding: 7px 14px;
  background: #1A1033; color: white;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.coach-book:hover { background: #7C3AED; }

/* ═══════════════ FOOTER ═══════════════ */

.site-footer {
  background: #1A1033;
  color: white;
  margin-top: 60px;
}

.heart-footer {
  width: 26px;
  height: 26px;
  vertical-align: -4px;
  animation: heartPulse 1.4s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand { max-width: 360px; }

.footer-tag {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-list a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════ LEGAL / INFO PAGES ═══════════════ */

.legal-page {
  background: #F3E8FF;
  min-height: 60vh;
}

.legal-content {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(26, 16, 51, 0.82);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1A1033;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1A1033;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 10px 0 20px 0;
  padding-left: 22px;
}

.legal-content ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.legal-content strong {
  font-weight: 800;
  color: #1A1033;
}

.legal-content a {
  color: #7C3AED;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: #5B21B6; }

.legal-updated {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.1);
  color: #5B21B6;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 40px;
}

/* ═══════════════ STORE BADGES (hero — Google Play + App Store pills) ═══════════════ */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: #1A1033;
  color: white;
  border-radius: 12px;
  box-shadow: 0 8px 22px -10px rgba(26, 16, 51, 0.45);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.store-badge-icon { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge-label { font-size: 9px; }
.store-badge-name { font-size: 14px; }

@media (min-width: 640px) {
  .store-badge {
    gap: 12px;
    padding: 10px 22px 10px 18px;
    border-radius: 14px;
    min-width: 180px;
  }
  .store-badge .store-badge-icon { width: 28px; height: 28px; }
  .store-badge .store-badge-label { font-size: 10px; }
  .store-badge .store-badge-name { font-size: 17px; }
}

.store-badge:hover {
  background: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.55);
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-badge-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.store-badge-name {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

/* ═══════════════ SAFETY PLEDGE (6-card grid) ═══════════════ */

.safety-pledge {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .safety-grid { gap: 20px; }
}

@media (min-width: 960px) {
  .safety-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.safety-card {
  background: white;
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: 0 14px 32px -14px rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 640px) {
  .safety-card { border-radius: 22px; padding: 26px 24px 28px; }
}

.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -14px rgba(124, 58, 237, 0.35);
  border-color: rgba(124, 58, 237, 0.25);
}

.safety-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

.safety-title {
  font-size: 15px;
  font-weight: 800;
  color: #1A1033;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.safety-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(26, 16, 51, 0.7);
}

@media (min-width: 640px) {
  .safety-emoji { font-size: 36px; margin-bottom: 14px; }
  .safety-title { font-size: 19px; margin-bottom: 8px; line-height: 1.25; }
  .safety-body { font-size: 14.5px; line-height: 1.6; }
}

/* ═══════════════ FOOTER — SOCIAL ROW + DOWNLOAD BADGES ═══════════════ */

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-social:hover {
  background: #7C3AED;
  color: white;
  transform: translateY(-2px);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-store-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-store-badge:hover {
  background: #7C3AED;
  color: white;
  transform: translateY(-2px);
}

/* ═══════════════ FAQ PAGE (accordion) ═══════════════ */

.faq-category {
  font-size: 22px;
  font-weight: 800;
  color: #1A1033;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.faq-category:first-of-type { margin-top: 36px; }

.faq-item {
  background: white;
  border-radius: 14px;
  padding: 0;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px -4px rgba(26, 16, 51, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
  box-shadow: 0 12px 28px -10px rgba(124, 58, 237, 0.22);
  border-color: rgba(124, 58, 237, 0.25);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #1A1033;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EDE9FE;
  color: #7C3AED;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-q::after {
  content: "−";
  background: #7C3AED;
  color: white;
  transform: rotate(180deg);
}

.faq-q:hover { color: #7C3AED; }

.faq-a {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(26, 16, 51, 0.75);
}

.faq-a p { margin: 0; }

.faq-a a {
  color: #7C3AED;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-a a:hover { color: #5B21B6; }

.faq-cta {
  margin-top: 48px;
  padding: 32px 28px;
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  border-radius: 20px;
  color: white;
  text-align: center;
  box-shadow: 0 24px 48px -16px rgba(124, 58, 237, 0.45);
}

.faq-cta-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.faq-cta-body {
  font-size: 15px;
  opacity: 0.92;
  line-height: 1.6;
}

.faq-cta a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* ═══════════════ ABOUT PAGE ═══════════════ */

.about-hero {
  background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 100%);
}

.about-section {
  background: white;
}

.about-section--tint {
  background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%);
}

.about-h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: #1A1033;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(26, 16, 51, 0.78);
  margin-bottom: 16px;
}

.about-p em {
  font-style: italic;
  color: rgba(26, 16, 51, 0.88);
}

.about-list {
  margin: 14px 0 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(26, 16, 51, 0.78);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.about-list li:last-child { border-bottom: none; }

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
}

.about-list li strong { color: #1A1033; font-weight: 800; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

.about-card {
  background: white;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 16px 36px -16px rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -16px rgba(124, 58, 237, 0.4);
}

.about-card-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #EC4899 0%, #7C3AED 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.about-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #1A1033;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.about-card-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(26, 16, 51, 0.7);
}

.about-mission {
  background: #1A1033;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-mission::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.25), transparent 50%);
  pointer-events: none;
}

.about-mission > * { position: relative; z-index: 1; }

.about-mission h2 { color: white; }

.about-mission p,
.about-mission strong {
  color: rgba(255, 255, 255, 0.85);
}

.about-mission p.text-xs {
  color: #C4B5FD !important;
}

.about-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .about-contacts { grid-template-columns: repeat(3, 1fr); }
}

.about-contact {
  display: block;
  padding: 18px 20px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 28px -14px rgba(124, 58, 237, 0.3);
  border: 1px solid rgba(124, 58, 237, 0.1);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -14px rgba(124, 58, 237, 0.4);
  border-color: rgba(124, 58, 237, 0.3);
}

.about-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 16, 51, 0.55);
  margin-bottom: 6px;
}

.about-contact-value {
  font-size: 15px;
  font-weight: 800;
  color: #7C3AED;
  letter-spacing: -0.01em;
}

/* ═══════════════ NEWSLETTER SIGNUP (homepage) ═══════════════ */

.newsletter {
  padding: 40px 16px 20px;
}

.newsletter-card {
  background: linear-gradient(135deg, #1A1033 0%, #4C1D95 60%, #7C3AED 100%);
  border-radius: 32px;
  padding: 48px 32px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px -24px rgba(76, 29, 149, 0.5);
}

.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(236, 72, 153, 0.35), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(192, 132, 252, 0.35), transparent 45%);
  pointer-events: none;
}

.newsletter-card > * { position: relative; z-index: 1; }

.newsletter-copy { margin-bottom: 28px; }

.newsletter-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.newsletter-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.55); }

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
  padding: 14px 28px;
  border-radius: 999px;
  background: white;
  color: #1A1033;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5);
}

.newsletter-thanks {
  flex-basis: 100%;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: white;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.newsletter-thanks.hidden { display: none; }

.newsletter-fineprint {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-fineprint a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter-fineprint a:hover { color: white; }

/* ═══════════════ ANIMATIONS ═══════════════ */

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
