/* ===== RESET & BASE ===== */
:root {
  --brand-primary: #5b4dff;
  --brand-primary-dark: #4c40db;
  --brand-accent: #2dd4bf;
  --brand-ink: #0f172a;
  --surface-1: #ffffff;
  --surface-2: #f8f7ff;
  --shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 16px 36px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brand-ink);
  background: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg, iframe { max-width: 100%; display: block; height: auto; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 1.5rem; }
.accent { color: var(--brand-primary); }
.red { color: #e74c3c; }
.green { color: var(--brand-accent); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { font-size: 1.5rem; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-weight: 500; font-size: 0.95rem; color: #555; transition: color 0.2s; }
.nav__link:hover { color: var(--brand-primary); }
.nav__cta {
  background: var(--brand-primary); color: #fff !important; padding: 0.6rem 1.5rem;
  border-radius: 8px; transition: background 0.2s;
}
.nav__cta:hover { background: var(--brand-primary-dark); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--brand-ink); transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 2rem; border-radius: 12px; font-weight: 700;
  font-size: 1rem; transition: all 0.22s; cursor: pointer; border: none;
  box-shadow: var(--shadow-soft);
}
.btn--primary {
  background: linear-gradient(135deg, #5b4dff 0%, #6d28d9 100%);
  color: #fff;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #4c40db 0%, #5b21b6 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(91,77,255,0.38);
}
.btn--ghost {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid rgba(91,77,255,0.35);
}
.btn--ghost:hover {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(91,77,255,0.28);
}
.btn--spotlight {
  min-width: 320px;
  box-shadow: 0 0 0 2px rgba(91,77,255,0.16), 0 20px 42px rgba(91,77,255,0.44);
}
.btn--full { width: 100%; }

/* ===== HERO ===== */
.hero {
  padding: 10rem 0 6rem; background: linear-gradient(135deg, #f8f7ff 0%, #eee8ff 50%, #f0f4ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.08) 0%, transparent 70%);
}
.hero__badge {
  display: inline-block; padding: 0.5rem 1rem; background: rgba(108,92,231,0.1);
  color: var(--brand-primary); border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.2rem; color: #555; max-width: 600px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 3rem; }
.stat { text-align: center; }
.stat__number { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-primary); }
.stat__label { font-size: 0.85rem; color: #777; }
.hero__proof {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero__proof span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2f3652;
  border: 1px solid #d9dff7;
  background: rgba(255,255,255,0.85);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.section__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 1rem; }
.section__subtitle { text-align: center; color: #666; font-size: 1.1rem; max-width: 600px; margin: 0 auto 3rem; }

/* ===== PROBLEM ===== */
.problem { background: #fff; }
.problem__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.problem__card {
  padding: 2rem; border-radius: 16px; background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  border: 1px solid rgba(108,92,231,0.12); transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-soft);
}
.problem__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.problem__icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.problem__card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.problem__card p { color: #666; font-size: 0.95rem; }

/* ===== SERVICES ===== */
.services { background: #fafafa; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service__card {
  background: #fff; padding: 2.5rem; border-radius: 16px;
  border: 1px solid #eee; transition: all 0.2s;
  box-shadow: var(--shadow-soft);
}
.service__card:hover { border-color: var(--brand-primary); box-shadow: 0 16px 34px rgba(108,92,231,0.16); transform: translateY(-4px); }
.service__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service__card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service__card p { color: #666; font-size: 0.95rem; }

/* ===== POSITIONING ===== */
.positioning { background: #fff; }
.positioning__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.positioning__card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.positioning__card h3 { margin-bottom: 0.45rem; font-size: 1.08rem; }
.positioning__card p { color: #4b5563; }

/* ===== PROCESS ===== */
.process-section { background: var(--brand-ink); color: #fff; }
.process-section .section__title { color: #fff; }
.process-section .section__subtitle { color: #aaa; }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.process__step { padding: 2rem; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 16px 34px rgba(2,6,23,0.3); }
.step__number { font-size: 3rem; font-weight: 800; color: var(--brand-primary); margin-bottom: 1rem; }
.process__step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.process__step p { color: #aaa; font-size: 0.95rem; }

/* ===== RESULTS ===== */
.results { background: #fff; }
.results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.result__card {
  text-align: center;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  border: 1px solid rgba(108,92,231,0.18);
  box-shadow: var(--shadow-soft);
}
.result__card h3 { font-size: 1rem; margin-bottom: 0.55rem; }
.result__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.4rem;
  border: 1px solid #d9dff5;
  background: #fff;
}
.result__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.4rem;
}
.result__pill {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.35rem;
  display: grid;
  gap: 0.08rem;
}
.result__pill span { font-size: 0.72rem; color: #667085; text-transform: uppercase; letter-spacing: 0.04em; }
.result__pill strong { font-size: 1.05rem; }
.result__arrow { font-weight: 800; color: #7c3aed; }

/* ===== PRICING ===== */
.pricing { background: #fafafa; }
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; align-items: stretch; }
.pricing__card {
  background: #fff; border-radius: 20px; padding: 2rem 1.4rem 1.5rem;
  text-align: center; border: 1px solid #e8eaf5; position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing__card--featured {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 18px 45px rgba(91,77,255,0.16);
}
.pricing__card--premium {
  border: 2px solid rgba(45,212,191,0.45);
  box-shadow: 0 14px 36px rgba(16,185,129,0.12);
}
.pricing__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.pricing__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-primary); color: #fff; padding: 0.35rem 1rem;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700;
}
.pricing__amount { font-size: 2.4rem; font-weight: 800; color: var(--brand-ink); margin: 1.2rem 0 0.4rem; }
.pricing__period { color: #4b5563; font-size: 1rem; margin-bottom: 1rem; font-weight: 600; }
.pricing__features { text-align: left; margin-bottom: 1.2rem; }
.pricing__features li { padding: 0.5rem 0; font-size: 0.95rem; color: #334155; border-bottom: 1px solid #f1f5f9; }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(135deg, var(--brand-primary), #a855f7); color: #fff; }
.contact .section__title { color: #fff; }
.contact .section__subtitle { color: rgba(255,255,255,0.85); }
.contact__form { max-width: 600px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__input {
  width: 100%; padding: 1rem 1.25rem; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px; background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1rem; font-family: inherit; margin-bottom: 1rem; transition: border-color 0.2s;
}
.form__input::placeholder { color: rgba(255,255,255,0.6); }
.form__input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.15); }
.contact .btn--primary { background: #fff; color: var(--brand-primary); }
.contact .btn--primary:hover { background: #f0f0f0; }

/* ===== TRUST STRIP ===== */
.trust-strip { padding: 1.25rem 0; background: #101224; color: #d9def5; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-strip__item { text-align: center; font-size: 0.95rem; }
.trust-strip__item strong { color: #fff; font-weight: 700; }

/* ===== QUICK PATHS ===== */
.quick-paths {
  padding: 2.1rem 0 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.quick-paths__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.quick-paths__item {
  background: #fff;
  border: 1px solid #e4e8f5;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.quick-paths__icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 0.55rem;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}
.quick-paths__item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.quick-paths__item p { font-size: 0.88rem; color: #59627b; }
.quick-paths__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.quick-paths__cta { margin-top: 0.85rem; text-align: center; }

/* ===== PORTFOLIO ===== */
.portfolio { background: #fff; }
.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.portfolio__card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  border: 1px solid rgba(108,92,231,0.15);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio__tag {
  display: inline-block;
  margin-bottom: 1rem;
  background: rgba(108,92,231,0.12);
  color: #4f43ab;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.portfolio__card h3 { margin-bottom: 0.5rem; }
.portfolio__card p { color: #555; margin-bottom: 1rem; }
.portfolio__card ul { list-style: none; }
.portfolio__card li { padding: 0.4rem 0; color: #2a2a3f; border-bottom: 1px dashed rgba(108,92,231,0.2); }
.portfolio__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }

/* ===== FAQ ===== */
.faq { background: #fafafa; }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 1rem; }
.faq__item {
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq__question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.faq__question::after {
  content: '+';
  float: right;
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-left: 1rem;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq__answer p { padding: 0 1.25rem 1.15rem; color: #555; }
.faq__item.open .faq__answer { max-height: 220px; }
.faq__item.open .faq__question::after { content: '–'; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #fff; }
.testimonials__controls { display: flex; justify-content: flex-end; gap: 0.6rem; margin-bottom: 1rem; }
.testimonials__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(91,77,255,0.25);
  background: #fff; color: var(--brand-primary); font-weight: 700; cursor: pointer;
}
.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.testimonial__card {
  scroll-snap-align: start;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  border: 1px solid rgba(91,77,255,0.15);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.testimonial__card p { color: #35354d; margin-bottom: 0.9rem; }
.testimonial__card h3 { font-size: 0.95rem; color: #555; }

/* ===== ROI ===== */
.roi { background: #fff; }
.roi__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; }
.roi__inputs {
  background: #f8f7ff;
  border: 1px solid rgba(91,77,255,0.15);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  gap: 0.8rem;
}
.roi__inputs label { font-size: 0.92rem; color: #444; display: grid; gap: 0.35rem; }
.roi__input {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid #d9d9ee;
  font: inherit;
}
.roi__result {
  border-radius: 16px;
  background: var(--brand-ink);
  color: #fff;
  padding: 1.4rem;
}
.roi__result p { color: #c6d0ea; margin-bottom: 0.5rem; }
.roi__result h3 { font-size: 2.2rem; margin-bottom: 0.35rem; }
.roi__result small { color: #b8c6e6; }
.roi__hint { font-size: 0.82rem; color: #5f5f7c; margin-top: -0.2rem; }

/* ===== PREMIUM BLUEPRINT ===== */
.premium-blueprint { background: #f8f7ff; }
.premium-blueprint__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blueprint-card {
  background: #fff;
  border: 1px solid rgba(91,77,255,0.15);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}
.blueprint-card__tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5b4dff;
  background: #eef0ff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.blueprint-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.blueprint-card ul { list-style: none; display: grid; gap: 0.4rem; }
.blueprint-card li { color: #41445b; font-size: 0.92rem; }

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: 1rem;
  width: min(96%, 760px);
  background: #fff;
  border: 1px solid rgba(91,77,255,0.3);
  box-shadow: 0 0 0 2px rgba(91,77,255,0.14), 0 16px 38px rgba(15,23,42,0.2);
  border-radius: 14px;
  padding: 0.8rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  z-index: 1200;
  transition: transform 0.25s ease;
}
.sticky-cta p { font-size: 0.92rem; color: #2f2f43; font-weight: 600; }
.sticky-cta.show { transform: translateX(-50%) translateY(0); }

/* ===== CONTACT EXTRAS ===== */
.form__note { font-size: 0.85rem; color: rgba(255,255,255,0.9); margin: 0.25rem 0 1rem; }
.form__status { margin-top: 0.9rem; font-size: 0.95rem; color: #fff; }
.form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ===== FOOTER ===== */
.footer { background: var(--brand-ink); color: #fff; padding: 3rem 0 1.5rem; }
.footer__content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; flex-wrap: wrap; gap: 2rem; }
.footer__brand { font-weight: 800; font-size: 1.2rem; }
.footer__brand p { font-weight: 400; font-size: 0.9rem; color: #aaa; margin-top: 0.5rem; }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { color: #aaa; transition: color 0.2s; }
.footer__links a:hover { color: var(--brand-primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; color: #777; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 3.25rem 0; }

  .container { padding: 0 1rem; }

  .nav__menu {
    position: fixed;
    top: 72px;
    right: -100vw;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.7rem;
    border-top: 1px solid #e5e7eb;
    box-shadow: none;
    overflow-y: auto;
    transition: right 0.25s ease;
  }
  .nav__menu.active { right: 0; }
  .nav__link { display: block; width: 100%; padding: 0.85rem 0.95rem; border-radius: 10px; background: #f8fafc; }
  .nav__link.nav__cta { text-align: center; background: var(--brand-primary); }
  .nav__toggle { display: flex; }

  .hero { padding: 7rem 0 3rem; }
  .hero__subtitle { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero__actions { margin-bottom: 1.2rem; }
  .hero__stats { gap: 0.75rem; flex-wrap: wrap; }
  .hero__stats .stat { min-width: 30%; }
  .stat__number { font-size: 1.35rem; }

  .section__subtitle { margin-bottom: 1.2rem; font-size: 0.98rem; }

  .quick-paths { padding: 1.2rem 0 0.5rem; }
  .quick-paths__panel { grid-template-columns: 1fr; gap: 0.55rem; }
  .quick-paths__item { padding: 0.8rem; }
  .quick-paths__item p { font-size: 0.84rem; }
  .btn--spotlight { width: 100%; min-width: 0; }

  /* Mobile quick mode: keep page sharp + direct */
  .process-section,
  .testimonials,
  .roi { display: none; }

  .pricing__grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing__card { padding: 1.2rem 1rem; }
  .pricing__amount { font-size: 2rem; }
  .pricing__features li { font-size: 0.9rem; padding: 0.42rem 0; }
  .premium-blueprint__grid { grid-template-columns: 1fr; }

  .problem__card:nth-child(n+3),
  .service__card:nth-child(n+4),
  .portfolio__card:nth-child(n+2),
  .faq__item:nth-child(n+2) { display: none; }

  .problem__card,
  .service__card,
  .portfolio__card { padding: 1.2rem; }

  .trust-strip__inner { grid-template-columns: 1fr 1fr; }

  .contact .form__row:nth-of-type(2),
  .contact select[name="goal"],
  .form__note { display: none; }

  .sticky-cta { width: calc(100% - 1rem); left: 0.5rem; transform: translateY(120%); }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta p { font-size: 0.82rem; }

  .form__row { grid-template-columns: 1fr; }

  .problem__grid,
  .services__grid,
  .portfolio__grid,
  .pricing__grid,
  .work-grid,
  .case-grid { min-width: 0; }

  .footer__content { flex-direction: column; }
}
