/* PassivePerch — Linktree-inspired style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --lime:    #D4F04A;
  --green:   #1B4332;
  --mint:    #52B788;
  --blue:    #1D4ED8;
  --red:     #B91C1C;
  --purple:  #5B21B6;
  --cream:   #F5F5EB;
  --white:   #FFFFFF;
  --dark:    #111111;
  --gray:    #6B7280;
  --border:  #E5E5DC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lime);
  padding: 16px 5%;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 10px 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}

.logo span { color: var(--mint); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-login {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 100px;
  transition: background 0.15s;
}

.nav-login:hover { background: var(--cream); }

.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: #143326; transform: translateY(-1px); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn-dark {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(27,67,50,0.3);
}

.btn-dark:hover { background: #143326; transform: translateY(-2px); }

.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--green);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(212,240,74,0.4);
}

.btn-lime:hover { background: #c8e83a; transform: translateY(-2px); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  background: var(--lime);
  padding: 0 5% 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
  min-height: 600px;
}

.hero-text { padding: 80px 0 80px; }

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: normal;
  /* keeps same color — bold enough without needing contrast */
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 6px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(27,67,50,0.75);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}

/* ─── Hero Creator Cards ────────────────────────────────── */
.hero-cards {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 0;
}

.creator-hero-card {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.card-1 { height: 480px; margin-bottom: 40px; }
.card-2 { height: 420px; }

.creator-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cho-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.cho-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.cho-niche {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}

.cho-earn {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 4px;
  width: fit-content;
}

/* ─── Marquee ───────────────────────────────────────────── */
.marquee-bar {
  background: var(--green);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-inner { overflow: hidden; }

.marquee-track {
  display: inline-flex;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0 14px;
}

.marquee-track i {
  font-style: normal;
  color: var(--mint);
  padding: 0 4px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Feature Sections ──────────────────────────────────── */
.feature-section { padding: 100px 5%; }

.fs-blue   { background: var(--blue); }
.fs-cream  { background: var(--cream); }
.fs-dark   { background: var(--dark); }

.fs-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.fs-inner.centered {
  grid-template-columns: 1fr;
  text-align: center;
}

.fs-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.feature-section.fs-cream .fs-label { color: var(--mint); }

.fs-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.feature-section.fs-cream .fs-text h2 { color: var(--dark); }

.fs-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 32px;
}

.feature-section.fs-cream .fs-text p { color: var(--gray); }

/* ─── Phone Mockup ──────────────────────────────────────── */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 260px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  z-index: 1;
}

.phone-island {
  width: 90px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  padding: 20px 14px 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ps-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.ps-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--green));
}

.ps-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
}

.ps-bio {
  font-size: 0.62rem;
  color: var(--gray);
  text-align: center;
}

.ps-links { display: flex; flex-direction: column; gap: 7px; }

.ps-link {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
}

.ps-link-solid {
  background: var(--green);
  color: var(--white);
}

.ps-link-outline {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid #e0e0e0;
}

.ps-ad {
  background: #f5f5f5;
  border: 1px dashed #ddd;
  border-radius: 6px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.ps-ad-label {
  font-size: 0.5rem;
  background: #e0e0e0;
  color: #666;
  border-radius: 2px;
  padding: 1px 4px;
  flex-shrink: 0;
}

.ps-ad-content { flex: 1; }

.ps-ad-line {
  height: 5px;
  background: #ddd;
  border-radius: 3px;
  margin-bottom: 3px;
}

.ps-ad-line.short { width: 55%; margin-bottom: 0; }

.ps-earn-badge {
  background: #e8f5e9;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  padding: 5px 0;
  border-radius: 100px;
  margin-top: 4px;
}

.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  filter: blur(30px);
  border-radius: 50%;
}

/* ─── Content Cards (Feature 2) ─────────────────────────── */
.content-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cc {
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-icon  { font-size: 1.8rem; }

.cc-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cc-sub {
  font-size: 0.82rem;
  opacity: 0.7;
  line-height: 1.4;
}

.cc-green  { background: var(--green);  color: var(--white); }
.cc-dark   { background: var(--dark);   color: var(--white); }
.cc-mint   { background: var(--mint);   color: var(--white); }
.cc-lime   { background: var(--lime);   color: var(--green); }

/* ─── Earnings Calc ─────────────────────────────────────── */
.calc-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 680px;
}

.calc-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  min-width: 24px;
  text-align: center;
}

