/* =========================================
   1. GLOBAL, RESET, & UTILITIES
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Global Highlight & Helper Classes */
.highlight { color: #FCB215; }
.highlight-yellow { color: #FCB215; font-style: italic; }
.highlight-yellow-italic { color: #FCB215; font-style: italic; font-weight: 700; }
.italic-highlight { color: #3A9AFF; font-style: italic; font-weight: 700; }
.dark-bold-italic { color: #1C0770; font-weight: 700; font-style: italic; }
.blue-italic { color: #378AF0; font-style: italic; font-weight: 700; }
.dark-blue-italic { color: #1C0770; font-style: italic; font-weight: 400; }
.white-italic { font-style: italic; font-weight: 400; color: white; }
.label-white { color: white !important; }

.small-bar { width: 65px; height: 8px; background: #FCB215; border-radius: 9px; margin-bottom: 10px; }
.header-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.operation-label { text-align: right; }
.operation-label span { font-weight: 700; color: #FFFDDF; }


/* =========================================
   2. HEADER & NAVIGATION
========================================= */
header { padding: 20px 0; background: #fff; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-width: 150px; max-height: 150px; }

.main-nav { background: #1C0770; padding: 10px 40px; border-radius: 50px; display: flex; gap: 30px; }
.main-nav a { text-decoration: none; color: #AAAEAF; font-size: 14px; font-weight: 500; }
.main-nav a.active { color: #FCB215; }

.btn-contact { background: #1C0770; color: white; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 14px; }


/* =========================================
   3. HERO SECTION
========================================= */
.hero { position: relative; height: 80vh; min-height: 600px; background: url('../asset/simbah/bg-train.png') no-repeat center center/cover; display: flex; align-items: center; color: white; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(140deg, rgba(28, 7, 112, 0.7) 0%, rgba(28, 7, 112, 0.4) 100%); }
.hero-content { position: relative; z-index: 2; }
.yellow-bar { width: 60px; height: 6px; background: #FCB215; border-radius: 10px; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 10px; }
.hero-title { font-size: 3.5rem; line-height: 1.1; max-width: 800px; margin-bottom: 25px; }
.hero-description { max-width: 600px; line-height: 1.6; color: #CEC9C9; margin-bottom: 40px; }
.btn-get-started { background: #FCB215; color: #1C0770; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: transform 0.3s; display: inline-block; }
.btn-get-started:hover { transform: scale(1.05); }


/* =========================================
   4. PARTNERS SECTION
========================================= */
.partners { margin-top: -60px; position: relative; z-index: 3; padding-bottom: 50px; }
.partner-box { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.2); border-radius: 30px; padding: 30px; text-align: center; }
.partner-box h3 { margin-bottom: 25px; font-size: 1.5rem; color: white; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px; }
.partner-logos img { max-height: 70px; width: auto; object-fit: contain; filter: none; }


/* =========================================
   5. INFO SECTION
========================================= */
.info-section { padding: 100px 0; background-color: #ffffff; }
.info-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.info-image { flex: 1; }
.info-image img { width: 100%; max-width: 500px; height: auto; border-radius: 60px; display: block; }
.info-text { flex: 1; }
.section-tagline { color: #1C0770; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.section-title { color: #1C0770; font-size: 2.5rem; line-height: 1.2; font-weight: 500; margin-bottom: 30px; }
.section-description { color: #676C6D; font-size: 1.1rem; line-height: 1.6; }


/* =========================================
   6. MECHANISM SECTION
========================================= */
.mechanism-section { background: #fff; padding-bottom: 100px; }
.mechanism-header { background: linear-gradient(180deg, #3A9AFF 0%, #222890 100%); padding: 80px 0 150px 0; color: white; }
.header-left h1 { font-size: 2.5rem; max-width: 800px; line-height: 1.3; }

.mechanism-gallery { display: flex; gap: 30px; margin-top: -100px; margin-bottom: 60px; justify-content: center; }
.shadow-img { width: 100%; max-width: 550px; border-radius: 20px; box-shadow: 10px 13px 20px rgba(0, 0, 0, 0.2); }
.mechanism-intro { font-size: 1.4rem; color: #676C6D; line-height: 1.6; margin-bottom: 80px; }

/* Timeline */
.timeline-container { position: relative; padding-left: 100px; }
.timeline-line { position: absolute; left: 40px; top: 0; bottom: 0; width: 4px; background: #D9D9D9; }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-icon { position: absolute; left: -75px; top: 0; width: 35px; height: 35px; background: #FCB215; border-radius: 50%; z-index: 2; }
.timeline-content h3 { color: #FCB215; font-size: 1.8rem; font-style: italic; margin-bottom: 10px; }
.timeline-content p { color: #676C6D; font-size: 1.4rem; max-width: 1000px; }


/* =========================================
   7. HARDWARE SECTION
========================================= */
.hardware-section { background: #fff; padding-bottom: 100px; }
.hardware-header { background: linear-gradient(180deg, #22258D 23%, #3A9AFF 100%); padding: 80px 0 250px 0; color: white; }
.hardware-showcase { display: flex; justify-content: center; margin-top: -200px; margin-bottom: 80px; }
.main-hardware-img { width: 100%; max-width: 1000px; border-radius: 32px; box-shadow: 14px 16px 30px rgba(0, 0, 0, 0.25); }

/* Hardware List */
.hardware-list { position: relative; padding-left: 100px; margin-top: 50px; }
.hardware-line { position: absolute; left: 48px; top: 0; bottom: 0; width: 3px; background: #D9D9D9; }
.hw-item { position: relative; margin-bottom: 40px; display: flex; align-items: flex-start; }
.hw-number { position: absolute; left: -83px; width: 60px; height: 65px; background: #1C0770; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; z-index: 2; }
.hw-content h3 { font-size: 1.5rem; color: #000; margin-bottom: 5px; }
.hw-content p { color: #585D60; font-size: 1rem; line-height: 1.5; max-width: 900px; }


/* =========================================
   8. DATA RESULT & PROCESS SECTION
========================================= */
/* Result */
.result-section { background: #fff; padding-bottom: 120px; }
.result-header { background: linear-gradient(180deg, #1C0770 0%, #3A9AFF 100%); padding: 80px 0 300px 0; color: white; }
.result-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 25px; }
.result-subtitle { max-width: 900px; font-size: 1.3rem; color: #DFE3E7; line-height: 1.6; }

/* Shared Dashboard Showcase */
.dashboard-showcase { display: flex; justify-content: center; margin-top: -250px; }
.dashboard-img { width: 100%; max-width: 1100px; border-radius: 10px; box-shadow: 14px 16px 32px 4px rgba(0, 0, 0, 0.25); }
.interpretation-box { margin-top: 60px; padding: 0 40px; }
.interpretation-box p { font-size: 1.5rem; color: #585D60; line-height: 1.6; }

/* Process */
.process-section { background: #fff; padding-bottom: 120px; }
.process-header { background: linear-gradient(180deg, #1C0770 0%, #3A9AFF 100%); padding: 80px 0 300px 0; color: white; }
.process-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 25px; font-weight: 400; }
.process-subtitle { max-width: 900px; font-size: 1.3rem; color: #DFE3E7; line-height: 1.6; font-weight: 400; }


/* =========================================
   9. ARCHITECTURE SECTION
========================================= */
.architecture-section { background: linear-gradient(134deg, #1C0770 0%, #3A9AFF 100%); padding: 100px 0; color: white; min-height: 887px; display: flex; align-items: center; }
.architecture-container { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.architecture-text { flex: 1; }
.architecture-label { margin-bottom: 20px; }
.architecture-label span { font-weight: 700; font-size: 1.2rem; color: #000000; }
.architecture-label1 span { font-weight: 700; font-size: 1.2rem; color: #FFFDDF; }
.architecture-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 30px; }
.architecture-description { font-size: 1.3rem; line-height: 1.6; color: #DFE3E7; max-width: 600px; }
.architecture-diagram { flex: 1; display: flex; justify-content: flex-end; }
.architecture-diagram img { width: 100%; max-width: 614px; height: auto; border-radius: 20px; }


/* =========================================
   10. EVOLUTION SECTION
========================================= */
.evolution-section { padding: 100px 0; background: #fff; }
.evolution-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 80px; }
.evolution-title { text-align: right; font-size: 2.5rem; line-height: 1.2; }

/* Version Cards */
.version-showcase { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 80px; }
.version-card { flex: 1; text-align: center; }
.version-card.wide { flex: 2; }
.card-inner { background: linear-gradient(180deg, #1C0770 0%, #3A9AFF 100%); border-radius: 20px; padding: 20px; height: 350px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.card-inner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.version-card h3 { color: #FCB215; font-size: 1.5rem; font-weight: 700; }
.arrow-indicator { color: #FCB215; font-size: 2rem; font-weight: bold; }

.evolution-description { max-width: 1100px; margin: 0 auto; }
.evolution-description p { font-size: 1.4rem; color: #585D60; line-height: 1.6; margin-bottom: 30px; }


/* =========================================
   11. SHOWCASE SECTION
========================================= */
.showcase-section { background: linear-gradient(180deg, #3A9AFF 0%, #1C0770 100%); padding: 100px 0; color: white; }
.showcase-container { display: flex; align-items: center; gap: 60px; }
.showcase-text { flex: 1; }
.showcase-video { flex: 1; }
.showcase-title { font-size: 3.2rem; line-height: 1.1; margin-bottom: 30px; }
.showcase-description { font-size: 1.2rem; color: #D9D9D9; line-height: 1.6; margin-bottom: 40px; }
.btn-next { display: inline-flex; align-items: center; gap: 15px; background: linear-gradient(90deg, #FCB215 0%, #F1FF5E 100%); color: #1C0770; padding: 15px 40px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 1.5rem; box-shadow: 3px 13px 4px rgba(0, 0, 0, 0.25); }

/* Video Placeholder */
.video-placeholder { position: relative; border-radius: 60px; overflow: hidden; }
.video-placeholder img { width: 100%; display: block; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; background: linear-gradient(180deg, #FCB215 0%, #F1FF5E 100%); border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.play-icon { width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 30px solid #1C0770; }


/* =========================================
   12. FOOTER
========================================= */
.main-footer { background: linear-gradient(180deg, #1C0770 0%, #3A9AFF 100%); padding: 80px 0 30px; color: #FFFDDF; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; border-bottom: 1px solid rgba(255, 253, 223, 0.3); padding-bottom: 50px; }
.footer-logo { max-width: 180px; margin-bottom: 20px; }
.footer-address { font-size: 1.2rem; line-height: 1.5; max-width: 400px; }
.footer-nav h3, .footer-location h3 { font-size: 2rem; margin-bottom: 25px; font-family: 'Poppins', sans-serif; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 15px; }
.footer-nav ul li a { color: #FFFDDF; text-decoration: none; font-size: 1.3rem; }
.map-wrapper img { width: 100%; border-radius: 15px; }
.footer-bottom { text-align: center; padding-top: 30px; font-size: 1.2rem; }


/* =========================================
   13. CONSOLIDATED MEDIA QUERIES
========================================= */

/* --- TABLET & LAPTOP KECIL (Max: 992px) --- */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .hero-title { font-size: 2.5rem; }
    
    .info-container, .header-flex, .architecture-container { flex-direction: column; text-align: center; gap: 40px; }
    .section-title { font-size: 2rem; }
    .info-image img, .architecture-description { margin: 0 auto; }
    
    .header-left h1 { font-size: 1.8rem; }
    .mechanism-gallery { flex-direction: column; align-items: center; }
    
    .process-header, .result-header { padding-bottom: 200px; }
    .process-title, .result-title { font-size: 2rem; }
    .dashboard-showcase { margin-top: -150px; }
    .interpretation-box p { font-size: 1.2rem; text-align: center; }

    .architecture-label .small-bar { margin: 0 auto 10px auto; }
    .architecture-diagram { justify-content: center; margin-top: 50px; }

    .evolution-header { flex-direction: column; text-align: center; gap: 30px; }
    .evolution-title { text-align: center; }
    .version-showcase { flex-wrap: wrap; justify-content: center; gap: 40px; }
    .arrow-indicator { display: none; }
    .version-card { flex: none; width: 100%; max-width: 400px; }

    .showcase-container { flex-direction: column; text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-address, .map-wrapper { margin: 0 auto; }
    .map-wrapper { max-width: 400px; }
}

/* --- MOBILE LANDSCAPE (Max: 768px) --- */
@media (max-width: 768px) {
    .hardware-list { padding-left: 60px; }
    .hw-number { left: -65px; width: 45px; height: 45px; font-size: 18px; }
    .hardware-line { left: 28px; }
    .hw-content h3 { font-size: 1.2rem; }
}

/* --- MOBILE PORTRAIT (Max: 600px) --- */
@media (max-width: 600px) {
    header { text-align: center; }
    .nav-container { flex-direction: column; gap: 15px; }
    
    .hero { height: auto; padding: 100px 0; }
    .hero-title { font-size: 2rem; }
    
    .partner-logos { gap: 20px; }
    .partner-logos img { max-height: 40px; }

    .timeline-container { padding-left: 60px; }
    .timeline-line { left: 20px; }
    .timeline-icon { left: -53px; width: 25px; height: 25px; }
    .timeline-content h3 { font-size: 1.4rem; }
    .timeline-content p { font-size: 1.1rem; }
}