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

:root {
  --green: #0E9F6E;
  --green-dark: #0a7a55;
  --green-light: #ecfdf5;
  --gold: #C9A84C;
  --gold-light: #fefce8;
  --text: #111827;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --border: #e4e4e7;
  --surface: #f8f8f6;
  --cream: #FFFDF7;
  --deep: #0C1A13;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--green); text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff;
  padding: 9px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: var(--cream);
  background-image: radial-gradient(circle, rgba(14,159,110,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 88px 48px 108px;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 28px;
  border: 1px solid rgba(14, 159, 110, 0.2);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-left > p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  line-height: 1;
}
.btn-store span { display: flex; flex-direction: column; text-align: left; }
.btn-store small { font-size: 10px; font-weight: 400; opacity: 0.75; margin-bottom: 2px; }
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ios { background: var(--text); color: #fff; }
.btn-android {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-android:hover { border-color: var(--green); color: var(--green); }
.hero-note {
  margin-top: 20px; font-size: 13px; color: var(--text-muted);
}

/* Hero visual — floating profile cards */
.hero-right {
  display: flex; justify-content: center; align-items: center;
}
.hero-visual {
  position: relative;
  width: 460px; height: 540px;
}
.hero-blob {
  position: absolute;
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(14,159,110,0.14) 0%, rgba(14,159,110,0.05) 55%, transparent 80%);
  border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%;
  animation: morphBlob 9s ease-in-out infinite;
}
.hero-blob-2 {
  position: absolute;
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(201,168,76,0.10) 0%, transparent 70%);
  border-radius: 40% 60% 50% 55% / 55% 45% 60% 40%;
  animation: morphBlob 13s ease-in-out infinite reverse;
}
@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%; }
  33%       { border-radius: 50% 50% 40% 60% / 60% 40% 55% 45%; }
  66%       { border-radius: 40% 60% 60% 40% / 50% 50% 45% 55%; }
}

