* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5f7fb;
  color: #111;
}

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  height: 40px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 30px 20px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
}

.hero p {
  margin-top: 12px;
  color: #555;
}

/* AVATARS */
.avatars {
  position: relative;
  height: 280px;
  margin-top: 20px;
  margin-bottom: 120px;
}

.avatar {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
}

.small {
  width: 60px;
  height: 60px;
}

.medium {
  width: 80px;
  height: 80px;
}

.large {
  width: 120px;
  height: 120px;
}

.left {
  top: 10px;
  left: 40px;
}

.right {
  top: 20px;
  right: 40px;
}

.center {
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-left {
  bottom: 10px;
  left: 30px;
}

.bottom-right {
  bottom: 10px;
  right: 30px;
}

/* AVATAR SECTION */
.avatars {
  position: relative;
  height: 280px;
  margin-top: 40px;
}

/* avatar base style */
.avatar {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

/* different sizes */
.avatar.small {
  width: 60px;
  height: 60px;
}

.avatar.medium {
  width: 80px;
  height: 80px;
}

.avatar.large {
  width: 120px;
  height: 120px;
}

/* positions */
.left {
  top: 40px;
  left: 40px;
}

.right {
  top: 30px;
  right: 40px;
}

.center {
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-left {
  bottom: 20px;
  left: 60px;
}

.bottom-right {
  bottom: 10px;
  right: 60px;
}

/* floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* hover effect */
.avatar:hover {
  transform: scale(1.15);
  z-index: 2;
}

/* POPUP */
.popup {
  display: flex;
  justify-content: center;
  width: 100%;
}

.popup-content {
  background: #fff;
  width: 420px;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
}

/* POPUP LINKS */
.popup {
  position: relative;
  max-width: 360px;
  margin: 40px auto;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.popup h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.popup p {
  font-size: 14px;
  color: #5f6368;
}

/* FEATURES */
.features {
  padding: 40px 20px;
  text-align: center;
}

.feature {
  margin-bottom: 40px;
}

.feature h3 {
  margin-bottom: 8px;
}

/* FOOTER */
/* FOOTER */
.footer {
  background: #f1f3f7;
  padding: 40px 60px;
  font-size: 14px;
  color: #555;
}

/* top text */
.footer-top {
  max-width: 900px;
  margin-bottom: 20px;
}

.footer-top strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #1b1f3b;
}

/* footer links */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1a73e8;
}

/* RESPONSIVE (Mobile) */
@media (max-width:768px) {

  .footer {
    padding: 30px 20px;
    border-top: 1px solid #e5e7eb;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

}

/* ============================================================
   DARK MODE
   ============================================================ */
html.dark body {
  background: #0f172a;
  color: #e2e8f0;
}

html.dark .topbar {
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark .logo {
  color: #ffffff;
}

html.dark .hero h1 {
  color: #ffffff;
}

html.dark .hero p {
  color: #94a3b8;
}

html.dark .avatar {
  border-color: #1e293b;
}

html.dark .popup-content {
  background: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  color: #e2e8f0;
}

html.dark .popup h3 {
  color: #ffffff;
}

html.dark .popup p {
  color: #94a3b8;
}

html.dark .close {
  color: #94a3b8;
}

html.dark .features {
  background: #020617;
}

html.dark .feature {
  background: #1e293b;
  border: 1px solid #334155;
}

html.dark .feature h3 {
  color: #f1f5f9;
}

html.dark .feature p {
  color: #94a3b8;
}

html.dark .feature-icon {
  color: #9f6bff;
}

html.dark .footer {
  background: #0b1220;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark .footer-top strong {
  color: #ffffff;
}

html.dark .footer-top p {
  color: #94a3b8;
}

html.dark .footer-links a {
  color: #94a3b8;
}

html.dark .footer-links a:hover {
  color: #9f6bff;
}