/* =============================================
   BUSINESS ASCENDER — Audit Landing Page
   ============================================= */

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

:root {
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-dark:   #1d4ed8;
  --navy:        #0a0f1e;
  --navy-mid:    #0f172a;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --gradient:    linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 40px rgba(37,99,235,.28);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* ---- UTILS ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn--primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--primary:hover { opacity: .88; transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--blue-dark); font-weight: 700; }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }

.section__header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.16);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 14px;
}
.section__desc { font-size: 1.02rem; color: var(--gray-600); line-height: 1.7; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,15,30,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; text-decoration: none; transition: var(--transition); }
.nav__logo:hover { opacity: .85; }
.logo-img { height: 56px; width: auto; mix-blend-mode: screen; display: block; }

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}
.hero__glow {
  position: absolute;
  top: -10%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(124,58,237,.15) 0%, rgba(37,99,235,.1) 40%, transparent 70%);
  filter: blur(60px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  width: 100%;
}
.hero__split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(134,239,172,.07);
  border: 1px solid rgba(134,239,172,.2);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.hero__sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: rgba(255,255,255,.78);
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(37,99,235,.2);
  border: 1.5px solid rgba(37,99,235,.4);
  border-radius: 50%;
  color: #93c5fd;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trust__avatars {
  display: flex;
  margin-right: 4px;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  color: var(--white);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.trust__text { display: flex; flex-direction: column; }
.trust__text strong { font-size: .88rem; color: var(--white); }
.trust__text span { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ---- FORM CARD ---- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
}
.form-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}
.form-card__icon {
  font-size: 1.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(37,99,235,.3));
}
.form-card__header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.form-card__header p { font-size: .83rem; color: var(--gray-400); }

.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form__group label { font-size: .82rem; font-weight: 600; color: var(--gray-800); }
.form__group input,
.form__group select {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form__group input::placeholder { color: var(--gray-400); }
.form__group select { cursor: pointer; }
/* Formspree field error styles */
.fs-field-error {
  display: block;
  font-size: .78rem;
  color: #dc2626;
  margin-top: 4px;
  min-height: 1em;
}
.fs-global-error {
  font-size: .85rem;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: none;
}
.fs-global-error:not(:empty) { display: block; }
[aria-invalid="true"] {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
[data-fs-success] { display: none; }
[data-fs-success]:not(:empty) { display: block; }

.form__disclaimer {
  text-align: center;
  font-size: .76rem;
  color: var(--gray-400);
  margin-top: 12px;
  line-height: 1.5;
}

.form__success {
  text-align: center;
  padding: 24px 0;
}
.success__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(22,163,74,.3);
}
.form__success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
}
.form__success p { font-size: .92rem; color: var(--gray-600); line-height: 1.65; }

/* ---- AUDIT AREAS ---- */
.audit-areas {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.audit-area {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px 36px;
  border-bottom: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.audit-area:last-child { border-bottom: none; }
.audit-area:hover { background: var(--gray-50); }
.audit-area__icon {
  width: 52px; height: 52px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.audit-area__content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.audit-area__content p { font-size: .93rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 12px; }
.audit-area__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.audit-area__tags span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.14);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---- STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.step { position: relative; }
.step__num {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
}
.step__line {
  position: absolute;
  top: 26px;
  left: 52px;
  right: -32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,.4), rgba(124,58,237,.2));
}
.step__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.step__body p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.2); transform: translateY(-3px); }
.testimonial--featured {
  background: var(--navy);
  border-color: rgba(37,99,235,.3);
}
.testimonial--featured p { color: rgba(255,255,255,.65); }
.testimonial--featured .testimonial__stars { color: #fbbf24; }
.testimonial--featured .author__name { color: var(--white); }
.testimonial--featured .author__role { color: rgba(255,255,255,.4); }
.testimonial__stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial > p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.author__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: .9rem; font-weight: 700; color: var(--gray-800); }
.testimonial--featured .testimonial__author strong { color: var(--white); }
.testimonial__author span { font-size: .78rem; color: var(--gray-400); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.faq__item { border-bottom: 1.5px solid var(--gray-200); }
.faq__item:last-child { border-bottom: none; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: .97rem;
  font-weight: 600;
  color: var(--gray-800);
  font-family: 'Inter', sans-serif;
  text-align: left;
  transition: var(--transition);
}
.faq__q:hover { background: var(--gray-50); color: var(--blue); }
.faq__q[aria-expanded="true"] { color: var(--blue); background: rgba(37,99,235,.03); }
.faq__arrow { font-size: 1.1rem; color: var(--blue); transition: var(--transition); flex-shrink: 0; }
.faq__q[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__a {
  display: none;
  padding: 0 28px 22px;
  background: rgba(37,99,235,.02);
}
.faq__a.open { display: block; }
.faq__a p { font-size: .93rem; color: var(--gray-600); line-height: 1.75; }

/* ---- BOTTOM CTA ---- */
.bottom-cta {
  position: relative;
  background: var(--navy);
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.bottom-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(37,99,235,.2) 0%, rgba(124,58,237,.1) 50%, transparent 80%);
}
.bottom-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.bottom-cta__content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}
.bottom-cta__content p { font-size: 1.05rem; color: rgba(255,255,255,.55); max-width: 500px; line-height: 1.7; }

/* ---- FOOTER ---- */
.footer { background: var(--navy-mid, #0f172a); padding: 40px 0 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
  gap: 20px;
}
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.45); text-decoration: none; transition: var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { padding: 18px 0; }
.footer__bottom .container { display: flex; justify-content: center; }
.footer__bottom span { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__split { grid-template-columns: 1fr; max-width: 640px; }
  .hero__inner { padding-top: 100px; padding-bottom: 60px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step__line { display: none; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .audit-area { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .audit-area__icon { width: 40px; height: 40px; }
  .steps { grid-template-columns: 1fr; }
  .faq__q { padding: 18px 20px; font-size: .92rem; }
  .faq__a { padding: 0 20px 18px; }
  .form-card { padding: 28px 20px; }
  .bottom-cta__content h2 { font-size: 2rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
