/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background: #ffffff;

  color: #17112f;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

  --purple: green;
  --purple-dark: green;
  --purple-light: green;

  --purple-bg: #faf5ff;
  --purple-border: #eadcff;

  --text: #17112f;
  --text-soft: #666174;

  --white: #ffffff;

  --green: #13a878;

  --border: #e9e4f0;

  --shadow:
    0 18px 50px rgba(91, 22, 180, 0.07);

  --container: 1160px;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

  width: 100%;

  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.94);

  border-bottom: 1px solid #f0edf5;

  backdrop-filter: blur(14px);

}

.nav-container {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  min-height: 76px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

}


/* Logo */

.logo {

  display: flex;
  align-items: center;

  gap: 9px;

  flex-shrink: 0;

  font-size: 18px;

  font-weight: 800;

  letter-spacing: -0.5px;

}

.logo-mark {

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      green,
      green

    );

  color: white;

  font-size: 17px;
  font-weight: 800;

  box-shadow:
    0 5px 15px rgba(111, 25, 215, 0.22);

}


/* Main nav */

.nav-links {

  display: flex;
  align-items: center;

  gap: 29px;

  margin-left: auto;

}

.nav-links a {

  position: relative;

  color: #676275;

  font-size: 13px;

  font-weight: 600;

  transition:
    color 0.2s ease;

}

.nav-links a:hover,
.nav-links a.active {

  color: var(--purple);

}

.nav-links a.active::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -9px;

  height: 2px;

  border-radius: 20px;

  background: var(--purple);

}


/* Actions */

.nav-actions {

  display: flex;
  align-items: center;

  gap: 10px;

}

.login-btn {

  padding: 10px 16px;

  color: var(--purple);

  font-size: 12px;
  font-weight: 700;

}

.signup-btn {

  padding: 11px 17px;

  border-radius: 8px;

  background: var(--purple);

  color: white;

  font-size: 12px;
  font-weight: 700;

  box-shadow:
    0 6px 18px rgba(103, 23, 217, 0.18);

  transition:
    transform 0.2s ease,
    background 0.2s ease;

}

.signup-btn:hover {

  background: var(--purple-dark);

  transform: translateY(-1px);

}


/* Mobile menu button */

.menu-button {

  width: 40px;
  height: 40px;

  display: none;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;

  border: 1px solid var(--border);

  border-radius: 8px;

  background: white;

  cursor: pointer;

}

.menu-button span {

  width: 18px;
  height: 2px;

  border-radius: 4px;

  background: var(--text);

  transition: 0.2s;

}

.menu-button.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {

  display: none;

  padding: 20px 24px 25px;

  border-bottom: 1px solid var(--border);

  background: white;

}

.mobile-menu a {

  display: block;

  padding: 13px 0;

  color: #625d70;

  font-size: 14px;

  font-weight: 600;

}

.mobile-menu a.active {

  color: var(--purple);

}

.mobile-actions {

  margin-top: 10px;

  display: flex;
  flex-direction: column;

}

.mobile-menu.show {

  display: block;

}


/* =========================================================
   HERO
========================================================= */

.hero {

  width: min(
    calc(100% - 48px),
    850px
  );

  margin: 0 auto;

  padding:
    95px 0
    72px;

  text-align: center;

}

.hero-badge {

  display: inline-flex;

  padding: 7px 13px;

  margin-bottom: 22px;

  border: 1px solid #e3d3ff;

  border-radius: 100px;

  background: #faf6ff;

  color: var(--purple);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.2px;

}

.hero h1 {

  color: var(--text);

  font-size: clamp(
    38px,
    5vw,
    58px
  );

  line-height: 1.05;

  font-weight: 800;

  letter-spacing: -2.8px;

}

.hero h1 span {

  display: block;

  color: var(--purple);

}

.hero > p {

  max-width: 680px;

  margin: 22px auto 0;

  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.75;

}


/* =========================================================
   SERVICES
========================================================= */

.services {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: 0 auto;

}


/* =========================================================
   SERVICE SECTION
========================================================= */

