/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #4A90C4;
  --primary-light: #5DA8D8;
  --primary-hover: #3A7AAE;
  --accent: #7EC8A0;
  --dark: #1E3A5F;
  --dark-bg: #162D4A;
  --gray-bg: #EFF6FA;
  --body-text: #333333;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  border: none;
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
}

.btn--dark:hover {
  background: #2a4f7a;
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
}

.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.75rem;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e4ecf2;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(30, 58, 95, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  transition: color 0.2s ease;
}

.navbar__link:hover {
  color: var(--primary);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger button — hidden on desktop */
.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.navbar__hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.navbar__hamburger span:nth-child(1) { top: 0; }
.navbar__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.navbar__hamburger span:nth-child(3) { bottom: 0; }

.navbar__hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__drawer {
  position: absolute;
  top: 64px;
  right: 0;
  width: 260px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open .mobile-menu__drawer {
  transform: translateX(0);
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid #e4ecf2;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--primary);
}

.mobile-menu__cta {
  margin-top: 12px;
  text-align: center;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 60px 0 70px;
  background: var(--white);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__content {
  flex: 1;
  max-width: 520px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero__divider {
  width: 100%;
  height: 2px;
  background: #d0dde8;
  margin-bottom: 20px;
}

.hero__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 28px;
}

.hero__illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 460px;
}

.hero__illustration-img {
  display: block;
  width: 460px;
  max-width: 100%;
  height: 383px;
  object-fit: contain;
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
  background: var(--gray-bg);
  padding: 40px 0;
  text-align: center;
}

.social-proof__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
}

.social-proof__heading_single {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.social-proof__link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
}

.social-proof__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.social-proof__logo {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-proof__logo svg {
  display: block;
}

.social-proof__logo:hover {
  opacity: 1;
}

/* ===========================
   WHY ACT NOW
   =========================== */
.why-act {
  padding: 80px 0;
  background: var(--white);
}

.why-act__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.why-act__illustration {
  flex: 0 0 35%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-right: -30px;
}

.why-act__illustration-img {
  display: block;
  width: 324px;
  max-width: 100%;
  height: 342px;
  object-fit: contain;
}

.why-act__card {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  padding: 48px 44px 48px 60px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.why-act__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--white);
}

.why-act__text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.why-act__card .btn {
  margin-top: 12px;
}

/* ===========================
   WHO IS IT PRO SCOUT
   =========================== */
.who-dave {
  background: var(--gray-bg);
  padding: 80px 0;
}

.who-dave__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.who-dave__illustration {
  flex: 0 0 42%;
  display: flex;
  justify-content: center;
}

.who-dave__illustration-img {
  display: block;
  width: 416px;
  max-width: 100%;
  height: 333px;
  object-fit: contain;
}

.who-dave__content {
  flex: 1;
}

.who-dave__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
}

.who-dave__title strong {
  font-weight: 800;
}

.who-dave__text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: 12px;
}

/* ===========================
   HOW-TO STEPS
   =========================== */
.steps {
  padding: 70px 0 60px;
  background: var(--white);
}

.steps__heading {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 50px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.steps__icon {
  width: 240px;
  height: 210px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__icon svg,
.steps__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.steps__label {
  font-size: 0.88rem;
  color: var(--body-text);
  max-width: 220px;
  line-height: 1.5;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  padding: 20px 0 50px;
  background: var(--white);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq__card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d4e2ef;
}

.faq__card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
}

.faq__card-text {
  padding: 20px 22px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--body-text);
}

/* ===========================
   BOTTOM CTA
   =========================== */
.bottom-cta {
  padding: 50px 0;
  background: var(--white);
}

.bottom-cta__inner {
  text-align: center;
}

/* ===========================
   THAT WAS EASY
   =========================== */
.easy {
  padding: 40px 0 0;
  background: var(--white);
}

.easy__inner {
  text-align: center;
}

.easy__quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 24px;
}

.easy__illustration {
  max-width: 360px;
  margin: 0 auto;
}

