/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --accent:          #56CC90;
  --accent-dark:     #2F9F68;
  --accent-light:    #E8F7EF;
  --text:            #0D1B11;
  --text-muted:      #6B7280;
  --white:           #FFFFFF;
  --bg-subtle:       #F7F9F8;
  --border:          #E8EDE9;

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.07);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);

  --font: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(86, 204, 144, 0.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(86, 204, 144, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn--white {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* ============================================================
   LOGO
============================================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.logo__img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo__text--light { color: #fff; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
}
.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
}
.nav__login:hover { color: var(--text); }

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--white);
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(86,204,144,0.06) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero__text { max-width: 520px; }

.hero__text h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--text);
  letter-spacing: -0.025em;
}

.highlight { color: var(--accent); }

.hero__sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.avatars { display: flex; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  flex-shrink: 0;
}
.avatar:first-child { margin-left: 0; }

/* ---- Phone Mockup ---- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 560px;
}

.phone {
  width: 268px;
  height: 544px;
  background: #1A2B22;
  border-radius: 44px;
  padding: 16px 12px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.7),
    0 28px 72px rgba(13,27,17,0.22);
}

.phone::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.phone__screen {
  background: #fff;
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 8px;
  flex-shrink: 0;
}

.phone__logo {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.swipe-card {
  margin: 0 10px;
  background: var(--bg-subtle);
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.swipe-card__image {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  height: 186px;
  flex-shrink: 0;
}

.swipe-card__info { padding: 14px; }

.swipe-card__info h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.swipe-card__info p {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 14px;
  flex-shrink: 0;
}

.swipe-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.18s;
}
.swipe-btn:hover { transform: scale(1.1); }
.swipe-btn--no  { background: #FFE8E8; color: #E74C3C; }
.swipe-btn--yes { background: var(--accent-light); color: var(--accent-dark); }

.match-hint {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 8px;
  background: var(--accent-light);
  flex-shrink: 0;
}

/* ---- Floating Cards ---- */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  white-space: nowrap;
  border: 1px solid var(--border);
}

.float-card > span { font-size: 1.3rem; }

.float-card strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.76rem;
}

.float-card small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.float-card--1 {
  top: 68px;
  right: 8px;
  animation: floatA 3s ease-in-out infinite;
}

.float-card--2 {
  bottom: 120px;
  left: 4px;
  animation: floatB 3.6s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-subtle);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 300px;
}

.step__number {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  flex-shrink: 0;
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, var(--accent), rgba(86,204,144,0.2));
  margin-top: 31px;
  align-self: flex-start;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  padding: 120px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   FOR WHO
============================================================ */
.for-who {
  padding: 120px 0;
  background: var(--bg-subtle);
}

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

.who-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.who-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.who-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.who-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  color: #fff;
  position: relative;
}

.cta-banner__inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner__inner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 16px 0 12px;
  max-width: 260px;
}

.footer__email {
  font-size: 0.875rem;
  color: var(--accent);
  transition: opacity 0.18s;
}
.footer__email:hover { opacity: 0.8; }

.footer__links h4 {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.18s;
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 72px 0 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero__text { max-width: 100%; }

  .hero__ctas,
  .hero__social-proof {
    justify-content: center;
  }

  .hero__visual { height: 500px; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step {
    max-width: 320px;
    width: 100%;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    background: linear-gradient(180deg, var(--accent), rgba(86,204,144,0.2));
    align-self: center;
  }
}

@media (max-width: 640px) {
  .nav__links { display: none; }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .float-card--1 { right: 0; }
  .float-card--2 { left: 0; }

  .nav__actions .btn--sm { display: none; }
}
