/* =============================================
   EQUALI – Landing Page Styles
   ============================================= */

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

:root {
  --purple: #7C3AED;
  --purple-light: #9F67FF;
  --cyan: #06B6D4;
  --dark: #0A0A12;
  --dark-2: #12121E;
  --dark-3: #1A1A2E;
  --surface: #16162A;
  --surface-2: #1E1E38;
  --border: rgba(255,255,255,0.08);
  --text: #F1F1F6;
  --text-muted: #8B8BA7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600;
  font-size: 15px; cursor: pointer; text-decoration: none;
  transition: all 0.25s ease; border: none; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), #4F46E5);
  color: white;
  box-shadow: 0 4px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.6); }
.btn-ghost { color: var(--text-muted); background: transparent; }
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple-light); }
.btn-white { background: white; color: var(--dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { display: flex; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text); }
.nav-links {
  display: flex; list-style: none; gap: 8px; margin-left: 8px;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 16px 0;
  border-top: 1px solid var(--border);
  background: rgba(10,10,18,0.97); backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
}
.mobile-menu a { color: var(--text-muted); text-decoration: none; padding: 10px 0; font-weight: 500; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu.open { display: flex; }
@media (min-width: 769px) { .mobile-menu { display: none !important; } }

/* ---- BLOBS ---- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: var(--purple); top: -200px; left: -100px; animation-delay: 0s; }
.blob-2 { width: 500px; height: 500px; background: var(--cyan); top: 100px; right: -150px; animation-delay: 3s; }
.blob-3 { width: 400px; height: 400px; background: #4F46E5; bottom: 0; left: 30%; animation-delay: 6s; }
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,20px) scale(0.95); }
}

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, transparent 0%, black 80%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light); padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.hero-title { font-size: clamp(44px, 7vw, 80px); font-weight: 900; line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; background: linear-gradient(135deg,#fff,rgba(255,255,255,0.7)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Floating cards */
.floating-cards {
  position: absolute; right: max(40px, calc(50% - 560px));
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  z-index: 2;
}
.float-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 16px; padding: 16px 20px;
  min-width: 280px;
  animation: floatCard 6s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-icon { width: 40px; height: 40px; border-radius: 10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.card-info { display: flex; flex-direction: column; flex: 1; }
.card-name { font-size: 14px; font-weight: 700; }
.card-plan { font-size: 12px; color: var(--text-muted); }
.card-amount { font-size: 18px; font-weight: 800; color: var(--cyan); white-space:nowrap; }
.card-amount span { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ---- LOGO STRIP ---- */
.logo-strip { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.strip-label { text-align: center; color: var(--text-muted); font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 24px; }
.logos-track-wrapper { overflow: hidden; position: relative; }
.logos-track-wrapper::before, .logos-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.logos-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.logos-track-wrapper::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.logos-track {
  display: flex; gap: 16px; width: max-content;
  animation: scrollTrack 30s linear infinite;
}
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.service-pill {
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.service-pill:hover { color: var(--text); border-color: var(--purple); }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25); color: var(--purple-light);
  padding: 5px 16px; border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ---- FEATURES ---- */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card--large { grid-column: span 1; grid-row: span 2; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.feature-card--highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
  border-color: rgba(124,58,237,0.3);
}
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--icon-color);
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.feature-visual { margin-top: 28px; }
.member-avatars { display: flex; margin-bottom: 12px; }
.av {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-left: -10px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}
.av:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg,#7C3AED,#9F67FF); }
.av2 { background: linear-gradient(135deg,#06B6D4,#0891B2); }
.av3 { background: linear-gradient(135deg,#F59E0B,#EF4444); }
.av4 { background: var(--surface-2); border-color: var(--border); color: var(--text-muted); font-size:12px; }
.member-tag { font-size: 13px; color: var(--text-muted); }
.secure-badge {
  display: inline-block; margin-top: 20px;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  color: #10B981; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
}

/* ---- HOW IT WORKS ---- */
.how-it-works { padding: 100px 0; background: var(--dark-2); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 860px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 60px 1fr 1fr; gap: 32px;
  align-items: center; padding: 40px 0;
}
.step-num { font-size: 48px; font-weight: 900; color: var(--border); line-height: 1; }
.step-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.step-connector { height: 1px; background: var(--border); max-width: 860px; margin: 0 auto; }

/* Step visuals */
.step-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
}
.step-card-icon { font-size: 24px; }
.step-card-text { display: flex; flex-direction: column; flex:1; }
.step-card-text strong { font-size: 14px; font-weight: 700; }
.step-card-text span { font-size: 12px; color: var(--text-muted); }
.step-card-check { font-size: 18px; color: #10B981; }
.invite-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 13px; margin-bottom: 10px;
}
.chip-status { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.chip-status.sent { background: rgba(245,158,11,0.15); color: #F59E0B; }
.chip-status.joined { background: rgba(16,185,129,0.15); color: #10B981; }
.payment-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 8px;
  font-size: 14px; font-weight: 500;
}
.payment-row.paid { background: rgba(16,185,129,0.1); color: #10B981; }
.payment-row.pending { background: rgba(245,158,11,0.1); color: #F59E0B; }

/* ---- TESTIMONIALS ---- */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border-color: rgba(124,58,237,0.35);
  position: relative; top: -12px;
}
.testi-stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; font-weight: 700; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* ---- PRICING ---- */
.pricing { padding: 100px 0; background: var(--dark-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  position: relative; transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--popular {
  background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(6,182,212,0.08));
  border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple);
  transform: scale(1.03);
}
.pricing-card--popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white; font-size: 11px; font-weight: 700; padding: 4px 16px;
  border-radius: 50px; white-space: nowrap; letter-spacing: 0.05em;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.plan-price { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin-bottom: 4px; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.plan-features li { font-size: 14px; color: var(--text-muted); }
.plan-features li:not(.disabled) { color: var(--text); }
.plan-features li.disabled { opacity: 0.4; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative; padding: 100px 24px;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner-bg { position: absolute; inset: 0; }
.blob-cta1 { width: 500px; height: 500px; background: var(--purple); top: -200px; left: -100px; opacity:0.12; }
.blob-cta2 { width: 400px; height: 400px; background: var(--cyan); bottom: -150px; right: -100px; opacity:0.10; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; }

/* ---- FOOTER ---- */
.footer { padding: 64px 0 0; background: var(--dark-2); }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 2fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 16px 0 24px; max-width: 260px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--purple); color: var(--purple-light); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding: 24px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* ---- SCROLL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .floating-cards { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card--large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .step { grid-template-columns: 48px 1fr; }
  .step-visual { display: none; }
  .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--popular { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
}
