:root {
  --dark: #0f172a;        
  --primary: #0ea5e9;        
  --primary-dark: #0284c7;
  --green-custom: #10b981; 
  --soft: #f8fafc;        
  --bg-section-alt: #f1f5f9;
  --text: #475569;
  --footer-bg: #020617;
  --card-border: #e2e8f0;
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 40px -5px rgba(0,0,0,0.12);
}

/* ================= RESET & BASIC ================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; 
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--soft);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

section {
  padding: 100px 0; 
  position: relative;
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ================= NAVBAR ================= */
.navbar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 25px;
  transition: 0.3s;
  position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 16px;
    padding: 12px;
    margin-top: 20px;
    animation: slideUp 0.3s ease forwards;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-item {
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: 0.2s;
}
.dropdown-item:hover {
    background-color: #f0f9ff;
    color: var(--primary);
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .nav-link { margin-left: 0; margin-bottom: 12px; }
    .navbar-collapse {
        background: #fff;
        padding: 25px;
        border-radius: 20px;
        box-shadow: var(--shadow-hover);
        margin-top: 15px;
        border: 1px solid var(--card-border);
    }
    .btn-nav { width: 100%; text-align: center; margin-top: 10px; }
    .logo-img { height: 45px; } 
}

.nav-item:not(.dropdown) .nav-link::after {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
    position: absolute; bottom: -2px; left: 0;
}
.nav-item:not(.dropdown) .nav-link:hover::after { width: 60%; }
.nav-link:hover { color: var(--primary) !important; }

.btn-nav {
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35); }

/* ================= HERO SECTION ================= */
.hero-section {
    background: radial-gradient(circle at 80% 20%, #1e293b, #0f172a 50%, #020617);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding-top: 160px; 
    padding-bottom: 140px;
    overflow: hidden;
}

.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.08; pointer-events: none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 28px; color: #cbd5e1;
    backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--green-custom); }

.hero-title {
    font-size: 3.8rem; line-height: 1.15; font-weight: 800; margin-bottom: 24px;
    letter-spacing: -1.5px;
    background: linear-gradient(to right, #ffffff 30%, #94a3b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- NEW DYNAMIC TEXT STYLES --- */
.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 45px;
    line-height: 1.4;
    min-height: 3.5rem; /* Menjaga layout tetap stabil */
}

.dynamic-text {
    color: var(--green-custom);
    font-weight: 800;
    position: relative;
}

/* Efek Kursor Kedip */
.dynamic-text::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--green-custom);
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* ------------------------------- */

.btn-hero-green {
    background-color: var(--green-custom); color: #fff;
    padding: 16px 36px; border-radius: 50px; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s; border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}