.pcard {
  position: absolute;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pcard-1 {
  width: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%) rotate(-4deg);
  z-index: 5;
  animation: floatCard1 5s ease-in-out infinite;
}
.pcard-2 {
  width: 164px;
  top: 10%; left: 2%;
  transform: rotate(-12deg);
  z-index: 3;
  animation: floatCard2 6.5s ease-in-out infinite;
}
.pcard-3 {
  width: 164px;
  top: 44%; right: 0%;
  transform: rotate(9deg);
  z-index: 4;
  animation: floatCard3 7.2s ease-in-out infinite;
}
@keyframes floatCard1 {
  0%, 100% { transform: translate(-50%, -52%) rotate(-4deg); }
  50%       { transform: translate(-50%, -60%) rotate(-4deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%       { transform: rotate(-12deg) translateY(-10px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: rotate(9deg) translateY(0); }
  50%       { transform: rotate(9deg) translateY(-8px); }
}

.pcard-photo {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.pcard-1 .pcard-photo { height: 160px; }
.pcard-photo span {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700;
  color: rgba(255,255,255,0.88);
  user-select: none;
}
.pcard-1 .pcard-photo span { font-size: 68px; }
.pcard-body { padding: 14px 16px 16px; }
.pcard-name { font-size: 15px; font-weight: 700; color: var(--text); }
.pcard-loc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.pcard-match-tag {
  display: inline-block;
  background: #fff0f3; color: #e11d48;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  margin-top: 10px;
}

.float-elem {
  position: absolute;
  font-size: 22px;
  animation: floatElem 4s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
.fe-1 { top: 14%; right: 18%; animation-delay: 0s; }
.fe-2 { bottom: 18%; left: 8%; animation-delay: 1.4s; }
.fe-3 { top: 58%; right: 7%; animation-delay: 0.7s; font-size: 18px; }
@keyframes floatElem {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50%       { transform: translateY(-14px) rotate(12deg); opacity: 1; }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--deep);
  padding: 40px 48px;
}
.stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1; min-width: 160px;
  text-align: center;
  padding: 10px 0;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.stat-sep {
  width: 1px; height: 52px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── SECTION SHARED ── */
.section-label {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--green); text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.5px;
  color: var(--text); margin-bottom: 64px;
  line-height: 1.1;
}

/* ── FEATURES ── */
.features {
  padding: 100px 48px;
  background: var(--surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px; margin: 0 auto;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 26px;
}
.feature-card h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feature-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.75;
}

/* ── MEMBERS SECTION ── */
.members-section {
  padding: 100px 48px;
  background: var(--cream);
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1080px; margin: 0 auto 56px;
}
.member-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
}
.member-card::after {
  content: '💚 Connect';
  position: absolute; inset: 0;
  background: rgba(10, 122, 85, 0.95);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s;
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member-card:hover::after { opacity: 1; }
.member-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  user-select: none;
}
.member-name {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 5px;
}
.member-info {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 14px;
}
.member-tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.member-tags span {
  font-size: 11px; font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 10px; border-radius: 20px;
}
.members-cta { text-align: center; }
.members-cta p {
  font-size: 15px; color: var(--text-secondary);
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--green); color: #fff;
  padding: 14px 36px; border-radius: 12px;
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 48px;
  background: var(--surface);
}
.steps {
  display: flex; align-items: flex-start;
  max-width: 900px; margin: 0 auto;
}
.step { flex: 1; text-align: center; padding: 0 28px; }
.step-connector {
  width: 72px; height: 2px;
  background: linear-gradient(90deg, var(--green-light) 0%, rgba(14,159,110,0.3) 100%);
  position: relative; top: 36px; flex-shrink: 0;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
}
.step-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(14,159,110,0.2);
}
.step h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.step p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.75;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 48px;
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1080px; margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-icon {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 800;
  color: var(--green);
  line-height: 0.7;
  margin-bottom: 20px;
  opacity: 0.25;
  display: block;
}
.quote-text {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.quote-author {
  display: flex; align-items: center; gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
  user-select: none;
}
.quote-author > div:last-child strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--text);
}
.quote-author > div:last-child span {
  font-size: 13px; color: var(--text-muted);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(150deg, #117a59 0%, #0a5c43 40%, var(--deep) 100%);
  padding: 108px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(201,168,76,0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}
.cta-band .hero-badges { justify-content: center; }
.btn-ios-dark { background: #fff; color: var(--text); }
.btn-android-outline {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-android-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  padding: 72px 48px 44px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top {
  display: flex; gap: 64px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 240px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: #fff; display: block; margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.4);
  line-height: 1.75; max-width: 280px;
}
.footer-nav { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 680px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-wrap h1 { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 48px; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.legal-wrap p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.legal-wrap a { color: var(--green); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.features-grid .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.16s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.08s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.16s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.24s; }
.members-grid .member-card:nth-child(2) { transition-delay: 0.07s; }
.members-grid .member-card:nth-child(3) { transition-delay: 0.14s; }
.members-grid .member-card:nth-child(4) { transition-delay: 0.07s; }
.members-grid .member-card:nth-child(5) { transition-delay: 0.14s; }
.members-grid .member-card:nth-child(6) { transition-delay: 0.21s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.10s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.20s; }
.steps .step:nth-child(3) { transition-delay: 0.10s; }
.steps .step:nth-child(5) { transition-delay: 0.20s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-left > p { max-width: 100%; }
  .hero-badges { justify-content: center; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-connector { display: none; }
  .step { padding: 20px 0; }
  .stat-sep { display: none; }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 64px 20px 80px; }
  .stats-bar { padding: 32px 20px; }
  .stats-inner { gap: 16px; }
  .stat { min-width: 120px; }
  .features { padding: 72px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .members-section { padding: 72px 20px; }
  .how { padding: 72px 20px; }
  .testimonials { padding: 72px 20px; }
  .cta-band { padding: 80px 20px; }
  footer { padding: 56px 20px 36px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-nav { gap: 36px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
