/* ==========================================================================
   1. HERO MOLECULAR SECTION
   ========================================================================== */
.hero-molecular {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.hero-molecular .hero-ring {
  margin-top: 80px;
  width: 85%;
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2)) contrast(1.2) brightness(1.05);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  transform: rotateX(55deg);
  transform-style: preserve-3d;
}

.hero-molecular .hero-content {
  position: absolute;
  top: 20%; 
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

.hero-molecular .hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.06em;
  margin: 0;
  background: linear-gradient(55deg, #000000 0%, #757575 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-molecular .hero-sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  margin: 0 auto 0;
  max-width: 600px;
  background: linear-gradient(55deg, #000000 0%, #757575 40%);    
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 734px) {
  /* Bungkus section-nya biar ngasih ruang vertical yang pas di HP */
  .hero-molecular {
    padding: 180px 24px;
    justify-content: flex-start; /* Mulai susun dari atas */
	background: #fff;
	min-height: 100vh;
  }

  /* Teks diturunin proporsional */
  .hero-molecular .hero-title {
    font-size: 28px;
  }
  .hero-molecular .hero-sub { 
	position: absolute;
	margin-top:240px;
    font-size: 18px;
  }

  /* KUNCI: Lepas absolute-nya di HP biar teks gak nabrak ring */
  .hero-molecular .hero-content {
    position: relative;
    top: 0; 
    margin-bottom: 20px; /* Jarak aman sebelum masuk ke elemen ring */
  }

  /* Ring disesuaikan ukurannya biar pas sama lebar layar HP */
  .hero-molecular .hero-ring {
    margin-top: -20px; /* Reset margin biar gak amblas ke bawah */
    width: 120%;    /* Lebar optimal biar efek 3D-nya tetep keliatan megah */
    transform: rotateX(50deg) scale(1.05); /* Sedikit tweak angle biar proporsional */
  }
  
 
}


/* ==========================================================================
   2. SCIENTIFIC OUTPUT SECTION (WHITE SYSTEM)
   ========================================================================== */
.scientific-output {
  background: #FAF8F9;
  padding: 40px 0 40px 0;
  position: relative;
}

.apple-header {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.025em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-left: 80px; 
  max-width: 1400px;
  margin: 0 auto;
}

.series-title {
  font-size: 32px; 
  font-weight: 600;
  letter-spacing: -0.025em; 
  margin: 0;
  line-height: 1.05;
  color: #1d1d1f;
}

.series-subtitle {
  font-size: 15px; 
  font-weight: 400;
  color: #86868b;
  margin-top: 6px; 
  display: block;
}

.view-all-link {
  font-size: 16px; 
  font-weight: 500;
  color: #696969;
  text-decoration: none;
  padding-bottom: 2px;
  padding-right: 80px; 
  transition: opacity 0.2s ease;
}

.view-all-link:hover {
  opacity: 0.75;
}

.view-all-link::after {
  content: "";
  margin-left: 6px; 
  font-size: 19px;
  font-weight: 400;
}

.series-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(29, 29, 31, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .apple-header {
    padding: 0 20px 28px;
  }
  .series-title {
    font-size: 26px;
  }
  .series-subtitle {
    font-size: 14px;
  }
}

.output-wrapper {
  max-width: 1440px;
  margin: 0 auto 48px;
  padding: 0 5%;
  position: relative;
  overflow: visible;
}

.apple-slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 22px;
  gap: 24px;
  scrollbar-width: none;
  padding: 20px 20px 40px 20px;
  -webkit-overflow-scrolling: touch;
  align-items: stretch; 
}
.apple-slider-container::-webkit-scrollbar { display: none; }

/* FIX KEGEDEAN: Sasa kecilin flex-basis-nya dari 340px jadi 280px biar manis */
.product-card-luxury {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: flex; 
}

.card-link-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-luxury:hover .card-link-wrapper {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* FIX KEGEDEAN: Ketinggian visual diturunin biar balance */
.card-visual {
  width: 100%;
  height: 220px; 
  overflow: hidden;
  background: #f5f5f7;
  flex-shrink: 0;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-luxury:hover .card-visual img {
  transform: scale(1.05);
}

.card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

/* Ukuran font disesuaikan biar pas sama card baru */
.card-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  margin: 0 0 8px;
}

.lab-stat {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0071e3;
  display: block;
  margin-bottom: 8px;
}

.card-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #6e6e73;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; 
}

.nav-btn {
  position: absolute;
  top: 42%; 
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.nav-btn:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-50%) scale(1.08);
}

.nav-btn.prev { left: 20px; }
.nav-btn.next { right: 20px; }

.nav-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 734px) {
  .scientific-output {
    padding: 60px 0 80px 0;
  }
  .apple-slider-container {
    padding: 8px 16px 30px 16px;
    gap: 16px;
  }
  .product-card-luxury {
    flex: 0 0 250px;
  }
  .card-visual {
    height: 180px;
  }
  .card-info {
    padding: 16px;
  }
  .card-info h3 {
    font-size: 16px;
  }

}   

/* ==========================================================================
   3. APP VISUAL SECTION
   ========================================================================== */
.app-visual {
  width: 100%;
  background: #F6F4F5;
  padding-top: 80px;
  text-align: left;
  background: linear-gradient(to bottom, #F6F4F5 0%, #ffffff 100%);
}

.app-visual__header {
  max-width: 1200px;
  margin: 0 48px;
  padding: 0 24px;
  text-align: left;
}

.app-visual__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1D1D1F;
  margin: 0 0 12px;
}

.app-visual__subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #86868B;
  margin: 0;
}

.app-visual__subtitle .dot {
  margin: 0 12px;
  color: #D2D2D7;
}

.app-visual__container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;           
  justify-content: center;
  position: relative;
}

.app-visual__container img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.08));
}

@media (max-width: 768px) {
  .app-visual {
    padding: 48px 0;
  }
  .app-visual__title {
    font-size: 32px;
  }
  .app-visual__subtitle {
    font-size: 16px;
  }
  .app-visual__header {
    margin-bottom: 32px;
  }
  .app-visual__container img {
    border-radius: 16px; 
  }
}

/* ==========================================================================
   4. MANIFESTO CLOSING
   ========================================================================== */
.closing-manifesto {
  background: #ffffff; 
  padding: 160px 5% 120px;
  text-align: center;
  border-top: 0px solid rgba(0, 0, 0, 0.08); 
}

.closing-container {
  max-width: 980px; 
  margin: 0 auto;
}

.closing-text {
  font-size: clamp(2.5rem, 6vw, 4.5rem); 
  font-weight: 600;
  letter-spacing: -0.045em; 
  line-height: 1.05;
  color: #1d1d1f; 
  margin: 0 0 24px 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.closing-text .accent {
  background: linear-gradient(180deg, #4a4a4a 0%, #1d1d1f 45%, #7a7a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing-subtext {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: #6e6e73; 
  margin: 0 0 48px 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.closing-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0071E3;
  color: #fff;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em; 
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: #0077ED;
}

@media (max-width: 734px) {
  .closing-manifesto {
    padding: 100px 5% 80px;
  }
  .closing-text {
    font-size: 2.5rem;
  }
  .closing-subtext {
    font-size: 19px;
  }
}