.btn-hero-green:hover { background-color: #059669; transform: translateY(-3px); box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4); color: #fff; }

.btn-hero-text {
    color: #fff; font-weight: 600; text-decoration: none; padding: 10px 24px; transition: 0.3s;
    display: inline-block;
}
.btn-hero-text:hover { color: var(--primary); padding-left: 30px; }

.hero-img-wrap {
    position: relative; z-index: 2;
    animation: floating 6s ease-in-out infinite;
    border-radius: 24px; overflow: hidden; 
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border: 6px solid rgba(255,255,255,0.08);
    background: #000;
}

.hero-carousel-img { width: 100%; object-fit: cover; display: block; height: 480px; filter: brightness(0.9); }

@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { min-height: auto; padding-top: 140px; padding-bottom: 100px; text-align: center; }
    .hero-img-wrap { margin-top: 60px; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .hero-carousel-img { height: 280px; } 
    .btn-hero-green { width: 100%; justify-content: center; margin-bottom: 15px; }
    .btn-hero-text { width: 100%; text-align: center; }
}

.custom-carousel-btn {
    width: 50px; height: 50px;
    background: rgba(0,0,0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%; transform: translateY(-50%);
    opacity: 1; margin: 0 15px; transition: 0.3s;
}
.custom-carousel-btn:hover { background: var(--primary); border-color: var(--primary); }

@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ================= FEATURE BAR ================= */
.feature-wrapper { margin-top: -90px; position: relative; z-index: 10; padding-bottom: 60px; }
.feature-bar {
    background: #fff; border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    padding: 40px; display: flex; flex-wrap: wrap;
    border: 1px solid rgba(0,0,0,0.04);
}
.feature-item { display: flex; align-items: flex-start; gap: 20px; padding: 10px 25px; border-right: 1px solid #f1f5f9; }
.feature-item:last-child { border-right: none; }

@media (max-width: 991px) {
    .feature-wrapper { margin-top: -50px; }
    .feature-item { width: 50%; border-right: none; margin-bottom: 30px; }
}
@media (max-width: 576px) {
    .feature-wrapper { margin-top: 0; padding-top: 0; }
    .feature-bar { padding: 30px; flex-direction: column; }
    .feature-item { width: 100%; margin-bottom: 25px; border-bottom: 1px solid #f1f5f9; padding-bottom: 25px; padding-left: 0; padding-right: 0;}
    .feature-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}

.f-icon {
    width: 54px; height: 54px; background: #ecfdf5; color: var(--green-custom);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0; transition: 0.3s;
}
.feature-item:hover .f-icon { background: var(--green-custom); color: #fff; transform: rotate(10deg); }
.f-content h6 { margin: 0 0 6px 0; color: var(--dark); font-weight: 700; font-size: 1rem; }
.f-content p { margin: 0; font-size: 0.85rem; color: #64748b; line-height: 1.5; }

/* ================= GENERAL SECTIONS ================= */
.section-title { text-align: center; margin-bottom: 60px; }
.label-text { 
    color: var(--primary); font-weight: 800; font-size: 0.75rem; 
    letter-spacing: 1.5px; text-transform: uppercase; 
    display: inline-block; margin-bottom: 15px;
    padding: 8px 18px; background-color: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2); border-radius: 50px;
}
.heading-text { font-size: 2.75rem; color: var(--dark); font-weight: 800; letter-spacing: -1px; }
@media(max-width: 576px) { .heading-text { font-size: 2rem; } }

.img-frame {
    border-radius: 30px; overflow: hidden; position: relative;
    box-shadow: 20px 20px 0 rgba(14, 165, 233, 0.1);
}
@media(max-width: 768px) { .img-frame { box-shadow: 10px 10px 0 rgba(14, 165, 233, 0.1); } }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s ease; }
.img-frame:hover img { transform: scale(1.05); }

/* ================= PEST LIBRARY TABS ================= */
.nav-pills-custom {
    justify-content: center; border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px; padding-bottom: 0; flex-wrap: nowrap; overflow-x: auto; gap: 10px;
}
.nav-pills-custom::-webkit-scrollbar { display: none; }
@media(max-width: 768px) { .nav-pills-custom { justify-content: flex-start; padding-bottom: 10px; } }

.nav-pills-custom .nav-link {
    background: transparent; border: none; color: #64748b;
    font-weight: 600; padding: 14px 30px; border-bottom: 3px solid transparent;
    border-radius: 0; white-space: nowrap; transition: 0.3s; font-size: 1rem;
}
.nav-pills-custom .nav-link.active, .nav-pills-custom .nav-link:hover {
    color: var(--primary); border-bottom-color: var(--primary); background: transparent;
}
.tab-pane-content {
    background: #fff; border-radius: 30px; padding: 50px;
    border: 1px solid var(--card-border); box-shadow: var(--shadow-soft);
}
@media(max-width: 768px) { .tab-pane-content { padding: 30px; } }


/* ================= PRICING PREMIUM COMPACT ================= */
.pricing-premium-wrap {
    background: radial-gradient(circle at 20% 80%, #1e293b, #0f172a 100%);
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    color: #fff;
}

.pricing-premium-wrap .heading-text { color: #fff; font-size: 2.2rem; }
.pricing-premium-wrap .label-text { margin-bottom: 10px; }

/* -- Toggle Removed -- */

/* Compact Card */
.card-modern {
    background: #fff; border-radius: 20px;
    padding: 0; position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%; display: flex; flex-direction: column;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.card-modern:hover { transform: translateY(-5px); }

/* Featured Card (Middle) */
.card-featured {
    transform: scale(1.03);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 10;
}
.card-featured:hover { transform: scale(1.03) translateY(-5px); }

@media(max-width: 991px) {
    .card-featured { transform: scale(1); margin: 20px 0; }
    .card-featured:hover { transform: translateY(-5px); }
}

.card-header-mod {
    padding: 25px 20px 15px;
    text-align: center; border-bottom: 1px solid #f1f5f9; background: #fff;
}
.card-header-mod h4 { color: var(--dark); font-weight: 800; font-size: 1.25rem; margin-bottom: 3px; }
.card-header-mod .subtitle { font-size: 0.85rem; color: #64748b; font-weight: 500; }

.card-body-mod {
    padding: 25px 20px;
    text-align: center; flex-grow: 1; display: flex; flex-direction: column;
}

.price-box {
    margin-bottom: 20px;
    height: 90px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.big-price {
    font-size: 2.8rem;
    font-weight: 800; color: var(--dark);
    line-height: 1; letter-spacing: -1.5px;
}
.currency { font-size: 1.2rem; vertical-align: top; margin-right: 4px; color: #94a3b8; font-weight: 600; }
.unit { font-size: 1rem; color: var(--text); font-weight: 700; margin-left: 4px; }
.start-from {
    display: block; font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--primary); font-weight: 700; margin-bottom: 4px;
}

.feat-list {
    list-style: none; padding: 0; margin: 0 0 25px 0;
    text-align: center; color: #475569; font-size: 0.9rem;
}
.feat-list li { margin-bottom: 8px; }

.btn-price-mod {
    margin-top: auto; width: 100%; padding: 12px;
    border-radius: 10px; font-weight: 700; font-size: 0.9rem;
    text-decoration: none; transition: 0.3s;
    display: flex; justify-content: center; align-items: center; gap: 6px;
}
.btn-outline-mod { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn-outline-mod:hover { background: var(--dark); color: #fff; }
.btn-fill-mod {
    background: var(--primary); border: 2px solid var(--primary); color: #fff;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}
.btn-fill-mod:hover {
    background: var(--primary-dark); border-color: var(--primary-dark);
    transform: translateY(-2px); box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

/* Contact Placeholder Style in Price - Icons Bigger */
.contact-placeholder i { font-size: 3rem; margin-bottom: 5px; display: block; color: var(--primary); }
.contact-placeholder span { font-weight: 700; font-size: 1.1rem; color: var(--dark); }

/* Animasi Price Change (Still used if needed, but no toggle now) */
.pop-in { animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }


/* ================= PRODUCTS CARD ================= */
.product-slider-wrapper { position: relative; padding: 20px 0; }
.product-scroll {
    display: flex; gap: 30px; overflow-x: auto;
    padding: 20px 10px 50px 10px; 
    scroll-behavior: smooth; 
    scrollbar-width: none; scroll-snap-type: x mandatory; 
}
.product-scroll::-webkit-scrollbar { display: none; }
.slider-nav button { width: 45px; height: 45px; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.slider-nav button:hover { transform: scale(1.1); }
@media(max-width: 768px) { .slider-nav { display: none; } }

.prod-card {
    min-width: 300px; max-width: 300px;
    background: #fff; border-radius: 24px;
    border: 1px solid #f1f5f9; position: relative;
    transition: all 0.4s ease; display: flex; flex-direction: column;
    scroll-snap-align: start; box-shadow: var(--shadow-soft);
}
.prod-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: rgba(14, 165, 233, 0.3); }
.prod-img { height: 180px; width: 100%; background: #f1f5f9; border-radius: 24px 24px 0 0; overflow: hidden; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.prod-card:hover .prod-img img { transform: scale(1.1); }
.prod-icon {
    width: 64px; height: 64px; background: var(--primary);
    border: 5px solid #fff; border-radius: 50%;
    position: absolute; top: 148px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; z-index: 5; box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.prod-icon img { width: 50%; height: auto; object-fit: contain; }
.prod-body { padding: 50px 25px 30px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.prod-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.prod-desc { font-size: 0.9rem; color: #64748b; margin-bottom: 25px; line-height: 1.6; }
.prod-link { 
    margin-top: auto; color: var(--primary); font-weight: 700; 
    text-decoration: none; font-size: 0.9rem; 
    display: inline-flex; align-items: center; gap: 5px; transition: 0.3s; align-self: center;
}
.prod-link:hover { color: var(--primary-dark); gap: 10px; }


/* ================= MARKETPLACE UPDATED ================= */
.marketplace-wrapper { margin-top: 40px; padding-top: 40px; border-top: 1px solid #e2e8f0; text-align: center; }

.btn-marketplace-img {
    display: inline-block; transition: all 0.3s;
    border-radius: 12px; padding: 12px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: none;
}
.btn-marketplace-img:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

/* GAMBAR ORIGINAL (Tanpa Filter Putih) */
.btn-marketplace-img img { 
    height: 40px; width: auto; display: block; object-fit: contain; 
}

/* BACKGROUND TETAP SESUAI BRAND */
.btn-shopee { background-color: #ee4d2d !important; }
.btn-tokopedia { background-color: #03ac0e !important; }


/* ================= NEW WHY US CARD ================= */
.why-card-photo {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid #f1f5f9; transition: all 0.4s ease;
  height: 100%; box-shadow: var(--shadow-soft);
}
.why-card-photo:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-hover);
  border-color: rgba(14, 165, 233, 0.3);
}
.why-img-top { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s; }
.why-card-photo:hover .why-img-top { transform: scale(1.05); }
.why-body { padding: 30px 25px; text-align: center; }
.why-body h5 { color: var(--dark); font-weight: 700; margin-bottom: 12px; font-size: 1.15rem; }
.why-body p { font-size: 0.9rem; color: #64748b; margin: 0; line-height: 1.6; }

/* ================= SECTOR CARD COMPACT ================= */
.sector-card-compact {
    background: #fff; padding: 25px; 
    border-radius: 16px; border: 1px solid #e2e8f0;
    display: flex; align-items: flex-start; gap: 20px;
    transition: all 0.3s ease; height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.sector-card-compact:hover {
    border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.sector-icon-compact {
    flex-shrink: 0; width: 56px; height: 56px; 
    background: #f0f9ff; color: var(--primary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: 0.3s;
}
.sector-card-compact:hover .sector-icon-compact { background: var(--primary); color: #fff; }
.sector-content h5 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 6px 0; }
.sector-content p { font-size: 0.9rem; color: #64748b; margin: 0; line-height: 1.5; }

/* ================= FOOTER ================= */
.main-footer { background: var(--footer-bg); color: #94a3b8; padding: 80px 0 40px; font-size: 0.95rem; }
.footer-title { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 25px; letter-spacing: -0.5px; }
.footer-list li { margin-bottom: 14px; display: flex; align-items: flex-start; gap: 12px; }
.footer-list i { color: var(--primary); margin-top: 3px; }
.footer-link a { color: #94a3b8; text-decoration: none; transition: 0.3s; display: inline-block; }
.footer-link a:hover { color: var(--primary); transform: translateX(5px); }
.social-link { text-decoration: none !important; color: #cbd5e1; transition: 0.3s; }
.social-link:hover { color: var(--primary); }
.newsletter-input { 
    width: 100%; padding: 14px 20px; background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; margin-bottom: 10px; 
}
.newsletter-input:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.1); }
.newsletter-btn { width: 100%; padding: 14px; background: var(--primary); color: #fff; font-weight: 600; border: none; border-radius: 10px; transition: 0.3s; }
.newsletter-btn:hover { background: var(--primary-dark); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4); }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }
@media(max-width: 768px) { .copyright { flex-direction: column; text-align: center; gap: 20px; } }

/* Utils & Anim */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; } .delay-200 { transition-delay: 0.2s; }