/* ==========================================================================
   1. HERO MOLECULAR SECTION (DNA PROTECTED & FIXED)
   ========================================================================== */
.hero-molecular {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  margin-bottom: 120px;
  overflow: hidden;
}

.hero-molecular .hero-ring {
  margin-top: 20px;
  width: 55%;
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2)) contrast(1.2) brightness(1);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  transform: translateY(120px) rotateX(0deg); 
  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, 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, 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) {
  .hero-molecular {
    padding: 180px 24px;
    justify-content: flex-start;
    background: #ffffff;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: flex-start;
  }
  .hero-molecular .hero-content { display: contents; }
  .hero-molecular .hero-title {
    grid-row: 1;
    font-size: 28px;
    letter-spacing: -0.05em;
    line-height: 1.12;
    font-weight: 600;
    max-width: 360px;
    margin-bottom: 24px;
  }
  .hero-molecular .hero-ring {
    grid-row: 2;
    margin-top: 0;
    margin-bottom: 40px;
    width: 100%; 
    max-width: 440px;
    transform: translateY(0) rotateX(0deg); 
  }
  .hero-molecular .hero-sub { 
    grid-row: 3;
    position: relative;
    font-weight: 600;
    margin: 0 auto;
    font-size: 18px;
    max-width: 420px;
  }
}

/* ==========================================================================
   2. SCIENTIFIC OUTPUT SECTION (PREMIUM TYPOGRAPHY IMPROVEMENT)
   ========================================================================== */
.scientific-output {
  background: #FAF8F9;
  padding: 40px 0;
  position: relative;
}

.apple-header {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  max-width: 1400px;
  margin: 0 auto 24px;
  padding-left: 80px; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Kategori atas: Lebih tipis, bersih, dan mewah */
.category-main-title {
  font-size: 32px;
  font-weight: 600;
  color: #86868b;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-transform: none;
}

/* Judul Brand: Ukuran dikunci proporsional agar tidak norak */
.brand-title-badge {
  font-size: 22px; 
  font-weight: 400; /* Tidak terlalu tebal/bold kasar */
  letter-spacing: -0.02em; 
  margin: 0;
  line-height: 1.2;
  color: #1d1d1f;
}

.view-all-link {
  display: none; /* Dibuat bersih tanpa text link rumpang */
}

.output-wrapper {
  max-width: 1440px;
  margin: 0 auto 48px;
  padding: 0 5%;
  position: relative;
  overflow: visible;
}

/* --- DRIVER LAYOUT 1: JIKA PRODUK > 4 (SLIDER MODE AKTIF) --- */
.layout-slider {
  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; 
}
.layout-slider::-webkit-scrollbar { display: none; }

.layout-slider .product-card-luxury {
  flex: 0 0 340px; 
  scroll-snap-align: start;
  display: flex; 
}

/* --- DRIVER LAYOUT 2: JIKA PRODUK <= 4 (DYNAMIC GRID MODE - MENYESUAIKAN LEBAR) --- */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px;
  padding: 20px;
  align-items: stretch;
}

.layout-grid .product-card-luxury {
  width: 100%; 
  display: flex;
}

/* --- COMMON CARD ARCHITECTURE --- */
.card-link-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  background: #ffffff;
  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 5px 10px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-visual {
  width: 100%;
  height: 280px; 
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  display: flex;           
  align-items: center;      
  justify-content: center;  
  padding: 24px; 
  box-sizing: border-box;
}

.card-visual img {
  max-width: 100%;          
  max-height: 100%;         
  width: auto;              
  height: auto;              
  object-fit: contain; 
  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: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.card-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 21px;
  font-weight: 500; /* Sesuai req: Lebih ramping dan elegan */
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  margin: 0 0 12px;
}

.lab-stat {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0071e3;
  display: block;
  margin-bottom: 12px;
}

.card-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; 
}

/* NAVIGATION BUTTONS DESKTOP */
.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;
}

/* Scientific Output Mobile Breakpoint */
@media (max-width: 734px) {
  .scientific-output { padding: 40px 0 60px 0; }
  .apple-header { padding: 0 20px 16px; }
  .category-main-title { font-size: 14px; }
  .brand-title-badge { font-size: 22px; }
  .output-wrapper { margin: 0 auto 40px; }
  
  .layout-grid, .layout-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 22px;
    gap: 16px;
    padding: 8px 16px 20px 16px;
  }
  .layout-grid::-webkit-scrollbar { display: none; }
  .layout-grid .product-card-luxury, .layout-slider .product-card-luxury {
    flex: 0 0 290px;
    width: auto;
  }
  .card-visual { height: 220px; padding: 16px; }
  .card-info { padding: 20px; }
  .card-info h3 { font-size: 18px; }
  
  .nav-btn {
    display: flex;            
    position: absolute;       
    top: auto;                
    bottom: -40px;            
    width: 44px;              
    height: 44px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transform: translateX(-50%); 
  }
  .nav-btn.prev { left: calc(50% - 26px); }
  .nav-btn.next { left: calc(50% + 26px); right: auto; }
  .nav-btn:hover { transform: translateX(-50%) scale(1.05); }
  .nav-btn svg { width: 18px; height: 18px; }
}

/* ==========================================================================
   3. APP VISUAL SECTION & 4. MANIFESTO CLOSING (DNA PROTECTED)
   ========================================================================== */
.app-visual {
  width: 100%;
  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; }
.app-visual__title { font-family: -apple-system, 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, 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; }
}

.closing-manifesto { background: #ffffff; padding: 160px 5% 120px; text-align: center; }
.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, 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, sans-serif; }
.closing-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: #0071E3; color: #ffffff; 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; }
}