/* --- RESET DASAR & SCROLL HALUS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #222222;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-subtitle {
    color: #666666;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 16px;
    line-height: 1.6;
}

/* --- HEADER STYLING (STICKY & GLASSMORPHISM) --- */
.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 9999;
    background-color: rgba(20, 22, 25, 0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 100px; 
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px; 
}

.main-nav a {
    text-decoration: none;
    color: #ffffff; 
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffc107; 
}

.btn-konsultasi {
    background-color: #ffc107; 
    color: #000000;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-konsultasi:hover {
    background-color: #e0a800; 
}

.hamburger {
    display: none;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero.webp') center/cover no-repeat; 
    display: flex;
    align-items: center; 
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
    color: #ffffff;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.btn-wa {
    background-color: #ffc107; 
    color: #000000;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-wa:hover {
    background-color: #e0a800; 
    transform: translateY(-2px);
}

/* --- SECTION MENGAPA PABX --- */
.features-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 10px;
}

.feature-icon {
    font-size: 45px;
    color: #ffc107;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

.action-bottom {
    margin-top: 20px;
}

.btn-utama {
    background-color: #ffc107;
    color: #000000;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-utama:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* --- SECTION CARA KERJA --- */
.how-it-works-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.diagram-wrapper {
    max-width: 900px;
    margin: 40px auto 60px auto;
}

.diagram-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.how-card {
    padding: 10px;
}

.how-icon {
    font-size: 35px;
    color: #ffc107;
    margin-bottom: 20px;
}

.how-card h3 {
    font-size: 16px;
    color: #333333;
    margin-bottom: 12px;
    font-weight: 700;
}

.how-card p {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
}

/* --- SECTION LAYANAN --- */
.services-section {
    padding: 100px 20px; 
    background-color: #f4f5f7; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
    max-width: 1100px; 
    margin: 50px auto 100px auto; 
}

.service-card {
    background-color: #ffffff;
    padding: 50px 40px; 
    text-align: left;
    border-left: 6px solid #ffc107; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04); 
    transition: all 0.3s ease; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 20px; 
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7; 
    margin: 0;
}

.pro-services-area {
    margin-top: 60px;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pro-card {
    padding: 10px;
}

.pro-icon {
    font-size: 40px; 
    color: #ffc107;
    margin-bottom: 20px;
}

.pro-card h3 {
    font-size: 17px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 700;
}

.pro-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

/* --- SECTION TARGET PASAR --- */
.target-market-section {
    padding: 100px 20px;
    background-color: #fffdf2; 
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0 auto;
    row-gap: 60px; 
}

.target-item {
    text-align: center;
}

.target-item i {
    font-size: 38px;
    color: #ffc107;
    margin-bottom: 20px;
}

.target-item p {
    font-size: 15px;
    color: #333333;
    font-weight: 600;
}

/* --- SECTION TESTIMONI --- */
.testimonial-section {
    padding: 100px 20px;
    background-color: #f8f9fa; 
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0 auto;
}

.testi-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    text-align: center;
    transition: transform 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px); 
}

.quote-icon {
    font-size: 24px;
    color: #ffc107;
    margin-bottom: 20px;
}

.testi-text {
    font-size: 15px;
    color: #555555;
    font-style: italic; 
    line-height: 1.7;
    margin-bottom: 30px;
}

.testi-name {
    font-size: 16px;
    color: #222222;
    font-weight: 700;
    margin-bottom: 5px;
}

.testi-role {
    font-size: 13px;
    color: #888888;
}

/* --- SECTION LAYANAN TEKNIS --- */
.technical-services-section {
    padding: 100px 20px;
    background-color: #fafafa; 
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.tech-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.tech-card img {
    width: 100%;
    height: 170px;
    object-fit: cover; 
    border-radius: 10px;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 17px;
    color: #222222;
    margin-bottom: 12px;
    font-weight: 700;
}

.tech-card p {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

.tech-cta-card {
    background-color: #1a202c; 
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-cta-card h3 {
    color: #ffc107; 
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.tech-cta-card p {
    color: #a0aec0; 
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-cta-card ul {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.tech-cta-card li {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-cta-card li i {
    color: #ffffff;
    font-size: 14px;
}

.btn-green {
    background-color: #25D366; 
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-green:hover {
    background-color: #1ebe57;
    color: #ffffff;
}

/* --- SECTION CTA MERAH --- */
.cta-red-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(rgba(197, 29, 29, 0.85), rgba(197, 29, 29, 0.85)), url('../images/bgcta.webp') center/cover no-repeat;
    color: #ffffff;
}

.cta-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta-img-container {
    max-width: 320px;
    margin: 0 auto 25px auto;
}

.cta-phone-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.cta-contact-text {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.cta-contact-text strong {
    font-size: 18px;
}

.btn-cta-submit {
    background-color: #ffc107;
    color: #000000;
    padding: 12px 40px;
    border-radius: 25px; 
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta-submit:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    color: #000000;
}

/* --- FOOTER STYLING --- */
.main-footer {
    background-color: #22252a; 
    padding: 80px 20px 0 20px; 
    color: #ffffff;
    position: relative;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap; 
}

.footer-left {
    flex: 1;
    min-width: 300px; 
    max-width: 550px;
    text-align: left;
}

.footer-logo {
    height: 160px; 
    object-fit: contain;
    margin-bottom: 25px;
}

.footer-desc {
    color: #b0b5b9; 
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.btn-fb { background-color: #3b5998; }
.btn-ig { background-color: #b97a20; }

.footer-right {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    width: 100%;
}

.address-card {
    background-color: #ffc107; 
    color: #000000; 
    padding: 35px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%; 
}

.address-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.address-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-item {
    font-size: 14px;
    margin-bottom: 8px;
}

.map-wrapper {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.footer-bottom {
    width: 100%; 
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; 
}

.footer-bottom p {
    color: #888e94;
    font-size: 13px;
    margin: 0;
}

/* --- RESPONSIVE MOBILE PREMIUM UPDATE --- */
@media (max-width: 1100px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .features-grid, .services-grid, .pro-grid, .target-grid, .testi-grid, .tech-grid, .how-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-container {
        flex-direction: column; 
        gap: 40px;
    }
    .footer-left, .footer-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .main-header { padding: 10px 0; }
    .logo img { height: 60px; } 
    .header-action { display: none; } 

    /* Hamburger Icon */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 10000;
    }
    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #ffc107;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Sliding Menu Overlay */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%;
        height: 100vh;
        background-color: rgba(20, 22, 25, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    .main-nav.active { right: 0; } 
    
    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }
    .main-nav a { font-size: 18px; display: block; padding: 10px; }

    /* Layout 1 Kolom */
    .features-grid, .how-grid, .services-grid, .pro-grid, .testi-grid, .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    /* Spasi & Tipografi Mobile */
    .section-title { font-size: 24px; line-height: 1.3; }
    .hero-content { text-align: center; margin-top: 50px; }
    .hero-content h1 { font-size: 34px; }
    .hero-content p { font-size: 15px; margin-bottom: 30px; }

    .features-section, .how-it-works-section, .services-section, 
    .target-market-section, .testimonial-section, .technical-services-section, 
    .cta-red-section {
        padding: 60px 20px;
    }
    .cta-title { font-size: 24px; }

    /* Tombol Jempol-Friendly (Full-Width) */
    .btn-wa, .btn-utama, .btn-green, .btn-cta-submit {
        width: 100%;
        display: block;
        text-align: center;
        padding: 15px;
        font-size: 16px;
    }

    /* Perapian Footer Tengah */
    .footer-left { text-align: center; align-items: center; display: flex; flex-direction: column; }
    .footer-desc { text-align: center; }
    .address-card { text-align: center; padding: 25px 20px; }
    .footer-bottom .container { text-align: center; }
    .main-footer { padding: 60px 20px 0 20px; }
}