:root {
    --color-light-lime: #f9ffe4;   
    --color-teal: #4DB7C5;         
    --color-soft-green: #78C2AD;   
    --color-light-mint: #C8F5E6;   
    --color-blue: #6E9BEA;         

    --bs-primary: var(--color-soft-green);   
    --bs-secondary: #28443B;                 
    --bs-accent: var(--color-blue);          
    --bs-accent-dark: #5a7fc0;
    --bs-primary-dark: #66a593;
    --bs-info: var(--color-teal);            

    --text-dark: #2D403A;
    --text-muted: #6B7C76;
    --border-color: #DDEBE6;

    --bg-main: #FBFDFC;         
    --bg-surface: #FFFFFF;      
    --bg-layanan: #F0FCF7;      
    --bg-mint: var(--color-light-mint);   
    --bg-lime: var(--color-light-lime);   

    --radius-sm: 12px;
    --radius-md: 20px;
    --shadow-sm: 0 4px 15px rgba(40, 68, 59, 0.05);
    --shadow-md: 0 10px 30px rgba(40, 68, 59, 0.08);
}

.text-secondary-custom { color: var(--bs-secondary); }
.text-muted-custom { color: var(--text-muted); }
.text-accent-custom { color: var(--bs-accent); }
.tracking-wide { letter-spacing: 1px; }

html { scroll-behavior: smooth !important; overflow-x: hidden; }
body { font-family: "Poppins", sans-serif; color: var(--text-dark); background-color: var(--bg-main); overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { text-decoration: none !important; transition: all 0.3s ease; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.35); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(120, 194, 173, 0.18);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: all 0.3s ease-in-out;
}
.navbar-brand { color: var(--text-dark) !important; font-weight: 800; font-size: 1.4rem; }
.navbar-brand img { height: 32px; }
.nav-link { 
    color: var(--bs-secondary) !important; 
    font-weight: 600; 
    font-size: 0.9rem; 
    margin: 0 10px; 
    position: relative;
    transition: color 0.3s ease;
}
.nav-link.active { color: var(--bs-primary) !important; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    width: 25px; height: 3px; background-color: var(--bs-primary); border-radius: 5px;
}
.nav-link:hover { color: var(--bs-primary) !important; }

.btn-login { 
    background-color: var(--bs-primary); color: white; border-radius: 50px; 
    padding: 8px 24px; font-weight: 600; font-size: 0.9rem; 
    box-shadow: 0 4px 10px rgba(110, 155, 234, 0.35); transition: all 0.3s; border: none;
}
.btn-login:hover { background-color: var(--bs-accent-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(110, 155, 234, 0.45); }

/* GLOBAL */
.section-padding { padding: 60px 0; }
.section-title { font-weight: 800; color: var(--bs-secondary); margin-bottom: 10px; font-size: 2.2rem; }
.section-subtitle { font-size: 0.95rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px auto; }
.bg-mint { background-color: var(--bg-mint); }
.bg-lime { background-color: var(--bg-lime); }
.bg-layanan { background-color: var(--bg-layanan); }
.badge-cloud { background: rgba(77, 183, 197, 0.12); color: var(--bs-secondary); border: 1px solid var(--bs-info); }

/* HERO SECTION & GRADIENT DARI KANAN BAWAH */
.hero-section { 
    padding-top: 120px; 
    padding-bottom: 80px; 
    background: linear-gradient(to top left, rgba(120, 194, 173, 0.25) 0%, var(--bg-main) 70%); 
    overflow: hidden; 
}
.hero-title { font-size: 3rem; font-weight: 800; color: var(--bs-secondary); line-height: 1.1; margin-bottom: 20px; }
.hero-title span { color: var(--bs-primary); }
.hero-image-wrapper { position: relative; width: 100%; height: 360px; }
.img-dashboard { position: absolute; z-index: 2; width: 85%; bottom: 0; left: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 2px solid white; }
.img-hospital { position: absolute; z-index: 1; width: 70%; top: 0; right: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); opacity: 0.8; }

