/* =========================================================
   Magnetise Growth Studio — Static Clone
   Palette: bg #ecedf1 · accent #6d7aff · text #1c1c1c
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: #ecedf1;
  color: #1c1c1c;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ============ Layout ============ */
.section { padding: 96px 24px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }
.center { text-align: center; }
.pt-small { padding-top: 24px; }
.mt-3 { margin-top: 12px; }

/* ============ Typography ============ */
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-top: 24px; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
p  { color: #4d4d4d; }
.lead { max-width: 720px; margin: 24px auto 0; font-size: 1.05rem; }
.lg   { font-size: 1.1rem; color: #1c1c1c; }
.tiny { font-size: 0.85rem; color: #888; }
.sub  { margin-top: 12px; }
.tx-purple { color: #6d7aff; }
.head { margin-bottom: 56px; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #ecedf1;
  font-size: 0.85rem;
  color: #4d4d4d;
  box-shadow:
    inset 3px 3px 6px rgba(166,171,189,0.35),
    inset -3px -3px 6px rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.bullets li { position: relative; padding-left: 18px; color: #4d4d4d; }
.bullets li::before {
  content: '•';
  position: absolute; left: 0;
  color: #6d7aff; font-weight: 700;
}

/* ============ Buttons ============ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9a8cf8, #6d7aff);

  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(109,122,255,0.35);
  transition: transform 250ms cubic-bezier(.2,.7,.2,1), box-shadow 250ms;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(109,122,255,0.4); }
.btn-cta:active { transform: translateY(0); }

/* ============ Neumorphic Cards ============ */
.card, .svc-card, .about-card, .bene-card, .test-card, .faq-item, .cta-box, .pv,
.trust-pill, .pill {
  background: #ecedf1;
  box-shadow:
    12px 12px 24px rgba(166,171,189,0.35),
    -12px -12px 24px rgba(255,255,255,0.9);
}
.svc-inset, .chat-input, .ad-card, .crosshair, .send-icon {
  background: #ecedf1;
  box-shadow:
    inset 5px 5px 10px rgba(166,171,189,0.35),
    inset -5px -5px 10px rgba(255,255,255,0.9);
}
.lift { transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms; }
.lift:hover {
  transform: translateY(-4px);
  box-shadow:
    16px 20px 40px rgba(166,171,189,0.45),
    -12px -12px 30px rgba(255,255,255,0.95);
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1) var(--d, 0ms),
              transform 700ms cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Navbar ============ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 50; width: min(1120px, calc(100% - 32px));
  border-radius: 999px;
  background: #ecedf1;
  box-shadow:
    10px 10px 22px rgba(166,171,189,0.35),
    -10px -10px 22px rgba(255,255,255,0.9);
  padding: 8px 20px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-name { font-weight: 600; }
.nav-links {
  display: flex; gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #ecedf1;
  box-shadow:
    inset 4px 4px 8px rgba(166,171,189,0.35),
    inset -4px -4px 8px rgba(255,255,255,0.9);
}
.nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #4d4d4d;
  transition: background 250ms, color 250ms;
}
.nav-link:hover { color: #1c1c1c; }
.nav-link[data-active] {
  background: linear-gradient(135deg, #9a8cf8, #6d7aff);
  color: #fff;
  box-shadow: 0 6px 14px rgba(109,122,255,0.35);
}
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #1c1c1c; border-radius: 2px; }
.nav-mobile {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px; margin-top: 12px;
  border-radius: 22px; background: #ecedf1;
  box-shadow: inset 5px 5px 10px rgba(166,171,189,0.35), inset -5px -5px 10px rgba(255,255,255,0.9);
}
.nav-mobile a { padding: 10px 12px; border-radius: 12px; color: #4d4d4d; }
.nav-mobile a:hover { color: #1c1c1c; background: rgba(255,255,255,0.6); }
.nav-mobile.open { display: flex; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ Hero ============ */
.hero { padding-top: 160px; padding-bottom: 60px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  font-size: 0.85rem; color: #4d4d4d;
  animation: pillFloat 5s ease-in-out infinite;
}
.trust { display: flex; justify-content: center; margin-top: 56px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 22px; border-radius: 999px;
}
.avatars { display: flex; }
.avatars img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #ecedf1; object-fit: cover;
}
.avatars img + img { margin-left: -10px; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; }
.trust-txt { font-size: 0.85rem; color: #4d4d4d; margin-top: 2px; }

/* ============ Process ============ */
.process-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-bottom: 112px;
}
.process-row.reverse > *:first-child { order: 2; }
.step-num { font-size: 3.5rem; font-weight: 700; color: #6d7aff; margin-bottom: 8px; }
.pv { padding: 28px; border-radius: 22px; max-width: 420px; margin: 0 auto; position: relative; }

.pv-lines-inner { display: flex; flex-direction: column; gap: 18px; }
.ln-row { position: relative; display: flex; align-items: center; gap: 12px; }
.ln-row .dot { width: 12px; height: 12px; border-radius: 50%; background: #c2c2c2; flex-shrink: 0; }
.ln-row .bar { flex: 1; height: 10px; border-radius: 6px; background: #d4d4d4; }
.pin {
  position: absolute; top: -18px; transform: translateX(-50%);
  width: 30px; height: 38px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'><path d='M12 1 C6 1 2 5.5 2 11 c0 7 10 18 10 18 s10-11 10-18 c0-5.5-4-10-10-10z' fill='%236d7aff'/><circle cx='12' cy='11' r='3.5' fill='%23ecedf1'/></svg>") center/contain no-repeat;
}
.crosshair {
  position: absolute; bottom: -18px; left: -18px;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.pv-campaign .ads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.ad-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; }
.ad-ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ad-bars { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ad-bars .skel { height: 6px; background: #d4d4d4; border-radius: 4px; }
.ad-lines { display: flex; flex-direction: column; gap: 8px; }
.ad-lines .skel { height: 10px; border-radius: 6px; }

.pv-rocket {
  display: flex; align-items: center; justify-content: center;
  min-height: 320px; overflow: hidden;
}
.rocket { animation: floaty 6s ease-in-out infinite; position: relative; z-index: 2; }
.streak {
  position: absolute; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(109,122,255,0), rgba(109,122,255,0.85), rgba(109,122,255,0));
  transform: rotate(-30deg);
  animation: streak 2.6s ease-in-out infinite;
  filter: blur(0.3px);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes streak {
  0%   { transform: rotate(-30deg) translateX(-6px); opacity: 0.35; }
  50%  { transform: rotate(-30deg) translateX(6px);  opacity: 0.95; }
  100% { transform: rotate(-30deg) translateX(-6px); opacity: 0.35; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ============ Services ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { padding: 32px; border-radius: 28px; height: 100%; display: flex; flex-direction: column; }
.svc-inset { border-radius: 22px; padding: 24px; min-height: 300px; margin-bottom: 24px; display: flex; }

/* Integrations diagram */
.integrations { position: relative; width: 100%; min-height: 300px; }
.int-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.int-lines line { stroke: #c3bad8; stroke-dasharray: 5 5; stroke-width: 1; }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #ecedf1;
  box-shadow: 8px 8px 16px rgba(166,171,189,0.35), -8px -8px 16px rgba(255,255,255,0.9);
}
.chip-center {
  top: 50%; left: 50%;
  width: 66px; height: 66px; border-radius: 16px;
  background: #000;
}

/* Chat */
.chat { width: 100%; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.bubbles { display: flex; flex-direction: column; gap: 16px; }
.bubble { max-width: 78%; padding: 12px 18px; border-radius: 22px; font-size: 0.9rem; }
.bubble.ai   {
  align-self: flex-start;
  background: linear-gradient(135deg, #9a8cf8, #6d7aff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(109,122,255,0.3);
}
.bubble.user {
  align-self: flex-end;
  background: #d4d4d4;
  color: #1c1c1c;
  box-shadow: inset 3px 3px 8px rgba(166,171,189,0.3), inset -3px -3px 8px rgba(255,255,255,0.85);
}
.chat-input {
  display: flex; align-items: center; padding: 6px 8px 6px 20px;
  border-radius: 999px; margin-top: 24px;
}
.chat-input-fill { flex: 1; height: 32px; }
.chat-send {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #ecedf1;
  box-shadow: 3px 3px 8px rgba(166,171,189,0.35), -3px -3px 8px rgba(255,255,255,0.9);
}

/* People form */
.people-form { width: 100%; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #ecedf1; object-fit: cover; margin-right: -8px;
}
.badge-count {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #9a8cf8, #6d7aff);
  color: #fff; font-size: 0.7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #ecedf1;
}
.field-label { font-size: 0.85rem; color: #6b6b6b; margin-top: 6px; }
.skel-row { display: flex; gap: 8px; margin-top: 4px; }
.skel { height: 10px; background: #d4d4d4; border-radius: 6px; display: inline-block; }
.skel.shim {
  background: linear-gradient(90deg, #d4d4d4 0%, #e6e6ea 45%, #d4d4d4 90%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
.send-square {
  align-self: flex-end;
  width: 38px; height: 38px; border-radius: 12px;
  background: #6d7aff; display: flex; align-items: center; justify-content: center;
  margin-top: 8px;
  box-shadow: 0 8px 16px rgba(109,122,255,0.35);
}

/* Follow-up card */
.follow { display: flex; flex-direction: column; gap: 12px; }
.follow-row { display: flex; align-items: flex-start; gap: 12px; }
.follow-row.right { justify-content: flex-end; }
.follow-thumb { width: 52px; height: 52px; border-radius: 14px; background: #d4d4d4; flex-shrink: 0; }
.follow-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }

/* ============ Benefits ============ */
.bene-card {
  padding: 32px; border-radius: 24px; text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.bene-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: #ecedf1;
  box-shadow: inset 5px 5px 10px rgba(166,171,189,0.35), inset -5px -5px 10px rgba(255,255,255,0.9);
}
.bene-icon svg { color: #6d7aff; width: 26px; height: 26px; }
.bene-card p { font-size: 0.9rem; }

/* ============ About ============ */
.about-card { padding: 40px; border-radius: 28px; text-align: left; margin-top: 32px; }
.about-card p { margin-bottom: 14px; line-height: 1.7; }
.about-card .btn-cta { margin-top: 10px; }

/* ============ Testimonials ============ */
.test-card {
  padding: 32px; border-radius: 28px; height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.test-card img {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 12px;
}
.test-card h3 { font-size: 1.15rem; }
.test-card .role { font-size: 0.85rem; color: #6b6b6b; margin-top: 4px; }
.test-stars { display: flex; gap: 4px; margin: 16px 0; }
.test-stars svg { width: 18px; height: 18px; }

/* ============ FAQ ============ */
#faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: 20px; overflow: hidden; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; text-align: left;
}
.faq-btn span { font-weight: 500; padding-right: 16px; }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #ecedf1; flex-shrink: 0;
  box-shadow: inset 3px 3px 6px rgba(166,171,189,0.35), inset -3px -3px 6px rgba(255,255,255,0.9);
  transition: transform 300ms;
  color: #6d7aff;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-body {
  max-height: 0; opacity: 0;
  overflow: hidden;
  transition: max-height 500ms cubic-bezier(.2,.7,.2,1), opacity 400ms;
}
.faq-item.open .faq-body { max-height: 300px; opacity: 1; }
.faq-body p { padding: 0 24px 22px; }

/* ============ CTA ============ */
.cta-box {
  padding: 60px 24px; border-radius: 40px; text-align: center;
}
.cta-box .btn-cta { margin-top: 24px; }
.cta-box .tiny { margin-top: 12px; }

/* ============ Footer ============ */
footer { padding: 40px 24px 48px; }
.ft-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ft-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ft-links { display: flex; gap: 22px; font-size: 0.9rem; color: #6b6b6b; }
.ft-links a:hover { color: #6d7aff; }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .section { padding: 72px 20px; }
  .hero { padding-top: 140px; }
  .head { margin-bottom: 40px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; }
  .process-row.reverse > *:first-child { order: 0; }
  .step-num { font-size: 2.5rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .about-card { padding: 28px; }
  .cta-box { padding: 44px 20px; }
  .ft-inner { flex-direction: column; text-align: center; }
}
