* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #fafafa;
  color: #080808;
}

/* NAVBAR */
.navbar {
  height: 65px;
  background: #7898f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  border-radius: 0 0 12px 12px;
}

.logo {
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  color: black;
  text-decoration: none;
}

.logo span {
  color: #ff6b00;
  font-size: 40px;
  font-family: Georgia, serif;
}

.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: white;
}

/* HERO */
.hero {
  min-height: 530px;
  background: linear-gradient(110deg, #20bda9, #36d0c1, #05c9b5);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 22px;
  border-radius: 0 0 120px 120px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-content h1 {
  font-size: 35px;
  line-height: 1.2;
  font-weight: normal;
  margin-bottom: 30px;
}

.hero-content h1 strong {
  display: block;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-content h1 span {
  display: block;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 35px;
}

.btn-login,
.btn-daftar {
  width: 142px;
  height: 59px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login {
  background: #0788f9;
  color: white;
  border: none;
}

.btn-daftar {
  background: white;
  color: #0788f9;
  border: 3px solid #7954f6;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login:hover,
.btn-daftar:hover {
  transform: translateY(-4px);
}

/* HERO IMAGE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

/* ABOUT */
.about {
  padding: 45px 22px;
  min-height: 250px;
}

.about-button {
  display: inline-block;
  padding: 12px 25px;
  border: 3px solid #7898ff;
  border-radius: 30px;
  color: #222;
  text-decoration: none;
  font-size: 17px;
  background: white;
}

.about-content {
  margin-top: 35px;
  max-width: 650px;
}

.about-content h2 {
  margin-bottom: 12px;
}

.about-content p {
  line-height: 1.7;
  color: #555;
}

/* LOGIN MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 430px;
  padding: 35px 28px;
  border-radius: 22px;
  text-align: center;
  position: relative;

  animation: popup 0.3s ease;
}

@keyframes popup {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-btn {
  position: absolute;
  right: 18px;
  top: 10px;
  border: none;
  background: none;
  font-size: 32px;
  cursor: pointer;
  color: #555;
}

.modal-icon {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: #0788f9;
  color: white;
  font-size: 40px;
  font-weight: bold;
  font-style: italic;
  font-family: Georgia, serif;

  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.modal-content h2 {
  margin-bottom: 10px;
  color: #222;
}

.modal-content > p {
  color: #777;
  font-size: 14px;
}

/* ROLE OPTIONS */
.role-options {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.role-card {
  flex: 1;
  background: #f4f8ff;
  border: 2px solid #e1eaff;
  border-radius: 15px;
  padding: 22px 10px;
  cursor: pointer;
  transition: 0.3s;
}

.role-card:hover {
  border-color: #0788f9;
  background: #e8f2ff;
  transform: translateY(-5px);
}

.role-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.role-card h3 {
  color: #087ff0;
  margin-bottom: 7px;
  font-size: 19px;
}

.role-card span {
  font-size: 12px;
  color: #666;
}

.modal-footer {
  font-size: 13px;
  color: #666;
}

.modal-footer a {
  color: #0788f9;
  font-weight: bold;
  text-decoration: none;
}

.about-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.vision-box {
  background: #f8fafc;
  padding: 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--periwinkle);
}

.vision-box.toska {
  border-left-color: var(--toska-base);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
  }

  .navbar nav {
    gap: 12px;
  }

  .navbar nav a {
    font-size: 13px;
  }

  .logo {
    font-size: 19px;
  }

  .logo span {
    font-size: 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    border-radius: 0 0 65px 65px;
    padding: 55px 20px;
  }

  .hero-content h1 {
    font-size: 27px;
  }

  .hero-buttons {
    justify-content: center;
    gap: 15px;
  }

  .btn-login,
  .btn-daftar {
    width: 120px;
    height: 50px;
    font-size: 19px;
  }

  .hero-image img {
    max-width: 350px;
    margin-top: 30px;
  }
}

@media (max-width: 420px) {
  .navbar nav {
    gap: 8px;
  }

  .navbar nav a {
    font-size: 11px;
  }

  .role-options {
    gap: 10px;
  }
}
