/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* ==================== NAVBAR ==================== */
.nav {
  position: fixed;
  top: -15px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2100;
  background: linear-gradient(to bottom, rgba(2, 8, 16, 0.82), rgba(2, 8, 16, 0));
}

.nav-logo .logo-img {
  height: 100px;
  width: auto;
  margin-left: -30px;
  transition: opacity 0.3s;
}

.nav-logo .logo-img:hover {
  opacity: 0.8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link {
  font-family: 'Proxima Nova', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.7;
}

/* ==================== HAMBURGER MENU ==================== */
.nav-icon {
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.icon-bar {
  width: 28px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s ease;
}

.nav-icon.active .top-bar {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-icon.active .middle-bar {
  opacity: 0;
}

.nav-icon.active .bottom-bar {
  transform: rotate(-45deg) translate(7px, -7px);
}

body.menu-open .nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==================== POPUP MENU ==================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-menu {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-40px) scale(0.1);
  transition: opacity 0.45s cubic-bezier(0.77, 0, 0.18, 1), transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: url('../icon/Website Sakative 2026-bg_popup.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

.popup-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.popup-main-links {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
  justify-content: center;
}

.popup-link {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.18, 1), transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.popup-menu.active .popup-link {
  opacity: 1;
  transform: translateY(0);
}

.popup-link.main-link {
  font-family: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 25pt;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
}

.popup-link.main-link:hover {
  color: #31BA90;
  border-bottom: 3px solid #31BA90;
}

.popup-separator {
  color: #fff;
  font-size: 25pt;
  font-weight: 600;
  margin: 0 10px;
}

.popup-sub-links {
  display: flex;
  gap: 70px;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-link.sub-link {
  font-family: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 13pt;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.popup-link.sub-link:hover {
  color: #31BA90;
}

.popup-close {
  position: absolute;
  top: 40px;
  right: 50px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  font-family: 'Fira Code', monospace;
  background: none;
  border: none;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../index.pict/Background.gif') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  padding: 120px 60px 60px;
  color: #fff;
}

.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.hero-content {
  flex: 1;
  max-width: 530px;
}

.hero-content h1 {
  font-family: 'Proxima Nova', 'Helvetica Neue', sans-serif;
  font-size: 31pt;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: 'Proxima Nova', 'Helvetica Neue', sans-serif;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* ==================== FOUNDERS SECTION ==================== */
.founders {
  position: relative;
  padding: 100px 60px;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.founders-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.founders-title {
  flex: 1;
  min-width: 200px;
}

.founders-title h2 {
  font-size: 35px;
  line-height: 1.2;
}

.founders-list {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.founder-item {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.founder-item img {
  width: 180px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.founder-item img:hover {
  filter: grayscale(0%);
}

.founder-item .text {
  flex: 1;
}

.founder-item .text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.founder-item .founder-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  display: block;
  margin-bottom: 15px;
  opacity: 0.8;
}

.founder-item .text p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 500px;
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 40px 50px;
  }
  
  .hero-wrapper {
    gap: 50px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 13px;
  }
  
  .founders {
    padding: 70px 40px;
  }
  
  .founders-container {
    gap: 50px;
  }
  
  .founders-title h2 {
    font-size: 30px;
  }
  
  .founder-item {
    gap: 30px;
  }
  
  .founder-item img {
    width: 140px;
    height: 160px;
  }
  
  .founder-item .text h3 {
    font-size: 18px;
  }
  
  .founder-item .founder-title {
    font-size: 12px;
  }
  
  .founder-item .text p {
    font-size: 13px;
  }
}

/* ==================== RESPONSIVE - MOBILE (DI SINI BARU BERUBAH) ==================== */
@media (max-width: 768px) {
  .nav {
    left: 20px;
    right: 20px;
    padding: 10px 0;
  }
  
  .nav-logo .logo-img {
    height: 65px;
    margin-left: 0;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding: 100px 20px 40px;
  }
  
  .hero-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-image img {
    max-width: 100%;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 24px;
  }
  
  .hero-content p {
    font-size: 13px;
    text-align: center;
  }
  
  .founders {
    padding: 50px 20px;
  }
  
  .founders-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .founders-title {
    text-align: center;
  }
  
  .founders-title h2 {
    font-size: 28px;
  }
  
  .founders-list {
    gap: 40px;
  }
  
  .founder-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .founder-item img {
    width: 130px;
    height: 150px;
  }
  
  .founder-item .text p {
    text-align: center;
  }
  
  /* ===== POPUP MENU KHUSUS MOBILE - GAYA ANTIKODE (VERTICAL + BESAR) ===== */
  .popup-content {
    gap: 40px;
  }
  
  .popup-main-links {
    flex-direction: column;
    gap: 20px;
  }
  
  .popup-separator {
    display: none;
  }
  
  .popup-link.main-link {
    font-size: 52px;
    font-weight: 600;
  }
  
  .popup-link.main-link:hover {
    border-bottom: none;
    transform: translateY(-4px);
  }
  
  /* GARIS PEMISAH */
  .popup-main-links::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    margin: 10px auto 5px;
  }
  
  .popup-sub-links {
    flex-direction: column;
    gap: 18px;
  }
  
  .popup-link.sub-link {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
  }
  
  .popup-link.sub-link:hover {
    transform: translateX(5px);
  }
  
  .popup-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .popup-close:hover {
    transform: rotate(90deg);
    color: #31BA90;
    border-color: #31BA90;
  }
}

/* ==================== RESPONSIVE - SMALL MOBILE ==================== */
@media (max-width: 480px) {
  .hero {
    padding: 80px 15px 30px;
  }
  
  .hero-content h1 {
    font-size: 22px;
  }
  
  .hero-content p {
    font-size: 12px;
  }
  
  .founders-title h2 {
    font-size: 24px;
  }
  
  .founder-item img {
    width: 110px;
    height: 130px;
  }
  
  .founder-item .text h3 {
    font-size: 18px;
  }
  
  .founder-item .founder-title {
    font-size: 11px;
  }
  
  .founder-item .text p {
    font-size: 12px;
  }
  
  /* POPUP SMALL MOBILE */
  .popup-link.main-link {
    font-size: 38px;
  }
  
  .popup-link.sub-link {
    font-size: 15px;
  }
  
  .popup-content {
    gap: 30px;
  }
  
  .popup-main-links::after {
    width: 40px;
  }
  
  .popup-close {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}

/* ==================== RESPONSIVE - DESKTOP LARGE ==================== */
@media (min-width: 1440px) {
  .hero {
    padding: 150px 100px 80px;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .founders {
    padding: 120px 100px;
  }
  
  .founders-title h2 {
    font-size: 45px;
  }
  
  .founder-item .text p {
    max-width: 600px;
  }
}