/* ========== GLOBAL & RESET ========== */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #c7d2fe;
    --secondary: #0ea5e9;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 80px 0;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo span { color: var(--primary); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: var(--light);
    padding: 40px 0;
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Membuat 4 kolom sejajar */
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gray);
    font-weight: 500;
}

/* ========== SERVICES SECTION ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsif otomatis */
    gap: 30px;
}

.service-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ========== WORKFLOW SECTION ========== */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 15px;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ========== TECH STACK ========== */
.tech-section {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tech-logos i {
    font-size: 3rem;
    color: #cbd5e1;
    transition: var(--transition);
}

.tech-logos i:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.btn-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2.5rem;
    text-align: center;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

/* ========== BENEFITS / FEATURES ========== */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--light);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: left;
}

.benefit-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* ========== FORM STYLES (Inquiry) ========== */
.form-section {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin: -50px auto 4rem;
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.half {
    flex: 1;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* ========== CTA SECTION ========== */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    color: white;
}

.cta-box a {
    color: white;
}
.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-large {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1.2rem 3rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark);
    color: var(--gray);
    padding: 4rem 0 2rem;
    text-align: center;
}
/*
footer .container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}
*/
/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s ease-in-out;
    }

    .nav-menu.mobile-active {
        transform: translateY(0);
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .benefits-section {
        padding: 4rem 0;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }

    .btn-large, .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Jadi 2 baris di HP */
    }
    
    .nav-menu {
        display: none; /* Sembunyikan menu di mobile atau gunakan toggle */
    }
}

/* ========== MODERN FOOTER ========== */
.main-footer {
    background-color: var(--dark); /* Menggunakan warna gelap #0f172a */
    color: #94a3b8; /* Warna teks abu-abu lembut agar tidak terlalu kontras */
    padding: 80px 0 30px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Kolom info lebih lebar */
    gap: 60px;
    margin-bottom: 60px;
}

/* Bagian Brand Info */
.footer-info .logo {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info .logo span {
    color: var(--primary);
}

.footer-info p {
    /* max-width: 300px; */
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Footer Headers */
.main-footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Dekorasi garis bawah pada judul footer */

.main-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%; 
    height: 2px;
    background: var(--primary);
}

/* Links & Contacts */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px; /* Efek geser saat hover */
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Copyright Area */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-info p, .social-links {
        margin: 0 auto 25px;
        justify-content: center;
    }
    
    .main-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
