/* ===============================
   Profile2Pipeline – Shared Styles
   =============================== */

:root {
  --primary: #0B5AD9;
  --primary-dk: #0847ad;
  --accent: #19C3FF;
  --dark: #0D1321;
  --muted: #3a4454;
  --gray: #F4F6FA;
  --shadow: 0 8px 24px rgba(13, 19, 33, 0.06);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

header.hero {
  padding: 64px 24px;
  background: linear-gradient(180deg, rgba(11,90,217,0.08), transparent);
  border-bottom: 1px solid rgba(13,19,33,0.06);
}

.badge {
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: var(--gray); color: var(--dark);
  font-size: 12px; font-weight: 600;
}

h1 { font-weight: 800; font-size: clamp(28px, 4vw, 44px); margin: 12px 0 8px; }
h2 { font-weight: 800; font-size: clamp(22px, 3vw, 32px); margin: 24px 0 12px; }
h3 { font-weight: 600; font-size: clamp(18px, 2.2vw, 24px); margin: 18px 0 8px; }
p.lead { font-size: clamp(16px, 2.1vw, 20px); max-width: 800px; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid rgba(13,19,33,0.08);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,19,33,.08); }

ul.clean { margin: 0; padding-left: 18px; }

.section {
  padding: 36px 24px;
  border-top: 1px solid rgba(13,19,33,0.06);
  background: #fff;
}

.strip { background: var(--gray); }

.footer {
  padding: 36px 24px; background: #fff;
  border-top: 1px solid rgba(13,19,33,0.06);
  font-size: 14px; color: var(--muted);
}

.price { font-weight: 800; font-size: 20px; color: var(--primary); }
.testimonial { font-style: italic; color: #2b3442; }

/* ===== Nav ===== */
nav.sticky {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid rgba(13,19,33,0.06);
  backdrop-filter: saturate(180%) blur(6px);
}
nav.sticky .navwrap {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px;
}
nav a { color: var(--dark); font-weight: 600; margin-left: 16px; }
.logo { font-weight: 800; color: var(--primary); letter-spacing: 0.2px; }

/* ===== Buttons (shared) ===== */
.btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; align-items: center; margin-top: 18px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: var(--radius);
  font-weight: 700; text-align: center; white-space: nowrap;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, color .14s ease, border-color .14s ease;
  will-change: transform;
}
.btn:focus-visible {
  outline: 3px solid rgba(11,90,217,.35);
  outline-offset: 2px;
  border-color: var(--primary-dk);
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { transform: translateY(-1px); filter: brightness(.96); }
.btn.secondary { background: #fff; color: var(--primary); }
.btn.secondary:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* --- Pulse Button Animation --- */
@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(11,90,217, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(25,195,255, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(11,90,217, 0.4); }
}
.btn.pulse {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* --- Scroll Reveal Animation --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .2s; }
.reveal.delay-2 { transition-delay: .4s; }
.reveal.delay-3 { transition-delay: .6s; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn.pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .btns { flex-direction: column; }
  .btn { height: 48px; padding: 0 20px; }
  /* --- Reveal: final hardening --- */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .8s ease-out, transform .8s ease-out; will-change:opacity, transform;}
.reveal.visible{opacity:1; transform:translateY(0);}
.reveal.delay-1{transition-delay:.2s}
.reveal.delay-2{transition-delay:.4s}
.reveal.delay-3{transition-delay:.6s}
/* --- Reveal: final hardening (do not remove) --- */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .8s ease-out, transform .8s ease-out; will-change:opacity, transform;}
.reveal.visible{opacity:1; transform:translateY(0);}
.reveal.delay-1{transition-delay:.2s}
.reveal.delay-2{transition-delay:.4s}
.reveal.delay-3{transition-delay:.6s}

}
/* --- Reveal: final hardening (do not remove) --- */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .8s ease-out, transform .8s ease-out; will-change:opacity, transform;}
.reveal.visible{opacity:1; transform:translateY(0);}
.reveal.delay-1{transition-delay:.2s}
.reveal.delay-2{transition-delay:.4s}
.reveal.delay-3{transition-delay:.6s}
