html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #f5f5f7;
  color: #1d1d1f;
}

/* Navbar Style */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #1d1d1f;
}

.logo span {
  color: #0066cc;
}

.nav-links a {
  margin: 0 18px;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.lang-switch {
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
  cursor: pointer;
}

.lang-switch .active {
  color: #0066cc;
  font-weight: 600;
}

/* Features Section Style */
.features-section {
  max-width: 1100px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.features-section h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 48px;
  color: #1d1d1f;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #ffffff;
  padding: 36px 24px;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: #1d1d1f;
}

.card p {
  font-size: 14px;
  color: #86868b;
  line-height: 1.5;
}

/* Appeal Section Style */
.appeal-section {
  max-width: 1100px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
}

.appeal-section h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .appeal-grid {
    grid-template-columns: 1fr;
  }
}

.appeal-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.appeal-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
}

.appeal-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.appeal-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1d1d1f;
}

.appeal-card p {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.5;
}

/* Modal Popup Style */
.modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
}

.modal-content {
  background: rgba(255, 255, 255, 0.9);
  margin: 12% auto;
  padding: 36px;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  position: relative;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalFade 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: background 0.2s;
}

.close-btn:hover {
  background: #d1d1d6;
  color: #000;
}

.modal-content h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
}

.modal-content p {
  font-size: 15px;
  color: #515154;
  line-height: 1.6;
}