/* ═══════════════════════════════════════════
   Pessoar Landing Page — Pure CSS
   Dark tech aesthetic with gradient accents
   ═══════════════════════════════════════════ */

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

:root {
  --bg:        #09090b;
  --bg-subtle: #111114;
  --bg-card:   #16161a;
  --border:    #27272a;
  --text:      #fafafa;
  --text-muted:#a1a1aa;
  --primary:   #4FD1C5;
  --primary-hover: #38B2AC;
  --accent:    #1A2B56;
  --gradient:  linear-gradient(135deg, #1A2B56 0%, #4FD1C5 50%, #38B2AC 100%);
  --radius:    12px;
  --radius-lg: 20px;
  --container:  1120px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(129, 140, 248, 0.25);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 10px 16px;
}
.btn--ghost:hover { color: var(--text); }
.btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Gradient text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar--scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  font-size: 0.875rem;
}
.navbar__links {
  display: flex;
  gap: 32px;
}
.navbar__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--text); }
.navbar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero__grid-bg {
  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 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}
.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.12) 0%, rgba(192, 132, 252, 0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   SOCIAL PROOF
   ══════════════════════════════════════ */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.social-proof__text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.social-proof__badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: all var(--transition);
}
.badge-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ══════════════════════════════════════
   FEATURES
   ══════════════════════════════════════ */
.features {
  padding: 100px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(129, 140, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(129, 140, 248, 0.08);
}
.feature-card--highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.08) 0%, rgba(192, 132, 252, 0.04) 100%);
  border-color: rgba(129, 140, 248, 0.2);
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(129, 140, 248, 0.1);
  margin-bottom: 16px;
}
.feature-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-card__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(192, 132, 252, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ══════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════ */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-subtle);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 72px;
}
.step__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step__content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   HIGHLIGHT / READINESS
   ══════════════════════════════════════ */
.highlight {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.highlight__glow {
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.highlight__content .section-tag { margin-bottom: 16px; }
.highlight__content .section-title {
  text-align: left;
  margin-bottom: 16px;
}
.highlight__content > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.highlight__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.highlight__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.highlight__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.15);
  flex-shrink: 0;
}
.highlight__check svg {
  width: 12px;
  height: 12px;
  color: var(--primary);
}

/* Readiness demo widget */
.readiness-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.readiness-demo__ring {
  position: relative;
  width: 120px;
  height: 120px;
}
.readiness-demo__ring svg { width: 100%; height: 100%; }
.readiness-demo__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
}
.readiness-demo__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.readiness-demo__bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bar { display: flex; align-items: center; gap: 12px; }
.bar__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 80px;
  flex-shrink: 0;
}
.bar__track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient);
  transition: width 1s ease;
}

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--bg-subtle);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card--featured {
  border-color: rgba(129, 140, 248, 0.4);
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.06) 0%, var(--bg) 40%);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--gradient);
  color: #fff;
}
.pricing-card__header {
  margin-bottom: 20px;
}
.pricing-card__header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 8px;
}
.pricing-card__amount {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-card__cents {
  font-size: 1.25rem;
  font-weight: 700;
}
.pricing-card__period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-card__features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23818cf8' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ══════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.1) 0%, rgba(192, 132, 252, 0.05) 40%, transparent 70%);
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 260px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger feature cards */
.feature-card:nth-child(2).animate-on-scroll { transition-delay: 0.08s; }
.feature-card:nth-child(3).animate-on-scroll { transition-delay: 0.16s; }
.feature-card:nth-child(4).animate-on-scroll { transition-delay: 0.24s; }
.feature-card:nth-child(5).animate-on-scroll { transition-delay: 0.32s; }
.feature-card:nth-child(6).animate-on-scroll { transition-delay: 0.4s; }

/* Stagger steps */
.step:nth-child(2).animate-on-scroll { transition-delay: 0.1s; }
.step:nth-child(3).animate-on-scroll { transition-delay: 0.2s; }

/* Pricing stagger */
.pricing-card:nth-child(2).animate-on-scroll { transition-delay: 0.12s; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--highlight {
    grid-column: span 2;
  }
  .highlight__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .highlight__content .section-title {
    text-align: center;
  }
  .highlight__content { text-align: center; }
  .highlight__list { align-items: center; }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .navbar__links,
  .navbar__actions {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .navbar__links.active,
  .navbar__actions.active {
    display: flex;
  }
  .navbar__actions { top: calc(100% + 120px); }
  .navbar__toggle { display: flex; }

  .hero { padding: 130px 0 80px; }
  .hero__title { font-size: 2rem; }
  .hero__stats { gap: 24px; }

  .features__grid {
    grid-template-columns: 1fr;
  }
  .feature-card--highlight {
    grid-column: span 1;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .step { flex-direction: column; gap: 12px; }
  .step__number { width: auto; }

  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__brand { grid-column: span 1; }
}
