/* =============================================
   SocialFuse – Landing Page Stylesheet
   ============================================= */

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

:root {
  --black:   #0a0a0a;
  --gray-900:#1a1a1a;
  --gray-700:#374151;
  --gray-500:#6b7280;
  --gray-300:#d1d5db;
  --gray-100:#f3f4f6;
  --gray-50: #f9fafb;
  --white:   #ffffff;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 64px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2rem; font-size: .9rem; color: var(--gray-700); }
.nav-links a:hover { color: var(--black); }
.nav-cta {
  background: var(--black); color: var(--white);
  padding: .5rem 1.25rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; transition: opacity .15s;
}
.nav-cta:hover { opacity: .85; }

/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 2.5rem 6rem; text-align: center;
  background: var(--white);
}
#particles-js {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gray-100); border: 1px solid var(--gray-300);
  padding: .3rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 1.5rem; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.04em; color: var(--black); margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gray-500); }
.hero > .hero-content > p {
  font-size: 1.15rem; color: var(--gray-700);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--black); color: var(--white);
  padding: .8rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; }
.btn-secondary {
  background: var(--white); color: var(--black);
  padding: .8rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--gray-300); transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--gray-700); }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid var(--gray-100);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--black); }
.stat-label { font-size: .8rem; color: var(--gray-500); margin-top: .2rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── Section chrome ──────────────────────────── */
section { padding: 5rem 2.5rem; }
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--black);
  margin-bottom: 1rem; line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem; color: var(--gray-700);
  max-width: 520px; line-height: 1.7;
}

/* ── Platforms strip ─────────────────────────── */
.platforms {
  background: var(--gray-50); padding: 2rem 2.5rem; text-align: center;
  border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
}
.platforms p { font-size: .82rem; color: var(--gray-500); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.platform-icons { display: flex; justify-content: center; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.platform-icons span { font-size: .9rem; font-weight: 600; color: var(--gray-700); display: flex; align-items: center; gap: .4rem; }

/* ── Features ────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0;
}
.feature-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 14px; padding: 2rem; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; background: var(--black); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; font-size: 1.2rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--black); }
.feature-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ── How it works ────────────────────────────── */
.how { background: var(--gray-50); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; max-width: 900px; margin: 3rem auto 0;
}
.step { text-align: center; padding: 1.5rem; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ── Pricing ─────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 960px; margin: 3rem auto 0;
}
.pricing-card {
  border: 1.5px solid var(--gray-300); border-radius: 14px; padding: 2rem;
  transition: box-shadow .2s;
}
.pricing-card.featured {
  background: var(--black); color: var(--white); border-color: var(--black);
  box-shadow: var(--shadow-lg);
}
.pricing-card:not(.featured):hover { box-shadow: var(--shadow); }
.plan-name { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; opacity: .7; }
.plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 500; opacity: .6; }
.plan-desc { font-size: .88rem; opacity: .65; margin: .5rem 0 1.5rem; }
.plan-features { list-style: none; font-size: .9rem; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.plan-features li::before { content: '✓  '; font-weight: 700; }
.plan-btn {
  display: block; text-align: center; padding: .75rem; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem;
  background: var(--black); color: var(--white); transition: opacity .15s;
}
.pricing-card.featured .plan-btn { background: var(--white); color: var(--black); }
.plan-btn:hover { opacity: .85; }

/* ── CTA band ────────────────────────────────── */
.cta-band {
  background: var(--black); color: var(--white);
  text-align: center; position: relative; overflow: hidden;
}
#particles-cta {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: .5;
}
.cta-band > .cta-content { position: relative; z-index: 1; }
.cta-band .section-title { color: var(--white); }
.cta-band .section-sub { color: rgba(255,255,255,.6); margin: 1rem auto 2rem; }
.btn-white {
  background: var(--white); color: var(--black);
  padding: .85rem 2.25rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; display: inline-block; transition: opacity .15s;
}
.btn-white:hover { opacity: .9; }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--gray-50); border-top: 1px solid var(--gray-100);
  padding: 3rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.footer-brand img { height: 24px; }
.footer-links { display: flex; gap: 1.5rem; font-size: .85rem; color: var(--gray-500); }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: .82rem; color: var(--gray-500); }

/* ── About ───────────────────────────────────── */
.about-hero {
  background: var(--gray-50); padding: 5rem 2.5rem 4rem; text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.about-body { max-width: 720px; margin: 4rem auto; padding: 0 2.5rem 4rem; }
.about-body h2 { font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 .75rem; color: var(--black); }
.about-body p { font-size: 1rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 1rem; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.value-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.5rem; }
.value-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.value-card p { font-size: .87rem; color: var(--gray-500); line-height: 1.6; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  section, .hero { padding: 3.5rem 1.25rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.25rem; }
  .hero-stats { gap: 2rem; }
}
