* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #14213d;
  background: #f7f9fc;
}

.navbar {
  height: 76px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-size: 22px;
  font-weight: 800;
}

.logo span {
  color: #4f46e5;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #536079;
  font-weight: 600;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #4f46e5;
  color: white;
}

.btn-outline {
  background: white;
  color: #4f46e5;
  border: 1px solid #d9ddf3;
}

.btn-dark {
  background: #14213d;
  color: white;
}

.hero {
  padding: 80px 7%;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg,#eef2ff,#fff);
}

.eyebrow {
  color: #4f46e5;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.4px;
}

.hero h1 {
  font-size: clamp(42px,6vw,70px);
  line-height: 1.04;
  margin: 15px 0;
}

.hero h1 span {
  color: #4f46e5;
}

.hero-text {
  color: #637089;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
}

.hero-card {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 20px 60px #26334a18;
}

.hero-icon {
  font-size: 55px;
  margin-bottom: 15px;
}

.hero-card h3 {
  font-size: 25px;
  margin: 0 0 8px;
}

.hero-card p {
  color: #69758a;
  line-height: 1.6;
}

.section {
  padding: 80px 7%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 35px;
}

.section h2,
.why h2 {
  font-size: 40px;
  margin: 8px 0 0;
}

.section-heading > p {
  max-width: 450px;
  color: #69758a;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  padding: 24px;
  transition: .2s;
  box-shadow: 0 8px 25px #26334a08;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px #26334a12;
}

.card-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 26px;
  margin-bottom: 22px;
}

.blue {
  background: #e8f1ff;
}

.green {
  background: #e8faef;
}

.purple {
  background: #f1eaff;
}

.orange {
  background: #fff1df;
}

.tag {
  font-size: 11px;
  font-weight: 800;
  color: #69758a;
  letter-spacing: 1px;
}

.card h3 {
  font-size: 19px;
  line-height: 1.35;
  min-height: 52px;
}

.card p {
  color: #718096;
  line-height: 1.55;
  min-height: 98px;
}

.card-btn {
  background: none;
  border: 0;
  color: #4f46e5;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
}

.why {
  background: #fff;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  margin-top: 40px;
}

.features div {
  padding: 25px;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
}

.features strong {
  font-size: 30px;
}

.features h3 {
  margin-bottom: 5px;
}

.features p {
  color: #718096;
}

footer {
  padding: 28px 7%;
  display: flex;
  justify-content: space-between;
  color: #718096;
  font-size: 14px;
  background: #f7f9fc;
}

.modal {
  position: fixed;
  inset: 0;
  background: #10182899;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.hidden {
  display: none;
}

.modal-box {
  background: white;
  width: min(430px,100%);
  padding: 32px;
  border-radius: 20px;
  position: relative;
}

.close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

.modal-box h2 {
  margin: 5px 0 8px;
  font-size: 32px;
}

.modal-box input {
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  border: 1px solid #d9deea;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
}

.modal-box input:focus {
  border-color: #4f46e5;
}

.full {
  width: 100%;
  margin-top: 10px;
}

.switch {
  text-align: center;
  font-size: 14px;
  color: #69758a;
}

.switch button {
  border: 0;
  background: none;
  color: #4f46e5;
  font-weight: 800;
  cursor: pointer;
}

.status {
  text-align: center;
  min-height: 20px;
  font-size: 13px;
  color: #d14343;
}

@media (max-width: 900px) {

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .cards {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (max-width: 600px) {

  .navbar {
    padding: 0 5%;
  }

  .auth-buttons .btn {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-heading {
    display: block;
  }

  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .card p,
  .card h3 {
    min-height: auto;
  }

  footer {
    display: block;
    line-height: 2;
  }

}