/* SAAS FEATURES GRID */
.saas-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 50px; margin-bottom: 0; position: relative; z-index: 10; }
.saas-feature-card { background: white; padding: 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); display: flex; align-items: flex-start; gap: 15px; transition: transform 0.3s; }
.saas-feature-card:hover { transform: translateY(-5px); border-color: var(--bs-primary); }
.saas-feature-card i { font-size: 1.8rem; transition: transform 0.3s ease; }
.saas-feature-card:nth-child(1) i { color: var(--color-blue); } 
.saas-feature-card:nth-child(2) i { color: #F5B041; } 
.saas-feature-card:nth-child(3) i { color: var(--color-soft-green); } 
.saas-feature-card:nth-child(4) i { color: var(--color-teal); } 
.saas-feature-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; color: var(--bs-secondary); }
.saas-feature-card p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

/* MODULAR GRID */
.modular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.module-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 25px; transition: transform 0.3s ease; height: 100%; box-shadow: var(--shadow-sm); }
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.module-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 15px; color: white; background: var(--bs-primary); }
.module-features li { font-size: 0.85rem; margin-bottom: 8px; display: flex; align-items: center; }
.module-features li i { color: var(--bs-primary); margin-right: 8px; }
.modular-grid .module-card:nth-child(1) .module-icon { background: var(--color-soft-green); }
.modular-grid .module-card:nth-child(2) .module-icon { background: var(--color-blue); }
.modular-grid .module-card:nth-child(3) .module-icon { background: #F5B041; }

/* PRICING & LAYANAN */
.pricing-category-title { font-size: 1.25rem; font-weight: 800; color: var(--bs-secondary); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pricing-category-title i { color: var(--bs-primary); }
.pricing-category-title i.fa-pills { color: var(--color-teal); }
.pricing-category-title i.fa-microscope { color: var(--color-blue); }
.pricing-category-title i.fa-hospital { color: #F5B041; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; max-width: 820px; margin: 0 auto; align-items: center; }
.custom-card { background: #ffffff; border: 1px solid var(--border-color); border-radius: 24px; box-shadow: 0 10px 30px rgba(45, 64, 58, 0.04); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: 100%; padding: 35px 25px; position: relative; overflow: hidden; }
.custom-card::before { content: ""; position: absolute; width: 150px; height: 150px; background: #feffec; border-radius: 50%; top: -50px; right: -50px; opacity: 0.8; z-index: 0; }
.custom-card > * { position: relative; z-index: 1; }
.custom-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(120, 194, 173, 0.15); }
.custom-card.card-featured { background: linear-gradient(145deg, #ffffff 0%, #F5F8FF 100%); border: 2px solid var(--bs-accent); box-shadow: 0 15px 40px rgba(79, 111, 224, 0.15); }
.custom-card.card-featured::before { background: var(--bs-accent); opacity: 0.08; }

@media (min-width: 992px) {
    .custom-card.card-featured { transform: scale(1.05); z-index: 2; }
    .custom-card.card-featured:hover { transform: scale(1.05) translateY(-8px); box-shadow: 0 25px 50px rgba(79, 111, 224, 0.25); }
}

.ribbon { position: absolute; top: 20px; right: -32px; background: var(--bs-accent); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 5px 38px; transform: rotate(45deg); box-shadow: 0 4px 10px rgba(79, 111, 224, 0.3); z-index: 2; }
.price-nominal { font-size: 2rem; font-weight: 800; color: var(--bs-secondary); margin: 8px 0; }
.price-nominal span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.feature-list li { font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.feature-list li i { color: var(--bs-primary); }
.card-featured .feature-list li i { color: var(--bs-accent); }

.btn-outline-basic { border: 1px solid var(--border-color); color: var(--text-muted); background: transparent; border-radius: 10px; font-weight: 600; padding: 10px; font-size: 0.85rem; transition: all 0.3s ease; }
.btn-outline-basic:hover { background: #feffec; color: var(--text-dark); border-color: #feffec; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(200, 210, 180, 0.4); }
.btn-hero-accent { background: var(--bs-accent); color: #fff; border: none; border-radius: 10px; font-weight: 600; padding: 10px; font-size: 0.85rem; box-shadow: 0 6px 15px rgba(79, 111, 224, 0.3); transition: all 0.3s; }
.btn-hero-accent:hover { background: var(--bs-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(79, 111, 224, 0.35); }
.btn-hero-accent.disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* FAQ */
.accordion .card { border: 1px solid var(--border-color); border-radius: 10px !important; margin-bottom: 10px; box-shadow: none; }
.accordion .card-header { background: white; border-bottom: none; padding: 0; border-radius: 10px !important; }
.accordion .btn-link { color: var(--bs-secondary); font-weight: 600; text-align: left; width: 100%; padding: 15px 20px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; box-shadow: none !important; outline: none !important; }
.accordion .btn-link:hover, .accordion .btn-link:focus, .accordion .btn-link:active { color: var(--bs-primary); }
.accordion .collapse, .accordion .collapsing { border-top: none; margin-top: 0; }
.accordion .btn-link i { transition: transform 0.3s; color: var(--bs-primary); }
.accordion .btn-link[aria-expanded="true"] i { transform: rotate(180deg); }
.accordion .card-body { color: var(--text-muted); padding: 0 20px 20px 20px; font-size: 0.9rem; }

/* TESTIMONIAL */
.testi-track { display: flex; width: max-content; gap: 15px; animation: scrollTesti 40s linear infinite; padding: 10px 0; }
.testi-track:hover { animation-play-state: paused; }
.testi-card { background: white; border: 1px solid var(--border-color); padding: 24px; width: 300px; border-radius: var(--radius-sm); font-size: 0.85rem; box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.testi-card:hover { border-color: var(--bs-info); box-shadow: 0 12px 25px rgba(77, 183, 197, 0.15); transform: translateY(-5px); }
.testi-card i.fa-star, .testi-card i.fa-star-half-alt { color: #ffb020; font-size: 0.8rem; margin-right: 2px; }
@keyframes scrollTesti { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ABOUT */
.bg-about { background: linear-gradient(160deg, #ffffff 0%, var(--bg-lime) 100%); position: relative; overflow: hidden; }
.bg-about::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(110,155,234,0.14) 0%, rgba(110,155,234,0) 70%); top: -100px; right: -100px; z-index: 0; }
.about-eyebrow { color: var(--bs-info); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: inline-block; }
#aboutCarousel { max-width: 280px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(43, 68, 58, 0.15), 0 0 0 6px white; border: none; margin: 0 auto; position: relative; z-index: 1; }
#aboutCarousel .carousel-item img { filter: saturate(1.02); }
#aboutCarousel .carousel-indicators li { background-color: var(--bs-accent); opacity: 0.5; width: 8px; height: 8px; border-radius: 50%; }
#aboutCarousel .carousel-indicators li.active { opacity: 1; }
.about-team-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.creator-badge { background: white; color: var(--bs-secondary); border: 1px solid var(--border-color); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.creator-badge i { color: var(--bs-accent); font-size: 0.7rem; }
.creator-badge:hover { border-color: var(--bs-accent); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(110,155,234,0.2); }

/* KONTAK */
.contact-icon-box { width: 45px; height: 45px; background: var(--color-teal); color: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; box-shadow: 0 4px 10px rgba(120, 194, 173, 0.3); }
.form-container { background: white; padding: 30px; border-radius: 16px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--color-teal); }
.form-control-custom { background: #f9fbfb; border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; margin-bottom: 12px; color: var(--text-dark); font-weight: 500; font-size: 0.85rem; }
.form-control-custom:focus { background: white; border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(120, 194, 173, 0.25); outline: none; }
.btn-hero { background: var(--color-teal); color: white; padding: 10px 24px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; border: none; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(120, 194, 173, 0.3); }
.btn-hero:hover { background: var(--bs-primary-dark); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(120, 194, 173, 0.4); }

/* FOOTER */
footer { background: var(--bs-secondary); color: white; padding: 25px 0; font-size: 0.85rem; }
.footer-logo { height: 15px; }

/* RESPONSIVE & MOBILE */
@media (max-width: 991px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .custom-card.card-featured { transform: none; }
    .custom-card.card-featured:hover { transform: translateY(-8px); }
    .hero-image-wrapper { height: 260px; margin-top: 30px; }
    .navbar-collapse { 
        background: white; 
        padding: 15px; 
        border-radius: 8px; 
        box-shadow: var(--shadow-md); 
        position: absolute; 
        top: 65px; 
        left: 10px; 
        right: 10px; 
        z-index: 1000; 
    }
}

@media (max-width: 575px) {
    .section-padding { padding: 40px 0; }
    .hero-section { padding-top: 100px; padding-bottom: 30px; }
    .hero-title { font-size: 2rem; margin-bottom: 15px; }
    .section-title { font-size: 1.8rem; }
    .hero-image-wrapper { height: 200px; }
    .custom-card::before { width: 100px; height: 100px; top: -30px; right: -30px; }
}