.service-section {

  padding: 62px 0 70px;

  border-top: 1px solid #eee9f4;

}

.service-section:first-child {

  border-top: 0;

}


/* Section heading */

.section-heading {

  display: flex;
  align-items: center;

  gap: 18px;

  margin-bottom: 32px;

}

.section-number {

  width: 47px;
  height: 47px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      #f1e4ff,
      #faf6ff
    );

  color: var(--purple);

  font-size: 13px;

  font-weight: 800;

}

.section-label {

  margin-bottom: 4px;

  color: var(--purple);

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1.2px;

}

.section-heading h2 {

  color: var(--text);

  font-size: 27px;

  line-height: 1.2;

  font-weight: 800;

  letter-spacing: -1px;

}


/* =========================================================
   SERVICE GRID
========================================================= */

.service-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 17px;

}


/* =========================================================
   SERVICE ITEM
========================================================= */

.service-item {

  min-height: 205px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);

  border-radius: 16px;

  background: white;

  box-shadow:
    0 5px 20px rgba(35, 16, 70, 0.025);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;

}

.service-item:hover {

  transform: translateY(-4px);

  border-color: #d9c2f4;

  box-shadow:
    0 18px 40px rgba(77, 22, 140, 0.08);

}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {

  width: 44px;
  height: 44px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

}

.service-icon svg {

  width: 21px;
  height: 21px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;

  stroke-linejoin: round;

}


/* Icon variations */

.service-icon.purple {

  background: #f4ebff;
  color: #7521db;

}

.service-icon.blue {

  background: #edf5ff;
  color: #347ee9;

}

.service-icon.green {

  background: #eafbf5;
  color: #10a978;

}

.service-icon.orange {

  background: #fff5e8;
  color: #e69a24;

}

.service-icon.yellow {

  background: #fff9dc;
  color: #d49a00;

}

.service-icon.pink {

  background: #fff0f8;
  color: #e149a2;

}


/* =========================================================
   SERVICE TEXT
========================================================= */

.service-item h3 {

  margin-bottom: 9px;

  color: var(--text);

  font-size: 16px;

  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.3px;

}

.service-item p {

  color: var(--text-soft);

  font-size: 12.5px;

  line-height: 1.65;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: 15px auto 90px;

  padding: 38px;

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 80% 20%,
      transparent 35%
    ),
    linear-gradient(
      120deg,
      green,
      green
    );

  color: white;

  box-shadow:
    0 25px 60px rgba(83, 15, 170, 0.18);

}

.cta-content {

  display: flex;
  align-items: center;

  gap: 20px;

}

.cta-icon {

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 15px;

  background: rgba(255,255,255,0.12);

  font-size: 21px;

}

.cta-small {

  margin-bottom: 5px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.1px;

  opacity: 0.7;

}

.cta-content h2 {

  margin-bottom: 5px;

  font-size: 22px;

  line-height: 1.25;

  font-weight: 800;

  letter-spacing: -0.6px;

}

.cta-content > div:nth-child(2) > p:last-child {

  max-width: 600px;

  font-size: 12px;

  line-height: 1.5;

  opacity: 0.8;

}

.cta-buttons {

  margin-left: auto;

  display: flex;

  align-items: center;

  gap: 8px;

  flex-shrink: 0;

}

.cta-primary,
.cta-secondary {

  padding: 12px 17px;

  border-radius: 8px;

  font-size: 11px;

  font-weight: 700;

}

.cta-primary {

  background: white;

  color: var(--purple);

}

.cta-secondary {

  border: 1px solid rgba(255,255,255,0.25);

  color: white;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

  border-top: 1px solid #eeeaf2;

  background: #fbfafc;

}

.footer-container {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: 0 auto;

  padding: 70px 0 55px;

  display: grid;

  grid-template-columns:
    1.7fr
    1fr
    1fr
    1fr;

  gap: 50px;

}


/* Footer brand */

.footer-brand {

  max-width: 310px;

}

.footer-logo {

  margin-bottom: 17px;

}

.footer-brand > p {

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.7;

}