.easy__illustration-img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: 234px;
  object-fit: contain;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark-bg);
  color: #aaa;
  padding: 36px 0 28px;
  font-size: 0.8rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer__contact svg {
  display: block;
  flex-shrink: 0;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  color: #bbb;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact a {
  color: #bbb;
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__disclaimer {
  max-width: 500px;
  line-height: 1.6;
  color: #888;
  font-size: 0.72rem;
}

.footer__copyright {
  color: #666;
  font-size: 0.72rem;
}

/* ===========================
   RESPONSIVE - TABLET (≤ 900px)
   =========================== */
@media (max-width: 900px) {
  /* Navbar: show hamburger, hide desktop links */
  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero */
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__illustration {
    max-width: 340px;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  /* Why Act */
  .why-act__inner {
    flex-direction: column;
  }

  .why-act__illustration {
    flex: none;
    width: 60%;
    margin: 0 auto;
  }

  .why-act__card {
    flex: none;
    width: 100%;
    padding: 48px 44px;
  }

  /* Who */
  .who-dave__inner {
    flex-direction: column;
    text-align: center;
  }

  .who-dave__illustration {
    flex: none;
    width: 60%;
    margin: 0 auto;
  }

  /* Steps */
  .steps__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* FAQ */
  .faq__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

/* ===========================
   RESPONSIVE - MOBILE (≤ 600px)
   =========================== */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 32px 0 40px;
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .hero__text {
    font-size: 0.9rem;
  }

  .hero__illustration {
    max-width: 260px;
  }

  .hero__illustration-img {
    width: 260px;
    height: auto;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .btn--small {
    width: auto;
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  /* Social Proof */
  .social-proof {
    padding: 28px 0;
  }

  .social-proof__heading,
  .social-proof__heading_single {
    font-size: 0.9rem;
  }

  .social-proof__logos {
    gap: 24px;
  }

  /* Why Act */
  .why-act {
    padding: 40px 0;
  }

  .why-act__illustration {
    width: 55%;
  }

  .why-act__card {
    padding: 28px 20px;
  }

  .why-act__title {
    font-size: 1.25rem;
  }

  .why-act__text {
    font-size: 0.85rem;
  }

  /* Who */
  .who-dave {
    padding: 40px 0;
  }

  .who-dave__inner {
    gap: 30px;
  }

  .who-dave__illustration {
    width: 55%;
  }

  .who-dave__title {
    font-size: 1.25rem;
  }

  .who-dave__text {
    font-size: 0.85rem;
  }

  /* Steps */
  .steps {
    padding: 40px 0 32px;
  }

  .steps__heading {
    font-size: 1.25rem;
    margin-bottom: 32px;
  }

  .steps__icon {
    width: 180px;
    height: 158px;
  }

  .steps__number {
    font-size: 1.6rem;
  }

  /* FAQ */
  .faq {
    padding: 16px 0 40px;
  }

  .faq__card-title {
    font-size: 0.88rem;
    padding: 12px 16px;
  }

  .faq__card-text {
    padding: 16px;
    font-size: 0.82rem;
  }

  /* Bottom CTA */
  .bottom-cta {
    padding: 36px 0;
  }

  /* Easy */
  .easy__quote {
    font-size: 1.05rem;
  }

  .easy__illustration {
    max-width: 260px;
  }

  .easy__illustration-img {
    width: 260px;
    height: auto;
  }

  /* Footer */
  .footer {
    padding: 28px 0 22px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer__disclaimer {
    font-size: 0.65rem;
  }
}

/* ===========================
   RESPONSIVE - SMALL MOBILE (≤ 400px)
   =========================== */
@media (max-width: 400px) {
  .navbar__logo-text {
    font-size: 0.9rem;
  }

  .hero__title {
    font-size: 1.35rem;
  }

  .why-act__illustration,
  .who-dave__illustration {
    width: 70%;
  }

  .steps__icon {
    width: 150px;
    height: 132px;
  }
}
