/* style.css */
:root {
    --primary: #0F766E;
    --primary-hover: #0d6059;
    --primary-light: #F0FDFA;
    --accent: #F59E0B;
    --accent-hover: #d97706;
    --dark: #0D1117;
    --dark-alt: #161b22;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --success: #10B981;
    --danger: #EF4444;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 5rem 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.text-teal { color: var(--primary); }
.text-amber { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark); }
.bg-teal-subtle { background-color: var(--primary-light); }
.bg-teal-grad { background: linear-gradient(135deg, var(--primary) 0%, #064E3B 100%); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-nav { background: var(--primary); color: var(--white); padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.btn-amber { background: var(--accent); color: var(--dark); border-radius: 30px; font-weight: 700; padding: 1rem 2rem; }
.btn-amber:hover { background: var(--accent-hover); transform: scale(1.05); }

/* Pulse Animation for CTA */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); }
}
.pulse { animation: pulseGlow 2s infinite; }

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: transparent;
    position: fixed;
    top: 0;
    z-index: 1001;
}
.progress-bar {
    height: 4px;
    background: var(--accent);
    width: 0%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 70px;
}
.navbar.scrolled .logo { color: var(--dark); }
.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .menu-toggle span { background-color: var(--dark); }
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    display: flex; align-items: center; gap: 0.5rem;
    transition: transform 0.3s;
}
.logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--white);
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: border-color 0.3s;
}
.navbar.scrolled .logo-icon {
    border-color: var(--primary);
}
.logo-icon-lg {
    width: 80px;
    height: 80px;
    border-width: 4px;
    border-color: var(--primary);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.mobile-only-contact { display: none; }
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px; height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero h1 { font-size: 3.5rem; color: var(--white); margin: 1.5rem 0; }
.hero p { color: #94A3B8; font-size: 1.125rem; margin-bottom: 2rem; max-width: 500px; }
.badge-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.badge {
    background: rgba(15, 118, 110, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
}
.badge-light { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); }
.hero-cta { display: flex; gap: 1rem; }
.hero-image { position: relative; }
.floating-img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}
.glow-1 { top: -20%; right: -10%; width: 300px; height: 300px; background: rgba(15, 118, 110, 0.4); }
.glow-2 { bottom: -10%; left: -10%; width: 250px; height: 250px; background: rgba(245, 158, 11, 0.3); }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; color: var(--text-dark); }
.text-white .section-header h2 { color: var(--white); }

/* Masalah Cards */
.grid-cards { display: grid; gap: 1.5rem; }
.cards-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-2x3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E2E8F0;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--primary); }
.card .icon { font-size: 3rem; margin-bottom: 1rem; }
.card .icon-sm { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-gray); font-size: 0.95rem; }
.card-left-border { border-left: 4px solid var(--primary); border-radius: 8px 16px 16px 8px; }
.banner-solusi {
    background: linear-gradient(to right, var(--primary), var(--primary-hover));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.125rem;
}

/* Modul */
.grid-modul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.modul-card.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s;
}
.modul-card.glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}
.modul-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}
.modul-info h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.modul-info p { color: #94A3B8; font-size: 0.9rem; margin: 0; }

/* Fitur */
.grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card-feature {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.icon-lg { font-size: 3.5rem; margin-bottom: 1.5rem; }
.card-feature h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }

/* Spesifikasi & Tabel */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.spec-list { list-style: none; }
.spec-list li { margin-bottom: 1.5rem; font-size: 1.125rem; display: flex; align-items: center; gap: 1rem; }
.spec-list .icon { font-size: 1.5rem; }
.table-responsive { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.compare-table th, .compare-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #E2E8F0; }
.compare-table th { background: var(--light-bg); font-weight: 700; }
.highlight-col { background: var(--primary-light); border-left: 2px solid var(--primary); border-right: 2px solid var(--primary); }
.compare-table thead .highlight-col { border-top: 4px solid var(--primary); }

/* Timeline */
.timeline { display: flex; justify-content: space-between; align-items: flex-start; text-align: center; }
.step { flex: 1; position: relative; padding: 0 1rem; }
.step-num { width: 40px; height: 40px; background: var(--white); border: 2px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 1rem; z-index: 2; position: relative; font-family: var(--font-mono); }
.step-line { flex: 1; height: 2px; background: #CBD5E1; margin-top: 20px; }
.step h4 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.step p { font-size: 0.9rem; color: var(--text-gray); }
.highlight-step .step-num { background: var(--accent); border-color: var(--accent); color: var(--white); font-size: 1.25rem; }

/* Final CTA */
.pilar-grid { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.pilar { background: rgba(255,255,255,0.1); padding: 0.5rem 1.5rem; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }

/* Footer */
.footer { background: var(--dark-alt); color: #94A3B8; padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.foot-brand h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.875rem; }

/* Floating WA */
.floating-wa { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: transform 0.3s; }
.floating-wa:hover { transform: scale(1.1); }

/* Animation Classes */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 2rem; }
    .hero-cta { justify-content: center; }
    .badge-group { justify-content: center; }
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .timeline { flex-direction: column; align-items: center; gap: 2rem; }
    .step-line { display: none; }
}

@media (max-width: 768px) {
    :root { --nav-height: 70px; }
    .hero h1 { font-size: 2.5rem; }
    .grid-2x3, .grid-modul, .grid-2x2 { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute; top: var(--nav-height); left: 0; right: 0;
        background: var(--dark); padding: 2rem;
        flex-direction: column; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
    }
    .navbar.scrolled .nav-links { background: var(--white); box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .mobile-only-contact { display: block; color: var(--accent); font-weight: bold; margin: 1rem 0; }
}
