@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========================================= */
/* --- 1. RESET & VARIABLES --- */
/* ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

:root {
    --primary: #005F02; --hover: #0A8A0D; --dark-green: #004401;
    --light-green: #DFF5E0; --bg-color: #EAEFF2; --text-dark: #013601;
    --text-gray: #6B7280; --white: #FFFFFF;
}

html, body { overflow-x: hidden; width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { background: var(--bg-color); color: var(--text-dark); }

/* Bungkus konten utama (Margin auto agar rata tengah di monitor besar) */
.main-wrapper { max-width: 1200px; margin: 0 auto; padding: 30px 20px; display: flex; flex-direction: column; gap: 30px; overflow-x: hidden; }

/* ========================================= */
/* --- 2. NAVBAR (KEMBALI FLOATING & ELEGAN) --- */
/* ========================================= */
.navbar { 
    background: linear-gradient(to right, var(--primary), #9CCC14); 
    color: var(--white); 
    padding: 18px 40px; 
    border-radius: 20px; 
    display: flex; justify-content: space-between; align-items: center; 
    position: sticky; top: 15px; 
    z-index: 1000; box-shadow: 0 10px 30px rgba(0, 95, 2, 0.3); 
    backdrop-filter: blur(10px);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-desktop { height: 40px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.logo-mobile { height: 35px; width: auto; object-fit: contain; display: none; transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }

.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.95); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; display: flex; align-items: center; }
.nav-links a:hover { color: #ffffff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
.nav-links i { font-size: 0.7rem; margin-left: 5px; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--white); }

.btn-nav { background: transparent; border: 2px solid var(--white); color: var(--white); padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: all 0.3s; display: flex; align-items: center; justify-content: center;}
.btn-nav:hover { background: var(--white); color: var(--primary); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: var(--white); border: none; padding: 15px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-primary:hover { background: var(--hover); box-shadow: 0 5px 15px rgba(0,95,2,0.3); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1px solid #cbd5e1; padding: 12px 25px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-outline:hover { background: #f1f5f9; transform: translateY(-2px); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); box-shadow: 0 5px 15px rgba(0,95,2,0.3); transform: translateY(-2px); }

/* ========================================= */
/* --- 3. HERO & COUNTER --- */
/* ========================================= */
.hero-box { position: relative; height: 550px; border-radius: 30px; overflow: hidden; display: flex; align-items: flex-end; padding: 50px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; color: var(--white); }
.hero-text-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-text-split h1 { font-size: 3rem; line-height: 1.1; font-weight: 800; flex: 1; }
.hero-sub { flex: 0.8; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-sub p { color: #e2e8f0; font-size: 1rem; line-height: 1.6; }

.counter-box { background: var(--white); border-radius: 30px; display: flex; justify-content: space-around; padding: 40px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.counter-box h2 { font-size: 2.8rem; color: var(--text-dark); }
.counter-box .plus { color: var(--primary); }
.counter-box p { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; margin-top: 5px; }

/* ========================================= */
/* --- 4. ABOUT SECTION --- */
/* ========================================= */
.about-box { background: var(--white); border-radius: 30px; padding: 60px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.label { color: var(--primary); font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 15px; display: block; text-transform: uppercase; }
.about-top { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; margin-bottom: 30px; }
.about-right-text h2 { font-size: 2.3rem; line-height: 1.2; color: var(--text-dark); margin-bottom: 25px; }
.about-right-text h2 span { color: var(--primary); }
.about-desc-split { display: flex; gap: 40px; align-items: center; }
.about-desc-split p { flex: 1; color: var(--text-gray); line-height: 1.6; }

.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.feature-card { background: var(--bg-color); border: 1px solid #e2e8f0; border-radius: 24px; overflow: hidden; text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.feature-img-wrapper { width: 100%; height: 220px; background: #e2e8f0; overflow: hidden; }
.feature-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-card:hover .feature-img-wrapper img { transform: scale(1.1); }
.feature-text { padding: 30px 20px; background: var(--white); }
.feature-text h3 { color: var(--text-dark); font-size: 1.3rem; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.feature-text h3 i { color: var(--primary); }
.feature-text p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* ========================================= */
/* --- 5. SERVICES & LOGOS SECTION --- */
/* ========================================= */
.services-box { background: var(--white); border-radius: 30px; padding: 60px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.services-box h2 { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }

.service-logos { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; width: 100%; }
.logo-item { position: relative; width: 240px; height: 85px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.05); display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; background: #e2e8f0; transform: translateZ(0); }
.logo-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.logo-inner { position: absolute; inset: 2px; background: var(--white); border-radius: 14px; display: flex; justify-content: center; align-items: center; z-index: 2; }
.logo-inner img { width: 85%; height: 100%; object-fit: contain; }

.logo-item::before { content: ''; position: absolute; top: 50%; left: 50%; width: 1000px; height: 1000px; z-index: 1; will-change: transform; animation: rotateLight 4s linear infinite; }
.homeline-glow::before { background: conic-gradient(from 0deg, transparent 0%, transparent 30%, rgba(156, 204, 20, 0.8) 80%, #005F02 100%); }
.bizline-glow::before { background: conic-gradient(from 0deg, transparent 0%, transparent 30%, rgba(0, 210, 255, 0.8) 80%, #01295c 100%); }
@keyframes rotateLight { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* --- PRICING TOGGLE FIX ANTI KEPOTONG --- */
.pricing-toggle-container { display: flex; justify-content: center; margin-bottom: 35px; width: 100%; padding-top: 15px; }
.pricing-toggle { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; background: #e2e8f0; padding: 10px; border-radius: 50px; position: relative; }
.toggle-btn { background: transparent; border: none; padding: 12px 24px; border-radius: 50px; font-weight: 700; color: var(--text-gray); cursor: pointer; transition: all 0.3s; position: relative; font-size: 0.95rem; outline: none; }
.toggle-btn.active { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(0, 95, 2, 0.3); transform: scale(1.02); }
.badge { background: #ff9800; color: #fff; font-size: 0.65rem; padding: 4px 10px; border-radius: 12px; position: absolute; top: -15px; right: -5px; font-weight: 800; box-shadow: 0 3px 8px rgba(0,0,0,0.2); border: 2px solid var(--white); white-space: nowrap; z-index: 5; }

/* --- PRICING SLIDER --- */
.slider-container { position: relative; width: 100%; padding: 0 50px; display: flex; align-items: center; }
.pricing-grid { display: flex; gap: 25px; width: 100%; padding: 20px 5px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pricing-grid::-webkit-scrollbar { display: none; }

.compact-card { min-width: calc(33.333% - 15px); flex: 0 0 auto; scroll-snap-align: center; border: 1px solid #cbd5e1; padding: 35px 25px; border-radius: 24px; background: var(--white); text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; justify-content: space-between; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.compact-card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 25px 45px rgba(0,95,2,0.12); }
.card-header { margin-bottom: 20px; }
.compact-card h4 { color: var(--text-dark); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.compact-card .speed { font-size: 1.05rem; color: var(--primary); font-weight: 700; background: var(--light-green); padding: 8px 20px; border-radius: 20px; display: inline-block; transition: all 0.3s; }
.compact-card:hover .speed { background: var(--primary); color: var(--white); box-shadow: 0 5px 15px rgba(0,95,2,0.3); }

.price-container { margin-bottom: 20px; min-height: 80px; display: flex; flex-direction: column; justify-content: center; transition: opacity 0.3s ease; }
.compact-card .price { font-size: 1.8rem; color: var(--text-dark); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
.compact-card .per-month { font-size: 0.95rem; font-weight: 600; color: var(--text-gray); margin-top: 5px; }
.pricing-features { list-style: none; text-align: left; margin: 0 0 25px 0; border-top: 1px dashed #cbd5e1; padding-top: 20px; flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { font-size: 0.85rem; color: var(--text-gray); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; font-weight: 500;}
.pricing-features i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; }
.compact-card button { width: 100%; padding: 14px; font-size: 1rem; }
.ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: #ff9800; color: var(--white); font-weight: 800; font-size: 0.8rem; padding: 6px 20px; border-radius: 20px; box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4); text-transform: uppercase; letter-spacing: 1px; z-index: 2; }

.popular-compact { background: var(--dark-green); border-color: var(--dark-green); }
.popular-compact h4, .popular-compact .price { color: var(--white); }
.popular-compact .speed { background: rgba(255, 255, 255, 0.15); color: var(--white); }
.popular-compact:hover .speed { background: var(--white); color: var(--dark-green); }
.popular-compact .per-month { color: rgba(255, 255, 255, 0.7); }
.popular-compact .pricing-features { border-top-color: rgba(255,255,255,0.2); }
.popular-compact .pricing-features li { color: rgba(255,255,255,0.9); }
.popular-compact .pricing-features i { color: #ffeb3b; }
.popular-compact .btn-primary:hover { background: #e2e8f0 !important; }

.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--primary); color: var(--white); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; z-index: 10; transition: background 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.arrow:hover { background: var(--hover); transform: translateY(-50%) scale(1.1); }
.left-arrow { left: 0; }
.right-arrow { right: 0; }

/* ========================================= */
/* --- 7. FORMS SECTION --- */
/* ========================================= */
.forms-box { background: var(--white); border-radius: 30px; padding: 60px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.forms-box h2 { font-size: 2.5rem; margin-bottom: 40px; color: var(--text-dark); }
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; align-items: start; }
.form-card { background: var(--bg-color); border: 1px solid #e2e8f0; padding: 40px; border-radius: 20px; transition: all 0.3s ease; }
.form-card:hover { border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,95,2,0.05); }
.form-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.form-card p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 25px; }

.input-group { margin-bottom: 20px; transition: all 0.3s ease; }
.input-group label { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; font-weight: 600; }
.input-group input, .input-group textarea, .input-group select { width: 100%; padding: 15px; border: 1px solid #cbd5e1; border-radius: 8px; background: var(--white); font-size: 0.95rem; color: var(--text-dark); transition: all 0.3s; font-family: inherit;}
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 95, 2, 0.1); }
.highlight-form { animation: flashGreen 1s ease-out; }
@keyframes flashGreen { 0% { box-shadow: 0 0 0 rgba(0, 95, 2, 0); } 50% { box-shadow: 0 0 20px rgba(0, 95, 2, 0.5); transform: scale(1.02); } 100% { box-shadow: 0 0 0 rgba(0, 95, 2, 0); transform: scale(1); } }

/* ========================================= */
/* --- 8. FOOTER SECTION (DIROMBAK TOTAL ANTI HANCUR) --- */
/* ========================================= */
.footer { 
    background: var(--text-dark); color: var(--white); 
    padding: 60px 40px 20px; border-radius: 30px; 
    margin: 20px auto; max-width: 1200px; width: calc(100% - 40px); /* Jaga jarak aman dengan pinggir body */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); 
    box-sizing: border-box; overflow: hidden; /* Mencegah konten luber */
}
.footer-container { 
    display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 40px; /* Rasio grid yang lebih baik */
    padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    width: 100%; 
}

/* FIX LOGO: Batasi tinggi maksimal agar tidak meledak di layout! */
.footer-logo { max-height: 45px; margin-bottom: 20px; object-fit: contain; display: block; }

.footer-col p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; padding-right: 20px; }
.footer-col h3 { font-size: 1.2rem; margin-bottom: 25px; color: var(--white); position: relative; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 3px; background: var(--primary); border-radius: 2px; }

/* FIX ALIGNMENT Teks Info Kontak */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { color: #cbd5e1; margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; line-height: 1.5; word-wrap: break-word;}
.footer-col ul li i { color: var(--primary); margin-top: 4px; font-size: 1.1rem; flex-shrink: 0; /* Cegah ikon mengecil */ }

.social-links { display: flex; gap: 15px; }
.social-links a { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; background: rgba(255, 255, 255, 0.05); color: var(--white); border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: all 0.3s ease; }
.social-links a:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 95, 2, 0.4); }
.footer-bottom { text-align: center; padding-top: 25px; color: #94a3b8; font-size: 0.85rem; }

/* ========================================= */
/* --- 9. SCROLL TO TOP BUTTON --- */
/* ========================================= */
#scrollToTopBtn {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    background-color: var(--primary); color: white;
    border: none; outline: none;
    width: 50px; height: 50px; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 95, 2, 0.4);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s ease; display: flex; justify-content: center; align-items: center;
}
#scrollToTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollToTopBtn:hover { background-color: var(--hover); transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 95, 2, 0.6); }

/* ========================================= */
/* --- 10. RESPONSIVE MOBILE & TABLET --- */
/* ========================================= */
@media (max-width: 1024px) {
    .hero-text-split { flex-direction: column; align-items: flex-start; }
    .hero-box { height: auto; padding: 40px 30px; }
    .compact-card { min-width: calc(50% - 10px); } 
}

@media (max-width: 768px) {
    body { padding: 0; margin: 0; }
    .main-wrapper { padding: 15px 10px; width: 100%; box-sizing: border-box; }
    
    .navbar { padding: 15px 25px; position: relative; top: 0; border-radius: 16px; margin-bottom: 15px; }
    .logo-desktop { display: none; }
    .logo-mobile { display: block; }
    .menu-toggle { display: block; }
    
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; border-radius: 0 0 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 999; }
    .nav-links.active { max-height: 350px; padding: 10px 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links a { padding: 15px 20px; display: block; text-align: left; }
    .btn-nav { display: none; }

    .counter-box { flex-direction: column; gap: 25px; }
    .about-top { grid-template-columns: 1fr; gap: 20px; }
    .about-desc-split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .about-features { grid-template-columns: 1fr; gap: 25px; }
    
    .services-box, .about-box, .forms-box { padding: 30px 20px; }
    .services-box h2, .forms-box h2, .about-right-text h2 { font-size: 1.8rem; }
    
    .service-logos { flex-direction: column; align-items: center; gap: 25px; }
    
    /* Toggle Grid 2x2 yang Rapi di HP */
    .pricing-toggle { border-radius: 20px; padding: 12px; gap: 10px; display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .toggle-btn { padding: 12px 10px; border-radius: 12px; font-size: 0.8rem; width: 100%; display: flex; justify-content: center; align-items: center; }

    .slider-container { padding: 0; margin-top: 15px; } 
    .arrow { display: none; }
    .compact-card { min-width: calc(85% - 10px); padding: 30px 15px; }
    
    .forms-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Footer Rapi Rata Kiri di HP */
    .footer { padding: 40px 20px 20px; border-radius: 24px; margin: 20px 10px; width: calc(100% - 20px); box-sizing: border-box; }
    .footer-container { grid-template-columns: 1fr; gap: 35px; text-align: left; }
    .footer-col p { padding-right: 0; }
    .footer-col h3::after { left: 0; transform: none; }
    .social-links { justify-content: flex-start; }
    
    /* Responsive Scroll To Top Button */
    #scrollToTopBtn { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-text-split h1 { font-size: 2.3rem; }
    .compact-card { min-width: calc(90% - 5px); }
    .form-card { padding: 25px 15px; }
}