/* =========================================
   GLOBAL STYLES & VARIABLES
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --dark-blue: #2c3e50;
    --light-bg: #f8f9fa;
    --text-color: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Background Utility */
.bg-light-gradient {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.ls-1 { letter-spacing: 1px; }

/* =========================================
   NAVBAR SECTION
========================================== */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--dark-green) !important;
}

/* =========================================
   HERO SECTION
========================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

/* Animation: Floating Effect */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-anim {
    animation: float 5s ease-in-out infinite;
}

/* =========================================
   FEATURES & CARDS
========================================== */
.feature-card {
    transition: all 0.4s ease;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.15) !important;
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   INNOVATION HEADER (Parallax Style)
========================================== */
.innovation-header {
    /* Ganti URL gambar background dengan gambar sirkuit/tech */
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.9)), url('../asset/pattern.png');
    background-size: cover;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   TECH SPECS & DETAILS
========================================== */
.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Table Styling */
.table thead th {
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================
   ROADMAP / TIMELINE
========================================== */
/* Wrapper Utama Timeline */
.timeline-wrapper {
    position: relative;
    padding-left: 20px; /* Memberi ruang agar titik tidak terpotong di kiri */
}

/* 1. Membuat Garis Vertikal (The Line) */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 29px; /* POSISI GARIS: Diatur agar pas tengah titik */
    width: 2px; /* Ketebalan garis */
    background: #e9ecef; /* Warna garis abu muda */
    z-index: 0;
}

/* 2. Item Timeline (Kontainer per tahun) */
.timeline-item {
    position: relative;
    margin-bottom: 50px; /* Jarak antar item ke bawah */
    padding-left: 60px; /* Jarak teks dari kiri (agar tidak menabrak titik) */
}

/* Hapus margin bawah untuk item terakhir */
.timeline-item:last-child {
    margin-bottom: 0;
}

/* 3. Titik Bullet (The Dot) */
.timeline-dot {
    position: absolute;
    left: 0; /* Tempel di kiri wrapper */
    top: 0;  /* Sejajar dengan baris pertama teks */
    
    width: 20px;  /* Lebar titik */
    height: 20px; /* Tinggi titik */
    border-radius: 50%; /* Membuat lingkaran */
    
    /* Agar garis terlihat 'menembus' atau 'di belakang' titik */
    background-color: #fff; 
    border-width: 4px; /* Ketebalan warna ring */
    border-style: solid;
    z-index: 1; /* Di atas garis */
    
    /* Shadow halus agar timbul */
    box-shadow: 0 0 0 4px #fff; /* Outline putih tambahan supaya rapi */
}

/* Variasi Warna Titik */
.dot-success { border-color: #2ecc71; background: #2ecc71; }
.dot-primary { border-color: #0d6efd; background: #0d6efd; }
.dot-warning { border-color: #ffc107; background: #ffc107; }
.dot-dark    { border-color: #212529; background: #212529; }

.roadmap-img-container {
    max-width: 80%; /* Membatasi lebar gambar hanya 80% dari kolom */
    margin: 0 auto; /* Posisi tengah horizontal */
}

/* Pastikan blob background mengikuti ukuran container yang mengecil */
.roadmap-img-container .blob-bg {
    width: 120%; /* Sedikit lebih lebar dari gambar untuk efek background */
    left: -10%;  /* Geser sedikit ke kiri agar seimbang */
}


/* =========================================
   BMC (BUSINESS MODEL CANVAS) - GRID LAYOUT
========================================== */
.bmc-grid {
    display: grid;
    gap: 20px;
    /* Grid 5 Kolom */
    grid-template-columns: repeat(5, 1fr);
    /* Baris menyesuaikan konten */
    grid-template-areas: 
        "kp ka vp cr cs"
        "kp kr vp ch cs"
        "cst cst cst rs rs";
}

.bmc-box {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.bmc-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    z-index: 2;
}

.bmc-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
    color: #6c757d;
}

.bmc-list {
    padding-left: 0;
    list-style: none;
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0;
}

.bmc-list li {
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.bmc-list li::before {
    content: "•";
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- BMC Area Colors (Borders) --- */
.kp { grid-area: kp; border-top: 4px solid #e74c3c; } 
.ka { grid-area: ka; border-top: 4px solid #3498db; } 
.kr { grid-area: kr; border-top: 4px solid #3498db; }
.cr { grid-area: cr; border-top: 4px solid #f1c40f; } 
.ch { grid-area: ch; border-top: 4px solid #f1c40f; } 
.cs { grid-area: cs; border-top: 4px solid #9b59b6; }
.cst { grid-area: cst; border-top: 4px solid #e67e22; background: #fffcf5; } 
.rs { grid-area: rs; border-top: 4px solid #27ae60; background: #f0fff4; }

/* --- SPECIAL: VALUE PROPOSITION (VP) --- */
.vp {
    grid-area: vp;
    /* Gradient Green Background */
    background: linear-gradient(135deg, #42d392 0%, #27ae60 100%);
    border: none;
    color: white;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
    transform: scale(1.03); /* Sedikit lebih besar */
    z-index: 5;
}

.vp:hover {
    transform: scale(1.05);
}

.vp .bmc-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.vp .bmc-list {
    color: #e8f5e9;
}

.vp .bmc-list li::before {
    content: "★"; /* Bintang bukan titik */
    color: #f1c40f; /* Kuning Emas */
}

/* Horizontal List (Cost & Revenue) */
.horizontal-list li {
    display: inline-block;
    width: auto;
    margin-right: 15px;
    padding-left: 0;
    font-weight: 600;
}
.horizontal-list li::before { display: none; }

/* Responsive BMC Mobile */
@media (max-width: 991px) {
    .bmc-grid {
        display: block;
    }
    .bmc-box {
        margin-bottom: 20px;
    }
}
/* --- Styling Section Hasil & Luaran --- */

/* Hover effect untuk kartu statistik (Angka Besar) */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Background Blob Sederhana untuk Gambar Produk */
.blob-bg-simple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    z-index: 0;
}

/* Penyesuaian Responsif untuk Teks Panjang di Card Legalitas */
@media (max-width: 768px) {
    .text-break {
        word-break: break-all; /* Agar nomor HKI panjang tidak merusak layout di HP */
    }
}
/* --- Styling Khusus Ecosystem (App & Web) --- */

/* Efek Gambar Melayang (Floating Thumbnails) */
.app-float-img {
    transition: all 0.3s ease;
    opacity: 0.9;
}

/* Efek saat mouse diarahkan ke gambar kecil */
.hover-scale:hover, 
.hover-lift:hover {
    transform: scale(1.05); /* Membesar sedikit */
    opacity: 1;
    z-index: 10; /* Naik ke paling atas */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    cursor: pointer;
}

/* Feature Item di bagian App */
.feature-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    height: 100%;
    transition: background-color 0.3s;
}

.feature-item:hover {
    background-color: #e8f5e9; /* Hijau sangat muda saat hover */
}

/* List Group di bagian Web */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item:last-child {
    border-bottom: none;
}