.contact-info {

  margin-top: 22px;

  display: flex;
  flex-direction: column;

  gap: 7px;

}

.contact-info a,
.contact-info span {

  color: #686274;

  font-size: 11px;

}


/* Footer columns */

.footer-column {

  display: flex;
  flex-direction: column;

  gap: 11px;

}

.footer-column h3 {

  margin-bottom: 7px;

  color: var(--text);

  font-size: 12px;

  font-weight: 800;

}

.footer-column a {

  color: #6c6875;

  font-size: 11px;

  transition:
    color 0.2s ease;

}

.footer-column a:hover {

  color: var(--purple);

}


/* =========================================================
   FOOTER COMPLIANCE
========================================================= */

.footer-bottom {

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: 0 auto;

  padding:
    28px 0
    35px;

  border-top: 1px solid #e8e4ec;

}

.compliance {

  display: flex;

  gap: 12px;

  margin-bottom: 15px;

}

.compliance-icon {

  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: #e8faf3;

  color: #12a976;

  font-size: 13px;

  font-weight: 800;

}

.compliance strong {

  display: block;

  margin-bottom: 4px;

  color: var(--text);

  font-size: 11px;

}

.compliance p {

  max-width: 750px;

  color: #77727e;

  font-size: 10px;

  line-height: 1.6;

}

.legal-text {

  max-width: 900px;

  margin-bottom: 22px;

  color: #77727e;

  font-size: 10px;

  line-height: 1.7;

}

.copyright {

  padding-top: 20px;

  border-top: 1px solid #e9e5ed;

  color: #88838e;

  font-size: 10px;

}

.copyright span {

  margin-left: 7px;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

  .nav-links {

    gap: 17px;

  }

  .nav-links a {

    font-size: 12px;

  }

  .nav-actions {

    display: none;

  }

  .menu-button {

    display: flex;

  }

  .service-grid {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

  }

  .cta-content {

    flex-wrap: wrap;

  }

  .cta-buttons {

    margin-left: 72px;

  }

  .footer-container {

    grid-template-columns:
      repeat(2, 1fr);

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .nav-container {

    width: calc(100% - 32px);

    min-height: 68px;

  }

  .nav-links {

    display: none;

  }

  .logo {

    font-size: 16px;

  }

  .hero {

    width: calc(100% - 36px);

    padding:
      65px 0
      55px;

  }

  .hero h1 {

    font-size: 38px;

    letter-spacing: -2px;

  }

  .hero > p {

    font-size: 13px;

  }

  .services {

    width: calc(100% - 36px);

  }

  .service-section {

    padding:
      45px 0
      50px;

  }

  .section-heading {

    gap: 13px;

  }

  .section-number {

    width: 41px;
    height: 41px;

  }

  .section-heading h2 {

    font-size: 21px;

  }

  .service-grid {

    grid-template-columns: 1fr;

  }

  .service-item {

    min-height: 190px;

    padding: 23px;

  }

  .service-item h3 {

    font-size: 15px;

  }

  .service-item p {

    font-size: 12px;

  }

  .cta-section {

    width: calc(100% - 36px);

    margin-bottom: 60px;

    padding: 27px 22px;

  }

  .cta-content {

    display: block;

  }

  .cta-icon {

    margin-bottom: 18px;

  }

  .cta-content h2 {

    font-size: 20px;

  }

  .cta-buttons {

    margin: 22px 0 0;

    display: flex;

  }

  .footer-container {

    width: calc(100% - 36px);

    padding:
      50px 0
      40px;

    grid-template-columns: 1fr;

    gap: 35px;

  }

  .footer-brand {

    max-width: 100%;

  }

  .footer-bottom {

    width: calc(100% - 36px);

  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

  .hero h1 {

    font-size: 33px;

  }

  .hero-badge {

    font-size: 10px;

  }

  .section-heading h2 {

    font-size: 19px;

  }

  .cta-buttons {

    flex-direction: column;

    align-items: stretch;

  }

  .cta-primary,
  .cta-secondary {

    text-align: center;

  }

}