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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 95% 75%, #c8f0f4 0%, rgba(200, 240, 244, 0) 45%),
    radial-gradient(circle at 0% 30%, #d6e4ff 0%, rgba(214, 228, 255, 0) 50%),
    linear-gradient(110deg, #e6ecff 0%, #ffffff 45%, #f5fbff 65%, #d6f3f6 100%);
  background-attachment: fixed;
}

.hero {
  height: auto;
  width: 100%;
  padding: 134px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.content {
  text-align: center;
  font-size: 1.25rem;
}

.logo {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  cursor: default;
  transition: color 0.2s ease;
}

.title:hover {
  color: #0cb4ff;
}

p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  column-gap: 2.5rem;
  row-gap: 1.5rem;
  max-width: 500px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
}

.social-links a {
  position: relative;
  transition: color 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  width: 340px;
  max-width: 88vw;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.25rem 1.1rem;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px) scale(0.96);
  transform-origin: bottom center;
  transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.18s ease;
  z-index: 20;
}

.hover-card::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 4px 4px 8px rgba(15, 23, 42, 0.06);
}

@media (min-width: 769px) and (hover: hover) {

  .social-links a:hover .hover-card,
  .social-links a:focus-visible .hover-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 768px),
(hover: none) {
  .hover-card {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(88vw, 360px);
    max-width: 88vw;
    max-height: 85vh;
    transform: translate(-50%, -50%) scale(0.96);
    transform-origin: center center;
  }

  .social-links a.is-open .hover-card {
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1000;
  }

  .social-links a.is-open .hover-card::after {
    display: none;
  }

  .social-links a::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .social-links a.is-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.hover-card-logo {
  height: 1.75rem !important;
  width: auto;
  filter: none !important;
  margin-bottom: 0.85rem;
}

.hover-card p {
  margin: 0;
  padding: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
}

.social-links a img {
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.social-links a:hover img {
  filter: grayscale(0%);
}

.tripay img {
  height: 2rem;
}

.p-store img {
  height: 1.75rem;
}

.ngawipeduli img {
  height: 3rem;
}

.rekberin img {
  height: 2.25rem;
}

.argotentrem img {
  height: 5rem;
}

/* About + Biografi section */
.about-section {
  background: transparent;
  padding: 1rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-card {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.about-illustration {
  flex: 0 0 200px;
  background: #eef2ff;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-divider span {
  display: block;
  width: 40px;
  height: 2px;
  background: #e11d74;
  border-radius: 2px;
}

.bio-block {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: end;
  gap: 2.5rem;
}

.founder {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  align-self: end;
}

.founder img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0;
}

.founder figcaption {
  padding: 1rem 0 0;
}

.founder figcaption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.founder figcaption p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.bio-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 2.25rem 2.5rem;
  align-self: center;
}

.bio-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.bio-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  text-align: left;
}

/* Header */
.page-header {
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
}

.header-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.header-link:hover {
  color: #0cb4ff;
}

.header-link:hover::after {
  transform: scaleX(1);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  background: #0cb4ff;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.header-btn:hover {
  background: #0aa0e6;
}

@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .about-illustration {
    flex: none;
    width: 200px;
  }

  .about-text {
    text-align: left;
  }

  .bio-block {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bio-card {
    padding: 1.75rem;
  }

  .founder img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 1rem 1.1rem;
    gap: 0.75rem;
  }

  .header-link {
    font-size: 0.82rem;
  }

  .header-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
  }

  .title {
    font-size: 2rem;
  }

  .logo {
    font-size: 2.5rem;
  }

  p {
    font-size: 0.9rem;
    padding: 0 1.5rem;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .tripay img {
    height: 1.5rem;
  }

  .p-store img {
    height: 1.25rem;
  }

  .ngawipeduli img {
    height: 2.25rem;
  }

  .rekberin img {
    height: 1.75rem;
  }

  .argotentrem img {
    height: 3.5rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .title {
    font-size: 2.8rem;
  }

  .logo {
    font-size: 3rem;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
  }

  .tripay img {
    height: 1.75rem;
  }

  .p-store img {
    height: 1.5rem;
  }

  .ngawipeduli img {
    height: 2.5rem;
  }

  .rekberin img {
    height: 2rem;
  }

  .argotentrem img {
    height: 4rem;
  }
}

@media (max-width: 768px) {
  .container {
    background-position: 65% center;
  }
}