.calc-slider {
  -webkit-appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(
    to right,
    var(--lime) 0%,
    var(--lime) var(--fill, 15%),
    rgba(255,255,255,0.1) var(--fill, 15%),
    rgba(255,255,255,0.1) 100%
  );
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 2px var(--lime);
  cursor: pointer;
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.calc-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--dark);
}

.calc-visitors {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.calc-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}

.calc-amount span:first-child {
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -6px;
  color: var(--white);
  line-height: 1;
}

.calc-mo {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  padding-bottom: 8px;
  letter-spacing: 0;
}

.calc-annual {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 9px 22px;
  border-radius: 100px;
}

/* ─── Comparison ───────────────────────────────────────── */
.comparison-section {
  background: var(--cream);
  padding: 100px 5%;
}

.comparison-inner {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 64px;
}

.comp-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}

.comparison-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 16px;
}

.comparison-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid: [feature label] [perch col] [other col] */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

.ct-spacer {
  background: transparent;
  height: 0;
}

/* Column headers */
.ct-head {
  padding: 22px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.ct-head-perch {
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.5px;
}

.ct-head-perch span { color: var(--mint); }

.ct-head-other {
  background: #e0ddd6;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Feature rows */
.ct-feature {
  background: var(--white);
  padding: 18px 20px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.ct-feature:last-of-type { border-bottom: none; }

.ct-cell {
  padding: 18px 16px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ct-yes {
  background: rgba(27,67,50,0.06);
  color: var(--green);
  font-size: 1.3rem;
}

.ct-no {
  background: var(--white);
  color: #ccc;
  font-size: 1.3rem;
}

.ct-muted {
  background: var(--white);
  color: #bbb;
  font-size: 1.3rem;
}

.ct-none {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint);
}

.ct-note {
  font-size: 0.72rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0;
}

/* CTA row */
.ct-cta-cell {
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-cta-cell:nth-child(2) {
  background: var(--green);
}

.ct-cta-other {
  background: #e0ddd6;
  color: #aaa;
  font-size: 1.2rem;
}

.ct-cta-cell .btn-lime {
  font-size: 0.85rem;
  padding: 12px 20px;
  white-space: nowrap;
}

/* ─── Creator Showcase ──────────────────────────────────── */
.showcase { background: var(--cream); padding: 80px 5%; }

.showcase-inner { max-width: 1100px; margin: 0 auto; }

.showcase-label {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 40px;
  line-height: 1.2;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #e0e0e0;
  cursor: pointer;
}

.sc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sc-card:hover img { transform: scale(1.06); }

.sc-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 24px 12px 12px;
}

/* ─── Proof Cards ───────────────────────────────────────── */
.proof-section {
  background: var(--dark);
  padding: 100px 5%;
  text-align: center;
}

.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proof-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}

.proof-section h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 60px;
}

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

.proof-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s;
}

.proof-card:hover { transform: translateY(-4px); }

.proof-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s;
}

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

.proof-info {
  padding: 20px;
}

.proof-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.proof-niche {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 18px;
}

.proof-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-stat {
  flex: 1;
  text-align: center;
}

.proof-stat-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.proof-stat-val.proof-earn {
  color: var(--lime);
}

.proof-stat-label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: #333;
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-section {
  background: var(--red);
  padding: 100px 5%;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  user-select: none;
}

.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.2); }

.faq-q {
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q span {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-q span { transform: rotate(180deg); }

.faq-a {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.2s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ─── Final CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--purple);
  padding: 120px 5%;
  text-align: center;
}

.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-inner h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 5%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy { font-size: 0.82rem; color: var(--gray); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--gray); transition: color 0.15s; }
.footer-links a:hover { color: var(--dark); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner     { grid-template-columns: 1fr; min-height: unset; }
  .hero-text      { padding: 60px 0 40px; text-align: center; }
  .hero-sub       { max-width: 100%; }
  .hero-cards     { justify-content: center; }
  .card-1, .card-2 { height: 320px; }
  .fs-inner       { grid-template-columns: 1fr; gap: 48px; }
  .faq-inner      { grid-template-columns: 1fr; gap: 40px; }
  .faq-inner h2   { position: static; }
  .showcase-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .hero-cards     { flex-direction: column; align-items: center; }
  .card-1, .card-2 { width: 100%; max-width: 300px; height: 360px; margin: 0; }
  .showcase-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { flex-direction: column; text-align: center; }
}
